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)


2917
2918
2919
2920
2921
2922
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 2917

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

#messageString

Detailed information about the reason that the operation failed.

Returns:

  • (String)


2917
2918
2919
2920
2921
2922
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 2917

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