Class: Aws::ServiceCatalog::Types::CopyProductInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::ServiceCatalog::Types::CopyProductInput
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-servicecatalog/types.rb
Overview
When making an API call, you may pass CopyProductInput data as a hash:
{
accept_language: "AcceptLanguage",
source_product_arn: "ProductArn", # required
target_product_id: "Id",
target_product_name: "ProductViewName",
source_provisioning_artifact_identifiers: [
{
"Id" => "ProvisioningArtifactPropertyValue",
},
],
copy_options: ["CopyTags"], # accepts CopyTags
idempotency_token: "IdempotencyToken", # required
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#accept_language ⇒ String
The language code.
-
#copy_options ⇒ Array<String>
The copy options.
-
#idempotency_token ⇒ String
A unique identifier that you provide to ensure idempotency.
-
#source_product_arn ⇒ String
The Amazon Resource Name (ARN) of the source product.
-
#source_provisioning_artifact_identifiers ⇒ Array<Hash<String,String>>
The identifiers of the provisioning artifacts (also known as versions) of the product to copy.
-
#target_product_id ⇒ String
The identifier of the target product.
-
#target_product_name ⇒ String
A name for the target product.
Instance Attribute Details
#accept_language ⇒ String
The language code.
-
‘en` - English (default)
-
‘jp` - Japanese
-
‘zh` - Chinese
624 625 626 627 628 629 630 631 632 633 634 |
# File 'lib/aws-sdk-servicecatalog/types.rb', line 624 class CopyProductInput < Struct.new( :accept_language, :source_product_arn, :target_product_id, :target_product_name, :source_provisioning_artifact_identifiers, :copy_options, :idempotency_token) SENSITIVE = [] include Aws::Structure end |
#copy_options ⇒ Array<String>
The copy options. If the value is ‘CopyTags`, the tags from the source product are copied to the target product.
624 625 626 627 628 629 630 631 632 633 634 |
# File 'lib/aws-sdk-servicecatalog/types.rb', line 624 class CopyProductInput < Struct.new( :accept_language, :source_product_arn, :target_product_id, :target_product_name, :source_provisioning_artifact_identifiers, :copy_options, :idempotency_token) SENSITIVE = [] include Aws::Structure end |
#idempotency_token ⇒ String
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
**A suitable default value is auto-generated.** You should normally not need to pass this option.
624 625 626 627 628 629 630 631 632 633 634 |
# File 'lib/aws-sdk-servicecatalog/types.rb', line 624 class CopyProductInput < Struct.new( :accept_language, :source_product_arn, :target_product_id, :target_product_name, :source_provisioning_artifact_identifiers, :copy_options, :idempotency_token) SENSITIVE = [] include Aws::Structure end |
#source_product_arn ⇒ String
The Amazon Resource Name (ARN) of the source product.
624 625 626 627 628 629 630 631 632 633 634 |
# File 'lib/aws-sdk-servicecatalog/types.rb', line 624 class CopyProductInput < Struct.new( :accept_language, :source_product_arn, :target_product_id, :target_product_name, :source_provisioning_artifact_identifiers, :copy_options, :idempotency_token) SENSITIVE = [] include Aws::Structure end |
#source_provisioning_artifact_identifiers ⇒ Array<Hash<String,String>>
The identifiers of the provisioning artifacts (also known as versions) of the product to copy. By default, all provisioning artifacts are copied.
624 625 626 627 628 629 630 631 632 633 634 |
# File 'lib/aws-sdk-servicecatalog/types.rb', line 624 class CopyProductInput < Struct.new( :accept_language, :source_product_arn, :target_product_id, :target_product_name, :source_provisioning_artifact_identifiers, :copy_options, :idempotency_token) SENSITIVE = [] include Aws::Structure end |
#target_product_id ⇒ String
The identifier of the target product. By default, a new product is created.
624 625 626 627 628 629 630 631 632 633 634 |
# File 'lib/aws-sdk-servicecatalog/types.rb', line 624 class CopyProductInput < Struct.new( :accept_language, :source_product_arn, :target_product_id, :target_product_name, :source_provisioning_artifact_identifiers, :copy_options, :idempotency_token) SENSITIVE = [] include Aws::Structure end |
#target_product_name ⇒ String
A name for the target product. The default is the name of the source product.
624 625 626 627 628 629 630 631 632 633 634 |
# File 'lib/aws-sdk-servicecatalog/types.rb', line 624 class CopyProductInput < Struct.new( :accept_language, :source_product_arn, :target_product_id, :target_product_name, :source_provisioning_artifact_identifiers, :copy_options, :idempotency_token) SENSITIVE = [] include Aws::Structure end |