Class: Aws::WellArchitected::Types::ImportLensInput

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

Overview

Note:

When making an API call, you may pass ImportLensInput data as a hash:

{
  lens_alias: "LensAlias",
  json_string: "LensJSON", # required
  client_request_token: "ClientRequestToken", # required
  tags: {
    "TagKey" => "TagValue",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_request_tokenString

A unique case-sensitive string used to ensure that this request is idempotent (executes only once).

You should not reuse the same token for other requests. If you retry a request with the same client request token and the same parameters after it has completed successfully, the result of the original request is returned.

This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

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

Returns:

  • (String)


1591
1592
1593
1594
1595
1596
1597
1598
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/types.rb', line 1591

class ImportLensInput < Struct.new(
  :lens_alias,
  :json_string,
  :client_request_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#json_stringString

The JSON representation of a lens.

Returns:

  • (String)


1591
1592
1593
1594
1595
1596
1597
1598
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/types.rb', line 1591

class ImportLensInput < Struct.new(
  :lens_alias,
  :json_string,
  :client_request_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#lens_aliasString

The alias of the lens, for example, serverless.

Each lens is identified by its LensSummary$LensAlias.

Returns:

  • (String)


1591
1592
1593
1594
1595
1596
1597
1598
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/types.rb', line 1591

class ImportLensInput < Struct.new(
  :lens_alias,
  :json_string,
  :client_request_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

Tags to associate to a lens.

Returns:

  • (Hash<String,String>)


1591
1592
1593
1594
1595
1596
1597
1598
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/types.rb', line 1591

class ImportLensInput < Struct.new(
  :lens_alias,
  :json_string,
  :client_request_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end