servicecatalog_copy_product: Copies the specified source product to the specified target...

Description Usage Arguments Value Request syntax

View source: R/servicecatalog_operations.R

Description

Copies the specified source product to the specified target product or a new product.

You can copy a product to the same account or another account. You can copy a product to the same region or another region.

This operation is performed asynchronously. To track the progress of the operation, use describe_copy_product_status.

Usage

1
2
3
servicecatalog_copy_product(AcceptLanguage, SourceProductArn,
  TargetProductId, TargetProductName,
  SourceProvisioningArtifactIdentifiers, CopyOptions, IdempotencyToken)

Arguments

AcceptLanguage

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

SourceProductArn

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

TargetProductId

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

TargetProductName

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

SourceProvisioningArtifactIdentifiers

The identifiers of the provisioning artifacts (also known as versions) of the product to copy. By default, all provisioning artifacts are copied.

CopyOptions

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

IdempotencyToken

[required] 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.

Value

A list with the following syntax:

1
2
3
list(
  CopyProductToken = "string"
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
svc$copy_product(
  AcceptLanguage = "string",
  SourceProductArn = "string",
  TargetProductId = "string",
  TargetProductName = "string",
  SourceProvisioningArtifactIdentifiers = list(
    list(
      "string"
    )
  ),
  CopyOptions = list(
    "CopyTags"
  ),
  IdempotencyToken = "string"
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.