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)


1900
1901
1902
1903
1904
1905
1906
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1900

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)


1900
1901
1902
1903
1904
1905
1906
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1900

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

#messageString

Details of the exception error.

Returns:

  • (String)


1900
1901
1902
1903
1904
1905
1906
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1900

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