The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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 $ApiId       = $ReimportApiResponse->ApiId;
    my $ApiKeySelectionExpression =
      $ReimportApiResponse->ApiKeySelectionExpression;
    my $CorsConfiguration       = $ReimportApiResponse->CorsConfiguration;
    my $CreatedDate             = $ReimportApiResponse->CreatedDate;
    my $Description             = $ReimportApiResponse->Description;
    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

Represents the base path of the imported API. 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 (true) or not (false) when a warning is encountered. The default value is false.

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