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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CopyProductInput as input to an Aws::Client method, you can use a vanilla 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)

    The language code.

#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>)

    The copy options.

#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.

Returns:

  • (String)

    A token to disambiguate duplicate requests.

#source_product_arnString

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

Returns:

  • (String)

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

#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>>)

    The IDs of the product versions to copy.

#target_product_idString

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

Returns:

  • (String)

    The ID of the target product.

#target_product_nameString

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

Returns:

  • (String)

    A name for the target product.