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)


1698
1699
1700
1701
1702
1703
1704
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1698

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)


1698
1699
1700
1701
1702
1703
1704
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1698

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)


1698
1699
1700
1701
1702
1703
1704
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1698

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