The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

DESCRIPTION

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

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

SYNOPSIS

    my $servicecatalog = Paws->service('ServiceCatalog');
    my $CreateProductOutput = $servicecatalog->CreateProduct(
      IdempotencyToken               => 'MyIdempotencyToken',
      Name                           => 'MyProductViewName',
      Owner                          => 'MyProductViewOwner',
      ProductType                    => 'CLOUD_FORMATION_TEMPLATE',
      ProvisioningArtifactParameters => {
        Info => {
          'MyProvisioningArtifactInfoKey' => 'MyProvisioningArtifactInfoValue',
        },    # min: 1, max: 100
        Description => 'MyProvisioningArtifactDescription',    # OPTIONAL
        Name        => 'MyProvisioningArtifactName',           # OPTIONAL
        Type        => 'CLOUD_FORMATION_TEMPLATE'
        , # values: CLOUD_FORMATION_TEMPLATE, MARKETPLACE_AMI, MARKETPLACE_CAR; OPTIONAL
      },
      AcceptLanguage     => 'MyAcceptLanguage',                 # OPTIONAL
      Description        => 'MyProductViewShortDescription',    # OPTIONAL
      Distributor        => 'MyProductViewOwner',               # OPTIONAL
      SupportDescription => 'MySupportDescription',             # OPTIONAL
      SupportEmail       => 'MySupportEmail',                   # OPTIONAL
      SupportUrl         => 'MySupportUrl',                     # OPTIONAL
      Tags               => [
        {
          Key   => 'MyTagKey',      # min: 1, max: 128
          Value => 'MyTagValue',    # min: 1, max: 256

        },
        ...
      ],                            # OPTIONAL
    );

    # Results:
    my $ProductViewDetail = $CreateProductOutput->ProductViewDetail;
    my $ProvisioningArtifactDetail =
      $CreateProductOutput->ProvisioningArtifactDetail;
    my $Tags = $CreateProductOutput->Tags;

    # Returns a L<Paws::ServiceCatalog::CreateProductOutput> 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/CreateProduct

ATTRIBUTES

AcceptLanguage => Str

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

Description => Str

The description of the product.

Distributor => Str

The distributor of the 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 Name => Str

The name of the product.

REQUIRED Owner => Str

The owner of the product.

REQUIRED ProductType => Str

The type of product.

Valid values are: "CLOUD_FORMATION_TEMPLATE", "MARKETPLACE"

REQUIRED ProvisioningArtifactParameters => Paws::ServiceCatalog::ProvisioningArtifactProperties

The configuration of the provisioning artifact.

SupportDescription => Str

The support information about the product.

SupportEmail => Str

The contact email for product support.

SupportUrl => Str

The contact URL for product support.

Tags => ArrayRef[Paws::ServiceCatalog::Tag]

One or more tags.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateProduct 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