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::Proton::CreateServiceTemplateVersion - Arguments for method CreateServiceTemplateVersion on Paws::Proton

DESCRIPTION

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

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

SYNOPSIS

    my $proton = Paws->service('Proton');
    my $CreateServiceTemplateVersionOutput =
      $proton->CreateServiceTemplateVersion(
      CompatibleEnvironmentTemplates => [
        {
          MajorVersion => 'MyTemplateVersionPart',    # min: 1, max: 20
          TemplateName => 'MyResourceName',           # min: 1, max: 100

        },
        ...
      ],
      Source => {
        S3 => {
          Bucket => 'MyS3Bucket',                     # min: 3, max: 63
          Key    => 'MyS3Key',                        # min: 1, max: 1024

        },    # OPTIONAL
      },
      TemplateName => 'MyResourceName',
      ClientToken  => 'MyClientToken',            # OPTIONAL
      Description  => 'MyDescription',            # OPTIONAL
      MajorVersion => 'MyTemplateVersionPart',    # OPTIONAL
      Tags         => [
        {
          Key   => 'MyTagKey',      # min: 1, max: 128
          Value => 'MyTagValue',    # max: 256

        },
        ...
      ],    # OPTIONAL
      );

    # Results:
    my $ServiceTemplateVersion =
      $CreateServiceTemplateVersionOutput->ServiceTemplateVersion;

    # Returns a L<Paws::Proton::CreateServiceTemplateVersionOutput> 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/proton/CreateServiceTemplateVersion

ATTRIBUTES

ClientToken => Str

When included, if two identicial requests are made with the same client token, AWS Proton returns the service template version that the first request created.

REQUIRED CompatibleEnvironmentTemplates => ArrayRef[Paws::Proton::CompatibleEnvironmentTemplateInput]

An array of compatible environment template objects for the new version of a service template.

Description => Str

A description of the new version of a service template.

MajorVersion => Str

To create a new minor version of the service template, include a majorVersion.

To create a new major and minor version of the service template, exclude majorVersion.

REQUIRED Source => Paws::Proton::TemplateVersionSourceInput

An object that includes the template bundle S3 bucket path and name for the new version of a service template.

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

Create tags for a new version of a service template.

REQUIRED TemplateName => Str

The name of the service template.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateServiceTemplateVersion in Paws::Proton

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