Class: Aws::WellArchitected::Types::CreateLensShareInput

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 CreateLensShareInput data as a hash:

{
  lens_alias: "LensAlias", # required
  shared_with: "SharedWith", # required
  client_request_token: "ClientRequestToken", # required
}

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)


435
436
437
438
439
440
441
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/types.rb', line 435

class CreateLensShareInput < Struct.new(
  :lens_alias,
  :shared_with,
  :client_request_token)
  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)


435
436
437
438
439
440
441
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/types.rb', line 435

class CreateLensShareInput < Struct.new(
  :lens_alias,
  :shared_with,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#shared_withString

The Amazon Web Services account ID or IAM role with which the workload is shared.

Returns:

  • (String)


435
436
437
438
439
440
441
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/types.rb', line 435

class CreateLensShareInput < Struct.new(
  :lens_alias,
  :shared_with,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end