« blib/lib/Paws/ApiGatewayV2/ParameterConstraints.pm
↑ Summary
blib/lib/Paws/ApiGatewayV2/ReimportApiInput.pm »
| 1 | |||
| 2 | package Paws::ApiGatewayV2::ReimportApi; | ||
| 3 | use Moose; | ||
| 4 | has ApiId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'apiId', required => 1); | ||
| 5 | has Basepath => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'basepath'); | ||
| 6 | has Body => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'body', required => 1); | ||
| 7 | has FailOnWarnings => (is => 'ro', isa => 'Bool', traits => ['ParamInQuery'], query_name => 'failOnWarnings'); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ReimportApi'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v2/apis/{apiId}'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApiGatewayV2::ReimportApiResponse'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::ApiGatewayV2::ReimportApi - Arguments for method ReimportApi on L<Paws::ApiGatewayV2> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method ReimportApi on the | ||
| 26 | L<AmazonApiGatewayV2|Paws::ApiGatewayV2> service. Use the attributes of this class | ||
| 27 | as arguments to method ReimportApi. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ReimportApi. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $apigateway = Paws->service('ApiGatewayV2'); | ||
| 34 | my $ReimportApiResponse = $apigateway->ReimportApi( | ||
| 35 | ApiId => 'My__string', | ||
| 36 | Body => 'My__string', | ||
| 37 | Basepath => 'My__string', # OPTIONAL | ||
| 38 | FailOnWarnings => 1, # OPTIONAL | ||
| 39 | ); | ||
| 40 | |||
| 41 | # Results: | ||
| 42 | my $ApiEndpoint = $ReimportApiResponse->ApiEndpoint; | ||
| 43 | my $ApiGatewayManaged = $ReimportApiResponse->ApiGatewayManaged; | ||
| 44 | my $ApiId = $ReimportApiResponse->ApiId; | ||
| 45 | my $ApiKeySelectionExpression = | ||
| 46 | $ReimportApiResponse->ApiKeySelectionExpression; | ||
| 47 | my $CorsConfiguration = $ReimportApiResponse->CorsConfiguration; | ||
| 48 | my $CreatedDate = $ReimportApiResponse->CreatedDate; | ||
| 49 | my $Description = $ReimportApiResponse->Description; | ||
| 50 | my $DisableExecuteApiEndpoint = | ||
| 51 | $ReimportApiResponse->DisableExecuteApiEndpoint; | ||
| 52 | my $DisableSchemaValidation = $ReimportApiResponse->DisableSchemaValidation; | ||
| 53 | my $ImportInfo = $ReimportApiResponse->ImportInfo; | ||
| 54 | my $Name = $ReimportApiResponse->Name; | ||
| 55 | my $ProtocolType = $ReimportApiResponse->ProtocolType; | ||
| 56 | my $RouteSelectionExpression = | ||
| 57 | $ReimportApiResponse->RouteSelectionExpression; | ||
| 58 | my $Tags = $ReimportApiResponse->Tags; | ||
| 59 | my $Version = $ReimportApiResponse->Version; | ||
| 60 | my $Warnings = $ReimportApiResponse->Warnings; | ||
| 61 | |||
| 62 | # Returns a L<Paws::ApiGatewayV2::ReimportApiResponse> object. | ||
| 63 | |||
| 64 | 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. | ||
| 65 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/apigateway/ReimportApi> | ||
| 66 | |||
| 67 | =head1 ATTRIBUTES | ||
| 68 | |||
| 69 | |||
| 70 | =head2 B<REQUIRED> ApiId => Str | ||
| 71 | |||
| 72 | The API identifier. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head2 Basepath => Str | ||
| 77 | |||
| 78 | Specifies how to interpret the base path of the API during import. | ||
| 79 | Valid values are ignore, prepend, and split. The default value is | ||
| 80 | ignore. To learn more, see Set the OpenAPI basePath Property | ||
| 81 | (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-import-api-basePath.html). | ||
| 82 | Supported only for HTTP APIs. | ||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | =head2 B<REQUIRED> Body => Str | ||
| 87 | |||
| 88 | The OpenAPI definition. Supported only for HTTP APIs. | ||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | =head2 FailOnWarnings => Bool | ||
| 93 | |||
| 94 | Specifies whether to rollback the API creation when a warning is | ||
| 95 | encountered. By default, API creation continues if a warning is | ||
| 96 | encountered. | ||
| 97 | |||
| 98 | |||
| 99 | |||
| 100 | |||
| 101 | =head1 SEE ALSO | ||
| 102 | |||
| 103 | This class forms part of L<Paws>, documenting arguments for method ReimportApi in L<Paws::ApiGatewayV2> | ||
| 104 | |||
| 105 | =head1 BUGS and CONTRIBUTIONS | ||
| 106 | |||
| 107 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 108 | |||
| 109 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 110 | |||
| 111 | =cut | ||
| 112 |