You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

The error code associated with the operation failure.

Returns:

  • (String)


2834
2835
2836
2837
2838
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 2834

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

#messageString

Detailed information about the reason that the operation failed.

Returns:

  • (String)


2834
2835
2836
2837
2838
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 2834

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