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

NAME

Paws::ApiGatewayV2::CreateDeployment - Arguments for method CreateDeployment on Paws::ApiGatewayV2

DESCRIPTION

This class represents the parameters used for calling the method CreateDeployment on the AmazonApiGatewayV2 service. Use the attributes of this class as arguments to method CreateDeployment.

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

SYNOPSIS

    my $apigateway = Paws->service('ApiGatewayV2');
    my $CreateDeploymentResponse = $apigateway->CreateDeployment(
      ApiId       => 'My__string',
      Description => 'MyStringWithLengthBetween0And1024',    # OPTIONAL
      StageName   => 'MyStringWithLengthBetween1And128',     # OPTIONAL
    );

    # Results:
    my $AutoDeployed     = $CreateDeploymentResponse->AutoDeployed;
    my $CreatedDate      = $CreateDeploymentResponse->CreatedDate;
    my $DeploymentId     = $CreateDeploymentResponse->DeploymentId;
    my $DeploymentStatus = $CreateDeploymentResponse->DeploymentStatus;
    my $DeploymentStatusMessage =
      $CreateDeploymentResponse->DeploymentStatusMessage;
    my $Description = $CreateDeploymentResponse->Description;

    # Returns a L<Paws::ApiGatewayV2::CreateDeploymentResponse> 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/apigateway/CreateDeployment

ATTRIBUTES

REQUIRED ApiId => Str

The API identifier.

Description => Str

The description for the deployment resource.

StageName => Str

The name of the Stage resource for the Deployment resource to create.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateDeployment in Paws::ApiGatewayV2

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