Paws::ApiGatewayV2::ImportApi - Arguments for method ImportApi on Paws::ApiGatewayV2
This class represents the parameters used for calling the method ImportApi on the AmazonApiGatewayV2 service. Use the attributes of this class as arguments to method ImportApi.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ImportApi.
my $apigateway = Paws->service('ApiGatewayV2'); my $ImportApiResponse = $apigateway->ImportApi( Body => 'My__string', Basepath => 'My__string', # OPTIONAL FailOnWarnings => 1, # OPTIONAL ); # Results: my $ApiEndpoint = $ImportApiResponse->ApiEndpoint; my $ApiGatewayManaged = $ImportApiResponse->ApiGatewayManaged; my $ApiId = $ImportApiResponse->ApiId; my $ApiKeySelectionExpression = $ImportApiResponse->ApiKeySelectionExpression; my $CorsConfiguration = $ImportApiResponse->CorsConfiguration; my $CreatedDate = $ImportApiResponse->CreatedDate; my $Description = $ImportApiResponse->Description; my $DisableExecuteApiEndpoint = $ImportApiResponse->DisableExecuteApiEndpoint; my $DisableSchemaValidation = $ImportApiResponse->DisableSchemaValidation; my $ImportInfo = $ImportApiResponse->ImportInfo; my $Name = $ImportApiResponse->Name; my $ProtocolType = $ImportApiResponse->ProtocolType; my $RouteSelectionExpression = $ImportApiResponse->RouteSelectionExpression; my $Tags = $ImportApiResponse->Tags; my $Version = $ImportApiResponse->Version; my $Warnings = $ImportApiResponse->Warnings; # Returns a L<Paws::ApiGatewayV2::ImportApiResponse> 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/ImportApi
Specifies how to interpret the base path of the API during import. Valid values are ignore, prepend, and split. The default value is ignore. To learn more, see Set the OpenAPI basePath Property (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-import-api-basePath.html). Supported only for HTTP APIs.
The OpenAPI definition. Supported only for HTTP APIs.
Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.
This class forms part of Paws, documenting arguments for method ImportApi in Paws::ApiGatewayV2
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.