AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::IAM::Types::ErrorDetails

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb

Overview

Contains information about the reason that the operation failed.

This data type is used as a response element in the GetOrganizationsAccessReport, GetServiceLastAccessedDetails, and GetServiceLastAccessedDetailsWithEntities operations.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

The error code associated with the operation failure.

Returns:

  • (String)


3061
3062
3063
3064
3065
3066
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 3061

class ErrorDetails < Struct.new(
  :message,
  :code)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

Detailed information about the reason that the operation failed.

Returns:

  • (String)


3061
3062
3063
3064
3065
3066
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 3061

class ErrorDetails < Struct.new(
  :message,
  :code)
  SENSITIVE = []
  include Aws::Structure
end