Class: Aws::Inspector2::Types::CodeSnippetError

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

Overview

Contains information about any errors encountered while trying to retrieve a code snippet.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_codeString

The error code for the error that prevented a code snippet from being retrieved.

Returns:

  • (String)


1711
1712
1713
1714
1715
1716
1717
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1711

class CodeSnippetError < Struct.new(
  :error_code,
  :error_message,
  :finding_arn)
  SENSITIVE = []
  include Aws::Structure
end

#error_messageString

The error message received when Amazon Inspector failed to retrieve a code snippet.

Returns:

  • (String)


1711
1712
1713
1714
1715
1716
1717
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1711

class CodeSnippetError < Struct.new(
  :error_code,
  :error_message,
  :finding_arn)
  SENSITIVE = []
  include Aws::Structure
end

#finding_arnString

The ARN of the finding that a code snippet couldn't be retrieved for.

Returns:

  • (String)


1711
1712
1713
1714
1715
1716
1717
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1711

class CodeSnippetError < Struct.new(
  :error_code,
  :error_message,
  :finding_arn)
  SENSITIVE = []
  include Aws::Structure
end