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