Class: Aws::Continuum::Types::CreateCodeScanInput

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_token ⇒ String

An optional token identifying one scan request for this environment. SDKs generate a token when omitted. If a request reaches the service without a token, the service generates one for that request, so each request without a token starts a new scan. To retry a request after a lost response, supply the same token on the same environment; once a request with that token has succeeded, a retry returns the original scan. Concurrent requests with the same token, or a retry after a request that failed partway through, can leave an additional scan, which may end FAILED as superseded. A token is bound to its scan for as long as the service retains the scan's build record, with no shorter expiry. Deleting the environment makes the binding inaccessible: a later request with the token returns ResourceNotFoundException.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


500
501
502
503
504
505
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 500

class CreateCodeScanInput < Struct.new(
  :environment_id,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#environment_id ⇒ String

Environment to scan.

Returns:

  • (String)


500
501
502
503
504
505
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 500

class CreateCodeScanInput < Struct.new(
  :environment_id,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end