ApiGatewayV2Client
Index > ApiGatewayV2 > ApiGatewayV2Client
Auto-generated documentation for ApiGatewayV2 type annotations stubs module mypy-boto3-apigatewayv2.
ApiGatewayV2Client
Type annotations and code completion for boto3.client("apigatewayv2")
.
boto3 documentation
from boto3.session import Session
from mypy_boto3_apigatewayv2.client import ApiGatewayV2Client
def get_apigatewayv2_client() -> ApiGatewayV2Client:
return Session().client("apigatewayv2")
Exceptions
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("apigatewayv2").exceptions
structure.
client = boto3.client("apigatewayv2")
try:
do_something(client)
except (
client.AccessDeniedException,
client.BadRequestException,
client.ClientError,
client.ConflictException,
client.NotFoundException,
client.TooManyRequestsException,
) as e:
print(e)
from mypy_boto3_apigatewayv2.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods
can_paginate
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("apigatewayv2").can_paginate
method.
boto3 documentation
close
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("apigatewayv2").close
method.
boto3 documentation
create_api
Creates an Api resource.
Type annotations and code completion for boto3.client("apigatewayv2").create_api
method.
boto3 documentation
def create_api(
self,
*,
Name: str,
ProtocolType: ProtocolTypeType, # (1)
ApiKeySelectionExpression: str = ...,
CorsConfiguration: CorsTypeDef = ..., # (2)
CredentialsArn: str = ...,
Description: str = ...,
DisableSchemaValidation: bool = ...,
DisableExecuteApiEndpoint: bool = ...,
RouteKey: str = ...,
RouteSelectionExpression: str = ...,
Tags: Mapping[str, str] = ...,
Target: str = ...,
Version: str = ...,
) -> CreateApiResponseTypeDef: # (3)
...
- See ProtocolTypeType
- See CorsTypeDef
- See CreateApiResponseTypeDef
kwargs: CreateApiRequestRequestTypeDef = { # (1)
"Name": ...,
"ProtocolType": ...,
}
parent.create_api(**kwargs)
create_api_mapping
Creates an API mapping.
Type annotations and code completion for boto3.client("apigatewayv2").create_api_mapping
method.
boto3 documentation
def create_api_mapping(
self,
*,
ApiId: str,
DomainName: str,
Stage: str,
ApiMappingKey: str = ...,
) -> CreateApiMappingResponseTypeDef: # (1)
...
kwargs: CreateApiMappingRequestRequestTypeDef = { # (1)
"ApiId": ...,
"DomainName": ...,
"Stage": ...,
}
parent.create_api_mapping(**kwargs)
create_authorizer
Creates an Authorizer for an API.
Type annotations and code completion for boto3.client("apigatewayv2").create_authorizer
method.
boto3 documentation
def create_authorizer(
self,
*,
ApiId: str,
AuthorizerType: AuthorizerTypeType, # (1)
IdentitySource: Sequence[str],
Name: str,
AuthorizerCredentialsArn: str = ...,
AuthorizerPayloadFormatVersion: str = ...,
AuthorizerResultTtlInSeconds: int = ...,
AuthorizerUri: str = ...,
EnableSimpleResponses: bool = ...,
IdentityValidationExpression: str = ...,
JwtConfiguration: JWTConfigurationTypeDef = ..., # (2)
) -> CreateAuthorizerResponseTypeDef: # (3)
...
kwargs: CreateAuthorizerRequestRequestTypeDef = { # (1)
"ApiId": ...,
"AuthorizerType": ...,
"IdentitySource": ...,
"Name": ...,
}
parent.create_authorizer(**kwargs)
create_deployment
Creates a Deployment for an API.
Type annotations and code completion for boto3.client("apigatewayv2").create_deployment
method.
boto3 documentation
def create_deployment(
self,
*,
ApiId: str,
Description: str = ...,
StageName: str = ...,
) -> CreateDeploymentResponseTypeDef: # (1)
...
kwargs: CreateDeploymentRequestRequestTypeDef = { # (1)
"ApiId": ...,
}
parent.create_deployment(**kwargs)
create_domain_name
Creates a domain name.
Type annotations and code completion for boto3.client("apigatewayv2").create_domain_name
method.
boto3 documentation
def create_domain_name(
self,
*,
DomainName: str,
DomainNameConfigurations: Sequence[DomainNameConfigurationTypeDef] = ..., # (1)
MutualTlsAuthentication: MutualTlsAuthenticationInputTypeDef = ..., # (2)
Tags: Mapping[str, str] = ...,
) -> CreateDomainNameResponseTypeDef: # (3)
...
- See DomainNameConfigurationTypeDef
- See MutualTlsAuthenticationInputTypeDef
- See CreateDomainNameResponseTypeDef
kwargs: CreateDomainNameRequestRequestTypeDef = { # (1)
"DomainName": ...,
}
parent.create_domain_name(**kwargs)
create_integration
Creates an Integration.
Type annotations and code completion for boto3.client("apigatewayv2").create_integration
method.
boto3 documentation
def create_integration(
self,
*,
ApiId: str,
IntegrationType: IntegrationTypeType, # (1)
ConnectionId: str = ...,
ConnectionType: ConnectionTypeType = ..., # (2)
ContentHandlingStrategy: ContentHandlingStrategyType = ..., # (3)
CredentialsArn: str = ...,
Description: str = ...,
IntegrationMethod: str = ...,
IntegrationSubtype: str = ...,
IntegrationUri: str = ...,
PassthroughBehavior: PassthroughBehaviorType = ..., # (4)
PayloadFormatVersion: str = ...,
RequestParameters: Mapping[str, str] = ...,
RequestTemplates: Mapping[str, str] = ...,
ResponseParameters: Mapping[str, Mapping[str, str]] = ...,
TemplateSelectionExpression: str = ...,
TimeoutInMillis: int = ...,
TlsConfig: TlsConfigInputTypeDef = ..., # (5)
) -> CreateIntegrationResultTypeDef: # (6)
...
- See IntegrationTypeType
- See ConnectionTypeType
- See ContentHandlingStrategyType
- See PassthroughBehaviorType
- See TlsConfigInputTypeDef
- See CreateIntegrationResultTypeDef
kwargs: CreateIntegrationRequestRequestTypeDef = { # (1)
"ApiId": ...,
"IntegrationType": ...,
}
parent.create_integration(**kwargs)
create_integration_response
Creates an IntegrationResponses.
Type annotations and code completion for boto3.client("apigatewayv2").create_integration_response
method.
boto3 documentation
def create_integration_response(
self,
*,
ApiId: str,
IntegrationId: str,
IntegrationResponseKey: str,
ContentHandlingStrategy: ContentHandlingStrategyType = ..., # (1)
ResponseParameters: Mapping[str, str] = ...,
ResponseTemplates: Mapping[str, str] = ...,
TemplateSelectionExpression: str = ...,
) -> CreateIntegrationResponseResponseTypeDef: # (2)
...
kwargs: CreateIntegrationResponseRequestRequestTypeDef = { # (1)
"ApiId": ...,
"IntegrationId": ...,
"IntegrationResponseKey": ...,
}
parent.create_integration_response(**kwargs)
create_model
Creates a Model for an API.
Type annotations and code completion for boto3.client("apigatewayv2").create_model
method.
boto3 documentation
def create_model(
self,
*,
ApiId: str,
Name: str,
Schema: str,
ContentType: str = ...,
Description: str = ...,
) -> CreateModelResponseTypeDef: # (1)
...
kwargs: CreateModelRequestRequestTypeDef = { # (1)
"ApiId": ...,
"Name": ...,
"Schema": ...,
}
parent.create_model(**kwargs)
create_route
Creates a Route for an API.
Type annotations and code completion for boto3.client("apigatewayv2").create_route
method.
boto3 documentation
def create_route(
self,
*,
ApiId: str,
RouteKey: str,
ApiKeyRequired: bool = ...,
AuthorizationScopes: Sequence[str] = ...,
AuthorizationType: AuthorizationTypeType = ..., # (1)
AuthorizerId: str = ...,
ModelSelectionExpression: str = ...,
OperationName: str = ...,
RequestModels: Mapping[str, str] = ...,
RequestParameters: Mapping[str, ParameterConstraintsTypeDef] = ..., # (2)
RouteResponseSelectionExpression: str = ...,
Target: str = ...,
) -> CreateRouteResultTypeDef: # (3)
...
kwargs: CreateRouteRequestRequestTypeDef = { # (1)
"ApiId": ...,
"RouteKey": ...,
}
parent.create_route(**kwargs)
create_route_response
Creates a RouteResponse for a Route.
Type annotations and code completion for boto3.client("apigatewayv2").create_route_response
method.
boto3 documentation
def create_route_response(
self,
*,
ApiId: str,
RouteId: str,
RouteResponseKey: str,
ModelSelectionExpression: str = ...,
ResponseModels: Mapping[str, str] = ...,
ResponseParameters: Mapping[str, ParameterConstraintsTypeDef] = ..., # (1)
) -> CreateRouteResponseResponseTypeDef: # (2)
...
kwargs: CreateRouteResponseRequestRequestTypeDef = { # (1)
"ApiId": ...,
"RouteId": ...,
"RouteResponseKey": ...,
}
parent.create_route_response(**kwargs)
create_stage
Creates a Stage for an API.
Type annotations and code completion for boto3.client("apigatewayv2").create_stage
method.
boto3 documentation
def create_stage(
self,
*,
ApiId: str,
StageName: str,
AccessLogSettings: AccessLogSettingsTypeDef = ..., # (1)
AutoDeploy: bool = ...,
ClientCertificateId: str = ...,
DefaultRouteSettings: RouteSettingsTypeDef = ..., # (2)
DeploymentId: str = ...,
Description: str = ...,
RouteSettings: Mapping[str, RouteSettingsTypeDef] = ..., # (3)
StageVariables: Mapping[str, str] = ...,
Tags: Mapping[str, str] = ...,
) -> CreateStageResponseTypeDef: # (4)
...
- See AccessLogSettingsTypeDef
- See RouteSettingsTypeDef
- See RouteSettingsTypeDef
- See CreateStageResponseTypeDef
kwargs: CreateStageRequestRequestTypeDef = { # (1)
"ApiId": ...,
"StageName": ...,
}
parent.create_stage(**kwargs)
create_vpc_link
Creates a VPC link.
Type annotations and code completion for boto3.client("apigatewayv2").create_vpc_link
method.
boto3 documentation
def create_vpc_link(
self,
*,
Name: str,
SubnetIds: Sequence[str],
SecurityGroupIds: Sequence[str] = ...,
Tags: Mapping[str, str] = ...,
) -> CreateVpcLinkResponseTypeDef: # (1)
...
kwargs: CreateVpcLinkRequestRequestTypeDef = { # (1)
"Name": ...,
"SubnetIds": ...,
}
parent.create_vpc_link(**kwargs)
delete_access_log_settings
Deletes the AccessLogSettings for a Stage.
Type annotations and code completion for boto3.client("apigatewayv2").delete_access_log_settings
method.
boto3 documentation
def delete_access_log_settings(
self,
*,
ApiId: str,
StageName: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteAccessLogSettingsRequestRequestTypeDef = { # (1)
"ApiId": ...,
"StageName": ...,
}
parent.delete_access_log_settings(**kwargs)
delete_api
Deletes an Api resource.
Type annotations and code completion for boto3.client("apigatewayv2").delete_api
method.
boto3 documentation
kwargs: DeleteApiRequestRequestTypeDef = { # (1)
"ApiId": ...,
}
parent.delete_api(**kwargs)
delete_api_mapping
Deletes an API mapping.
Type annotations and code completion for boto3.client("apigatewayv2").delete_api_mapping
method.
boto3 documentation
def delete_api_mapping(
self,
*,
ApiMappingId: str,
DomainName: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteApiMappingRequestRequestTypeDef = { # (1)
"ApiMappingId": ...,
"DomainName": ...,
}
parent.delete_api_mapping(**kwargs)
delete_authorizer
Deletes an Authorizer.
Type annotations and code completion for boto3.client("apigatewayv2").delete_authorizer
method.
boto3 documentation
def delete_authorizer(
self,
*,
ApiId: str,
AuthorizerId: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteAuthorizerRequestRequestTypeDef = { # (1)
"ApiId": ...,
"AuthorizerId": ...,
}
parent.delete_authorizer(**kwargs)
delete_cors_configuration
Deletes a CORS configuration.
Type annotations and code completion for boto3.client("apigatewayv2").delete_cors_configuration
method.
boto3 documentation
def delete_cors_configuration(
self,
*,
ApiId: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteCorsConfigurationRequestRequestTypeDef = { # (1)
"ApiId": ...,
}
parent.delete_cors_configuration(**kwargs)
delete_deployment
Deletes a Deployment.
Type annotations and code completion for boto3.client("apigatewayv2").delete_deployment
method.
boto3 documentation
def delete_deployment(
self,
*,
ApiId: str,
DeploymentId: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteDeploymentRequestRequestTypeDef = { # (1)
"ApiId": ...,
"DeploymentId": ...,
}
parent.delete_deployment(**kwargs)
delete_domain_name
Deletes a domain name.
Type annotations and code completion for boto3.client("apigatewayv2").delete_domain_name
method.
boto3 documentation
def delete_domain_name(
self,
*,
DomainName: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteDomainNameRequestRequestTypeDef = { # (1)
"DomainName": ...,
}
parent.delete_domain_name(**kwargs)
delete_integration
Deletes an Integration.
Type annotations and code completion for boto3.client("apigatewayv2").delete_integration
method.
boto3 documentation
def delete_integration(
self,
*,
ApiId: str,
IntegrationId: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteIntegrationRequestRequestTypeDef = { # (1)
"ApiId": ...,
"IntegrationId": ...,
}
parent.delete_integration(**kwargs)
delete_integration_response
Deletes an IntegrationResponses.
Type annotations and code completion for boto3.client("apigatewayv2").delete_integration_response
method.
boto3 documentation
def delete_integration_response(
self,
*,
ApiId: str,
IntegrationId: str,
IntegrationResponseId: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteIntegrationResponseRequestRequestTypeDef = { # (1)
"ApiId": ...,
"IntegrationId": ...,
"IntegrationResponseId": ...,
}
parent.delete_integration_response(**kwargs)
delete_model
Deletes a Model.
Type annotations and code completion for boto3.client("apigatewayv2").delete_model
method.
boto3 documentation
def delete_model(
self,
*,
ApiId: str,
ModelId: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteModelRequestRequestTypeDef = { # (1)
"ApiId": ...,
"ModelId": ...,
}
parent.delete_model(**kwargs)
delete_route
Deletes a Route.
Type annotations and code completion for boto3.client("apigatewayv2").delete_route
method.
boto3 documentation
def delete_route(
self,
*,
ApiId: str,
RouteId: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteRouteRequestRequestTypeDef = { # (1)
"ApiId": ...,
"RouteId": ...,
}
parent.delete_route(**kwargs)
delete_route_request_parameter
Deletes a route request parameter.
Type annotations and code completion for boto3.client("apigatewayv2").delete_route_request_parameter
method.
boto3 documentation
def delete_route_request_parameter(
self,
*,
ApiId: str,
RequestParameterKey: str,
RouteId: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteRouteRequestParameterRequestRequestTypeDef = { # (1)
"ApiId": ...,
"RequestParameterKey": ...,
"RouteId": ...,
}
parent.delete_route_request_parameter(**kwargs)
delete_route_response
Deletes a RouteResponse.
Type annotations and code completion for boto3.client("apigatewayv2").delete_route_response
method.
boto3 documentation
def delete_route_response(
self,
*,
ApiId: str,
RouteId: str,
RouteResponseId: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteRouteResponseRequestRequestTypeDef = { # (1)
"ApiId": ...,
"RouteId": ...,
"RouteResponseId": ...,
}
parent.delete_route_response(**kwargs)
delete_route_settings
Deletes the RouteSettings for a stage.
Type annotations and code completion for boto3.client("apigatewayv2").delete_route_settings
method.
boto3 documentation
def delete_route_settings(
self,
*,
ApiId: str,
RouteKey: str,
StageName: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteRouteSettingsRequestRequestTypeDef = { # (1)
"ApiId": ...,
"RouteKey": ...,
"StageName": ...,
}
parent.delete_route_settings(**kwargs)
delete_stage
Deletes a Stage.
Type annotations and code completion for boto3.client("apigatewayv2").delete_stage
method.
boto3 documentation
def delete_stage(
self,
*,
ApiId: str,
StageName: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteStageRequestRequestTypeDef = { # (1)
"ApiId": ...,
"StageName": ...,
}
parent.delete_stage(**kwargs)
delete_vpc_link
Deletes a VPC link.
Type annotations and code completion for boto3.client("apigatewayv2").delete_vpc_link
method.
boto3 documentation
kwargs: DeleteVpcLinkRequestRequestTypeDef = { # (1)
"VpcLinkId": ...,
}
parent.delete_vpc_link(**kwargs)
export_api
See also: AWS API Documentation.
Type annotations and code completion for boto3.client("apigatewayv2").export_api
method.
boto3 documentation
def export_api(
self,
*,
ApiId: str,
OutputType: JSONYAMLType, # (1)
Specification: OAS30Type, # (2)
ExportVersion: str = ...,
IncludeExtensions: bool = ...,
StageName: str = ...,
) -> ExportApiResponseTypeDef: # (3)
...
- See JSONYAMLType
- See OAS30Type
- See ExportApiResponseTypeDef
kwargs: ExportApiRequestRequestTypeDef = { # (1)
"ApiId": ...,
"OutputType": ...,
"Specification": ...,
}
parent.export_api(**kwargs)
generate_presigned_url
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("apigatewayv2").generate_presigned_url
method.
boto3 documentation
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
get_api
Gets an Api resource.
Type annotations and code completion for boto3.client("apigatewayv2").get_api
method.
boto3 documentation
kwargs: GetApiRequestRequestTypeDef = { # (1)
"ApiId": ...,
}
parent.get_api(**kwargs)
get_api_mapping
Gets an API mapping.
Type annotations and code completion for boto3.client("apigatewayv2").get_api_mapping
method.
boto3 documentation
def get_api_mapping(
self,
*,
ApiMappingId: str,
DomainName: str,
) -> GetApiMappingResponseTypeDef: # (1)
...
kwargs: GetApiMappingRequestRequestTypeDef = { # (1)
"ApiMappingId": ...,
"DomainName": ...,
}
parent.get_api_mapping(**kwargs)
get_api_mappings
Gets API mappings.
Type annotations and code completion for boto3.client("apigatewayv2").get_api_mappings
method.
boto3 documentation
def get_api_mappings(
self,
*,
DomainName: str,
MaxResults: str = ...,
NextToken: str = ...,
) -> GetApiMappingsResponseTypeDef: # (1)
...
kwargs: GetApiMappingsRequestRequestTypeDef = { # (1)
"DomainName": ...,
}
parent.get_api_mappings(**kwargs)
get_apis
Gets a collection of Api resources.
Type annotations and code completion for boto3.client("apigatewayv2").get_apis
method.
boto3 documentation
def get_apis(
self,
*,
MaxResults: str = ...,
NextToken: str = ...,
) -> GetApisResponseTypeDef: # (1)
...
kwargs: GetApisRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.get_apis(**kwargs)
get_authorizer
Gets an Authorizer.
Type annotations and code completion for boto3.client("apigatewayv2").get_authorizer
method.
boto3 documentation
def get_authorizer(
self,
*,
ApiId: str,
AuthorizerId: str,
) -> GetAuthorizerResponseTypeDef: # (1)
...
kwargs: GetAuthorizerRequestRequestTypeDef = { # (1)
"ApiId": ...,
"AuthorizerId": ...,
}
parent.get_authorizer(**kwargs)
get_authorizers
Gets the Authorizers for an API.
Type annotations and code completion for boto3.client("apigatewayv2").get_authorizers
method.
boto3 documentation
def get_authorizers(
self,
*,
ApiId: str,
MaxResults: str = ...,
NextToken: str = ...,
) -> GetAuthorizersResponseTypeDef: # (1)
...
kwargs: GetAuthorizersRequestRequestTypeDef = { # (1)
"ApiId": ...,
}
parent.get_authorizers(**kwargs)
get_deployment
Gets a Deployment.
Type annotations and code completion for boto3.client("apigatewayv2").get_deployment
method.
boto3 documentation
def get_deployment(
self,
*,
ApiId: str,
DeploymentId: str,
) -> GetDeploymentResponseTypeDef: # (1)
...
kwargs: GetDeploymentRequestRequestTypeDef = { # (1)
"ApiId": ...,
"DeploymentId": ...,
}
parent.get_deployment(**kwargs)
get_deployments
Gets the Deployments for an API.
Type annotations and code completion for boto3.client("apigatewayv2").get_deployments
method.
boto3 documentation
def get_deployments(
self,
*,
ApiId: str,
MaxResults: str = ...,
NextToken: str = ...,
) -> GetDeploymentsResponseTypeDef: # (1)
...
kwargs: GetDeploymentsRequestRequestTypeDef = { # (1)
"ApiId": ...,
}
parent.get_deployments(**kwargs)
get_domain_name
Gets a domain name.
Type annotations and code completion for boto3.client("apigatewayv2").get_domain_name
method.
boto3 documentation
def get_domain_name(
self,
*,
DomainName: str,
) -> GetDomainNameResponseTypeDef: # (1)
...
kwargs: GetDomainNameRequestRequestTypeDef = { # (1)
"DomainName": ...,
}
parent.get_domain_name(**kwargs)
get_domain_names
Gets the domain names for an AWS account.
Type annotations and code completion for boto3.client("apigatewayv2").get_domain_names
method.
boto3 documentation
def get_domain_names(
self,
*,
MaxResults: str = ...,
NextToken: str = ...,
) -> GetDomainNamesResponseTypeDef: # (1)
...
kwargs: GetDomainNamesRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.get_domain_names(**kwargs)
get_integration
Gets an Integration.
Type annotations and code completion for boto3.client("apigatewayv2").get_integration
method.
boto3 documentation
def get_integration(
self,
*,
ApiId: str,
IntegrationId: str,
) -> GetIntegrationResultTypeDef: # (1)
...
kwargs: GetIntegrationRequestRequestTypeDef = { # (1)
"ApiId": ...,
"IntegrationId": ...,
}
parent.get_integration(**kwargs)
get_integration_response
Gets an IntegrationResponses.
Type annotations and code completion for boto3.client("apigatewayv2").get_integration_response
method.
boto3 documentation
def get_integration_response(
self,
*,
ApiId: str,
IntegrationId: str,
IntegrationResponseId: str,
) -> GetIntegrationResponseResponseTypeDef: # (1)
...
kwargs: GetIntegrationResponseRequestRequestTypeDef = { # (1)
"ApiId": ...,
"IntegrationId": ...,
"IntegrationResponseId": ...,
}
parent.get_integration_response(**kwargs)
get_integration_responses
Gets the IntegrationResponses for an Integration.
Type annotations and code completion for boto3.client("apigatewayv2").get_integration_responses
method.
boto3 documentation
def get_integration_responses(
self,
*,
ApiId: str,
IntegrationId: str,
MaxResults: str = ...,
NextToken: str = ...,
) -> GetIntegrationResponsesResponseTypeDef: # (1)
...
kwargs: GetIntegrationResponsesRequestRequestTypeDef = { # (1)
"ApiId": ...,
"IntegrationId": ...,
}
parent.get_integration_responses(**kwargs)
get_integrations
Gets the Integrations for an API.
Type annotations and code completion for boto3.client("apigatewayv2").get_integrations
method.
boto3 documentation
def get_integrations(
self,
*,
ApiId: str,
MaxResults: str = ...,
NextToken: str = ...,
) -> GetIntegrationsResponseTypeDef: # (1)
...
kwargs: GetIntegrationsRequestRequestTypeDef = { # (1)
"ApiId": ...,
}
parent.get_integrations(**kwargs)
get_model
Gets a Model.
Type annotations and code completion for boto3.client("apigatewayv2").get_model
method.
boto3 documentation
def get_model(
self,
*,
ApiId: str,
ModelId: str,
) -> GetModelResponseTypeDef: # (1)
...
kwargs: GetModelRequestRequestTypeDef = { # (1)
"ApiId": ...,
"ModelId": ...,
}
parent.get_model(**kwargs)
get_model_template
Gets a model template.
Type annotations and code completion for boto3.client("apigatewayv2").get_model_template
method.
boto3 documentation
def get_model_template(
self,
*,
ApiId: str,
ModelId: str,
) -> GetModelTemplateResponseTypeDef: # (1)
...
kwargs: GetModelTemplateRequestRequestTypeDef = { # (1)
"ApiId": ...,
"ModelId": ...,
}
parent.get_model_template(**kwargs)
get_models
Gets the Models for an API.
Type annotations and code completion for boto3.client("apigatewayv2").get_models
method.
boto3 documentation
def get_models(
self,
*,
ApiId: str,
MaxResults: str = ...,
NextToken: str = ...,
) -> GetModelsResponseTypeDef: # (1)
...
kwargs: GetModelsRequestRequestTypeDef = { # (1)
"ApiId": ...,
}
parent.get_models(**kwargs)
get_route
Gets a Route.
Type annotations and code completion for boto3.client("apigatewayv2").get_route
method.
boto3 documentation
def get_route(
self,
*,
ApiId: str,
RouteId: str,
) -> GetRouteResultTypeDef: # (1)
...
kwargs: GetRouteRequestRequestTypeDef = { # (1)
"ApiId": ...,
"RouteId": ...,
}
parent.get_route(**kwargs)
get_route_response
Gets a RouteResponse.
Type annotations and code completion for boto3.client("apigatewayv2").get_route_response
method.
boto3 documentation
def get_route_response(
self,
*,
ApiId: str,
RouteId: str,
RouteResponseId: str,
) -> GetRouteResponseResponseTypeDef: # (1)
...
kwargs: GetRouteResponseRequestRequestTypeDef = { # (1)
"ApiId": ...,
"RouteId": ...,
"RouteResponseId": ...,
}
parent.get_route_response(**kwargs)
get_route_responses
Gets the RouteResponses for a Route.
Type annotations and code completion for boto3.client("apigatewayv2").get_route_responses
method.
boto3 documentation
def get_route_responses(
self,
*,
ApiId: str,
RouteId: str,
MaxResults: str = ...,
NextToken: str = ...,
) -> GetRouteResponsesResponseTypeDef: # (1)
...
kwargs: GetRouteResponsesRequestRequestTypeDef = { # (1)
"ApiId": ...,
"RouteId": ...,
}
parent.get_route_responses(**kwargs)
get_routes
Gets the Routes for an API.
Type annotations and code completion for boto3.client("apigatewayv2").get_routes
method.
boto3 documentation
def get_routes(
self,
*,
ApiId: str,
MaxResults: str = ...,
NextToken: str = ...,
) -> GetRoutesResponseTypeDef: # (1)
...
kwargs: GetRoutesRequestRequestTypeDef = { # (1)
"ApiId": ...,
}
parent.get_routes(**kwargs)
get_stage
Gets a Stage.
Type annotations and code completion for boto3.client("apigatewayv2").get_stage
method.
boto3 documentation
def get_stage(
self,
*,
ApiId: str,
StageName: str,
) -> GetStageResponseTypeDef: # (1)
...
kwargs: GetStageRequestRequestTypeDef = { # (1)
"ApiId": ...,
"StageName": ...,
}
parent.get_stage(**kwargs)
get_stages
Gets the Stages for an API.
Type annotations and code completion for boto3.client("apigatewayv2").get_stages
method.
boto3 documentation
def get_stages(
self,
*,
ApiId: str,
MaxResults: str = ...,
NextToken: str = ...,
) -> GetStagesResponseTypeDef: # (1)
...
kwargs: GetStagesRequestRequestTypeDef = { # (1)
"ApiId": ...,
}
parent.get_stages(**kwargs)
get_tags
Gets a collection of Tag resources.
Type annotations and code completion for boto3.client("apigatewayv2").get_tags
method.
boto3 documentation
kwargs: GetTagsRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
}
parent.get_tags(**kwargs)
get_vpc_link
Gets a VPC link.
Type annotations and code completion for boto3.client("apigatewayv2").get_vpc_link
method.
boto3 documentation
def get_vpc_link(
self,
*,
VpcLinkId: str,
) -> GetVpcLinkResponseTypeDef: # (1)
...
kwargs: GetVpcLinkRequestRequestTypeDef = { # (1)
"VpcLinkId": ...,
}
parent.get_vpc_link(**kwargs)
get_vpc_links
Gets a collection of VPC links.
Type annotations and code completion for boto3.client("apigatewayv2").get_vpc_links
method.
boto3 documentation
def get_vpc_links(
self,
*,
MaxResults: str = ...,
NextToken: str = ...,
) -> GetVpcLinksResponseTypeDef: # (1)
...
kwargs: GetVpcLinksRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.get_vpc_links(**kwargs)
import_api
Imports an API.
Type annotations and code completion for boto3.client("apigatewayv2").import_api
method.
boto3 documentation
def import_api(
self,
*,
Body: str,
Basepath: str = ...,
FailOnWarnings: bool = ...,
) -> ImportApiResponseTypeDef: # (1)
...
kwargs: ImportApiRequestRequestTypeDef = { # (1)
"Body": ...,
}
parent.import_api(**kwargs)
reimport_api
Puts an Api resource.
Type annotations and code completion for boto3.client("apigatewayv2").reimport_api
method.
boto3 documentation
def reimport_api(
self,
*,
ApiId: str,
Body: str,
Basepath: str = ...,
FailOnWarnings: bool = ...,
) -> ReimportApiResponseTypeDef: # (1)
...
kwargs: ReimportApiRequestRequestTypeDef = { # (1)
"ApiId": ...,
"Body": ...,
}
parent.reimport_api(**kwargs)
reset_authorizers_cache
Resets all authorizer cache entries on a stage.
Type annotations and code completion for boto3.client("apigatewayv2").reset_authorizers_cache
method.
boto3 documentation
def reset_authorizers_cache(
self,
*,
ApiId: str,
StageName: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: ResetAuthorizersCacheRequestRequestTypeDef = { # (1)
"ApiId": ...,
"StageName": ...,
}
parent.reset_authorizers_cache(**kwargs)
tag_resource
Creates a new Tag resource to represent a tag.
Type annotations and code completion for boto3.client("apigatewayv2").tag_resource
method.
boto3 documentation
def tag_resource(
self,
*,
ResourceArn: str,
Tags: Mapping[str, str] = ...,
) -> Dict[str, Any]:
...
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
}
parent.tag_resource(**kwargs)
untag_resource
Deletes a Tag.
Type annotations and code completion for boto3.client("apigatewayv2").untag_resource
method.
boto3 documentation
def untag_resource(
self,
*,
ResourceArn: str,
TagKeys: Sequence[str],
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
"TagKeys": ...,
}
parent.untag_resource(**kwargs)
update_api
Updates an Api resource.
Type annotations and code completion for boto3.client("apigatewayv2").update_api
method.
boto3 documentation
def update_api(
self,
*,
ApiId: str,
ApiKeySelectionExpression: str = ...,
CorsConfiguration: CorsTypeDef = ..., # (1)
CredentialsArn: str = ...,
Description: str = ...,
DisableSchemaValidation: bool = ...,
DisableExecuteApiEndpoint: bool = ...,
Name: str = ...,
RouteKey: str = ...,
RouteSelectionExpression: str = ...,
Target: str = ...,
Version: str = ...,
) -> UpdateApiResponseTypeDef: # (2)
...
- See CorsTypeDef
- See UpdateApiResponseTypeDef
kwargs: UpdateApiRequestRequestTypeDef = { # (1)
"ApiId": ...,
}
parent.update_api(**kwargs)
update_api_mapping
The API mapping.
Type annotations and code completion for boto3.client("apigatewayv2").update_api_mapping
method.
boto3 documentation
def update_api_mapping(
self,
*,
ApiId: str,
ApiMappingId: str,
DomainName: str,
ApiMappingKey: str = ...,
Stage: str = ...,
) -> UpdateApiMappingResponseTypeDef: # (1)
...
kwargs: UpdateApiMappingRequestRequestTypeDef = { # (1)
"ApiId": ...,
"ApiMappingId": ...,
"DomainName": ...,
}
parent.update_api_mapping(**kwargs)
update_authorizer
Updates an Authorizer.
Type annotations and code completion for boto3.client("apigatewayv2").update_authorizer
method.
boto3 documentation
def update_authorizer(
self,
*,
ApiId: str,
AuthorizerId: str,
AuthorizerCredentialsArn: str = ...,
AuthorizerPayloadFormatVersion: str = ...,
AuthorizerResultTtlInSeconds: int = ...,
AuthorizerType: AuthorizerTypeType = ..., # (1)
AuthorizerUri: str = ...,
EnableSimpleResponses: bool = ...,
IdentitySource: Sequence[str] = ...,
IdentityValidationExpression: str = ...,
JwtConfiguration: JWTConfigurationTypeDef = ..., # (2)
Name: str = ...,
) -> UpdateAuthorizerResponseTypeDef: # (3)
...
kwargs: UpdateAuthorizerRequestRequestTypeDef = { # (1)
"ApiId": ...,
"AuthorizerId": ...,
}
parent.update_authorizer(**kwargs)
update_deployment
Updates a Deployment.
Type annotations and code completion for boto3.client("apigatewayv2").update_deployment
method.
boto3 documentation
def update_deployment(
self,
*,
ApiId: str,
DeploymentId: str,
Description: str = ...,
) -> UpdateDeploymentResponseTypeDef: # (1)
...
kwargs: UpdateDeploymentRequestRequestTypeDef = { # (1)
"ApiId": ...,
"DeploymentId": ...,
}
parent.update_deployment(**kwargs)
update_domain_name
Updates a domain name.
Type annotations and code completion for boto3.client("apigatewayv2").update_domain_name
method.
boto3 documentation
def update_domain_name(
self,
*,
DomainName: str,
DomainNameConfigurations: Sequence[DomainNameConfigurationTypeDef] = ..., # (1)
MutualTlsAuthentication: MutualTlsAuthenticationInputTypeDef = ..., # (2)
) -> UpdateDomainNameResponseTypeDef: # (3)
...
- See DomainNameConfigurationTypeDef
- See MutualTlsAuthenticationInputTypeDef
- See UpdateDomainNameResponseTypeDef
kwargs: UpdateDomainNameRequestRequestTypeDef = { # (1)
"DomainName": ...,
}
parent.update_domain_name(**kwargs)
update_integration
Updates an Integration.
Type annotations and code completion for boto3.client("apigatewayv2").update_integration
method.
boto3 documentation
def update_integration(
self,
*,
ApiId: str,
IntegrationId: str,
ConnectionId: str = ...,
ConnectionType: ConnectionTypeType = ..., # (1)
ContentHandlingStrategy: ContentHandlingStrategyType = ..., # (2)
CredentialsArn: str = ...,
Description: str = ...,
IntegrationMethod: str = ...,
IntegrationSubtype: str = ...,
IntegrationType: IntegrationTypeType = ..., # (3)
IntegrationUri: str = ...,
PassthroughBehavior: PassthroughBehaviorType = ..., # (4)
PayloadFormatVersion: str = ...,
RequestParameters: Mapping[str, str] = ...,
RequestTemplates: Mapping[str, str] = ...,
ResponseParameters: Mapping[str, Mapping[str, str]] = ...,
TemplateSelectionExpression: str = ...,
TimeoutInMillis: int = ...,
TlsConfig: TlsConfigInputTypeDef = ..., # (5)
) -> UpdateIntegrationResultTypeDef: # (6)
...
- See ConnectionTypeType
- See ContentHandlingStrategyType
- See IntegrationTypeType
- See PassthroughBehaviorType
- See TlsConfigInputTypeDef
- See UpdateIntegrationResultTypeDef
kwargs: UpdateIntegrationRequestRequestTypeDef = { # (1)
"ApiId": ...,
"IntegrationId": ...,
}
parent.update_integration(**kwargs)
update_integration_response
Updates an IntegrationResponses.
Type annotations and code completion for boto3.client("apigatewayv2").update_integration_response
method.
boto3 documentation
def update_integration_response(
self,
*,
ApiId: str,
IntegrationId: str,
IntegrationResponseId: str,
ContentHandlingStrategy: ContentHandlingStrategyType = ..., # (1)
IntegrationResponseKey: str = ...,
ResponseParameters: Mapping[str, str] = ...,
ResponseTemplates: Mapping[str, str] = ...,
TemplateSelectionExpression: str = ...,
) -> UpdateIntegrationResponseResponseTypeDef: # (2)
...
kwargs: UpdateIntegrationResponseRequestRequestTypeDef = { # (1)
"ApiId": ...,
"IntegrationId": ...,
"IntegrationResponseId": ...,
}
parent.update_integration_response(**kwargs)
update_model
Updates a Model.
Type annotations and code completion for boto3.client("apigatewayv2").update_model
method.
boto3 documentation
def update_model(
self,
*,
ApiId: str,
ModelId: str,
ContentType: str = ...,
Description: str = ...,
Name: str = ...,
Schema: str = ...,
) -> UpdateModelResponseTypeDef: # (1)
...
kwargs: UpdateModelRequestRequestTypeDef = { # (1)
"ApiId": ...,
"ModelId": ...,
}
parent.update_model(**kwargs)
update_route
Updates a Route.
Type annotations and code completion for boto3.client("apigatewayv2").update_route
method.
boto3 documentation
def update_route(
self,
*,
ApiId: str,
RouteId: str,
ApiKeyRequired: bool = ...,
AuthorizationScopes: Sequence[str] = ...,
AuthorizationType: AuthorizationTypeType = ..., # (1)
AuthorizerId: str = ...,
ModelSelectionExpression: str = ...,
OperationName: str = ...,
RequestModels: Mapping[str, str] = ...,
RequestParameters: Mapping[str, ParameterConstraintsTypeDef] = ..., # (2)
RouteKey: str = ...,
RouteResponseSelectionExpression: str = ...,
Target: str = ...,
) -> UpdateRouteResultTypeDef: # (3)
...
kwargs: UpdateRouteRequestRequestTypeDef = { # (1)
"ApiId": ...,
"RouteId": ...,
}
parent.update_route(**kwargs)
update_route_response
Updates a RouteResponse.
Type annotations and code completion for boto3.client("apigatewayv2").update_route_response
method.
boto3 documentation
def update_route_response(
self,
*,
ApiId: str,
RouteId: str,
RouteResponseId: str,
ModelSelectionExpression: str = ...,
ResponseModels: Mapping[str, str] = ...,
ResponseParameters: Mapping[str, ParameterConstraintsTypeDef] = ..., # (1)
RouteResponseKey: str = ...,
) -> UpdateRouteResponseResponseTypeDef: # (2)
...
kwargs: UpdateRouteResponseRequestRequestTypeDef = { # (1)
"ApiId": ...,
"RouteId": ...,
"RouteResponseId": ...,
}
parent.update_route_response(**kwargs)
update_stage
Updates a Stage.
Type annotations and code completion for boto3.client("apigatewayv2").update_stage
method.
boto3 documentation
def update_stage(
self,
*,
ApiId: str,
StageName: str,
AccessLogSettings: AccessLogSettingsTypeDef = ..., # (1)
AutoDeploy: bool = ...,
ClientCertificateId: str = ...,
DefaultRouteSettings: RouteSettingsTypeDef = ..., # (2)
DeploymentId: str = ...,
Description: str = ...,
RouteSettings: Mapping[str, RouteSettingsTypeDef] = ..., # (3)
StageVariables: Mapping[str, str] = ...,
) -> UpdateStageResponseTypeDef: # (4)
...
- See AccessLogSettingsTypeDef
- See RouteSettingsTypeDef
- See RouteSettingsTypeDef
- See UpdateStageResponseTypeDef
kwargs: UpdateStageRequestRequestTypeDef = { # (1)
"ApiId": ...,
"StageName": ...,
}
parent.update_stage(**kwargs)
update_vpc_link
Updates a VPC link.
Type annotations and code completion for boto3.client("apigatewayv2").update_vpc_link
method.
boto3 documentation
def update_vpc_link(
self,
*,
VpcLinkId: str,
Name: str = ...,
) -> UpdateVpcLinkResponseTypeDef: # (1)
...
kwargs: UpdateVpcLinkRequestRequestTypeDef = { # (1)
"VpcLinkId": ...,
}
parent.update_vpc_link(**kwargs)
get_paginator
Type annotations and code completion for boto3.client("apigatewayv2").get_paginator
method with overloads.
client.get_paginator("get_apis")
-> GetApisPaginatorclient.get_paginator("get_authorizers")
-> GetAuthorizersPaginatorclient.get_paginator("get_deployments")
-> GetDeploymentsPaginatorclient.get_paginator("get_domain_names")
-> GetDomainNamesPaginatorclient.get_paginator("get_integration_responses")
-> GetIntegrationResponsesPaginatorclient.get_paginator("get_integrations")
-> GetIntegrationsPaginatorclient.get_paginator("get_models")
-> GetModelsPaginatorclient.get_paginator("get_route_responses")
-> GetRouteResponsesPaginatorclient.get_paginator("get_routes")
-> GetRoutesPaginatorclient.get_paginator("get_stages")
-> GetStagesPaginator