« blib/lib/Paws/ApiGatewayV2/GetAuthorizersResponse.pm
↑ Summary
blib/lib/Paws/ApiGatewayV2/GetDeploymentResponse.pm »
| 1 | |||
| 2 | package Paws::ApiGatewayV2::GetDeployment; | ||
| 3 | use Moose; | ||
| 4 | has ApiId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'apiId', required => 1); | ||
| 5 | has DeploymentId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'deploymentId', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetDeployment'); | ||
| 10 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v2/apis/{apiId}/deployments/{deploymentId}'); | ||
| 11 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApiGatewayV2::GetDeploymentResponse'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::ApiGatewayV2::GetDeployment - Arguments for method GetDeployment on L<Paws::ApiGatewayV2> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method GetDeployment on the | ||
| 24 | L<AmazonApiGatewayV2|Paws::ApiGatewayV2> service. Use the attributes of this class | ||
| 25 | as arguments to method GetDeployment. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetDeployment. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $apigateway = Paws->service('ApiGatewayV2'); | ||
| 32 | my $GetDeploymentResponse = $apigateway->GetDeployment( | ||
| 33 | ApiId => 'My__string', | ||
| 34 | DeploymentId => 'My__string', | ||
| 35 | |||
| 36 | ); | ||
| 37 | |||
| 38 | # Results: | ||
| 39 | my $AutoDeployed = $GetDeploymentResponse->AutoDeployed; | ||
| 40 | my $CreatedDate = $GetDeploymentResponse->CreatedDate; | ||
| 41 | my $DeploymentId = $GetDeploymentResponse->DeploymentId; | ||
| 42 | my $DeploymentStatus = $GetDeploymentResponse->DeploymentStatus; | ||
| 43 | my $DeploymentStatusMessage = | ||
| 44 | $GetDeploymentResponse->DeploymentStatusMessage; | ||
| 45 | my $Description = $GetDeploymentResponse->Description; | ||
| 46 | |||
| 47 | # Returns a L<Paws::ApiGatewayV2::GetDeploymentResponse> object. | ||
| 48 | |||
| 49 | 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. | ||
| 50 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/apigateway/GetDeployment> | ||
| 51 | |||
| 52 | =head1 ATTRIBUTES | ||
| 53 | |||
| 54 | |||
| 55 | =head2 B<REQUIRED> ApiId => Str | ||
| 56 | |||
| 57 | The API identifier. | ||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | =head2 B<REQUIRED> DeploymentId => Str | ||
| 62 | |||
| 63 | The deployment ID. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head1 SEE ALSO | ||
| 69 | |||
| 70 | This class forms part of L<Paws>, documenting arguments for method GetDeployment in L<Paws::ApiGatewayV2> | ||
| 71 | |||
| 72 | =head1 BUGS and CONTRIBUTIONS | ||
| 73 | |||
| 74 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 75 | |||
| 76 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 77 | |||
| 78 | =cut | ||
| 79 |