NAME

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

DESCRIPTION

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

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

SYNOPSIS

my $apigateway = Paws->service('ApiGatewayV2');
my $ReimportApiResponse = $apigateway->ReimportApi(
  ApiId          => 'My__string',
  Body           => 'My__string',
  Basepath       => 'My__string',    # OPTIONAL
  FailOnWarnings => 1,               # OPTIONAL
);

# Results:
my $ApiEndpoint       = $ReimportApiResponse->ApiEndpoint;
my $ApiGatewayManaged = $ReimportApiResponse->ApiGatewayManaged;
my $ApiId             = $ReimportApiResponse->ApiId;
my $ApiKeySelectionExpression =
  $ReimportApiResponse->ApiKeySelectionExpression;
my $CorsConfiguration = $ReimportApiResponse->CorsConfiguration;
my $CreatedDate       = $ReimportApiResponse->CreatedDate;
my $Description       = $ReimportApiResponse->Description;
my $DisableExecuteApiEndpoint =
  $ReimportApiResponse->DisableExecuteApiEndpoint;
my $DisableSchemaValidation = $ReimportApiResponse->DisableSchemaValidation;
my $ImportInfo              = $ReimportApiResponse->ImportInfo;
my $Name                    = $ReimportApiResponse->Name;
my $ProtocolType            = $ReimportApiResponse->ProtocolType;
my $RouteSelectionExpression =
  $ReimportApiResponse->RouteSelectionExpression;
my $Tags     = $ReimportApiResponse->Tags;
my $Version  = $ReimportApiResponse->Version;
my $Warnings = $ReimportApiResponse->Warnings;

# Returns a L<Paws::ApiGatewayV2::ReimportApiResponse> 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/ReimportApi

ATTRIBUTES

REQUIRED ApiId => Str

The API identifier.

Basepath => Str

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.

REQUIRED Body => Str

The OpenAPI definition. Supported only for HTTP APIs.

FailOnWarnings => Bool

Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.

SEE ALSO

This class forms part of Paws, documenting arguments for method ReimportApi 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