You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ServiceCatalog::Types::CopyProductInput

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

Overview

Note:

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
}

Instance Attribute Summary collapse

Instance Attribute Details

#accept_languageString

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

Returns:

  • (String)


307
308
309
310
311
312
313
314
315
316
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 307

class CopyProductInput < Struct.new(
  :accept_language,
  :source_product_arn,
  :target_product_id,
  :target_product_name,
  :source_provisioning_artifact_identifiers,
  :copy_options,
  :idempotency_token)
  include Aws::Structure
end

#copy_optionsArray<String>

The copy options. If the value is CopyTags, the tags from the source product are copied to the target product.

Returns:

  • (Array<String>)


307
308
309
310
311
312
313
314
315
316
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 307

class CopyProductInput < Struct.new(
  :accept_language,
  :source_product_arn,
  :target_product_id,
  :target_product_name,
  :source_provisioning_artifact_identifiers,
  :copy_options,
  :idempotency_token)
  include Aws::Structure
end

#idempotency_tokenString

A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each request.

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

Returns:

  • (String)


307
308
309
310
311
312
313
314
315
316
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 307

class CopyProductInput < Struct.new(
  :accept_language,
  :source_product_arn,
  :target_product_id,
  :target_product_name,
  :source_provisioning_artifact_identifiers,
  :copy_options,
  :idempotency_token)
  include Aws::Structure
end

#source_product_arnString

The Amazon Resource Name (ARN) of the source product.

Returns:

  • (String)


307
308
309
310
311
312
313
314
315
316
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 307

class CopyProductInput < Struct.new(
  :accept_language,
  :source_product_arn,
  :target_product_id,
  :target_product_name,
  :source_provisioning_artifact_identifiers,
  :copy_options,
  :idempotency_token)
  include Aws::Structure
end

#source_provisioning_artifact_identifiersArray<Hash<String,String>>

The IDs of the product versions to copy. By default, all provisioning artifacts are copied.

Returns:

  • (Array<Hash<String,String>>)


307
308
309
310
311
312
313
314
315
316
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 307

class CopyProductInput < Struct.new(
  :accept_language,
  :source_product_arn,
  :target_product_id,
  :target_product_name,
  :source_provisioning_artifact_identifiers,
  :copy_options,
  :idempotency_token)
  include Aws::Structure
end

#target_product_idString

The ID of the target product. By default, a new product is created.

Returns:

  • (String)


307
308
309
310
311
312
313
314
315
316
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 307

class CopyProductInput < Struct.new(
  :accept_language,
  :source_product_arn,
  :target_product_id,
  :target_product_name,
  :source_provisioning_artifact_identifiers,
  :copy_options,
  :idempotency_token)
  include Aws::Structure
end

#target_product_nameString

A name for the target product. The default is the name of the source product.

Returns:

  • (String)


307
308
309
310
311
312
313
314
315
316
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 307

class CopyProductInput < Struct.new(
  :accept_language,
  :source_product_arn,
  :target_product_id,
  :target_product_name,
  :source_provisioning_artifact_identifiers,
  :copy_options,
  :idempotency_token)
  include Aws::Structure
end