Class: Aws::Inspector::Types::InvalidCrossAccountRoleException

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

Overview

Amazon Inspector cannot assume the cross-account role that it needs to list your EC2 instances during the assessment run.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#can_retryBoolean

You can immediately retry your request.

Returns:

  • (Boolean)


1649
1650
1651
1652
1653
1654
1655
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1649

class InvalidCrossAccountRoleException < Struct.new(
  :message,
  :error_code,
  :can_retry)
  SENSITIVE = []
  include Aws::Structure
end

#error_codeString

Code that indicates the type of error that is generated.

Returns:

  • (String)


1649
1650
1651
1652
1653
1654
1655
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1649

class InvalidCrossAccountRoleException < Struct.new(
  :message,
  :error_code,
  :can_retry)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

Details of the exception error.

Returns:

  • (String)


1649
1650
1651
1652
1653
1654
1655
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1649

class InvalidCrossAccountRoleException < Struct.new(
  :message,
  :error_code,
  :can_retry)
  SENSITIVE = []
  include Aws::Structure
end