The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::ServiceCatalog::CopyProduct - Arguments for method CopyProduct on Paws::ServiceCatalog

DESCRIPTION

This class represents the parameters used for calling the method CopyProduct on the AWS Service Catalog service. Use the attributes of this class as arguments to method CopyProduct.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CopyProduct.

SYNOPSIS

    my $servicecatalog = Paws->service('ServiceCatalog');
    my $CopyProductOutput = $servicecatalog->CopyProduct(
      IdempotencyToken => 'MyIdempotencyToken',
      SourceProductArn => 'MyProductArn',
      AcceptLanguage   => 'MyAcceptLanguage',     # OPTIONAL
      CopyOptions      => [
        'CopyTags', ...                           # values: CopyTags
      ],    # OPTIONAL
      SourceProvisioningArtifactIdentifiers => [
        {
          'Id' => 'MyProvisioningArtifactPropertyValue',    # key: values: Id
        },
        ...
      ],    # OPTIONAL
      TargetProductId   => 'MyId',                 # OPTIONAL
      TargetProductName => 'MyProductViewName',    # OPTIONAL
    );

    # Results:
    my $CopyProductToken = $CopyProductOutput->CopyProductToken;

    # Returns a L<Paws::ServiceCatalog::CopyProductOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog/CopyProduct

ATTRIBUTES

AcceptLanguage => Str

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

CopyOptions => ArrayRef[Str|Undef]

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

REQUIRED IdempotencyToken => Str

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.

REQUIRED SourceProductArn => Str

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

SourceProvisioningArtifactIdentifiers => ArrayRef[Paws::ServiceCatalog::SourceProvisioningArtifactPropertiesMap]

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

TargetProductId => Str

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

TargetProductName => Str

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

SEE ALSO

This class forms part of Paws, documenting arguments for method CopyProduct in Paws::ServiceCatalog

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues