{ "version":"2.0", "metadata":{ "apiVersion":"2015-07-09", "endpointPrefix":"apigateway", "protocol":"rest-json", "serviceFullName":"Amazon API Gateway", "serviceId":"API Gateway", "signatureVersion":"v4", "uid":"apigateway-2015-07-09" }, "operations":{ "CreateApiKey":{ "name":"CreateApiKey", "http":{ "method":"POST", "requestUri":"/apikeys", "responseCode":201 }, "input":{"shape":"CreateApiKeyRequest"}, "output":{"shape":"ApiKey"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"}, {"shape":"LimitExceededException"}, {"shape":"BadRequestException"}, {"shape":"ConflictException"} ], "documentation":"

Create an ApiKey resource.

AWS CLI
" }, "CreateAuthorizer":{ "name":"CreateAuthorizer", "http":{ "method":"POST", "requestUri":"/restapis/{restapi_id}/authorizers", "responseCode":201 }, "input":{"shape":"CreateAuthorizerRequest"}, "output":{"shape":"Authorizer"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"LimitExceededException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Adds a new Authorizer resource to an existing RestApi resource.

AWS CLI
" }, "CreateBasePathMapping":{ "name":"CreateBasePathMapping", "http":{ "method":"POST", "requestUri":"/domainnames/{domain_name}/basepathmappings", "responseCode":201 }, "input":{"shape":"CreateBasePathMappingRequest"}, "output":{"shape":"BasePathMapping"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"ConflictException"}, {"shape":"BadRequestException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Creates a new BasePathMapping resource.

" }, "CreateDeployment":{ "name":"CreateDeployment", "http":{ "method":"POST", "requestUri":"/restapis/{restapi_id}/deployments", "responseCode":201 }, "input":{"shape":"CreateDeploymentRequest"}, "output":{"shape":"Deployment"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"BadRequestException"}, {"shape":"NotFoundException"}, {"shape":"ConflictException"}, {"shape":"LimitExceededException"}, {"shape":"TooManyRequestsException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Creates a Deployment resource, which makes a specified RestApi callable over the internet.

" }, "CreateDocumentationPart":{ "name":"CreateDocumentationPart", "http":{ "method":"POST", "requestUri":"/restapis/{restapi_id}/documentation/parts", "responseCode":201 }, "input":{"shape":"CreateDocumentationPartRequest"}, "output":{"shape":"DocumentationPart"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"LimitExceededException"}, {"shape":"TooManyRequestsException"} ] }, "CreateDocumentationVersion":{ "name":"CreateDocumentationVersion", "http":{ "method":"POST", "requestUri":"/restapis/{restapi_id}/documentation/versions", "responseCode":201 }, "input":{"shape":"CreateDocumentationVersionRequest"}, "output":{"shape":"DocumentationVersion"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"LimitExceededException"}, {"shape":"TooManyRequestsException"} ] }, "CreateDomainName":{ "name":"CreateDomainName", "http":{ "method":"POST", "requestUri":"/domainnames", "responseCode":201 }, "input":{"shape":"CreateDomainNameRequest"}, "output":{"shape":"DomainName"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Creates a new domain name.

" }, "CreateModel":{ "name":"CreateModel", "http":{ "method":"POST", "requestUri":"/restapis/{restapi_id}/models", "responseCode":201 }, "input":{"shape":"CreateModelRequest"}, "output":{"shape":"Model"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"ConflictException"}, {"shape":"LimitExceededException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Adds a new Model resource to an existing RestApi resource.

" }, "CreateRequestValidator":{ "name":"CreateRequestValidator", "http":{ "method":"POST", "requestUri":"/restapis/{restapi_id}/requestvalidators", "responseCode":201 }, "input":{"shape":"CreateRequestValidatorRequest"}, "output":{"shape":"RequestValidator"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"LimitExceededException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Creates a ReqeustValidator of a given RestApi.

" }, "CreateResource":{ "name":"CreateResource", "http":{ "method":"POST", "requestUri":"/restapis/{restapi_id}/resources/{parent_id}", "responseCode":201 }, "input":{"shape":"CreateResourceRequest"}, "output":{"shape":"Resource"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"ConflictException"}, {"shape":"LimitExceededException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Creates a Resource resource.

" }, "CreateRestApi":{ "name":"CreateRestApi", "http":{ "method":"POST", "requestUri":"/restapis", "responseCode":201 }, "input":{"shape":"CreateRestApiRequest"}, "output":{"shape":"RestApi"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"LimitExceededException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Creates a new RestApi resource.

" }, "CreateStage":{ "name":"CreateStage", "http":{ "method":"POST", "requestUri":"/restapis/{restapi_id}/stages", "responseCode":201 }, "input":{"shape":"CreateStageRequest"}, "output":{"shape":"Stage"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"BadRequestException"}, {"shape":"NotFoundException"}, {"shape":"ConflictException"}, {"shape":"LimitExceededException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Creates a new Stage resource that references a pre-existing Deployment for the API.

" }, "CreateUsagePlan":{ "name":"CreateUsagePlan", "http":{ "method":"POST", "requestUri":"/usageplans", "responseCode":201 }, "input":{"shape":"CreateUsagePlanRequest"}, "output":{"shape":"UsagePlan"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"LimitExceededException"}, {"shape":"ConflictException"}, {"shape":"NotFoundException"} ], "documentation":"

Creates a usage plan with the throttle and quota limits, as well as the associated API stages, specified in the payload.

" }, "CreateUsagePlanKey":{ "name":"CreateUsagePlanKey", "http":{ "method":"POST", "requestUri":"/usageplans/{usageplanId}/keys", "responseCode":201 }, "input":{"shape":"CreateUsagePlanKeyRequest"}, "output":{"shape":"UsagePlanKey"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Creates a usage plan key for adding an existing API key to a usage plan.

" }, "CreateVpcLink":{ "name":"CreateVpcLink", "http":{ "method":"POST", "requestUri":"/vpclinks", "responseCode":202 }, "input":{"shape":"CreateVpcLinkRequest"}, "output":{"shape":"VpcLink"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Creates a VPC link, under the caller's account in a selected region, in an asynchronous operation that typically takes 2-4 minutes to complete and become operational. The caller must have permissions to create and update VPC Endpoint services.

" }, "DeleteApiKey":{ "name":"DeleteApiKey", "http":{ "method":"DELETE", "requestUri":"/apikeys/{api_Key}", "responseCode":202 }, "input":{"shape":"DeleteApiKeyRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Deletes the ApiKey resource.

" }, "DeleteAuthorizer":{ "name":"DeleteAuthorizer", "http":{ "method":"DELETE", "requestUri":"/restapis/{restapi_id}/authorizers/{authorizer_id}", "responseCode":202 }, "input":{"shape":"DeleteAuthorizerRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"}, {"shape":"BadRequestException"}, {"shape":"ConflictException"} ], "documentation":"

Deletes an existing Authorizer resource.

AWS CLI
" }, "DeleteBasePathMapping":{ "name":"DeleteBasePathMapping", "http":{ "method":"DELETE", "requestUri":"/domainnames/{domain_name}/basepathmappings/{base_path}", "responseCode":202 }, "input":{"shape":"DeleteBasePathMappingRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"ConflictException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Deletes the BasePathMapping resource.

" }, "DeleteClientCertificate":{ "name":"DeleteClientCertificate", "http":{ "method":"DELETE", "requestUri":"/clientcertificates/{clientcertificate_id}", "responseCode":202 }, "input":{"shape":"DeleteClientCertificateRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"BadRequestException"}, {"shape":"NotFoundException"} ], "documentation":"

Deletes the ClientCertificate resource.

" }, "DeleteDeployment":{ "name":"DeleteDeployment", "http":{ "method":"DELETE", "requestUri":"/restapis/{restapi_id}/deployments/{deployment_id}", "responseCode":202 }, "input":{"shape":"DeleteDeploymentRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.

" }, "DeleteDocumentationPart":{ "name":"DeleteDocumentationPart", "http":{ "method":"DELETE", "requestUri":"/restapis/{restapi_id}/documentation/parts/{part_id}", "responseCode":202 }, "input":{"shape":"DeleteDocumentationPartRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"}, {"shape":"ConflictException"}, {"shape":"BadRequestException"} ] }, "DeleteDocumentationVersion":{ "name":"DeleteDocumentationVersion", "http":{ "method":"DELETE", "requestUri":"/restapis/{restapi_id}/documentation/versions/{doc_version}", "responseCode":202 }, "input":{"shape":"DeleteDocumentationVersionRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"TooManyRequestsException"} ] }, "DeleteDomainName":{ "name":"DeleteDomainName", "http":{ "method":"DELETE", "requestUri":"/domainnames/{domain_name}", "responseCode":202 }, "input":{"shape":"DeleteDomainNameRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Deletes the DomainName resource.

" }, "DeleteGatewayResponse":{ "name":"DeleteGatewayResponse", "http":{ "method":"DELETE", "requestUri":"/restapis/{restapi_id}/gatewayresponses/{response_type}", "responseCode":202 }, "input":{"shape":"DeleteGatewayResponseRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"}, {"shape":"BadRequestException"}, {"shape":"ConflictException"} ], "documentation":"

Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.

" }, "DeleteIntegration":{ "name":"DeleteIntegration", "http":{ "method":"DELETE", "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration", "responseCode":204 }, "input":{"shape":"DeleteIntegrationRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"}, {"shape":"ConflictException"} ], "documentation":"

Represents a delete integration.

" }, "DeleteIntegrationResponse":{ "name":"DeleteIntegrationResponse", "http":{ "method":"DELETE", "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}", "responseCode":204 }, "input":{"shape":"DeleteIntegrationResponseRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"}, {"shape":"BadRequestException"}, {"shape":"ConflictException"} ], "documentation":"

Represents a delete integration response.

" }, "DeleteMethod":{ "name":"DeleteMethod", "http":{ "method":"DELETE", "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}", "responseCode":204 }, "input":{"shape":"DeleteMethodRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"}, {"shape":"ConflictException"} ], "documentation":"

Deletes an existing Method resource.

" }, "DeleteMethodResponse":{ "name":"DeleteMethodResponse", "http":{ "method":"DELETE", "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}", "responseCode":204 }, "input":{"shape":"DeleteMethodResponseRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"}, {"shape":"BadRequestException"}, {"shape":"ConflictException"} ], "documentation":"

Deletes an existing MethodResponse resource.

" }, "DeleteModel":{ "name":"DeleteModel", "http":{ "method":"DELETE", "requestUri":"/restapis/{restapi_id}/models/{model_name}", "responseCode":202 }, "input":{"shape":"DeleteModelRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"}, {"shape":"BadRequestException"}, {"shape":"ConflictException"} ], "documentation":"

Deletes a model.

" }, "DeleteRequestValidator":{ "name":"DeleteRequestValidator", "http":{ "method":"DELETE", "requestUri":"/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}", "responseCode":202 }, "input":{"shape":"DeleteRequestValidatorRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"}, {"shape":"BadRequestException"}, {"shape":"ConflictException"} ], "documentation":"

Deletes a RequestValidator of a given RestApi.

" }, "DeleteResource":{ "name":"DeleteResource", "http":{ "method":"DELETE", "requestUri":"/restapis/{restapi_id}/resources/{resource_id}", "responseCode":202 }, "input":{"shape":"DeleteResourceRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Deletes a Resource resource.

" }, "DeleteRestApi":{ "name":"DeleteRestApi", "http":{ "method":"DELETE", "requestUri":"/restapis/{restapi_id}", "responseCode":202 }, "input":{"shape":"DeleteRestApiRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"}, {"shape":"BadRequestException"} ], "documentation":"

Deletes the specified API.

" }, "DeleteStage":{ "name":"DeleteStage", "http":{ "method":"DELETE", "requestUri":"/restapis/{restapi_id}/stages/{stage_name}", "responseCode":202 }, "input":{"shape":"DeleteStageRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"}, {"shape":"BadRequestException"} ], "documentation":"

Deletes a Stage resource.

" }, "DeleteUsagePlan":{ "name":"DeleteUsagePlan", "http":{ "method":"DELETE", "requestUri":"/usageplans/{usageplanId}", "responseCode":202 }, "input":{"shape":"DeleteUsagePlanRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"BadRequestException"}, {"shape":"NotFoundException"} ], "documentation":"

Deletes a usage plan of a given plan Id.

" }, "DeleteUsagePlanKey":{ "name":"DeleteUsagePlanKey", "http":{ "method":"DELETE", "requestUri":"/usageplans/{usageplanId}/keys/{keyId}", "responseCode":202 }, "input":{"shape":"DeleteUsagePlanKeyRequest"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Deletes a usage plan key and remove the underlying API key from the associated usage plan.

" }, "DeleteVpcLink":{ "name":"DeleteVpcLink", "http":{ "method":"DELETE", "requestUri":"/vpclinks/{vpclink_id}", "responseCode":202 }, "input":{"shape":"DeleteVpcLinkRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"}, {"shape":"BadRequestException"} ], "documentation":"

Deletes an existing VpcLink of a specified identifier.

" }, "FlushStageAuthorizersCache":{ "name":"FlushStageAuthorizersCache", "http":{ "method":"DELETE", "requestUri":"/restapis/{restapi_id}/stages/{stage_name}/cache/authorizers", "responseCode":202 }, "input":{"shape":"FlushStageAuthorizersCacheRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Flushes all authorizer cache entries on a stage.

" }, "FlushStageCache":{ "name":"FlushStageCache", "http":{ "method":"DELETE", "requestUri":"/restapis/{restapi_id}/stages/{stage_name}/cache/data", "responseCode":202 }, "input":{"shape":"FlushStageCacheRequest"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Flushes a stage's cache.

" }, "GenerateClientCertificate":{ "name":"GenerateClientCertificate", "http":{ "method":"POST", "requestUri":"/clientcertificates", "responseCode":201 }, "input":{"shape":"GenerateClientCertificateRequest"}, "output":{"shape":"ClientCertificate"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"LimitExceededException"} ], "documentation":"

Generates a ClientCertificate resource.

" }, "GetAccount":{ "name":"GetAccount", "http":{ "method":"GET", "requestUri":"/account" }, "input":{"shape":"GetAccountRequest"}, "output":{"shape":"Account"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Gets information about the current Account resource.

" }, "GetApiKey":{ "name":"GetApiKey", "http":{ "method":"GET", "requestUri":"/apikeys/{api_Key}" }, "input":{"shape":"GetApiKeyRequest"}, "output":{"shape":"ApiKey"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Gets information about the current ApiKey resource.

" }, "GetApiKeys":{ "name":"GetApiKeys", "http":{ "method":"GET", "requestUri":"/apikeys" }, "input":{"shape":"GetApiKeysRequest"}, "output":{"shape":"ApiKeys"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Gets information about the current ApiKeys resource.

" }, "GetAuthorizer":{ "name":"GetAuthorizer", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/authorizers/{authorizer_id}" }, "input":{"shape":"GetAuthorizerRequest"}, "output":{"shape":"Authorizer"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Describe an existing Authorizer resource.

AWS CLI
" }, "GetAuthorizers":{ "name":"GetAuthorizers", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/authorizers" }, "input":{"shape":"GetAuthorizersRequest"}, "output":{"shape":"Authorizers"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Describe an existing Authorizers resource.

AWS CLI
" }, "GetBasePathMapping":{ "name":"GetBasePathMapping", "http":{ "method":"GET", "requestUri":"/domainnames/{domain_name}/basepathmappings/{base_path}" }, "input":{"shape":"GetBasePathMappingRequest"}, "output":{"shape":"BasePathMapping"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Describe a BasePathMapping resource.

" }, "GetBasePathMappings":{ "name":"GetBasePathMappings", "http":{ "method":"GET", "requestUri":"/domainnames/{domain_name}/basepathmappings" }, "input":{"shape":"GetBasePathMappingsRequest"}, "output":{"shape":"BasePathMappings"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Represents a collection of BasePathMapping resources.

" }, "GetClientCertificate":{ "name":"GetClientCertificate", "http":{ "method":"GET", "requestUri":"/clientcertificates/{clientcertificate_id}" }, "input":{"shape":"GetClientCertificateRequest"}, "output":{"shape":"ClientCertificate"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Gets information about the current ClientCertificate resource.

" }, "GetClientCertificates":{ "name":"GetClientCertificates", "http":{ "method":"GET", "requestUri":"/clientcertificates" }, "input":{"shape":"GetClientCertificatesRequest"}, "output":{"shape":"ClientCertificates"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Gets a collection of ClientCertificate resources.

" }, "GetDeployment":{ "name":"GetDeployment", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/deployments/{deployment_id}" }, "input":{"shape":"GetDeploymentRequest"}, "output":{"shape":"Deployment"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Gets information about a Deployment resource.

" }, "GetDeployments":{ "name":"GetDeployments", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/deployments" }, "input":{"shape":"GetDeploymentsRequest"}, "output":{"shape":"Deployments"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Gets information about a Deployments collection.

" }, "GetDocumentationPart":{ "name":"GetDocumentationPart", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/documentation/parts/{part_id}" }, "input":{"shape":"GetDocumentationPartRequest"}, "output":{"shape":"DocumentationPart"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ] }, "GetDocumentationParts":{ "name":"GetDocumentationParts", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/documentation/parts" }, "input":{"shape":"GetDocumentationPartsRequest"}, "output":{"shape":"DocumentationParts"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ] }, "GetDocumentationVersion":{ "name":"GetDocumentationVersion", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/documentation/versions/{doc_version}" }, "input":{"shape":"GetDocumentationVersionRequest"}, "output":{"shape":"DocumentationVersion"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ] }, "GetDocumentationVersions":{ "name":"GetDocumentationVersions", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/documentation/versions" }, "input":{"shape":"GetDocumentationVersionsRequest"}, "output":{"shape":"DocumentationVersions"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ] }, "GetDomainName":{ "name":"GetDomainName", "http":{ "method":"GET", "requestUri":"/domainnames/{domain_name}" }, "input":{"shape":"GetDomainNameRequest"}, "output":{"shape":"DomainName"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"ServiceUnavailableException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Represents a domain name that is contained in a simpler, more intuitive URL that can be called.

" }, "GetDomainNames":{ "name":"GetDomainNames", "http":{ "method":"GET", "requestUri":"/domainnames" }, "input":{"shape":"GetDomainNamesRequest"}, "output":{"shape":"DomainNames"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Represents a collection of DomainName resources.

" }, "GetExport":{ "name":"GetExport", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/stages/{stage_name}/exports/{export_type}", "responseCode":200 }, "input":{"shape":"GetExportRequest"}, "output":{"shape":"ExportResponse"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Exports a deployed version of a RestApi in a specified format.

" }, "GetGatewayResponse":{ "name":"GetGatewayResponse", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/gatewayresponses/{response_type}" }, "input":{"shape":"GetGatewayResponseRequest"}, "output":{"shape":"GatewayResponse"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Gets a GatewayResponse of a specified response type on the given RestApi.

" }, "GetGatewayResponses":{ "name":"GetGatewayResponses", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/gatewayresponses" }, "input":{"shape":"GetGatewayResponsesRequest"}, "output":{"shape":"GatewayResponses"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the API Gateway-generated default GatewayResponses collection for the supported response types.

" }, "GetIntegration":{ "name":"GetIntegration", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration" }, "input":{"shape":"GetIntegrationRequest"}, "output":{"shape":"Integration"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Get the integration settings.

" }, "GetIntegrationResponse":{ "name":"GetIntegrationResponse", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}" }, "input":{"shape":"GetIntegrationResponseRequest"}, "output":{"shape":"IntegrationResponse"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Represents a get integration response.

" }, "GetMethod":{ "name":"GetMethod", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}" }, "input":{"shape":"GetMethodRequest"}, "output":{"shape":"Method"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Describe an existing Method resource.

" }, "GetMethodResponse":{ "name":"GetMethodResponse", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}" }, "input":{"shape":"GetMethodResponseRequest"}, "output":{"shape":"MethodResponse"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Describes a MethodResponse resource.

" }, "GetModel":{ "name":"GetModel", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/models/{model_name}" }, "input":{"shape":"GetModelRequest"}, "output":{"shape":"Model"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Describes an existing model defined for a RestApi resource.

" }, "GetModelTemplate":{ "name":"GetModelTemplate", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/models/{model_name}/default_template" }, "input":{"shape":"GetModelTemplateRequest"}, "output":{"shape":"Template"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Generates a sample mapping template that can be used to transform a payload into the structure of a model.

" }, "GetModels":{ "name":"GetModels", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/models" }, "input":{"shape":"GetModelsRequest"}, "output":{"shape":"Models"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Describes existing Models defined for a RestApi resource.

" }, "GetRequestValidator":{ "name":"GetRequestValidator", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}" }, "input":{"shape":"GetRequestValidatorRequest"}, "output":{"shape":"RequestValidator"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Gets a RequestValidator of a given RestApi.

" }, "GetRequestValidators":{ "name":"GetRequestValidators", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/requestvalidators" }, "input":{"shape":"GetRequestValidatorsRequest"}, "output":{"shape":"RequestValidators"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Gets the RequestValidators collection of a given RestApi.

" }, "GetResource":{ "name":"GetResource", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/resources/{resource_id}" }, "input":{"shape":"GetResourceRequest"}, "output":{"shape":"Resource"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Lists information about a resource.

" }, "GetResources":{ "name":"GetResources", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/resources" }, "input":{"shape":"GetResourcesRequest"}, "output":{"shape":"Resources"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Lists information about a collection of Resource resources.

" }, "GetRestApi":{ "name":"GetRestApi", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}" }, "input":{"shape":"GetRestApiRequest"}, "output":{"shape":"RestApi"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Lists the RestApi resource in the collection.

" }, "GetRestApis":{ "name":"GetRestApis", "http":{ "method":"GET", "requestUri":"/restapis" }, "input":{"shape":"GetRestApisRequest"}, "output":{"shape":"RestApis"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Lists the RestApis resources for your collection.

" }, "GetSdk":{ "name":"GetSdk", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/stages/{stage_name}/sdks/{sdk_type}", "responseCode":200 }, "input":{"shape":"GetSdkRequest"}, "output":{"shape":"SdkResponse"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Generates a client SDK for a RestApi and Stage.

" }, "GetSdkType":{ "name":"GetSdkType", "http":{ "method":"GET", "requestUri":"/sdktypes/{sdktype_id}" }, "input":{"shape":"GetSdkTypeRequest"}, "output":{"shape":"SdkType"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ] }, "GetSdkTypes":{ "name":"GetSdkTypes", "http":{ "method":"GET", "requestUri":"/sdktypes" }, "input":{"shape":"GetSdkTypesRequest"}, "output":{"shape":"SdkTypes"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"TooManyRequestsException"} ] }, "GetStage":{ "name":"GetStage", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/stages/{stage_name}" }, "input":{"shape":"GetStageRequest"}, "output":{"shape":"Stage"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Gets information about a Stage resource.

" }, "GetStages":{ "name":"GetStages", "http":{ "method":"GET", "requestUri":"/restapis/{restapi_id}/stages" }, "input":{"shape":"GetStagesRequest"}, "output":{"shape":"Stages"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Gets information about one or more Stage resources.

" }, "GetTags":{ "name":"GetTags", "http":{ "method":"GET", "requestUri":"/tags/{resource_arn}" }, "input":{"shape":"GetTagsRequest"}, "output":{"shape":"Tags"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"NotFoundException"}, {"shape":"LimitExceededException"} ], "documentation":"

Gets the Tags collection for a given resource.

" }, "GetUsage":{ "name":"GetUsage", "http":{ "method":"GET", "requestUri":"/usageplans/{usageplanId}/usage" }, "input":{"shape":"GetUsageRequest"}, "output":{"shape":"Usage"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Gets the usage data of a usage plan in a specified time interval.

" }, "GetUsagePlan":{ "name":"GetUsagePlan", "http":{ "method":"GET", "requestUri":"/usageplans/{usageplanId}" }, "input":{"shape":"GetUsagePlanRequest"}, "output":{"shape":"UsagePlan"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Gets a usage plan of a given plan identifier.

" }, "GetUsagePlanKey":{ "name":"GetUsagePlanKey", "http":{ "method":"GET", "requestUri":"/usageplans/{usageplanId}/keys/{keyId}", "responseCode":200 }, "input":{"shape":"GetUsagePlanKeyRequest"}, "output":{"shape":"UsagePlanKey"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Gets a usage plan key of a given key identifier.

" }, "GetUsagePlanKeys":{ "name":"GetUsagePlanKeys", "http":{ "method":"GET", "requestUri":"/usageplans/{usageplanId}/keys" }, "input":{"shape":"GetUsagePlanKeysRequest"}, "output":{"shape":"UsagePlanKeys"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Gets all the usage plan keys representing the API keys added to a specified usage plan.

" }, "GetUsagePlans":{ "name":"GetUsagePlans", "http":{ "method":"GET", "requestUri":"/usageplans" }, "input":{"shape":"GetUsagePlansRequest"}, "output":{"shape":"UsagePlans"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"ConflictException"}, {"shape":"NotFoundException"} ], "documentation":"

Gets all the usage plans of the caller's account.

" }, "GetVpcLink":{ "name":"GetVpcLink", "http":{ "method":"GET", "requestUri":"/vpclinks/{vpclink_id}" }, "input":{"shape":"GetVpcLinkRequest"}, "output":{"shape":"VpcLink"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Gets a specified VPC link under the caller's account in a region.

" }, "GetVpcLinks":{ "name":"GetVpcLinks", "http":{ "method":"GET", "requestUri":"/vpclinks" }, "input":{"shape":"GetVpcLinksRequest"}, "output":{"shape":"VpcLinks"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Gets the VpcLinks collection under the caller's account in a selected region.

" }, "ImportApiKeys":{ "name":"ImportApiKeys", "http":{ "method":"POST", "requestUri":"/apikeys?mode=import", "responseCode":201 }, "input":{"shape":"ImportApiKeysRequest"}, "output":{"shape":"ApiKeyIds"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"}, {"shape":"LimitExceededException"}, {"shape":"BadRequestException"}, {"shape":"ConflictException"} ], "documentation":"

Import API keys from an external source, such as a CSV-formatted file.

" }, "ImportDocumentationParts":{ "name":"ImportDocumentationParts", "http":{ "method":"PUT", "requestUri":"/restapis/{restapi_id}/documentation/parts" }, "input":{"shape":"ImportDocumentationPartsRequest"}, "output":{"shape":"DocumentationPartIds"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, {"shape":"LimitExceededException"}, {"shape":"TooManyRequestsException"} ] }, "ImportRestApi":{ "name":"ImportRestApi", "http":{ "method":"POST", "requestUri":"/restapis?mode=import", "responseCode":201 }, "input":{"shape":"ImportRestApiRequest"}, "output":{"shape":"RestApi"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"LimitExceededException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"}, {"shape":"ConflictException"} ], "documentation":"

A feature of the API Gateway control service for creating a new API from an external API definition file.

" }, "PutGatewayResponse":{ "name":"PutGatewayResponse", "http":{ "method":"PUT", "requestUri":"/restapis/{restapi_id}/gatewayresponses/{response_type}", "responseCode":201 }, "input":{"shape":"PutGatewayResponseRequest"}, "output":{"shape":"GatewayResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"LimitExceededException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.

" }, "PutIntegration":{ "name":"PutIntegration", "http":{ "method":"PUT", "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration", "responseCode":201 }, "input":{"shape":"PutIntegrationRequest"}, "output":{"shape":"Integration"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Sets up a method's integration.

" }, "PutIntegrationResponse":{ "name":"PutIntegrationResponse", "http":{ "method":"PUT", "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}", "responseCode":201 }, "input":{"shape":"PutIntegrationResponseRequest"}, "output":{"shape":"IntegrationResponse"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"LimitExceededException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"}, {"shape":"ConflictException"} ], "documentation":"

Represents a put integration.

" }, "PutMethod":{ "name":"PutMethod", "http":{ "method":"PUT", "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}", "responseCode":201 }, "input":{"shape":"PutMethodRequest"}, "output":{"shape":"Method"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"ConflictException"}, {"shape":"LimitExceededException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Add a method to an existing Resource resource.

" }, "PutMethodResponse":{ "name":"PutMethodResponse", "http":{ "method":"PUT", "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}", "responseCode":201 }, "input":{"shape":"PutMethodResponseRequest"}, "output":{"shape":"MethodResponse"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"ConflictException"}, {"shape":"LimitExceededException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Adds a MethodResponse to an existing Method resource.

" }, "PutRestApi":{ "name":"PutRestApi", "http":{ "method":"PUT", "requestUri":"/restapis/{restapi_id}" }, "input":{"shape":"PutRestApiRequest"}, "output":{"shape":"RestApi"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"LimitExceededException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"}, {"shape":"ConflictException"} ], "documentation":"

A feature of the API Gateway control service for updating an existing API with an input of external API definitions. The update can take the form of merging the supplied definition into the existing API or overwriting the existing API.

" }, "TagResource":{ "name":"TagResource", "http":{ "method":"PUT", "requestUri":"/tags/{resource_arn}", "responseCode":204 }, "input":{"shape":"TagResourceRequest"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"NotFoundException"}, {"shape":"LimitExceededException"}, {"shape":"ConflictException"} ], "documentation":"

Adds or updates a tag on a given resource.

" }, "TestInvokeAuthorizer":{ "name":"TestInvokeAuthorizer", "http":{ "method":"POST", "requestUri":"/restapis/{restapi_id}/authorizers/{authorizer_id}" }, "input":{"shape":"TestInvokeAuthorizerRequest"}, "output":{"shape":"TestInvokeAuthorizerResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body.

Enable custom authorizers
" }, "TestInvokeMethod":{ "name":"TestInvokeMethod", "http":{ "method":"POST", "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}" }, "input":{"shape":"TestInvokeMethodRequest"}, "output":{"shape":"TestInvokeMethodResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Simulate the execution of a Method in your RestApi with headers, parameters, and an incoming request body.

" }, "UntagResource":{ "name":"UntagResource", "http":{ "method":"DELETE", "requestUri":"/tags/{resource_arn}", "responseCode":204 }, "input":{"shape":"UntagResourceRequest"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"NotFoundException"}, {"shape":"ConflictException"} ], "documentation":"

Removes a tag from a given resource.

" }, "UpdateAccount":{ "name":"UpdateAccount", "http":{ "method":"PATCH", "requestUri":"/account" }, "input":{"shape":"UpdateAccountRequest"}, "output":{"shape":"Account"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"BadRequestException"}, {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Changes information about the current Account resource.

" }, "UpdateApiKey":{ "name":"UpdateApiKey", "http":{ "method":"PATCH", "requestUri":"/apikeys/{api_Key}" }, "input":{"shape":"UpdateApiKeyRequest"}, "output":{"shape":"ApiKey"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"}, {"shape":"ConflictException"} ], "documentation":"

Changes information about an ApiKey resource.

" }, "UpdateAuthorizer":{ "name":"UpdateAuthorizer", "http":{ "method":"PATCH", "requestUri":"/restapis/{restapi_id}/authorizers/{authorizer_id}" }, "input":{"shape":"UpdateAuthorizerRequest"}, "output":{"shape":"Authorizer"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Updates an existing Authorizer resource.

AWS CLI
" }, "UpdateBasePathMapping":{ "name":"UpdateBasePathMapping", "http":{ "method":"PATCH", "requestUri":"/domainnames/{domain_name}/basepathmappings/{base_path}" }, "input":{"shape":"UpdateBasePathMappingRequest"}, "output":{"shape":"BasePathMapping"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"ConflictException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Changes information about the BasePathMapping resource.

" }, "UpdateClientCertificate":{ "name":"UpdateClientCertificate", "http":{ "method":"PATCH", "requestUri":"/clientcertificates/{clientcertificate_id}" }, "input":{"shape":"UpdateClientCertificateRequest"}, "output":{"shape":"ClientCertificate"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"BadRequestException"}, {"shape":"NotFoundException"} ], "documentation":"

Changes information about an ClientCertificate resource.

" }, "UpdateDeployment":{ "name":"UpdateDeployment", "http":{ "method":"PATCH", "requestUri":"/restapis/{restapi_id}/deployments/{deployment_id}" }, "input":{"shape":"UpdateDeploymentRequest"}, "output":{"shape":"Deployment"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Changes information about a Deployment resource.

" }, "UpdateDocumentationPart":{ "name":"UpdateDocumentationPart", "http":{ "method":"PATCH", "requestUri":"/restapis/{restapi_id}/documentation/parts/{part_id}" }, "input":{"shape":"UpdateDocumentationPartRequest"}, "output":{"shape":"DocumentationPart"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"ConflictException"}, {"shape":"LimitExceededException"}, {"shape":"TooManyRequestsException"} ] }, "UpdateDocumentationVersion":{ "name":"UpdateDocumentationVersion", "http":{ "method":"PATCH", "requestUri":"/restapis/{restapi_id}/documentation/versions/{doc_version}" }, "input":{"shape":"UpdateDocumentationVersionRequest"}, "output":{"shape":"DocumentationVersion"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"ConflictException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"} ] }, "UpdateDomainName":{ "name":"UpdateDomainName", "http":{ "method":"PATCH", "requestUri":"/domainnames/{domain_name}" }, "input":{"shape":"UpdateDomainNameRequest"}, "output":{"shape":"DomainName"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Changes information about the DomainName resource.

" }, "UpdateGatewayResponse":{ "name":"UpdateGatewayResponse", "http":{ "method":"PATCH", "requestUri":"/restapis/{restapi_id}/gatewayresponses/{response_type}" }, "input":{"shape":"UpdateGatewayResponseRequest"}, "output":{"shape":"GatewayResponse"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Updates a GatewayResponse of a specified response type on the given RestApi.

" }, "UpdateIntegration":{ "name":"UpdateIntegration", "http":{ "method":"PATCH", "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration" }, "input":{"shape":"UpdateIntegrationRequest"}, "output":{"shape":"Integration"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"}, {"shape":"ConflictException"} ], "documentation":"

Represents an update integration.

" }, "UpdateIntegrationResponse":{ "name":"UpdateIntegrationResponse", "http":{ "method":"PATCH", "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}" }, "input":{"shape":"UpdateIntegrationResponseRequest"}, "output":{"shape":"IntegrationResponse"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"ConflictException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Represents an update integration response.

" }, "UpdateMethod":{ "name":"UpdateMethod", "http":{ "method":"PATCH", "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}" }, "input":{"shape":"UpdateMethodRequest"}, "output":{"shape":"Method"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Updates an existing Method resource.

" }, "UpdateMethodResponse":{ "name":"UpdateMethodResponse", "http":{ "method":"PATCH", "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}", "responseCode":201 }, "input":{"shape":"UpdateMethodResponseRequest"}, "output":{"shape":"MethodResponse"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"ConflictException"}, {"shape":"LimitExceededException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Updates an existing MethodResponse resource.

" }, "UpdateModel":{ "name":"UpdateModel", "http":{ "method":"PATCH", "requestUri":"/restapis/{restapi_id}/models/{model_name}" }, "input":{"shape":"UpdateModelRequest"}, "output":{"shape":"Model"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Changes information about a model.

" }, "UpdateRequestValidator":{ "name":"UpdateRequestValidator", "http":{ "method":"PATCH", "requestUri":"/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}" }, "input":{"shape":"UpdateRequestValidatorRequest"}, "output":{"shape":"RequestValidator"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Updates a RequestValidator of a given RestApi.

" }, "UpdateResource":{ "name":"UpdateResource", "http":{ "method":"PATCH", "requestUri":"/restapis/{restapi_id}/resources/{resource_id}" }, "input":{"shape":"UpdateResourceRequest"}, "output":{"shape":"Resource"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"ConflictException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Changes information about a Resource resource.

" }, "UpdateRestApi":{ "name":"UpdateRestApi", "http":{ "method":"PATCH", "requestUri":"/restapis/{restapi_id}" }, "input":{"shape":"UpdateRestApiRequest"}, "output":{"shape":"RestApi"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"ConflictException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Changes information about the specified API.

" }, "UpdateStage":{ "name":"UpdateStage", "http":{ "method":"PATCH", "requestUri":"/restapis/{restapi_id}/stages/{stage_name}" }, "input":{"shape":"UpdateStageRequest"}, "output":{"shape":"Stage"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"ConflictException"}, {"shape":"BadRequestException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Changes information about a Stage resource.

" }, "UpdateUsage":{ "name":"UpdateUsage", "http":{ "method":"PATCH", "requestUri":"/usageplans/{usageplanId}/keys/{keyId}/usage" }, "input":{"shape":"UpdateUsageRequest"}, "output":{"shape":"Usage"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"BadRequestException"}, {"shape":"NotFoundException"} ], "documentation":"

Grants a temporary extension to the remaining quota of a usage plan associated with a specified API key.

" }, "UpdateUsagePlan":{ "name":"UpdateUsagePlan", "http":{ "method":"PATCH", "requestUri":"/usageplans/{usageplanId}" }, "input":{"shape":"UpdateUsagePlanRequest"}, "output":{"shape":"UsagePlan"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"BadRequestException"}, {"shape":"NotFoundException"}, {"shape":"ConflictException"} ], "documentation":"

Updates a usage plan of a given plan Id.

" }, "UpdateVpcLink":{ "name":"UpdateVpcLink", "http":{ "method":"PATCH", "requestUri":"/vpclinks/{vpclink_id}" }, "input":{"shape":"UpdateVpcLinkRequest"}, "output":{"shape":"VpcLink"}, "errors":[ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Updates an existing VpcLink of a specified identifier.

" } }, "shapes":{ "AccessLogSettings":{ "type":"structure", "members":{ "format":{ "shape":"String", "documentation":"

A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId.

" }, "destinationArn":{ "shape":"String", "documentation":"

The ARN of the CloudWatch Logs log group to receive access logs.

" } }, "documentation":"

Access log settings, including the access log format and access log destination ARN.

" }, "Account":{ "type":"structure", "members":{ "cloudwatchRoleArn":{ "shape":"String", "documentation":"

The ARN of an Amazon CloudWatch role for the current Account.

" }, "throttleSettings":{ "shape":"ThrottleSettings", "documentation":"

Specifies the API request limits configured for the current Account.

" }, "features":{ "shape":"ListOfString", "documentation":"

A list of features supported for the account. When usage plans are enabled, the features list will include an entry of \"UsagePlans\".

" }, "apiKeyVersion":{ "shape":"String", "documentation":"

The version of the API keys used for the account.

" } }, "documentation":"

Represents an AWS account that is associated with API Gateway.

To view the account info, call GET on this resource.

Error Codes

The following exception may be thrown when the request fails.

For detailed error code information, including the corresponding HTTP Status Codes, see API Gateway Error Codes

Example: Get the information about an account.

Request
GET /account HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160531T184618Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} 
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ \"_links\": { \"curies\": { \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/account-apigateway-{rel}.html\", \"name\": \"account\", \"templated\": true }, \"self\": { \"href\": \"/account\" }, \"account:update\": { \"href\": \"/account\" } }, \"cloudwatchRoleArn\": \"arn:aws:iam::123456789012:role/apigAwsProxyRole\", \"throttleSettings\": { \"rateLimit\": 500, \"burstLimit\": 1000 } } 

In addition to making the REST API call directly, you can use the AWS CLI and an AWS SDK to access this resource.

API Gateway Limits Developer Guide, AWS CLI
" }, "ApiKey":{ "type":"structure", "members":{ "id":{ "shape":"String", "documentation":"

The identifier of the API Key.

" }, "value":{ "shape":"String", "documentation":"

The value of the API Key.

" }, "name":{ "shape":"String", "documentation":"

The name of the API Key.

" }, "customerId":{ "shape":"String", "documentation":"

An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.

" }, "description":{ "shape":"String", "documentation":"

The description of the API Key.

" }, "enabled":{ "shape":"Boolean", "documentation":"

Specifies whether the API Key can be used by callers.

" }, "createdDate":{ "shape":"Timestamp", "documentation":"

The timestamp when the API Key was created.

" }, "lastUpdatedDate":{ "shape":"Timestamp", "documentation":"

The timestamp when the API Key was last updated.

" }, "stageKeys":{ "shape":"ListOfString", "documentation":"

A list of Stage resources that are associated with the ApiKey resource.

" } }, "documentation":"

A resource that can be distributed to callers for executing Method resources that require an API key. API keys can be mapped to any Stage on any RestApi, which indicates that the callers with the API key can make requests to that stage.

Use API Keys
" }, "ApiKeyIds":{ "type":"structure", "members":{ "ids":{ "shape":"ListOfString", "documentation":"

A list of all the ApiKey identifiers.

" }, "warnings":{ "shape":"ListOfString", "documentation":"

A list of warning messages.

" } }, "documentation":"

The identifier of an ApiKey used in a UsagePlan.

" }, "ApiKeySourceType":{ "type":"string", "enum":[ "HEADER", "AUTHORIZER" ] }, "ApiKeys":{ "type":"structure", "members":{ "warnings":{ "shape":"ListOfString", "documentation":"

A list of warning messages logged during the import of API keys when the failOnWarnings option is set to true.

" }, "position":{"shape":"String"}, "items":{ "shape":"ListOfApiKey", "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, "documentation":"

Represents a collection of API keys as represented by an ApiKeys resource.

Use API Keys
" }, "ApiKeysFormat":{ "type":"string", "enum":["csv"] }, "ApiStage":{ "type":"structure", "members":{ "apiId":{ "shape":"String", "documentation":"

API Id of the associated API stage in a usage plan.

" }, "stage":{ "shape":"String", "documentation":"

API stage name of the associated API stage in a usage plan.

" }, "throttle":{ "shape":"MapOfApiStageThrottleSettings", "documentation":"

Map containing method level throttling information for API stage in a usage plan.

" } }, "documentation":"

API stage name of the associated API stage in a usage plan.

" }, "Authorizer":{ "type":"structure", "members":{ "id":{ "shape":"String", "documentation":"

The identifier for the authorizer resource.

" }, "name":{ "shape":"String", "documentation":"

[Required] The name of the authorizer.

" }, "type":{ "shape":"AuthorizerType", "documentation":"

The authorizer type. Valid values are TOKEN for a Lambda function using a single authorization token submitted in a custom header, REQUEST for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS for using an Amazon Cognito user pool.

" }, "providerARNs":{ "shape":"ListOfARNs", "documentation":"

A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer. Each element is of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}. For a TOKEN or REQUEST authorizer, this is not defined.

" }, "authType":{ "shape":"String", "documentation":"

Optional customer-defined field, used in OpenAPI imports and exports without functional impact.

" }, "authorizerUri":{ "shape":"String", "documentation":"

Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN or REQUEST authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations. In general, the URI has this form arn:aws:apigateway:{region}:lambda:path/{service_api}, where {region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations.

" }, "authorizerCredentials":{ "shape":"String", "documentation":"

Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null.

" }, "identitySource":{ "shape":"String", "documentation":"

The identity source for which authorization is requested.

" }, "identityValidationExpression":{ "shape":"String", "documentation":"

A validation expression for the incoming identity token. For TOKEN authorizers, this value is a regular expression. API Gateway will match the aud field of the incoming token from the client against the specified regular expression. It will invoke the authorizer's Lambda function when there is a match. Otherwise, it will return a 401 Unauthorized response without calling the Lambda function. The validation expression does not apply to the REQUEST authorizer.

" }, "authorizerResultTtlInSeconds":{ "shape":"NullableInteger", "documentation":"

The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour.

" } }, "documentation":"

Represents an authorization layer for methods. If enabled on a method, API Gateway will activate the authorizer when a client calls the method.

Enable custom authorization
" }, "AuthorizerType":{ "type":"string", "documentation":"

The authorizer type. Valid values are TOKEN for a Lambda function using a single authorization token submitted in a custom header, REQUEST for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS for using an Amazon Cognito user pool.

", "enum":[ "TOKEN", "REQUEST", "COGNITO_USER_POOLS" ] }, "Authorizers":{ "type":"structure", "members":{ "position":{"shape":"String"}, "items":{ "shape":"ListOfAuthorizer", "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, "documentation":"

Represents a collection of Authorizer resources.

Enable custom authorization
" }, "BadRequestException":{ "type":"structure", "members":{ "message":{"shape":"String"} }, "documentation":"

The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

", "error":{"httpStatusCode":400}, "exception":true }, "BasePathMapping":{ "type":"structure", "members":{ "basePath":{ "shape":"String", "documentation":"

The base path name that callers of the API must provide as part of the URL after the domain name.

" }, "restApiId":{ "shape":"String", "documentation":"

The string identifier of the associated RestApi.

" }, "stage":{ "shape":"String", "documentation":"

The name of the associated stage.

" } }, "documentation":"

Represents the base path that callers of the API must provide as part of the URL after the domain name.

A custom domain name plus a BasePathMapping specification identifies a deployed RestApi in a given stage of the owner Account.
Use Custom Domain Names
" }, "BasePathMappings":{ "type":"structure", "members":{ "position":{"shape":"String"}, "items":{ "shape":"ListOfBasePathMapping", "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, "documentation":"

Represents a collection of BasePathMapping resources.

Use Custom Domain Names
" }, "Blob":{"type":"blob"}, "Boolean":{"type":"boolean"}, "CacheClusterSize":{ "type":"string", "documentation":"

Returns the size of the CacheCluster.

", "enum":[ "0.5", "1.6", "6.1", "13.5", "28.4", "58.2", "118", "237" ] }, "CacheClusterStatus":{ "type":"string", "documentation":"

Returns the status of the CacheCluster.

", "enum":[ "CREATE_IN_PROGRESS", "AVAILABLE", "DELETE_IN_PROGRESS", "NOT_AVAILABLE", "FLUSH_IN_PROGRESS" ] }, "CanarySettings":{ "type":"structure", "members":{ "percentTraffic":{ "shape":"Double", "documentation":"

The percent (0-100) of traffic diverted to a canary deployment.

" }, "deploymentId":{ "shape":"String", "documentation":"

The ID of the canary deployment.

" }, "stageVariableOverrides":{ "shape":"MapOfStringToString", "documentation":"

Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.

" }, "useStageCache":{ "shape":"Boolean", "documentation":"

A Boolean flag to indicate whether the canary deployment uses the stage cache or not.

" } }, "documentation":"

Configuration settings of a canary deployment.

" }, "ClientCertificate":{ "type":"structure", "members":{ "clientCertificateId":{ "shape":"String", "documentation":"

The identifier of the client certificate.

" }, "description":{ "shape":"String", "documentation":"

The description of the client certificate.

" }, "pemEncodedCertificate":{ "shape":"String", "documentation":"

The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication in the integration endpoint .

" }, "createdDate":{ "shape":"Timestamp", "documentation":"

The timestamp when the client certificate was created.

" }, "expirationDate":{ "shape":"Timestamp", "documentation":"

The timestamp when the client certificate will expire.

" } }, "documentation":"

Represents a client certificate used to configure client-side SSL authentication while sending requests to the integration endpoint.

Client certificates are used to authenticate an API by the backend server. To authenticate an API client (or user), use IAM roles and policies, a custom Authorizer or an Amazon Cognito user pool.
Use Client-Side Certificate
" }, "ClientCertificates":{ "type":"structure", "members":{ "position":{"shape":"String"}, "items":{ "shape":"ListOfClientCertificate", "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, "documentation":"

Represents a collection of ClientCertificate resources.

Use Client-Side Certificate
" }, "ConflictException":{ "type":"structure", "members":{ "message":{"shape":"String"} }, "documentation":"

The request configuration has conflicts. For details, see the accompanying error message.

", "error":{"httpStatusCode":409}, "exception":true }, "ConnectionType":{ "type":"string", "enum":[ "INTERNET", "VPC_LINK" ] }, "ContentHandlingStrategy":{ "type":"string", "enum":[ "CONVERT_TO_BINARY", "CONVERT_TO_TEXT" ] }, "CreateApiKeyRequest":{ "type":"structure", "members":{ "name":{ "shape":"String", "documentation":"

The name of the ApiKey.

" }, "description":{ "shape":"String", "documentation":"

The description of the ApiKey.

" }, "enabled":{ "shape":"Boolean", "documentation":"

Specifies whether the ApiKey can be used by callers.

" }, "generateDistinctId":{ "shape":"Boolean", "documentation":"

Specifies whether (true) or not (false) the key identifier is distinct from the created API key value.

" }, "value":{ "shape":"String", "documentation":"

Specifies a value of the API key.

" }, "stageKeys":{ "shape":"ListOfStageKeys", "documentation":"

DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.

" }, "customerId":{ "shape":"String", "documentation":"

An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.

" } }, "documentation":"

Request to create an ApiKey resource.

" }, "CreateAuthorizerRequest":{ "type":"structure", "required":[ "restApiId", "name", "type" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "name":{ "shape":"String", "documentation":"

[Required] The name of the authorizer.

" }, "type":{ "shape":"AuthorizerType", "documentation":"

[Required] The authorizer type. Valid values are TOKEN for a Lambda function using a single authorization token submitted in a custom header, REQUEST for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS for using an Amazon Cognito user pool.

" }, "providerARNs":{ "shape":"ListOfARNs", "documentation":"

A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer. Each element is of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}. For a TOKEN or REQUEST authorizer, this is not defined.

" }, "authType":{ "shape":"String", "documentation":"

Optional customer-defined field, used in OpenAPI imports and exports without functional impact.

" }, "authorizerUri":{ "shape":"String", "documentation":"

Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN or REQUEST authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations. In general, the URI has this form arn:aws:apigateway:{region}:lambda:path/{service_api}, where {region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations.

" }, "authorizerCredentials":{ "shape":"String", "documentation":"

Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null.

" }, "identitySource":{ "shape":"String", "documentation":"

The identity source for which authorization is requested.

" }, "identityValidationExpression":{ "shape":"String", "documentation":"

A validation expression for the incoming identity token. For TOKEN authorizers, this value is a regular expression. API Gateway will match the aud field of the incoming token from the client against the specified regular expression. It will invoke the authorizer's Lambda function when there is a match. Otherwise, it will return a 401 Unauthorized response without calling the Lambda function. The validation expression does not apply to the REQUEST authorizer.

" }, "authorizerResultTtlInSeconds":{ "shape":"NullableInteger", "documentation":"

The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour.

" } }, "documentation":"

Request to add a new Authorizer to an existing RestApi resource.

" }, "CreateBasePathMappingRequest":{ "type":"structure", "required":[ "domainName", "restApiId" ], "members":{ "domainName":{ "shape":"String", "documentation":"

[Required] The domain name of the BasePathMapping resource to create.

", "location":"uri", "locationName":"domain_name" }, "basePath":{ "shape":"String", "documentation":"

The base path name that callers of the API must provide as part of the URL after the domain name. This value must be unique for all of the mappings across a single API. Leave this blank if you do not want callers to specify a base path name after the domain name.

" }, "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

" }, "stage":{ "shape":"String", "documentation":"

The name of the API's stage that you want to use for this mapping. Leave this blank if you do not want callers to explicitly specify the stage name after any base path name.

" } }, "documentation":"

Requests API Gateway to create a new BasePathMapping resource.

" }, "CreateDeploymentRequest":{ "type":"structure", "required":["restApiId"], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "stageName":{ "shape":"String", "documentation":"

The name of the Stage resource for the Deployment resource to create.

" }, "stageDescription":{ "shape":"String", "documentation":"

The description of the Stage resource for the Deployment resource to create.

" }, "description":{ "shape":"String", "documentation":"

The description for the Deployment resource to create.

" }, "cacheClusterEnabled":{ "shape":"NullableBoolean", "documentation":"

Enables a cache cluster for the Stage resource specified in the input.

" }, "cacheClusterSize":{ "shape":"CacheClusterSize", "documentation":"

Specifies the cache cluster size for the Stage resource specified in the input, if a cache cluster is enabled.

" }, "variables":{ "shape":"MapOfStringToString", "documentation":"

A map that defines the stage variables for the Stage resource that is associated with the new deployment. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.

" }, "canarySettings":{ "shape":"DeploymentCanarySettings", "documentation":"

The input configuration for the canary deployment when the deployment is a canary release deployment.

" }, "tracingEnabled":{ "shape":"NullableBoolean", "documentation":"

Specifies whether active tracing with X-ray is enabled for the Stage.

" } }, "documentation":"

Requests API Gateway to create a Deployment resource.

" }, "CreateDocumentationPartRequest":{ "type":"structure", "required":[ "restApiId", "location", "properties" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "location":{ "shape":"DocumentationPartLocation", "documentation":"

[Required] The location of the targeted API entity of the to-be-created documentation part.

" }, "properties":{ "shape":"String", "documentation":"

[Required] The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.

" } }, "documentation":"

Creates a new documentation part of a given API.

" }, "CreateDocumentationVersionRequest":{ "type":"structure", "required":[ "restApiId", "documentationVersion" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "documentationVersion":{ "shape":"String", "documentation":"

[Required] The version identifier of the new snapshot.

" }, "stageName":{ "shape":"String", "documentation":"

The stage name to be associated with the new documentation snapshot.

" }, "description":{ "shape":"String", "documentation":"

A description about the new documentation snapshot.

" } }, "documentation":"

Creates a new documentation version of a given API.

" }, "CreateDomainNameRequest":{ "type":"structure", "required":["domainName"], "members":{ "domainName":{ "shape":"String", "documentation":"

[Required] The name of the DomainName resource.

" }, "certificateName":{ "shape":"String", "documentation":"

The user-friendly name of the certificate that will be used by edge-optimized endpoint for this domain name.

" }, "certificateBody":{ "shape":"String", "documentation":"

[Deprecated] The body of the server certificate that will be used by edge-optimized endpoint for this domain name provided by your certificate authority.

" }, "certificatePrivateKey":{ "shape":"String", "documentation":"

[Deprecated] Your edge-optimized endpoint's domain name certificate's private key.

" }, "certificateChain":{ "shape":"String", "documentation":"

[Deprecated] The intermediate certificates and optionally the root certificate, one after the other without any blank lines, used by an edge-optimized endpoint for this domain name. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path.

" }, "certificateArn":{ "shape":"String", "documentation":"

The reference to an AWS-managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.

" }, "regionalCertificateName":{ "shape":"String", "documentation":"

The user-friendly name of the certificate that will be used by regional endpoint for this domain name.

" }, "regionalCertificateArn":{ "shape":"String", "documentation":"

The reference to an AWS-managed certificate that will be used by regional endpoint for this domain name. AWS Certificate Manager is the only supported source.

" }, "endpointConfiguration":{ "shape":"EndpointConfiguration", "documentation":"

The endpoint configuration of this DomainName showing the endpoint types of the domain name.

" } }, "documentation":"

A request to create a new domain name.

" }, "CreateModelRequest":{ "type":"structure", "required":[ "restApiId", "name", "contentType" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The RestApi identifier under which the Model will be created.

", "location":"uri", "locationName":"restapi_id" }, "name":{ "shape":"String", "documentation":"

[Required] The name of the model. Must be alphanumeric.

" }, "description":{ "shape":"String", "documentation":"

The description of the model.

" }, "schema":{ "shape":"String", "documentation":"

The schema for the model. For application/json models, this should be JSON schema draft 4 model.

" }, "contentType":{ "shape":"String", "documentation":"

[Required] The content-type for the model.

" } }, "documentation":"

Request to add a new Model to an existing RestApi resource.

" }, "CreateRequestValidatorRequest":{ "type":"structure", "required":["restApiId"], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "name":{ "shape":"String", "documentation":"

The name of the to-be-created RequestValidator.

" }, "validateRequestBody":{ "shape":"Boolean", "documentation":"

A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (true) or not (false).

" }, "validateRequestParameters":{ "shape":"Boolean", "documentation":"

A Boolean flag to indicate whether to validate request parameters, true, or not false.

" } }, "documentation":"

Creates a RequestValidator of a given RestApi.

" }, "CreateResourceRequest":{ "type":"structure", "required":[ "restApiId", "parentId", "pathPart" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "parentId":{ "shape":"String", "documentation":"

[Required] The parent resource's identifier.

", "location":"uri", "locationName":"parent_id" }, "pathPart":{ "shape":"String", "documentation":"

The last path segment for this resource.

" } }, "documentation":"

Requests API Gateway to create a Resource resource.

" }, "CreateRestApiRequest":{ "type":"structure", "required":["name"], "members":{ "name":{ "shape":"String", "documentation":"

[Required] The name of the RestApi.

" }, "description":{ "shape":"String", "documentation":"

The description of the RestApi.

" }, "version":{ "shape":"String", "documentation":"

A version identifier for the API.

" }, "cloneFrom":{ "shape":"String", "documentation":"

The ID of the RestApi that you want to clone from.

" }, "binaryMediaTypes":{ "shape":"ListOfString", "documentation":"

The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.

" }, "minimumCompressionSize":{ "shape":"NullableInteger", "documentation":"

A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.

" }, "apiKeySource":{ "shape":"ApiKeySourceType", "documentation":"

The source of the API key for metering requests according to a usage plan. Valid values are:

" }, "endpointConfiguration":{ "shape":"EndpointConfiguration", "documentation":"

The endpoint configuration of this RestApi showing the endpoint types of the API.

" }, "policy":{ "shape":"String", "documentation":"A stringified JSON policy document that applies to this RestApi regardless of the caller and Method configuration." } }, "documentation":"

The POST Request to add a new RestApi resource to your collection.

" }, "CreateStageRequest":{ "type":"structure", "required":[ "restApiId", "stageName", "deploymentId" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "stageName":{ "shape":"String", "documentation":"

[Required] The name for the Stage resource.

" }, "deploymentId":{ "shape":"String", "documentation":"

[Required] The identifier of the Deployment resource for the Stage resource.

" }, "description":{ "shape":"String", "documentation":"

The description of the Stage resource.

" }, "cacheClusterEnabled":{ "shape":"Boolean", "documentation":"

Whether cache clustering is enabled for the stage.

" }, "cacheClusterSize":{ "shape":"CacheClusterSize", "documentation":"

The stage's cache cluster size.

" }, "variables":{ "shape":"MapOfStringToString", "documentation":"

A map that defines the stage variables for the new Stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.

" }, "documentationVersion":{ "shape":"String", "documentation":"

The version of the associated API documentation.

" }, "canarySettings":{ "shape":"CanarySettings", "documentation":"

The canary deployment settings of this stage.

" }, "tracingEnabled":{ "shape":"Boolean", "documentation":"

Specifies whether active tracing with X-ray is enabled for the Stage.

" }, "tags":{ "shape":"MapOfStringToString", "documentation":"

The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

" } }, "documentation":"

Requests API Gateway to create a Stage resource.

" }, "CreateUsagePlanKeyRequest":{ "type":"structure", "required":[ "usagePlanId", "keyId", "keyType" ], "members":{ "usagePlanId":{ "shape":"String", "documentation":"

[Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-created UsagePlanKey resource representing a plan customer.

", "location":"uri", "locationName":"usageplanId" }, "keyId":{ "shape":"String", "documentation":"

[Required] The identifier of a UsagePlanKey resource for a plan customer.

" }, "keyType":{ "shape":"String", "documentation":"

[Required] The type of a UsagePlanKey resource for a plan customer.

" } }, "documentation":"

The POST request to create a usage plan key for adding an existing API key to a usage plan.

" }, "CreateUsagePlanRequest":{ "type":"structure", "required":["name"], "members":{ "name":{ "shape":"String", "documentation":"

[Required] The name of the usage plan.

" }, "description":{ "shape":"String", "documentation":"

The description of the usage plan.

" }, "apiStages":{ "shape":"ListOfApiStage", "documentation":"

The associated API stages of the usage plan.

" }, "throttle":{ "shape":"ThrottleSettings", "documentation":"

The throttling limits of the usage plan.

" }, "quota":{ "shape":"QuotaSettings", "documentation":"

The quota of the usage plan.

" } }, "documentation":"

The POST request to create a usage plan with the name, description, throttle limits and quota limits, as well as the associated API stages, specified in the payload.

" }, "CreateVpcLinkRequest":{ "type":"structure", "required":[ "name", "targetArns" ], "members":{ "name":{ "shape":"String", "documentation":"

[Required] The name used to label and identify the VPC link.

" }, "description":{ "shape":"String", "documentation":"

The description of the VPC link.

" }, "targetArns":{ "shape":"ListOfString", "documentation":"

[Required] The ARNs of network load balancers of the VPC targeted by the VPC link. The network load balancers must be owned by the same AWS account of the API owner.

" } }, "documentation":"

Creates a VPC link, under the caller's account in a selected region, in an asynchronous operation that typically takes 2-4 minutes to complete and become operational. The caller must have permissions to create and update VPC Endpoint services.

" }, "DeleteApiKeyRequest":{ "type":"structure", "required":["apiKey"], "members":{ "apiKey":{ "shape":"String", "documentation":"

[Required] The identifier of the ApiKey resource to be deleted.

", "location":"uri", "locationName":"api_Key" } }, "documentation":"

A request to delete the ApiKey resource.

" }, "DeleteAuthorizerRequest":{ "type":"structure", "required":[ "restApiId", "authorizerId" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "authorizerId":{ "shape":"String", "documentation":"

[Required] The identifier of the Authorizer resource.

", "location":"uri", "locationName":"authorizer_id" } }, "documentation":"

Request to delete an existing Authorizer resource.

" }, "DeleteBasePathMappingRequest":{ "type":"structure", "required":[ "domainName", "basePath" ], "members":{ "domainName":{ "shape":"String", "documentation":"

[Required] The domain name of the BasePathMapping resource to delete.

", "location":"uri", "locationName":"domain_name" }, "basePath":{ "shape":"String", "documentation":"

[Required] The base path name of the BasePathMapping resource to delete.

", "location":"uri", "locationName":"base_path" } }, "documentation":"

A request to delete the BasePathMapping resource.

" }, "DeleteClientCertificateRequest":{ "type":"structure", "required":["clientCertificateId"], "members":{ "clientCertificateId":{ "shape":"String", "documentation":"

[Required] The identifier of the ClientCertificate resource to be deleted.

", "location":"uri", "locationName":"clientcertificate_id" } }, "documentation":"

A request to delete the ClientCertificate resource.

" }, "DeleteDeploymentRequest":{ "type":"structure", "required":[ "restApiId", "deploymentId" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "deploymentId":{ "shape":"String", "documentation":"

[Required] The identifier of the Deployment resource to delete.

", "location":"uri", "locationName":"deployment_id" } }, "documentation":"

Requests API Gateway to delete a Deployment resource.

" }, "DeleteDocumentationPartRequest":{ "type":"structure", "required":[ "restApiId", "documentationPartId" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "documentationPartId":{ "shape":"String", "documentation":"

[Required] The identifier of the to-be-deleted documentation part.

", "location":"uri", "locationName":"part_id" } }, "documentation":"

Deletes an existing documentation part of an API.

" }, "DeleteDocumentationVersionRequest":{ "type":"structure", "required":[ "restApiId", "documentationVersion" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "documentationVersion":{ "shape":"String", "documentation":"

[Required] The version identifier of a to-be-deleted documentation snapshot.

", "location":"uri", "locationName":"doc_version" } }, "documentation":"

Deletes an existing documentation version of an API.

" }, "DeleteDomainNameRequest":{ "type":"structure", "required":["domainName"], "members":{ "domainName":{ "shape":"String", "documentation":"

[Required] The name of the DomainName resource to be deleted.

", "location":"uri", "locationName":"domain_name" } }, "documentation":"

A request to delete the DomainName resource.

" }, "DeleteGatewayResponseRequest":{ "type":"structure", "required":[ "restApiId", "responseType" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "responseType":{ "shape":"GatewayResponseType", "documentation":"

[Required]

The response type of the associated GatewayResponse. Valid values are

", "location":"uri", "locationName":"response_type" } }, "documentation":"

Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.

" }, "DeleteIntegrationRequest":{ "type":"structure", "required":[ "restApiId", "resourceId", "httpMethod" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "resourceId":{ "shape":"String", "documentation":"

[Required] Specifies a delete integration request's resource identifier.

", "location":"uri", "locationName":"resource_id" }, "httpMethod":{ "shape":"String", "documentation":"

[Required] Specifies a delete integration request's HTTP method.

", "location":"uri", "locationName":"http_method" } }, "documentation":"

Represents a delete integration request.

" }, "DeleteIntegrationResponseRequest":{ "type":"structure", "required":[ "restApiId", "resourceId", "httpMethod", "statusCode" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "resourceId":{ "shape":"String", "documentation":"

[Required] Specifies a delete integration response request's resource identifier.

", "location":"uri", "locationName":"resource_id" }, "httpMethod":{ "shape":"String", "documentation":"

[Required] Specifies a delete integration response request's HTTP method.

", "location":"uri", "locationName":"http_method" }, "statusCode":{ "shape":"StatusCode", "documentation":"

[Required] Specifies a delete integration response request's status code.

", "location":"uri", "locationName":"status_code" } }, "documentation":"

Represents a delete integration response request.

" }, "DeleteMethodRequest":{ "type":"structure", "required":[ "restApiId", "resourceId", "httpMethod" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "resourceId":{ "shape":"String", "documentation":"

[Required] The Resource identifier for the Method resource.

", "location":"uri", "locationName":"resource_id" }, "httpMethod":{ "shape":"String", "documentation":"

[Required] The HTTP verb of the Method resource.

", "location":"uri", "locationName":"http_method" } }, "documentation":"

Request to delete an existing Method resource.

" }, "DeleteMethodResponseRequest":{ "type":"structure", "required":[ "restApiId", "resourceId", "httpMethod", "statusCode" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "resourceId":{ "shape":"String", "documentation":"

[Required] The Resource identifier for the MethodResponse resource.

", "location":"uri", "locationName":"resource_id" }, "httpMethod":{ "shape":"String", "documentation":"

[Required] The HTTP verb of the Method resource.

", "location":"uri", "locationName":"http_method" }, "statusCode":{ "shape":"StatusCode", "documentation":"

[Required] The status code identifier for the MethodResponse resource.

", "location":"uri", "locationName":"status_code" } }, "documentation":"

A request to delete an existing MethodResponse resource.

" }, "DeleteModelRequest":{ "type":"structure", "required":[ "restApiId", "modelName" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "modelName":{ "shape":"String", "documentation":"

[Required] The name of the model to delete.

", "location":"uri", "locationName":"model_name" } }, "documentation":"

Request to delete an existing model in an existing RestApi resource.

" }, "DeleteRequestValidatorRequest":{ "type":"structure", "required":[ "restApiId", "requestValidatorId" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "requestValidatorId":{ "shape":"String", "documentation":"

[Required] The identifier of the RequestValidator to be deleted.

", "location":"uri", "locationName":"requestvalidator_id" } }, "documentation":"

Deletes a specified RequestValidator of a given RestApi.

" }, "DeleteResourceRequest":{ "type":"structure", "required":[ "restApiId", "resourceId" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "resourceId":{ "shape":"String", "documentation":"

[Required] The identifier of the Resource resource.

", "location":"uri", "locationName":"resource_id" } }, "documentation":"

Request to delete a Resource.

" }, "DeleteRestApiRequest":{ "type":"structure", "required":["restApiId"], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" } }, "documentation":"

Request to delete the specified API from your collection.

" }, "DeleteStageRequest":{ "type":"structure", "required":[ "restApiId", "stageName" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "stageName":{ "shape":"String", "documentation":"

[Required] The name of the Stage resource to delete.

", "location":"uri", "locationName":"stage_name" } }, "documentation":"

Requests API Gateway to delete a Stage resource.

" }, "DeleteUsagePlanKeyRequest":{ "type":"structure", "required":[ "usagePlanId", "keyId" ], "members":{ "usagePlanId":{ "shape":"String", "documentation":"

[Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-deleted UsagePlanKey resource representing a plan customer.

", "location":"uri", "locationName":"usageplanId" }, "keyId":{ "shape":"String", "documentation":"

[Required] The Id of the UsagePlanKey resource to be deleted.

", "location":"uri", "locationName":"keyId" } }, "documentation":"

The DELETE request to delete a usage plan key and remove the underlying API key from the associated usage plan.

" }, "DeleteUsagePlanRequest":{ "type":"structure", "required":["usagePlanId"], "members":{ "usagePlanId":{ "shape":"String", "documentation":"

[Required] The Id of the to-be-deleted usage plan.

", "location":"uri", "locationName":"usageplanId" } }, "documentation":"

The DELETE request to delete a usage plan of a given plan Id.

" }, "DeleteVpcLinkRequest":{ "type":"structure", "required":["vpcLinkId"], "members":{ "vpcLinkId":{ "shape":"String", "documentation":"

[Required] The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

", "location":"uri", "locationName":"vpclink_id" } }, "documentation":"

Deletes an existing VpcLink of a specified identifier.

" }, "Deployment":{ "type":"structure", "members":{ "id":{ "shape":"String", "documentation":"

The identifier for the deployment resource.

" }, "description":{ "shape":"String", "documentation":"

The description for the deployment resource.

" }, "createdDate":{ "shape":"Timestamp", "documentation":"

The date and time that the deployment resource was created.

" }, "apiSummary":{ "shape":"PathToMapOfMethodSnapshot", "documentation":"

A summary of the RestApi at the date and time that the deployment resource was created.

" } }, "documentation":"

An immutable representation of a RestApi resource that can be called by users using Stages. A deployment must be associated with a Stage for it to be callable over the Internet.

To create a deployment, call POST on the Deployments resource of a RestApi. To view, update, or delete a deployment, call GET, PATCH, or DELETE on the specified deployment resource (/restapis/{restapi_id}/deployments/{deployment_id}).
RestApi, Deployments, Stage, AWS CLI, AWS SDKs
" }, "DeploymentCanarySettings":{ "type":"structure", "members":{ "percentTraffic":{ "shape":"Double", "documentation":"

The percentage (0.0-100.0) of traffic routed to the canary deployment.

" }, "stageVariableOverrides":{ "shape":"MapOfStringToString", "documentation":"

A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.

" }, "useStageCache":{ "shape":"Boolean", "documentation":"

A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.

" } }, "documentation":"

The input configuration for a canary deployment.

" }, "Deployments":{ "type":"structure", "members":{ "position":{"shape":"String"}, "items":{ "shape":"ListOfDeployment", "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, "documentation":"

Represents a collection resource that contains zero or more references to your existing deployments, and links that guide you on how to interact with your collection. The collection offers a paginated view of the contained deployments.

To create a new deployment of a RestApi, make a POST request against this resource. To view, update, or delete an existing deployment, make a GET, PATCH, or DELETE request, respectively, on a specified Deployment resource.
Deploying an API, AWS CLI, AWS SDKs
" }, "DocumentationPart":{ "type":"structure", "members":{ "id":{ "shape":"String", "documentation":"

The DocumentationPart identifier, generated by API Gateway when the DocumentationPart is created.

" }, "location":{ "shape":"DocumentationPartLocation", "documentation":"

The location of the API entity to which the documentation applies. Valid fields depend on the targeted API entity type. All the valid location fields are not required. If not explicitly specified, a valid location field is treated as a wildcard and associated documentation content may be inherited by matching entities, unless overridden.

" }, "properties":{ "shape":"String", "documentation":"

A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., \"{ \\\"description\\\": \\\"The API does ...\\\" }\". Only OpenAPI-compliant documentation-related fields from the properties map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a OpenAPI extension of x-amazon-apigateway-documentation.

" } }, "documentation":"

A documentation part for a targeted API entity.

A documentation part consists of a content map (properties) and a target (location). The target specifies an API entity to which the documentation content applies. The supported API entity types are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. Valid location fields depend on the API entity type. All valid fields are not required.

The content map is a JSON string of API-specific key-value pairs. Although an API can use any shape for the content map, only the OpenAPI-compliant documentation fields will be injected into the associated API entity definition in the exported OpenAPI definition file.

Documenting an API, DocumentationParts
" }, "DocumentationPartIds":{ "type":"structure", "members":{ "ids":{ "shape":"ListOfString", "documentation":"

A list of the returned documentation part identifiers.

" }, "warnings":{ "shape":"ListOfString", "documentation":"

A list of warning messages reported during import of documentation parts.

" } }, "documentation":"

A collection of the imported DocumentationPart identifiers.

This is used to return the result when documentation parts in an external (e.g., OpenAPI) file are imported into API Gateway
Documenting an API, documentationpart:import, DocumentationPart
" }, "DocumentationPartLocation":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"DocumentationPartType", "documentation":"

[Required] The type of API entity to which the documentation content applies. Valid values are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. Content inheritance does not apply to any entity of the API, AUTHORIZER, METHOD, MODEL, REQUEST_BODY, or RESOURCE type.

" }, "path":{ "shape":"String", "documentation":"

The URL path of the target. It is a valid field for the API entity types of RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is / for the root resource. When an applicable child entity inherits the content of another entity of the same type with more general specifications of the other location attributes, the child entity's path attribute must match that of the parent entity as a prefix.

" }, "method":{ "shape":"String", "documentation":"

The HTTP verb of a method. It is a valid field for the API entity types of METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is * for any method. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other location attributes, the child entity's method attribute must match that of the parent entity exactly.

" }, "statusCode":{ "shape":"DocumentationPartLocationStatusCode", "documentation":"

The HTTP status code of a response. It is a valid field for the API entity types of RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is * for any status code. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other location attributes, the child entity's statusCode attribute must match that of the parent entity exactly.

" }, "name":{ "shape":"String", "documentation":"

The name of the targeted API entity. It is a valid and required field for the API entity types of AUTHORIZER, MODEL, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY and RESPONSE_HEADER. It is an invalid field for any other entity type.

" } }, "documentation":"

Specifies the target API entity to which the documentation applies.

" }, "DocumentationPartLocationStatusCode":{ "type":"string", "pattern":"^([1-5]\\d\\d|\\*|\\s*)$" }, "DocumentationPartType":{ "type":"string", "enum":[ "API", "AUTHORIZER", "MODEL", "RESOURCE", "METHOD", "PATH_PARAMETER", "QUERY_PARAMETER", "REQUEST_HEADER", "REQUEST_BODY", "RESPONSE", "RESPONSE_HEADER", "RESPONSE_BODY" ] }, "DocumentationParts":{ "type":"structure", "members":{ "position":{"shape":"String"}, "items":{ "shape":"ListOfDocumentationPart", "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, "documentation":"

The collection of documentation parts of an API.

Documenting an API, DocumentationPart
" }, "DocumentationVersion":{ "type":"structure", "members":{ "version":{ "shape":"String", "documentation":"

The version identifier of the API documentation snapshot.

" }, "createdDate":{ "shape":"Timestamp", "documentation":"

The date when the API documentation snapshot is created.

" }, "description":{ "shape":"String", "documentation":"

The description of the API documentation snapshot.

" } }, "documentation":"

A snapshot of the documentation of an API.

Publishing API documentation involves creating a documentation version associated with an API stage and exporting the versioned documentation to an external (e.g., OpenAPI) file.

Documenting an API, DocumentationPart, DocumentationVersions
" }, "DocumentationVersions":{ "type":"structure", "members":{ "position":{"shape":"String"}, "items":{ "shape":"ListOfDocumentationVersion", "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, "documentation":"

The collection of documentation snapshots of an API.

Use the DocumentationVersions to manage documentation snapshots associated with various API stages.

Documenting an API, DocumentationPart, DocumentationVersion
" }, "DomainName":{ "type":"structure", "members":{ "domainName":{ "shape":"String", "documentation":"

The custom domain name as an API host name, for example, my-api.example.com.

" }, "certificateName":{ "shape":"String", "documentation":"

The name of the certificate that will be used by edge-optimized endpoint for this domain name.

" }, "certificateArn":{ "shape":"String", "documentation":"

The reference to an AWS-managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.

" }, "certificateUploadDate":{ "shape":"Timestamp", "documentation":"

The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.

" }, "regionalDomainName":{ "shape":"String", "documentation":"

The domain name associated with the regional endpoint for this custom domain name. You set up this association by adding a DNS record that points the custom domain name to this regional domain name. The regional domain name is returned by API Gateway when you create a regional endpoint.

" }, "regionalHostedZoneId":{ "shape":"String", "documentation":"

The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

" }, "regionalCertificateName":{ "shape":"String", "documentation":"

The name of the certificate that will be used for validating the regional domain name.

" }, "regionalCertificateArn":{ "shape":"String", "documentation":"

The reference to an AWS-managed certificate that will be used for validating the regional domain name. AWS Certificate Manager is the only supported source.

" }, "distributionDomainName":{ "shape":"String", "documentation":"

The domain name of the Amazon CloudFront distribution associated with this custom domain name for an edge-optimized endpoint. You set up this association when adding a DNS record pointing the custom domain name to this distribution name. For more information about CloudFront distributions, see the Amazon CloudFront documentation.

" }, "distributionHostedZoneId":{ "shape":"String", "documentation":"

The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The valid value is Z2FDTNDATAQYW2 for all the regions. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

" }, "endpointConfiguration":{ "shape":"EndpointConfiguration", "documentation":"

The endpoint configuration of this DomainName showing the endpoint types of the domain name.

" } }, "documentation":"

Represents a custom domain name as a user-friendly host name of an API (RestApi).

When you deploy an API, API Gateway creates a default host name for the API. This default API host name is of the {restapi-id}.execute-api.{region}.amazonaws.com format. With the default host name, you can access the API's root resource with the URL of https://{restapi-id}.execute-api.{region}.amazonaws.com/{stage}/. When you set up a custom domain name of apis.example.com for this API, you can then access the same resource using the URL of the https://apis.examples.com/myApi, where myApi is the base path mapping (BasePathMapping) of your API under the custom domain name.

Set a Custom Host Name for an API
" }, "DomainNames":{ "type":"structure", "members":{ "position":{"shape":"String"}, "items":{ "shape":"ListOfDomainName", "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, "documentation":"

Represents a collection of DomainName resources.

Use Client-Side Certificate
" }, "Double":{"type":"double"}, "EndpointConfiguration":{ "type":"structure", "members":{ "types":{ "shape":"ListOfEndpointType", "documentation":"

A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is \"EDGE\". For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.

" } }, "documentation":"

The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has.

" }, "EndpointType":{ "type":"string", "documentation":"

The endpoint type. The valid values are EDGE for edge-optimized API setup, most suitable for mobile applications; REGIONAL for regional API endpoint setup, most suitable for calling from AWS Region; and PRIVATE for private APIs.

", "enum":[ "REGIONAL", "EDGE", "PRIVATE" ] }, "ExportResponse":{ "type":"structure", "members":{ "contentType":{ "shape":"String", "documentation":"

The content-type header value in the HTTP response. This will correspond to a valid 'accept' type in the request.

", "location":"header", "locationName":"Content-Type" }, "contentDisposition":{ "shape":"String", "documentation":"

The content-disposition header value in the HTTP response.

", "location":"header", "locationName":"Content-Disposition" }, "body":{ "shape":"Blob", "documentation":"

The binary blob response to GetExport, which contains the export.

" } }, "documentation":"

The binary blob response to GetExport, which contains the generated SDK.

", "payload":"body" }, "FlushStageAuthorizersCacheRequest":{ "type":"structure", "required":[ "restApiId", "stageName" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "stageName":{ "shape":"String", "documentation":"

The name of the stage to flush.

", "location":"uri", "locationName":"stage_name" } }, "documentation":"

Request to flush authorizer cache entries on a specified stage.

" }, "FlushStageCacheRequest":{ "type":"structure", "required":[ "restApiId", "stageName" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "stageName":{ "shape":"String", "documentation":"

[Required] The name of the stage to flush its cache.

", "location":"uri", "locationName":"stage_name" } }, "documentation":"

Requests API Gateway to flush a stage's cache.

" }, "GatewayResponse":{ "type":"structure", "members":{ "responseType":{ "shape":"GatewayResponseType", "documentation":"

The response type of the associated GatewayResponse. Valid values are

" }, "statusCode":{ "shape":"StatusCode", "documentation":"

The HTTP status code for this GatewayResponse.

" }, "responseParameters":{ "shape":"MapOfStringToString", "documentation":"

Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

" }, "responseTemplates":{ "shape":"MapOfStringToString", "documentation":"

Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

" }, "defaultResponse":{ "shape":"Boolean", "documentation":"

A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true) or not (false). A default gateway response is one generated by API Gateway without any customization by an API developer.

" } }, "documentation":"

A gateway response of a given response type and status code, with optional response parameters and mapping templates.

For more information about valid gateway response types, see Gateway Response Types Supported by API Gateway

Example: Get a Gateway Response of a given response type

Request

This example shows how to get a gateway response of the MISSING_AUTHENTICATION_TOKEN type.

GET /restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN HTTP/1.1 Host: beta-apigateway.us-east-1.amazonaws.com Content-Type: application/json X-Amz-Date: 20170503T202516Z Authorization: AWS4-HMAC-SHA256 Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=1b52460e3159c1a26cff29093855d50ea141c1c5b937528fecaf60f51129697a Cache-Control: no-cache Postman-Token: 3b2a1ce9-c848-2e26-2e2f-9c2caefbed45 

The response type is specified as a URL path.

Response

The successful operation returns the 200 OK status code and a payload similar to the following:

{ \"_links\": { \"curies\": { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html\", \"name\": \"gatewayresponse\", \"templated\": true }, \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\" }, \"gatewayresponse:delete\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\" } }, \"defaultResponse\": false, \"responseParameters\": { \"gatewayresponse.header.x-request-path\": \"method.request.path.petId\", \"gatewayresponse.header.Access-Control-Allow-Origin\": \"'a.b.c'\", \"gatewayresponse.header.x-request-query\": \"method.request.querystring.q\", \"gatewayresponse.header.x-request-header\": \"method.request.header.Accept\" }, \"responseTemplates\": { \"application/json\": \"{\\n \\\"message\\\": $context.error.messageString,\\n \\\"type\\\": \\\"$context.error.responseType\\\",\\n \\\"stage\\\": \\\"$context.stage\\\",\\n \\\"resourcePath\\\": \\\"$context.resourcePath\\\",\\n \\\"stageVariables.a\\\": \\\"$stageVariables.a\\\",\\n \\\"statusCode\\\": \\\"'404'\\\"\\n}\" }, \"responseType\": \"MISSING_AUTHENTICATION_TOKEN\", \"statusCode\": \"404\" }

Customize Gateway Responses
" }, "GatewayResponseType":{ "type":"string", "enum":[ "DEFAULT_4XX", "DEFAULT_5XX", "RESOURCE_NOT_FOUND", "UNAUTHORIZED", "INVALID_API_KEY", "ACCESS_DENIED", "AUTHORIZER_FAILURE", "AUTHORIZER_CONFIGURATION_ERROR", "INVALID_SIGNATURE", "EXPIRED_TOKEN", "MISSING_AUTHENTICATION_TOKEN", "INTEGRATION_FAILURE", "INTEGRATION_TIMEOUT", "API_CONFIGURATION_ERROR", "UNSUPPORTED_MEDIA_TYPE", "BAD_REQUEST_PARAMETERS", "BAD_REQUEST_BODY", "REQUEST_TOO_LARGE", "THROTTLED", "QUOTA_EXCEEDED" ] }, "GatewayResponses":{ "type":"structure", "members":{ "position":{"shape":"String"}, "items":{ "shape":"ListOfGatewayResponse", "documentation":"

Returns the entire collection, because of no pagination support.

", "locationName":"item" } }, "documentation":"

The collection of the GatewayResponse instances of a RestApi as a responseType-to-GatewayResponse object map of key-value pairs. As such, pagination is not supported for querying this collection.

For more information about valid gateway response types, see Gateway Response Types Supported by API Gateway

Example: Get the collection of gateway responses of an API

Request

This example request shows how to retrieve the GatewayResponses collection from an API.

GET /restapis/o81lxisefl/gatewayresponses HTTP/1.1 Host: beta-apigateway.us-east-1.amazonaws.com Content-Type: application/json X-Amz-Date: 20170503T220604Z Authorization: AWS4-HMAC-SHA256 Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=59b42fe54a76a5de8adf2c67baa6d39206f8e9ad49a1d77ccc6a5da3103a398a Cache-Control: no-cache Postman-Token: 5637af27-dc29-fc5c-9dfe-0645d52cb515 

Response

The successful operation returns the 200 OK status code and a payload similar to the following:

{ \"_links\": { \"curies\": { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html\", \"name\": \"gatewayresponse\", \"templated\": true }, \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses\" }, \"first\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses\" }, \"gatewayresponse:by-type\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"item\": [ { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/THROTTLED\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE\" } ] }, \"_embedded\": { \"item\": [ { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"INTEGRATION_FAILURE\", \"statusCode\": \"504\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"RESOURCE_NOT_FOUND\", \"statusCode\": \"404\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"REQUEST_TOO_LARGE\", \"statusCode\": \"413\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/THROTTLED\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/THROTTLED\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"THROTTLED\", \"statusCode\": \"429\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"UNSUPPORTED_MEDIA_TYPE\", \"statusCode\": \"415\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"AUTHORIZER_CONFIGURATION_ERROR\", \"statusCode\": \"500\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"DEFAULT_5XX\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"DEFAULT_4XX\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"BAD_REQUEST_PARAMETERS\", \"statusCode\": \"400\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"BAD_REQUEST_BODY\", \"statusCode\": \"400\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"EXPIRED_TOKEN\", \"statusCode\": \"403\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"ACCESS_DENIED\", \"statusCode\": \"403\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"INVALID_API_KEY\", \"statusCode\": \"403\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"UNAUTHORIZED\", \"statusCode\": \"401\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"API_CONFIGURATION_ERROR\", \"statusCode\": \"500\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"QUOTA_EXCEEDED\", \"statusCode\": \"429\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"INTEGRATION_TIMEOUT\", \"statusCode\": \"504\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"MISSING_AUTHENTICATION_TOKEN\", \"statusCode\": \"403\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"INVALID_SIGNATURE\", \"statusCode\": \"403\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"AUTHORIZER_FAILURE\", \"statusCode\": \"500\" } ] } }

Customize Gateway Responses
" }, "GenerateClientCertificateRequest":{ "type":"structure", "members":{ "description":{ "shape":"String", "documentation":"

The description of the ClientCertificate.

" } }, "documentation":"

A request to generate a ClientCertificate resource.

" }, "GetAccountRequest":{ "type":"structure", "members":{ }, "documentation":"

Requests API Gateway to get information about the current Account resource.

" }, "GetApiKeyRequest":{ "type":"structure", "required":["apiKey"], "members":{ "apiKey":{ "shape":"String", "documentation":"

[Required] The identifier of the ApiKey resource.

", "location":"uri", "locationName":"api_Key" }, "includeValue":{ "shape":"NullableBoolean", "documentation":"

A boolean flag to specify whether (true) or not (false) the result contains the key value.

", "location":"querystring", "locationName":"includeValue" } }, "documentation":"

A request to get information about the current ApiKey resource.

" }, "GetApiKeysRequest":{ "type":"structure", "members":{ "position":{ "shape":"String", "documentation":"

The current pagination position in the paged result set.

", "location":"querystring", "locationName":"position" }, "limit":{ "shape":"NullableInteger", "documentation":"

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

", "location":"querystring", "locationName":"limit" }, "nameQuery":{ "shape":"String", "documentation":"

The name of queried API keys.

", "location":"querystring", "locationName":"name" }, "customerId":{ "shape":"String", "documentation":"

The identifier of a customer in AWS Marketplace or an external system, such as a developer portal.

", "location":"querystring", "locationName":"customerId" }, "includeValues":{ "shape":"NullableBoolean", "documentation":"

A boolean flag to specify whether (true) or not (false) the result contains key values.

", "location":"querystring", "locationName":"includeValues" } }, "documentation":"

A request to get information about the current ApiKeys resource.

" }, "GetAuthorizerRequest":{ "type":"structure", "required":[ "restApiId", "authorizerId" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "authorizerId":{ "shape":"String", "documentation":"

[Required] The identifier of the Authorizer resource.

", "location":"uri", "locationName":"authorizer_id" } }, "documentation":"

Request to describe an existing Authorizer resource.

" }, "GetAuthorizersRequest":{ "type":"structure", "required":["restApiId"], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "position":{ "shape":"String", "documentation":"

The current pagination position in the paged result set.

", "location":"querystring", "locationName":"position" }, "limit":{ "shape":"NullableInteger", "documentation":"

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

", "location":"querystring", "locationName":"limit" } }, "documentation":"

Request to describe an existing Authorizers resource.

" }, "GetBasePathMappingRequest":{ "type":"structure", "required":[ "domainName", "basePath" ], "members":{ "domainName":{ "shape":"String", "documentation":"

[Required] The domain name of the BasePathMapping resource to be described.

", "location":"uri", "locationName":"domain_name" }, "basePath":{ "shape":"String", "documentation":"

[Required] The base path name that callers of the API must provide as part of the URL after the domain name. This value must be unique for all of the mappings across a single API. Leave this blank if you do not want callers to specify any base path name after the domain name.

", "location":"uri", "locationName":"base_path" } }, "documentation":"

Request to describe a BasePathMapping resource.

" }, "GetBasePathMappingsRequest":{ "type":"structure", "required":["domainName"], "members":{ "domainName":{ "shape":"String", "documentation":"

[Required] The domain name of a BasePathMapping resource.

", "location":"uri", "locationName":"domain_name" }, "position":{ "shape":"String", "documentation":"

The current pagination position in the paged result set.

", "location":"querystring", "locationName":"position" }, "limit":{ "shape":"NullableInteger", "documentation":"

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

", "location":"querystring", "locationName":"limit" } }, "documentation":"

A request to get information about a collection of BasePathMapping resources.

" }, "GetClientCertificateRequest":{ "type":"structure", "required":["clientCertificateId"], "members":{ "clientCertificateId":{ "shape":"String", "documentation":"

[Required] The identifier of the ClientCertificate resource to be described.

", "location":"uri", "locationName":"clientcertificate_id" } }, "documentation":"

A request to get information about the current ClientCertificate resource.

" }, "GetClientCertificatesRequest":{ "type":"structure", "members":{ "position":{ "shape":"String", "documentation":"

The current pagination position in the paged result set.

", "location":"querystring", "locationName":"position" }, "limit":{ "shape":"NullableInteger", "documentation":"

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

", "location":"querystring", "locationName":"limit" } }, "documentation":"

A request to get information about a collection of ClientCertificate resources.

" }, "GetDeploymentRequest":{ "type":"structure", "required":[ "restApiId", "deploymentId" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "deploymentId":{ "shape":"String", "documentation":"

[Required] The identifier of the Deployment resource to get information about.

", "location":"uri", "locationName":"deployment_id" }, "embed":{ "shape":"ListOfString", "documentation":"

A query parameter to retrieve the specified embedded resources of the returned Deployment resource in the response. In a REST API call, this embed parameter value is a list of comma-separated strings, as in GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=var1,var2. The SDK and other platform-dependent libraries might use a different format for the list. Currently, this request supports only retrieval of the embedded API summary this way. Hence, the parameter value must be a single-valued list containing only the \"apisummary\" string. For example, GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=apisummary.

", "location":"querystring", "locationName":"embed" } }, "documentation":"

Requests API Gateway to get information about a Deployment resource.

" }, "GetDeploymentsRequest":{ "type":"structure", "required":["restApiId"], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "position":{ "shape":"String", "documentation":"

The current pagination position in the paged result set.

", "location":"querystring", "locationName":"position" }, "limit":{ "shape":"NullableInteger", "documentation":"

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

", "location":"querystring", "locationName":"limit" } }, "documentation":"

Requests API Gateway to get information about a Deployments collection.

" }, "GetDocumentationPartRequest":{ "type":"structure", "required":[ "restApiId", "documentationPartId" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "documentationPartId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"part_id" } }, "documentation":"

Gets a specified documentation part of a given API.

" }, "GetDocumentationPartsRequest":{ "type":"structure", "required":["restApiId"], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "type":{ "shape":"DocumentationPartType", "documentation":"

The type of API entities of the to-be-retrieved documentation parts.

", "location":"querystring", "locationName":"type" }, "nameQuery":{ "shape":"String", "documentation":"

The name of API entities of the to-be-retrieved documentation parts.

", "location":"querystring", "locationName":"name" }, "path":{ "shape":"String", "documentation":"

The path of API entities of the to-be-retrieved documentation parts.

", "location":"querystring", "locationName":"path" }, "position":{ "shape":"String", "documentation":"

The current pagination position in the paged result set.

", "location":"querystring", "locationName":"position" }, "limit":{ "shape":"NullableInteger", "documentation":"

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

", "location":"querystring", "locationName":"limit" }, "locationStatus":{ "shape":"LocationStatusType", "documentation":"

The status of the API documentation parts to retrieve. Valid values are DOCUMENTED for retrieving DocumentationPart resources with content and UNDOCUMENTED for DocumentationPart resources without content.

", "location":"querystring", "locationName":"locationStatus" } }, "documentation":"

Gets the documentation parts of an API. The result may be filtered by the type, name, or path of API entities (targets).

" }, "GetDocumentationVersionRequest":{ "type":"structure", "required":[ "restApiId", "documentationVersion" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "documentationVersion":{ "shape":"String", "documentation":"

[Required] The version identifier of the to-be-retrieved documentation snapshot.

", "location":"uri", "locationName":"doc_version" } }, "documentation":"

Gets a documentation snapshot of an API.

" }, "GetDocumentationVersionsRequest":{ "type":"structure", "required":["restApiId"], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "position":{ "shape":"String", "documentation":"

The current pagination position in the paged result set.

", "location":"querystring", "locationName":"position" }, "limit":{ "shape":"NullableInteger", "documentation":"

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

", "location":"querystring", "locationName":"limit" } }, "documentation":"

Gets the documentation versions of an API.

" }, "GetDomainNameRequest":{ "type":"structure", "required":["domainName"], "members":{ "domainName":{ "shape":"String", "documentation":"

[Required] The name of the DomainName resource.

", "location":"uri", "locationName":"domain_name" } }, "documentation":"

Request to get the name of a DomainName resource.

" }, "GetDomainNamesRequest":{ "type":"structure", "members":{ "position":{ "shape":"String", "documentation":"

The current pagination position in the paged result set.

", "location":"querystring", "locationName":"position" }, "limit":{ "shape":"NullableInteger", "documentation":"

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

", "location":"querystring", "locationName":"limit" } }, "documentation":"

Request to describe a collection of DomainName resources.

" }, "GetExportRequest":{ "type":"structure", "required":[ "restApiId", "stageName", "exportType" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "stageName":{ "shape":"String", "documentation":"

[Required] The name of the Stage that will be exported.

", "location":"uri", "locationName":"stage_name" }, "exportType":{ "shape":"String", "documentation":"

[Required] The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x and 'swagger' for Swagger/OpenAPI 2.0.

", "location":"uri", "locationName":"export_type" }, "parameters":{ "shape":"MapOfStringToString", "documentation":"

A key-value map of query string parameters that specify properties of the export, depending on the requested exportType. For exportType oas30 and swagger, any combination of the following parameters are supported: extensions='integrations' or extensions='apigateway' will export the API with x-amazon-apigateway-integration extensions. extensions='authorizers' will export the API with x-amazon-apigateway-authorizer extensions. postman will export the API with Postman extensions, allowing for import to the Postman tool

", "location":"querystring" }, "accepts":{ "shape":"String", "documentation":"

The content-type of the export, for example application/json. Currently application/json and application/yaml are supported for exportType ofoas30 and swagger. This should be specified in the Accept header for direct API requests.

", "location":"header", "locationName":"Accept" } }, "documentation":"

Request a new export of a RestApi for a particular Stage.

" }, "GetGatewayResponseRequest":{ "type":"structure", "required":[ "restApiId", "responseType" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "responseType":{ "shape":"GatewayResponseType", "documentation":"

[Required]

The response type of the associated GatewayResponse. Valid values are

", "location":"uri", "locationName":"response_type" } }, "documentation":"

Gets a GatewayResponse of a specified response type on the given RestApi.

" }, "GetGatewayResponsesRequest":{ "type":"structure", "required":["restApiId"], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "position":{ "shape":"String", "documentation":"

The current pagination position in the paged result set. The GatewayResponse collection does not support pagination and the position does not apply here.

", "location":"querystring", "locationName":"position" }, "limit":{ "shape":"NullableInteger", "documentation":"

The maximum number of returned results per page. The default value is 25 and the maximum value is 500. The GatewayResponses collection does not support pagination and the limit does not apply here.

", "location":"querystring", "locationName":"limit" } }, "documentation":"

Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the API Gateway-generated default GatewayResponses collection for the supported response types.

" }, "GetIntegrationRequest":{ "type":"structure", "required":[ "restApiId", "resourceId", "httpMethod" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "resourceId":{ "shape":"String", "documentation":"

[Required] Specifies a get integration request's resource identifier

", "location":"uri", "locationName":"resource_id" }, "httpMethod":{ "shape":"String", "documentation":"

[Required] Specifies a get integration request's HTTP method.

", "location":"uri", "locationName":"http_method" } }, "documentation":"

Represents a request to get the integration configuration.

" }, "GetIntegrationResponseRequest":{ "type":"structure", "required":[ "restApiId", "resourceId", "httpMethod", "statusCode" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "resourceId":{ "shape":"String", "documentation":"

[Required] Specifies a get integration response request's resource identifier.

", "location":"uri", "locationName":"resource_id" }, "httpMethod":{ "shape":"String", "documentation":"

[Required] Specifies a get integration response request's HTTP method.

", "location":"uri", "locationName":"http_method" }, "statusCode":{ "shape":"StatusCode", "documentation":"

[Required] Specifies a get integration response request's status code.

", "location":"uri", "locationName":"status_code" } }, "documentation":"

Represents a get integration response request.

" }, "GetMethodRequest":{ "type":"structure", "required":[ "restApiId", "resourceId", "httpMethod" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "resourceId":{ "shape":"String", "documentation":"

[Required] The Resource identifier for the Method resource.

", "location":"uri", "locationName":"resource_id" }, "httpMethod":{ "shape":"String", "documentation":"

[Required] Specifies the method request's HTTP method type.

", "location":"uri", "locationName":"http_method" } }, "documentation":"

Request to describe an existing Method resource.

" }, "GetMethodResponseRequest":{ "type":"structure", "required":[ "restApiId", "resourceId", "httpMethod", "statusCode" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "resourceId":{ "shape":"String", "documentation":"

[Required] The Resource identifier for the MethodResponse resource.

", "location":"uri", "locationName":"resource_id" }, "httpMethod":{ "shape":"String", "documentation":"

[Required] The HTTP verb of the Method resource.

", "location":"uri", "locationName":"http_method" }, "statusCode":{ "shape":"StatusCode", "documentation":"

[Required] The status code for the MethodResponse resource.

", "location":"uri", "locationName":"status_code" } }, "documentation":"

Request to describe a MethodResponse resource.

" }, "GetModelRequest":{ "type":"structure", "required":[ "restApiId", "modelName" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The RestApi identifier under which the Model exists.

", "location":"uri", "locationName":"restapi_id" }, "modelName":{ "shape":"String", "documentation":"

[Required] The name of the model as an identifier.

", "location":"uri", "locationName":"model_name" }, "flatten":{ "shape":"Boolean", "documentation":"

A query parameter of a Boolean value to resolve (true) all external model references and returns a flattened model schema or not (false) The default is false.

", "location":"querystring", "locationName":"flatten" } }, "documentation":"

Request to list information about a model in an existing RestApi resource.

" }, "GetModelTemplateRequest":{ "type":"structure", "required":[ "restApiId", "modelName" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "modelName":{ "shape":"String", "documentation":"

[Required] The name of the model for which to generate a template.

", "location":"uri", "locationName":"model_name" } }, "documentation":"

Request to generate a sample mapping template used to transform the payload.

" }, "GetModelsRequest":{ "type":"structure", "required":["restApiId"], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "position":{ "shape":"String", "documentation":"

The current pagination position in the paged result set.

", "location":"querystring", "locationName":"position" }, "limit":{ "shape":"NullableInteger", "documentation":"

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

", "location":"querystring", "locationName":"limit" } }, "documentation":"

Request to list existing Models defined for a RestApi resource.

" }, "GetRequestValidatorRequest":{ "type":"structure", "required":[ "restApiId", "requestValidatorId" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "requestValidatorId":{ "shape":"String", "documentation":"

[Required] The identifier of the RequestValidator to be retrieved.

", "location":"uri", "locationName":"requestvalidator_id" } }, "documentation":"

Gets a RequestValidator of a given RestApi.

" }, "GetRequestValidatorsRequest":{ "type":"structure", "required":["restApiId"], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "position":{ "shape":"String", "documentation":"

The current pagination position in the paged result set.

", "location":"querystring", "locationName":"position" }, "limit":{ "shape":"NullableInteger", "documentation":"

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

", "location":"querystring", "locationName":"limit" } }, "documentation":"

Gets the RequestValidators collection of a given RestApi.

" }, "GetResourceRequest":{ "type":"structure", "required":[ "restApiId", "resourceId" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "resourceId":{ "shape":"String", "documentation":"

[Required] The identifier for the Resource resource.

", "location":"uri", "locationName":"resource_id" }, "embed":{ "shape":"ListOfString", "documentation":"

A query parameter to retrieve the specified resources embedded in the returned Resource representation in the response. This embed parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the \"methods\" string. For example, GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods.

", "location":"querystring", "locationName":"embed" } }, "documentation":"

Request to list information about a resource.

" }, "GetResourcesRequest":{ "type":"structure", "required":["restApiId"], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "position":{ "shape":"String", "documentation":"

The current pagination position in the paged result set.

", "location":"querystring", "locationName":"position" }, "limit":{ "shape":"NullableInteger", "documentation":"

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

", "location":"querystring", "locationName":"limit" }, "embed":{ "shape":"ListOfString", "documentation":"

A query parameter used to retrieve the specified resources embedded in the returned Resources resource in the response. This embed parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the \"methods\" string. For example, GET /restapis/{restapi_id}/resources?embed=methods.

", "location":"querystring", "locationName":"embed" } }, "documentation":"

Request to list information about a collection of resources.

" }, "GetRestApiRequest":{ "type":"structure", "required":["restApiId"], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" } }, "documentation":"

The GET request to list an existing RestApi defined for your collection.

" }, "GetRestApisRequest":{ "type":"structure", "members":{ "position":{ "shape":"String", "documentation":"

The current pagination position in the paged result set.

", "location":"querystring", "locationName":"position" }, "limit":{ "shape":"NullableInteger", "documentation":"

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

", "location":"querystring", "locationName":"limit" } }, "documentation":"

The GET request to list existing RestApis defined for your collection.

" }, "GetSdkRequest":{ "type":"structure", "required":[ "restApiId", "stageName", "sdkType" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "stageName":{ "shape":"String", "documentation":"

[Required] The name of the Stage that the SDK will use.

", "location":"uri", "locationName":"stage_name" }, "sdkType":{ "shape":"String", "documentation":"

[Required] The language for the generated SDK. Currently java, javascript, android, objectivec (for iOS), swift (for iOS), and ruby are supported.

", "location":"uri", "locationName":"sdk_type" }, "parameters":{ "shape":"MapOfStringToString", "documentation":"

A string-to-string key-value map of query parameters sdkType-dependent properties of the SDK. For sdkType of objectivec or swift, a parameter named classPrefix is required. For sdkType of android, parameters named groupId, artifactId, artifactVersion, and invokerPackage are required. For sdkType of java, parameters named serviceName and javaPackageName are required.

", "location":"querystring" } }, "documentation":"

Request a new generated client SDK for a RestApi and Stage.

" }, "GetSdkTypeRequest":{ "type":"structure", "required":["id"], "members":{ "id":{ "shape":"String", "documentation":"

[Required] The identifier of the queried SdkType instance.

", "location":"uri", "locationName":"sdktype_id" } }, "documentation":"

Get an SdkType instance.

" }, "GetSdkTypesRequest":{ "type":"structure", "members":{ "position":{ "shape":"String", "documentation":"

The current pagination position in the paged result set.

", "location":"querystring", "locationName":"position" }, "limit":{ "shape":"NullableInteger", "documentation":"

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

", "location":"querystring", "locationName":"limit" } }, "documentation":"

Get the SdkTypes collection.

" }, "GetStageRequest":{ "type":"structure", "required":[ "restApiId", "stageName" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "stageName":{ "shape":"String", "documentation":"

[Required] The name of the Stage resource to get information about.

", "location":"uri", "locationName":"stage_name" } }, "documentation":"

Requests API Gateway to get information about a Stage resource.

" }, "GetStagesRequest":{ "type":"structure", "required":["restApiId"], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "deploymentId":{ "shape":"String", "documentation":"

The stages' deployment identifiers.

", "location":"querystring", "locationName":"deploymentId" } }, "documentation":"

Requests API Gateway to get information about one or more Stage resources.

" }, "GetTagsRequest":{ "type":"structure", "required":["resourceArn"], "members":{ "resourceArn":{ "shape":"String", "documentation":"

[Required] The ARN of a resource that can be tagged. The resource ARN must be URL-encoded. At present, Stage is the only taggable resource.

", "location":"uri", "locationName":"resource_arn" }, "position":{ "shape":"String", "documentation":"

(Not currently supported) The current pagination position in the paged result set.

", "location":"querystring", "locationName":"position" }, "limit":{ "shape":"NullableInteger", "documentation":"

(Not currently supported) The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

", "location":"querystring", "locationName":"limit" } }, "documentation":"

Gets the Tags collection for a given resource.

" }, "GetUsagePlanKeyRequest":{ "type":"structure", "required":[ "usagePlanId", "keyId" ], "members":{ "usagePlanId":{ "shape":"String", "documentation":"

[Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.

", "location":"uri", "locationName":"usageplanId" }, "keyId":{ "shape":"String", "documentation":"

[Required] The key Id of the to-be-retrieved UsagePlanKey resource representing a plan customer.

", "location":"uri", "locationName":"keyId" } }, "documentation":"

The GET request to get a usage plan key of a given key identifier.

" }, "GetUsagePlanKeysRequest":{ "type":"structure", "required":["usagePlanId"], "members":{ "usagePlanId":{ "shape":"String", "documentation":"

[Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.

", "location":"uri", "locationName":"usageplanId" }, "position":{ "shape":"String", "documentation":"

The current pagination position in the paged result set.

", "location":"querystring", "locationName":"position" }, "limit":{ "shape":"NullableInteger", "documentation":"

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

", "location":"querystring", "locationName":"limit" }, "nameQuery":{ "shape":"String", "documentation":"

A query parameter specifying the name of the to-be-returned usage plan keys.

", "location":"querystring", "locationName":"name" } }, "documentation":"

The GET request to get all the usage plan keys representing the API keys added to a specified usage plan.

" }, "GetUsagePlanRequest":{ "type":"structure", "required":["usagePlanId"], "members":{ "usagePlanId":{ "shape":"String", "documentation":"

[Required] The identifier of the UsagePlan resource to be retrieved.

", "location":"uri", "locationName":"usageplanId" } }, "documentation":"

The GET request to get a usage plan of a given plan identifier.

" }, "GetUsagePlansRequest":{ "type":"structure", "members":{ "position":{ "shape":"String", "documentation":"

The current pagination position in the paged result set.

", "location":"querystring", "locationName":"position" }, "keyId":{ "shape":"String", "documentation":"

The identifier of the API key associated with the usage plans.

", "location":"querystring", "locationName":"keyId" }, "limit":{ "shape":"NullableInteger", "documentation":"

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

", "location":"querystring", "locationName":"limit" } }, "documentation":"

The GET request to get all the usage plans of the caller's account.

" }, "GetUsageRequest":{ "type":"structure", "required":[ "usagePlanId", "startDate", "endDate" ], "members":{ "usagePlanId":{ "shape":"String", "documentation":"

[Required] The Id of the usage plan associated with the usage data.

", "location":"uri", "locationName":"usageplanId" }, "keyId":{ "shape":"String", "documentation":"

The Id of the API key associated with the resultant usage data.

", "location":"querystring", "locationName":"keyId" }, "startDate":{ "shape":"String", "documentation":"

[Required] The starting date (e.g., 2016-01-01) of the usage data.

", "location":"querystring", "locationName":"startDate" }, "endDate":{ "shape":"String", "documentation":"

[Required] The ending date (e.g., 2016-12-31) of the usage data.

", "location":"querystring", "locationName":"endDate" }, "position":{ "shape":"String", "documentation":"

The current pagination position in the paged result set.

", "location":"querystring", "locationName":"position" }, "limit":{ "shape":"NullableInteger", "documentation":"

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

", "location":"querystring", "locationName":"limit" } }, "documentation":"

The GET request to get the usage data of a usage plan in a specified time interval.

" }, "GetVpcLinkRequest":{ "type":"structure", "required":["vpcLinkId"], "members":{ "vpcLinkId":{ "shape":"String", "documentation":"

[Required] The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

", "location":"uri", "locationName":"vpclink_id" } }, "documentation":"

Gets a specified VPC link under the caller's account in a region.

" }, "GetVpcLinksRequest":{ "type":"structure", "members":{ "position":{ "shape":"String", "documentation":"

The current pagination position in the paged result set.

", "location":"querystring", "locationName":"position" }, "limit":{ "shape":"NullableInteger", "documentation":"

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

", "location":"querystring", "locationName":"limit" } }, "documentation":"

Gets the VpcLinks collection under the caller's account in a selected region.

" }, "ImportApiKeysRequest":{ "type":"structure", "required":[ "body", "format" ], "members":{ "body":{ "shape":"Blob", "documentation":"

The payload of the POST request to import API keys. For the payload format, see API Key File Format.

" }, "format":{ "shape":"ApiKeysFormat", "documentation":"

A query parameter to specify the input format to imported API keys. Currently, only the csv format is supported.

", "location":"querystring", "locationName":"format" }, "failOnWarnings":{ "shape":"Boolean", "documentation":"

A query parameter to indicate whether to rollback ApiKey importation (true) or not (false) when error is encountered.

", "location":"querystring", "locationName":"failonwarnings" } }, "documentation":"

The POST request to import API keys from an external source, such as a CSV-formatted file.

", "payload":"body" }, "ImportDocumentationPartsRequest":{ "type":"structure", "required":[ "restApiId", "body" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "mode":{ "shape":"PutMode", "documentation":"

A query parameter to indicate whether to overwrite (OVERWRITE) any existing DocumentationParts definition or to merge (MERGE) the new definition into the existing one. The default value is MERGE.

", "location":"querystring", "locationName":"mode" }, "failOnWarnings":{ "shape":"Boolean", "documentation":"

A query parameter to specify whether to rollback the documentation importation (true) or not (false) when a warning is encountered. The default value is false.

", "location":"querystring", "locationName":"failonwarnings" }, "body":{ "shape":"Blob", "documentation":"

[Required] Raw byte array representing the to-be-imported documentation parts. To import from an OpenAPI file, this is a JSON object.

" } }, "documentation":"

Import documentation parts from an external (e.g., OpenAPI) definition file.

", "payload":"body" }, "ImportRestApiRequest":{ "type":"structure", "required":["body"], "members":{ "failOnWarnings":{ "shape":"Boolean", "documentation":"

A query parameter to indicate whether to rollback the API creation (true) or not (false) when a warning is encountered. The default value is false.

", "location":"querystring", "locationName":"failonwarnings" }, "parameters":{ "shape":"MapOfStringToString", "documentation":"

A key-value map of context-specific query string parameters specifying the behavior of different API importing operations. The following shows operation-specific parameters and their supported values.

To exclude DocumentationParts from the import, set parameters as ignore=documentation.

To configure the endpoint type, set parameters as endpointConfigurationTypes=EDGE, endpointConfigurationTypes=REGIONAL, or endpointConfigurationTypes=PRIVATE. The default endpoint type is EDGE.

To handle imported basePath, set parameters as basePath=ignore, basePath=prepend or basePath=split.

For example, the AWS CLI command to exclude documentation from the imported API is:

aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'

The AWS CLI command to set the regional endpoint on the imported API is:

aws apigateway import-rest-api --parameters endpointConfigurationTypes=REGIONAL --body 'file:///path/to/imported-api-body.json'
", "location":"querystring" }, "body":{ "shape":"Blob", "documentation":"

[Required] The POST request body containing external API definitions. Currently, only OpenAPI definition JSON/YAML files are supported. The maximum size of the API definition file is 2MB.

" } }, "documentation":"

A POST request to import an API to API Gateway using an input of an API definition file.

", "payload":"body" }, "Integer":{"type":"integer"}, "Integration":{ "type":"structure", "members":{ "type":{ "shape":"IntegrationType", "documentation":"

Specifies an API method integration type. The valid value is one of the following:

For the HTTP and HTTP proxy integrations, each integration can specify a protocol (http/https), port and path. Standard 80 and 443 ports are supported as well as custom ports above 1024. An HTTP or HTTP proxy integration with a connectionType of VPC_LINK is referred to as a private integration and uses a VpcLink to connect API Gateway to a network load balancer of a VPC.

" }, "httpMethod":{ "shape":"String", "documentation":"

Specifies the integration's HTTP method type.

" }, "uri":{ "shape":"String", "documentation":"

Specifies Uniform Resource Identifier (URI) of the integration endpoint.

" }, "connectionType":{ "shape":"ConnectionType", "documentation":"

The type of the network connection to the integration endpoint. The valid value is INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and a network load balancer in a VPC. The default value is INTERNET.

" }, "connectionId":{ "shape":"String", "documentation":"

The (id) of the VpcLink used for the integration when connectionType=VPC_LINK and undefined, otherwise.

" }, "credentials":{ "shape":"String", "documentation":"

Specifies the credentials required for the integration, if any. For AWS integrations, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify the string arn:aws:iam::\\*:user/\\*. To use resource-based permissions on supported AWS services, specify null.

" }, "requestParameters":{ "shape":"MapOfStringToString", "documentation":"

A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name must be a valid and unique method request parameter name.

" }, "requestTemplates":{ "shape":"MapOfStringToString", "documentation":"

Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value.

" }, "passthroughBehavior":{ "shape":"String", "documentation":"

Specifies how the method request body of an unmapped content type will be passed through the integration request to the back end without transformation. A content type is unmapped if no mapping template is defined in the integration or the content type does not match any of the mapped content types, as specified in requestTemplates. The valid value is one of the following:

" }, "contentHandling":{ "shape":"ContentHandlingStrategy", "documentation":"

Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehaviors is configured to support payload pass-through.

" }, "timeoutInMillis":{ "shape":"Integer", "documentation":"

Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.

" }, "cacheNamespace":{ "shape":"String", "documentation":"

Specifies the integration's cache namespace.

" }, "cacheKeyParameters":{ "shape":"ListOfString", "documentation":"

Specifies the integration's cache key parameters.

" }, "integrationResponses":{ "shape":"MapOfIntegrationResponse", "documentation":"

Specifies the integration's responses.

Example: Get integration responses of a method

Request

GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160607T191449Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160607/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} 
Response

The successful response returns 200 OK status and a payload as follows:

{ \"_links\": { \"curies\": { \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html\", \"name\": \"integrationresponse\", \"templated\": true }, \"self\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\", \"title\": \"200\" }, \"integrationresponse:delete\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\" }, \"integrationresponse:update\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\" } }, \"responseParameters\": { \"method.response.header.Content-Type\": \"'application/xml'\" }, \"responseTemplates\": { \"application/json\": \"$util.urlDecode(\\\"%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\\\")\\n\" }, \"statusCode\": \"200\" }

Creating an API
" } }, "documentation":"

Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration.

In the API Gateway console, the built-in Lambda integration is an AWS integration.
Creating an API
" }, "IntegrationResponse":{ "type":"structure", "members":{ "statusCode":{ "shape":"StatusCode", "documentation":"

Specifies the status code that is used to map the integration response to an existing MethodResponse.

" }, "selectionPattern":{ "shape":"String", "documentation":"

Specifies the regular expression (regex) pattern used to choose an integration response based on the response from the back end. For example, if the success response returns nothing and the error response returns some string, you could use the .+ regex to match error response. However, make sure that the error response does not contain any newline (\\n) character in such cases. If the back end is an AWS Lambda function, the AWS Lambda function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched.

" }, "responseParameters":{ "shape":"MapOfStringToString", "documentation":"

A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} or integration.response.body.{JSON-expression}, where name is a valid and unique response header name and JSON-expression is a valid JSON expression without the $ prefix.

" }, "responseTemplates":{ "shape":"MapOfStringToString", "documentation":"

Specifies the templates used to transform the integration response body. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.

" }, "contentHandling":{ "shape":"ContentHandlingStrategy", "documentation":"

Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.

" } }, "documentation":"

Represents an integration response. The status code must map to an existing MethodResponse, and parameters and templates can be used to transform the back-end response.

Creating an API
" }, "IntegrationType":{ "type":"string", "documentation":"

The integration type. The valid value is HTTP for integrating an API method with an HTTP backend; AWS with any AWS service endpoints; MOCK for testing without actually invoking the backend; HTTP_PROXY for integrating with the HTTP proxy integration; AWS_PROXY for integrating with the Lambda proxy integration.

", "enum":[ "HTTP", "AWS", "MOCK", "HTTP_PROXY", "AWS_PROXY" ] }, "LimitExceededException":{ "type":"structure", "members":{ "retryAfterSeconds":{ "shape":"String", "location":"header", "locationName":"Retry-After" }, "message":{"shape":"String"} }, "documentation":"

The request exceeded the rate limit. Retry after the specified time period.

", "error":{"httpStatusCode":429}, "exception":true }, "ListOfARNs":{ "type":"list", "member":{"shape":"ProviderARN"} }, "ListOfApiKey":{ "type":"list", "member":{"shape":"ApiKey"} }, "ListOfApiStage":{ "type":"list", "member":{"shape":"ApiStage"} }, "ListOfAuthorizer":{ "type":"list", "member":{"shape":"Authorizer"} }, "ListOfBasePathMapping":{ "type":"list", "member":{"shape":"BasePathMapping"} }, "ListOfClientCertificate":{ "type":"list", "member":{"shape":"ClientCertificate"} }, "ListOfDeployment":{ "type":"list", "member":{"shape":"Deployment"} }, "ListOfDocumentationPart":{ "type":"list", "member":{"shape":"DocumentationPart"} }, "ListOfDocumentationVersion":{ "type":"list", "member":{"shape":"DocumentationVersion"} }, "ListOfDomainName":{ "type":"list", "member":{"shape":"DomainName"} }, "ListOfEndpointType":{ "type":"list", "member":{"shape":"EndpointType"} }, "ListOfGatewayResponse":{ "type":"list", "member":{"shape":"GatewayResponse"} }, "ListOfLong":{ "type":"list", "member":{"shape":"Long"} }, "ListOfModel":{ "type":"list", "member":{"shape":"Model"} }, "ListOfPatchOperation":{ "type":"list", "member":{"shape":"PatchOperation"}, "documentation":"A list of operations describing the updates to apply to the specified resource. The patches are applied in the order specified in the list." }, "ListOfRequestValidator":{ "type":"list", "member":{"shape":"RequestValidator"} }, "ListOfResource":{ "type":"list", "member":{"shape":"Resource"} }, "ListOfRestApi":{ "type":"list", "member":{"shape":"RestApi"} }, "ListOfSdkConfigurationProperty":{ "type":"list", "member":{"shape":"SdkConfigurationProperty"} }, "ListOfSdkType":{ "type":"list", "member":{"shape":"SdkType"} }, "ListOfStage":{ "type":"list", "member":{"shape":"Stage"} }, "ListOfStageKeys":{ "type":"list", "member":{"shape":"StageKey"} }, "ListOfString":{ "type":"list", "member":{"shape":"String"} }, "ListOfUsage":{ "type":"list", "member":{"shape":"ListOfLong"} }, "ListOfUsagePlan":{ "type":"list", "member":{"shape":"UsagePlan"} }, "ListOfUsagePlanKey":{ "type":"list", "member":{"shape":"UsagePlanKey"} }, "ListOfVpcLink":{ "type":"list", "member":{"shape":"VpcLink"} }, "LocationStatusType":{ "type":"string", "enum":[ "DOCUMENTED", "UNDOCUMENTED" ] }, "Long":{"type":"long"}, "MapOfApiStageThrottleSettings":{ "type":"map", "key":{"shape":"String"}, "value":{"shape":"ThrottleSettings"} }, "MapOfHeaderValues":{ "type":"map", "key":{"shape":"String"}, "value":{"shape":"String"} }, "MapOfIntegrationResponse":{ "type":"map", "key":{"shape":"String"}, "value":{"shape":"IntegrationResponse"} }, "MapOfKeyUsages":{ "type":"map", "key":{"shape":"String"}, "value":{"shape":"ListOfUsage"} }, "MapOfMethod":{ "type":"map", "key":{"shape":"String"}, "value":{"shape":"Method"} }, "MapOfMethodResponse":{ "type":"map", "key":{"shape":"String"}, "value":{"shape":"MethodResponse"} }, "MapOfMethodSettings":{ "type":"map", "key":{"shape":"String"}, "value":{"shape":"MethodSetting"} }, "MapOfMethodSnapshot":{ "type":"map", "key":{"shape":"String"}, "value":{"shape":"MethodSnapshot"} }, "MapOfStringToBoolean":{ "type":"map", "key":{"shape":"String"}, "value":{"shape":"NullableBoolean"} }, "MapOfStringToList":{ "type":"map", "key":{"shape":"String"}, "value":{"shape":"ListOfString"} }, "MapOfStringToString":{ "type":"map", "key":{"shape":"String"}, "value":{"shape":"String"} }, "Method":{ "type":"structure", "members":{ "httpMethod":{ "shape":"String", "documentation":"

The method's HTTP verb.

" }, "authorizationType":{ "shape":"String", "documentation":"

The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

" }, "authorizerId":{ "shape":"String", "documentation":"

The identifier of an Authorizer to use on this method. The authorizationType must be CUSTOM.

" }, "apiKeyRequired":{ "shape":"NullableBoolean", "documentation":"

A boolean flag specifying whether a valid ApiKey is required to invoke this method.

" }, "requestValidatorId":{ "shape":"String", "documentation":"

The identifier of a RequestValidator for request validation.

" }, "operationName":{ "shape":"String", "documentation":"

A human-friendly operation identifier for the method. For example, you can assign the operationName of ListPets for the GET /pets method in PetStore example.

" }, "requestParameters":{ "shape":"MapOfStringToBoolean", "documentation":"

A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true) or optional (false). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates.

" }, "requestModels":{ "shape":"MapOfStringToString", "documentation":"

A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key).

" }, "methodResponses":{ "shape":"MapOfMethodResponse", "documentation":"

Gets a method response associated with a given HTTP status code.

The collection of method responses are encapsulated in a key-value map, where the key is a response's HTTP status code and the value is a MethodResponse resource that specifies the response returned to the caller from the back end through the integration response.

Example: Get a 200 OK response of a GET method

Request

GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T215008Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ \"_links\": { \"curies\": { \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html\", \"name\": \"methodresponse\", \"templated\": true }, \"self\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200\", \"title\": \"200\" }, \"methodresponse:delete\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200\" }, \"methodresponse:update\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200\" } }, \"responseModels\": { \"application/json\": \"Empty\" }, \"responseParameters\": { \"method.response.header.operator\": false, \"method.response.header.operand_2\": false, \"method.response.header.operand_1\": false }, \"statusCode\": \"200\" }

AWS CLI
" }, "methodIntegration":{ "shape":"Integration", "documentation":"

Gets the method's integration responsible for passing the client-submitted request to the back end and performing necessary transformations to make the request compliant with the back end.

Example:

Request

GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T213210Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ \"_links\": { \"curies\": [ { \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html\", \"name\": \"integration\", \"templated\": true }, { \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html\", \"name\": \"integrationresponse\", \"templated\": true } ], \"self\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration\" }, \"integration:delete\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration\" }, \"integration:responses\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200\", \"name\": \"200\", \"title\": \"200\" }, \"integration:update\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration\" }, \"integrationresponse:put\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/{status_code}\", \"templated\": true } }, \"cacheKeyParameters\": [], \"cacheNamespace\": \"0cjtch\", \"credentials\": \"arn:aws:iam::123456789012:role/apigAwsProxyRole\", \"httpMethod\": \"POST\", \"passthroughBehavior\": \"WHEN_NO_MATCH\", \"requestTemplates\": { \"application/json\": \"{\\n \\\"a\\\": \\\"$input.params('operand1')\\\",\\n \\\"b\\\": \\\"$input.params('operand2')\\\", \\n \\\"op\\\": \\\"$input.params('operator')\\\" \\n}\" }, \"type\": \"AWS\", \"uri\": \"arn:aws:apigateway:us-west-2:lambda:path//2015-03-31/functions/arn:aws:lambda:us-west-2:123456789012:function:Calc/invocations\", \"_embedded\": { \"integration:responses\": { \"_links\": { \"self\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200\", \"name\": \"200\", \"title\": \"200\" }, \"integrationresponse:delete\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200\" }, \"integrationresponse:update\": { \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200\" } }, \"responseParameters\": { \"method.response.header.operator\": \"integration.response.body.op\", \"method.response.header.operand_2\": \"integration.response.body.b\", \"method.response.header.operand_1\": \"integration.response.body.a\" }, \"responseTemplates\": { \"application/json\": \"#set($res = $input.path('$'))\\n{\\n \\\"result\\\": \\\"$res.a, $res.b, $res.op => $res.c\\\",\\n \\\"a\\\" : \\\"$res.a\\\",\\n \\\"b\\\" : \\\"$res.b\\\",\\n \\\"op\\\" : \\\"$res.op\\\",\\n \\\"c\\\" : \\\"$res.c\\\"\\n}\" }, \"selectionPattern\": \"\", \"statusCode\": \"200\" } } }

AWS CLI
" }, "authorizationScopes":{ "shape":"ListOfString", "documentation":"

A list of authorization scopes configured on the method. The scopes are used with a COGNITO_USER_POOLS authorizer to authorize the method invocation. The authorization works by matching the method scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any method scopes matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the method scope is configured, the client must provide an access token instead of an identity token for authorization purposes.

" } }, "documentation":"

Represents a client-facing interface by which the client calls the API to access back-end resources. A Method resource is integrated with an Integration resource. Both consist of a request and one or more responses. The method request takes the client input that is passed to the back end through the integration request. A method response returns the output from the back end to the client through an integration response. A method request is embodied in a Method resource, whereas an integration request is embodied in an Integration resource. On the other hand, a method response is represented by a MethodResponse resource, whereas an integration response is represented by an IntegrationResponse resource.

Example: Retrive the GET method on a specified resource

Request

The following example request retrieves the information about the GET method on an API resource (3kzxbg5sa2) of an API (fugvjdxtri).

GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160603T210259Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ \"_links\": { \"curies\": [ { \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html\", \"name\": \"integration\", \"templated\": true }, { \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html\", \"name\": \"integrationresponse\", \"templated\": true }, { \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html\", \"name\": \"method\", \"templated\": true }, { \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html\", \"name\": \"methodresponse\", \"templated\": true } ], \"self\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\", \"name\": \"GET\", \"title\": \"GET\" }, \"integration:put\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\" }, \"method:delete\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\" }, \"method:integration\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\" }, \"method:responses\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\", \"name\": \"200\", \"title\": \"200\" }, \"method:update\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\" }, \"methodresponse:put\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}\", \"templated\": true } }, \"apiKeyRequired\": true, \"authorizationType\": \"NONE\", \"httpMethod\": \"GET\", \"_embedded\": { \"method:integration\": { \"_links\": { \"self\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\" }, \"integration:delete\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\" }, \"integration:responses\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\", \"name\": \"200\", \"title\": \"200\" }, \"integration:update\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\" }, \"integrationresponse:put\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}\", \"templated\": true } }, \"cacheKeyParameters\": [], \"cacheNamespace\": \"3kzxbg5sa2\", \"credentials\": \"arn:aws:iam::123456789012:role/apigAwsProxyRole\", \"httpMethod\": \"POST\", \"passthroughBehavior\": \"WHEN_NO_MATCH\", \"requestParameters\": { \"integration.request.header.Content-Type\": \"'application/x-amz-json-1.1'\" }, \"requestTemplates\": { \"application/json\": \"{\\n}\" }, \"type\": \"AWS\", \"uri\": \"arn:aws:apigateway:us-east-1:kinesis:action/ListStreams\", \"_embedded\": { \"integration:responses\": { \"_links\": { \"self\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\", \"name\": \"200\", \"title\": \"200\" }, \"integrationresponse:delete\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\" }, \"integrationresponse:update\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\" } }, \"responseParameters\": { \"method.response.header.Content-Type\": \"'application/xml'\" }, \"responseTemplates\": { \"application/json\": \"$util.urlDecode(\\\"%3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E\\\")\" }, \"statusCode\": \"200\" } } }, \"method:responses\": { \"_links\": { \"self\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\", \"name\": \"200\", \"title\": \"200\" }, \"methodresponse:delete\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\" }, \"methodresponse:update\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\" } }, \"responseModels\": { \"application/json\": \"Empty\" }, \"responseParameters\": { \"method.response.header.Content-Type\": false }, \"statusCode\": \"200\" } } }

In the example above, the response template for the 200 OK response maps the JSON output from the ListStreams action in the back end to an XML output. The mapping template is URL-encoded as %3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E and the output is decoded using the $util.urlDecode() helper function.

MethodResponse, Integration, IntegrationResponse, Resource, Set up an API's method
" }, "MethodResponse":{ "type":"structure", "members":{ "statusCode":{ "shape":"StatusCode", "documentation":"

The method response's status code.

" }, "responseParameters":{ "shape":"MapOfStringToBoolean", "documentation":"

A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern method.response.header.{name}, where name is a valid and unique header name. API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API's IntegrationResponse. The integration response data that can be mapped include an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

" }, "responseModels":{ "shape":"MapOfStringToString", "documentation":"

Specifies the Model resources used for the response's content-type. Response models are represented as a key/value map, with a content-type as the key and a Model name as the value.

" } }, "documentation":"

Represents a method response of a given HTTP status code returned to the client. The method response is passed from the back end through the associated integration response that can be transformed using a mapping template.

Example: A MethodResponse instance of an API

Request

The example request retrieves a MethodResponse of the 200 status code.

GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160603T222952Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns 200 OK status and a payload as follows:

{ \"_links\": { \"curies\": { \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html\", \"name\": \"methodresponse\", \"templated\": true }, \"self\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\", \"title\": \"200\" }, \"methodresponse:delete\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\" }, \"methodresponse:update\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\" } }, \"responseModels\": { \"application/json\": \"Empty\" }, \"responseParameters\": { \"method.response.header.Content-Type\": false }, \"statusCode\": \"200\" }

Method, IntegrationResponse, Integration Creating an API
" }, "MethodSetting":{ "type":"structure", "members":{ "metricsEnabled":{ "shape":"Boolean", "documentation":"

Specifies whether Amazon CloudWatch metrics are enabled for this method. The PATCH path for this setting is /{method_setting_key}/metrics/enabled, and the value is a Boolean.

" }, "loggingLevel":{ "shape":"String", "documentation":"

Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is /{method_setting_key}/logging/loglevel, and the available levels are OFF, ERROR, and INFO.

" }, "dataTraceEnabled":{ "shape":"Boolean", "documentation":"

Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is /{method_setting_key}/logging/dataTrace, and the value is a Boolean.

" }, "throttlingBurstLimit":{ "shape":"Integer", "documentation":"

Specifies the throttling burst limit. The PATCH path for this setting is /{method_setting_key}/throttling/burstLimit, and the value is an integer.

" }, "throttlingRateLimit":{ "shape":"Double", "documentation":"

Specifies the throttling rate limit. The PATCH path for this setting is /{method_setting_key}/throttling/rateLimit, and the value is a double.

" }, "cachingEnabled":{ "shape":"Boolean", "documentation":"

Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached. The PATCH path for this setting is /{method_setting_key}/caching/enabled, and the value is a Boolean.

" }, "cacheTtlInSeconds":{ "shape":"Integer", "documentation":"

Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached. The PATCH path for this setting is /{method_setting_key}/caching/ttlInSeconds, and the value is an integer.

" }, "cacheDataEncrypted":{ "shape":"Boolean", "documentation":"

Specifies whether the cached responses are encrypted. The PATCH path for this setting is /{method_setting_key}/caching/dataEncrypted, and the value is a Boolean.

" }, "requireAuthorizationForCacheControl":{ "shape":"Boolean", "documentation":"

Specifies whether authorization is required for a cache invalidation request. The PATCH path for this setting is /{method_setting_key}/caching/requireAuthorizationForCacheControl, and the value is a Boolean.

" }, "unauthorizedCacheControlHeaderStrategy":{ "shape":"UnauthorizedCacheControlHeaderStrategy", "documentation":"

Specifies how to handle unauthorized requests for cache invalidation. The PATCH path for this setting is /{method_setting_key}/caching/unauthorizedCacheControlHeaderStrategy, and the available values are FAIL_WITH_403, SUCCEED_WITH_RESPONSE_HEADER, SUCCEED_WITHOUT_RESPONSE_HEADER.

" } }, "documentation":"

Specifies the method setting properties.

" }, "MethodSnapshot":{ "type":"structure", "members":{ "authorizationType":{ "shape":"String", "documentation":"

The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

" }, "apiKeyRequired":{ "shape":"Boolean", "documentation":"

Specifies whether the method requires a valid ApiKey.

" } }, "documentation":"

Represents a summary of a Method resource, given a particular date and time.

" }, "Model":{ "type":"structure", "members":{ "id":{ "shape":"String", "documentation":"

The identifier for the model resource.

" }, "name":{ "shape":"String", "documentation":"

The name of the model. Must be an alphanumeric string.

" }, "description":{ "shape":"String", "documentation":"

The description of the model.

" }, "schema":{ "shape":"String", "documentation":"

The schema for the model. For application/json models, this should be JSON schema draft 4 model. Do not include \"\\*/\" characters in the description of any properties because such \"\\*/\" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail.

" }, "contentType":{ "shape":"String", "documentation":"

The content-type for the model.

" } }, "documentation":"

Represents the data structure of a method's request or response payload.

A request model defines the data structure of the client-supplied request payload. A response model defines the data structure of the response payload returned by the back end. Although not required, models are useful for mapping payloads between the front end and back end.

A model is used for generating an API's SDK, validating the input request body, and creating a skeletal mapping template.

Method, MethodResponse, Models and Mappings
" }, "Models":{ "type":"structure", "members":{ "position":{"shape":"String"}, "items":{ "shape":"ListOfModel", "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, "documentation":"

Represents a collection of Model resources.

Method, MethodResponse, Models and Mappings
" }, "NotFoundException":{ "type":"structure", "members":{ "message":{"shape":"String"} }, "documentation":"

The requested resource is not found. Make sure that the request URI is correct.

", "error":{"httpStatusCode":404}, "exception":true }, "NullableBoolean":{"type":"boolean"}, "NullableInteger":{"type":"integer"}, "Op":{ "type":"string", "enum":[ "add", "remove", "replace", "move", "copy", "test" ] }, "PatchOperation":{ "type":"structure", "members":{ "op":{ "shape":"Op", "documentation":"

An update operation to be performed with this PATCH request. The valid value can be add, remove, replace or copy. Not all valid operations are supported for a given resource. Support of the operations depends on specific operational contexts. Attempts to apply an unsupported operation on a resource will return an error message.

" }, "path":{ "shape":"String", "documentation":"

The op operation's target, as identified by a JSON Pointer value that references a location within the targeted resource. For example, if the target resource has an updateable property of {\"name\":\"value\"}, the path for this property is /name. If the name property value is a JSON object (e.g., {\"name\": {\"child/name\": \"child-value\"}}), the path for the child/name property will be /name/child~1name. Any slash (\"/\") character appearing in path names must be escaped with \"~1\", as shown in the example above. Each op operation can have only one path associated with it.

" }, "value":{ "shape":"String", "documentation":"

The new target value of the update operation. It is applicable for the add or replace operation. When using AWS CLI to update a property of a JSON value, enclose the JSON object with a pair of single quotes in a Linux shell, e.g., '{\"a\": ...}'. In a Windows shell, see Using JSON for Parameters.

" }, "from":{ "shape":"String", "documentation":"

The copy update operation's source as identified by a JSON-Pointer value referencing the location within the targeted resource to copy the value from. For example, to promote a canary deployment, you copy the canary deployment ID to the affiliated deployment ID by calling a PATCH request on a Stage resource with \"op\":\"copy\", \"from\":\"/canarySettings/deploymentId\" and \"path\":\"/deploymentId\".

" } }, "documentation":"A single patch operation to apply to the specified resource. Please refer to http://tools.ietf.org/html/rfc6902#section-4 for an explanation of how each operation is used." }, "PathToMapOfMethodSnapshot":{ "type":"map", "key":{"shape":"String"}, "value":{"shape":"MapOfMethodSnapshot"} }, "ProviderARN":{"type":"string"}, "PutGatewayResponseRequest":{ "type":"structure", "required":[ "restApiId", "responseType" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "responseType":{ "shape":"GatewayResponseType", "documentation":"

[Required]

The response type of the associated GatewayResponse. Valid values are

", "location":"uri", "locationName":"response_type" }, "statusCode":{ "shape":"StatusCode", "documentation":"The HTTP status code of the GatewayResponse." }, "responseParameters":{ "shape":"MapOfStringToString", "documentation":"

Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

" }, "responseTemplates":{ "shape":"MapOfStringToString", "documentation":"

Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

" } }, "documentation":"

Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.

" }, "PutIntegrationRequest":{ "type":"structure", "required":[ "restApiId", "resourceId", "httpMethod", "type" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "resourceId":{ "shape":"String", "documentation":"

[Required] Specifies a put integration request's resource ID.

", "location":"uri", "locationName":"resource_id" }, "httpMethod":{ "shape":"String", "documentation":"

[Required] Specifies a put integration request's HTTP method.

", "location":"uri", "locationName":"http_method" }, "type":{ "shape":"IntegrationType", "documentation":"

[Required] Specifies a put integration input's type.

" }, "integrationHttpMethod":{ "shape":"String", "documentation":"

Specifies a put integration HTTP method. When the integration type is HTTP or AWS, this field is required.

", "locationName":"httpMethod" }, "uri":{ "shape":"String", "documentation":"

Specifies Uniform Resource Identifier (URI) of the integration endpoint.

" }, "connectionType":{ "shape":"ConnectionType", "documentation":"

The type of the network connection to the integration endpoint. The valid value is INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and a network load balancer in a VPC. The default value is INTERNET.

" }, "connectionId":{ "shape":"String", "documentation":"

The (id) of the VpcLink used for the integration when connectionType=VPC_LINK and undefined, otherwise.

" }, "credentials":{ "shape":"String", "documentation":"

Specifies whether credentials are required for a put integration.

" }, "requestParameters":{ "shape":"MapOfStringToString", "documentation":"

A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name must be a valid and unique method request parameter name.

" }, "requestTemplates":{ "shape":"MapOfStringToString", "documentation":"

Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value.

" }, "passthroughBehavior":{ "shape":"String", "documentation":"

Specifies the pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the requestTemplates property on the Integration resource. There are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER.

" }, "cacheNamespace":{ "shape":"String", "documentation":"

Specifies a put integration input's cache namespace.

" }, "cacheKeyParameters":{ "shape":"ListOfString", "documentation":"

Specifies a put integration input's cache key parameters.

" }, "contentHandling":{ "shape":"ContentHandlingStrategy", "documentation":"

Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehaviors is configured to support payload pass-through.

" }, "timeoutInMillis":{ "shape":"NullableInteger", "documentation":"

Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.

" } }, "documentation":"

Sets up a method's integration.

" }, "PutIntegrationResponseRequest":{ "type":"structure", "required":[ "restApiId", "resourceId", "httpMethod", "statusCode" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "resourceId":{ "shape":"String", "documentation":"

[Required] Specifies a put integration response request's resource identifier.

", "location":"uri", "locationName":"resource_id" }, "httpMethod":{ "shape":"String", "documentation":"

[Required] Specifies a put integration response request's HTTP method.

", "location":"uri", "locationName":"http_method" }, "statusCode":{ "shape":"StatusCode", "documentation":"

[Required] Specifies the status code that is used to map the integration response to an existing MethodResponse.

", "location":"uri", "locationName":"status_code" }, "selectionPattern":{ "shape":"String", "documentation":"

Specifies the selection pattern of a put integration response.

" }, "responseParameters":{ "shape":"MapOfStringToString", "documentation":"

A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} or integration.response.body.{JSON-expression}, where name must be a valid and unique response header name and JSON-expression a valid JSON expression without the $ prefix.

" }, "responseTemplates":{ "shape":"MapOfStringToString", "documentation":"

Specifies a put integration response's templates.

" }, "contentHandling":{ "shape":"ContentHandlingStrategy", "documentation":"

Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.

" } }, "documentation":"

Represents a put integration response request.

" }, "PutMethodRequest":{ "type":"structure", "required":[ "restApiId", "resourceId", "httpMethod", "authorizationType" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "resourceId":{ "shape":"String", "documentation":"

[Required] The Resource identifier for the new Method resource.

", "location":"uri", "locationName":"resource_id" }, "httpMethod":{ "shape":"String", "documentation":"

[Required] Specifies the method request's HTTP method type.

", "location":"uri", "locationName":"http_method" }, "authorizationType":{ "shape":"String", "documentation":"

[Required] The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

" }, "authorizerId":{ "shape":"String", "documentation":"

Specifies the identifier of an Authorizer to use on this Method, if the type is CUSTOM or COGNITO_USER_POOLS. The authorizer identifier is generated by API Gateway when you created the authorizer.

" }, "apiKeyRequired":{ "shape":"Boolean", "documentation":"

Specifies whether the method required a valid ApiKey.

" }, "operationName":{ "shape":"String", "documentation":"

A human-friendly operation identifier for the method. For example, you can assign the operationName of ListPets for the GET /pets method in PetStore example.

" }, "requestParameters":{ "shape":"MapOfStringToBoolean", "documentation":"

A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key defines a method request parameter name matching the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true) or optional (false). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or body-mapping templates.

" }, "requestModels":{ "shape":"MapOfStringToString", "documentation":"

Specifies the Model resources used for the request's content type. Request models are represented as a key/value map, with a content type as the key and a Model name as the value.

" }, "requestValidatorId":{ "shape":"String", "documentation":"

The identifier of a RequestValidator for validating the method request.

" }, "authorizationScopes":{ "shape":"ListOfString", "documentation":"

A list of authorization scopes configured on the method. The scopes are used with a COGNITO_USER_POOLS authorizer to authorize the method invocation. The authorization works by matching the method scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any method scopes matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the method scope is configured, the client must provide an access token instead of an identity token for authorization purposes.

" } }, "documentation":"

Request to add a method to an existing Resource resource.

" }, "PutMethodResponseRequest":{ "type":"structure", "required":[ "restApiId", "resourceId", "httpMethod", "statusCode" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "resourceId":{ "shape":"String", "documentation":"

[Required] The Resource identifier for the Method resource.

", "location":"uri", "locationName":"resource_id" }, "httpMethod":{ "shape":"String", "documentation":"

[Required] The HTTP verb of the Method resource.

", "location":"uri", "locationName":"http_method" }, "statusCode":{ "shape":"StatusCode", "documentation":"

[Required] The method response's status code.

", "location":"uri", "locationName":"status_code" }, "responseParameters":{ "shape":"MapOfStringToBoolean", "documentation":"

A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header name and the associated value is a Boolean flag indicating whether the method response parameter is required or not. The method response header names must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The response parameter names defined here are available in the integration response to be mapped from an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

" }, "responseModels":{ "shape":"MapOfStringToString", "documentation":"

Specifies the Model resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a Model name as the value.

" } }, "documentation":"

Request to add a MethodResponse to an existing Method resource.

" }, "PutMode":{ "type":"string", "enum":[ "merge", "overwrite" ] }, "PutRestApiRequest":{ "type":"structure", "required":[ "restApiId", "body" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "mode":{ "shape":"PutMode", "documentation":"

The mode query parameter to specify the update mode. Valid values are \"merge\" and \"overwrite\". By default, the update mode is \"merge\".

", "location":"querystring", "locationName":"mode" }, "failOnWarnings":{ "shape":"Boolean", "documentation":"

A query parameter to indicate whether to rollback the API update (true) or not (false) when a warning is encountered. The default value is false.

", "location":"querystring", "locationName":"failonwarnings" }, "parameters":{ "shape":"MapOfStringToString", "documentation":"

Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ignore=documentation as a parameters value, as in the AWS CLI command of aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'.

", "location":"querystring" }, "body":{ "shape":"Blob", "documentation":"

[Required] The PUT request body containing external API definitions. Currently, only OpenAPI definition JSON/YAML files are supported. The maximum size of the API definition file is 2MB.

" } }, "documentation":"

A PUT request to update an existing API, with external API definitions specified as the request body.

", "payload":"body" }, "QuotaPeriodType":{ "type":"string", "enum":[ "DAY", "WEEK", "MONTH" ] }, "QuotaSettings":{ "type":"structure", "members":{ "limit":{ "shape":"Integer", "documentation":"

The maximum number of requests that can be made in a given time period.

" }, "offset":{ "shape":"Integer", "documentation":"

The number of requests subtracted from the given limit in the initial time period.

" }, "period":{ "shape":"QuotaPeriodType", "documentation":"

The time period in which the limit applies. Valid values are \"DAY\", \"WEEK\" or \"MONTH\".

" } }, "documentation":"

Quotas configured for a usage plan.

" }, "RequestValidator":{ "type":"structure", "members":{ "id":{ "shape":"String", "documentation":"

The identifier of this RequestValidator.

" }, "name":{ "shape":"String", "documentation":"

The name of this RequestValidator

" }, "validateRequestBody":{ "shape":"Boolean", "documentation":"

A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

" }, "validateRequestParameters":{ "shape":"Boolean", "documentation":"

A Boolean flag to indicate whether to validate request parameters (true) or not (false).

" } }, "documentation":"

A set of validation rules for incoming Method requests.

In OpenAPI, a RequestValidator of an API is defined by the x-amazon-apigateway-request-validators.requestValidator object. It the referenced using the x-amazon-apigateway-request-validator property.

Enable Basic Request Validation in API Gateway
" }, "RequestValidators":{ "type":"structure", "members":{ "position":{"shape":"String"}, "items":{ "shape":"ListOfRequestValidator", "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, "documentation":"

A collection of RequestValidator resources of a given RestApi.

In OpenAPI, the RequestValidators of an API is defined by the x-amazon-apigateway-request-validators extension.

Enable Basic Request Validation in API Gateway
" }, "Resource":{ "type":"structure", "members":{ "id":{ "shape":"String", "documentation":"

The resource's identifier.

" }, "parentId":{ "shape":"String", "documentation":"

The parent resource's identifier.

" }, "pathPart":{ "shape":"String", "documentation":"

The last path segment for this resource.

" }, "path":{ "shape":"String", "documentation":"

The full path for this resource.

" }, "resourceMethods":{ "shape":"MapOfMethod", "documentation":"

Gets an API resource's method of a given HTTP verb.

The resource methods are a map of methods indexed by methods' HTTP verbs enabled on the resource. This method map is included in the 200 OK response of the GET /restapis/{restapi_id}/resources/{resource_id} or GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods request.

Example: Get the GET method of an API resource

Request
GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20170223T031827Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20170223/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response
{ \"_links\": { \"curies\": [ { \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html\", \"name\": \"integration\", \"templated\": true }, { \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html\", \"name\": \"integrationresponse\", \"templated\": true }, { \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html\", \"name\": \"method\", \"templated\": true }, { \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html\", \"name\": \"methodresponse\", \"templated\": true } ], \"self\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\", \"name\": \"GET\", \"title\": \"GET\" }, \"integration:put\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\" }, \"method:delete\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\" }, \"method:integration\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\" }, \"method:responses\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\", \"name\": \"200\", \"title\": \"200\" }, \"method:update\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\" }, \"methodresponse:put\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}\", \"templated\": true } }, \"apiKeyRequired\": false, \"authorizationType\": \"NONE\", \"httpMethod\": \"GET\", \"_embedded\": { \"method:integration\": { \"_links\": { \"self\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\" }, \"integration:delete\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\" }, \"integration:responses\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\", \"name\": \"200\", \"title\": \"200\" }, \"integration:update\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\" }, \"integrationresponse:put\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}\", \"templated\": true } }, \"cacheKeyParameters\": [], \"cacheNamespace\": \"3kzxbg5sa2\", \"credentials\": \"arn:aws:iam::123456789012:role/apigAwsProxyRole\", \"httpMethod\": \"POST\", \"passthroughBehavior\": \"WHEN_NO_MATCH\", \"requestParameters\": { \"integration.request.header.Content-Type\": \"'application/x-amz-json-1.1'\" }, \"requestTemplates\": { \"application/json\": \"{\\n}\" }, \"type\": \"AWS\", \"uri\": \"arn:aws:apigateway:us-east-1:kinesis:action/ListStreams\", \"_embedded\": { \"integration:responses\": { \"_links\": { \"self\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\", \"name\": \"200\", \"title\": \"200\" }, \"integrationresponse:delete\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\" }, \"integrationresponse:update\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\" } }, \"responseParameters\": { \"method.response.header.Content-Type\": \"'application/xml'\" }, \"responseTemplates\": { \"application/json\": \"$util.urlDecode(\\\"%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\\\")\\n\" }, \"statusCode\": \"200\" } } }, \"method:responses\": { \"_links\": { \"self\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\", \"name\": \"200\", \"title\": \"200\" }, \"methodresponse:delete\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\" }, \"methodresponse:update\": { \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\" } }, \"responseModels\": { \"application/json\": \"Empty\" }, \"responseParameters\": { \"method.response.header.Content-Type\": false }, \"statusCode\": \"200\" } } }

If the OPTIONS is enabled on the resource, you can follow the example here to get that method. Just replace the GET of the last path segment in the request URL with OPTIONS.

" } }, "documentation":"

Represents an API resource.

Create an API
" }, "Resources":{ "type":"structure", "members":{ "position":{"shape":"String"}, "items":{ "shape":"ListOfResource", "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, "documentation":"

Represents a collection of Resource resources.

Create an API
" }, "RestApi":{ "type":"structure", "members":{ "id":{ "shape":"String", "documentation":"

The API's identifier. This identifier is unique across all of your APIs in API Gateway.

" }, "name":{ "shape":"String", "documentation":"

The API's name.

" }, "description":{ "shape":"String", "documentation":"

The API's description.

" }, "createdDate":{ "shape":"Timestamp", "documentation":"

The timestamp when the API was created.

" }, "version":{ "shape":"String", "documentation":"

A version identifier for the API.

" }, "warnings":{ "shape":"ListOfString", "documentation":"

The warning messages reported when failonwarnings is turned on during API import.

" }, "binaryMediaTypes":{ "shape":"ListOfString", "documentation":"

The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.

" }, "minimumCompressionSize":{ "shape":"NullableInteger", "documentation":"

A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.

" }, "apiKeySource":{ "shape":"ApiKeySourceType", "documentation":"

The source of the API key for metering requests according to a usage plan. Valid values are:

" }, "endpointConfiguration":{ "shape":"EndpointConfiguration", "documentation":"

The endpoint configuration of this RestApi showing the endpoint types of the API.

" }, "policy":{ "shape":"String", "documentation":"A stringified JSON policy document that applies to this RestApi regardless of the caller and Method configuration." } }, "documentation":"

Represents a REST API.

Create an API
" }, "RestApis":{ "type":"structure", "members":{ "position":{"shape":"String"}, "items":{ "shape":"ListOfRestApi", "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, "documentation":"

Contains references to your APIs and links that guide you in how to interact with your collection. A collection offers a paginated view of your APIs.

Create an API
" }, "SdkConfigurationProperty":{ "type":"structure", "members":{ "name":{ "shape":"String", "documentation":"

The name of a an SdkType configuration property.

" }, "friendlyName":{ "shape":"String", "documentation":"

The user-friendly name of an SdkType configuration property.

" }, "description":{ "shape":"String", "documentation":"

The description of an SdkType configuration property.

" }, "required":{ "shape":"Boolean", "documentation":"

A boolean flag of an SdkType configuration property to indicate if the associated SDK configuration property is required (true) or not (false).

" }, "defaultValue":{ "shape":"String", "documentation":"

The default value of an SdkType configuration property.

" } }, "documentation":"

A configuration property of an SDK type.

" }, "SdkResponse":{ "type":"structure", "members":{ "contentType":{ "shape":"String", "documentation":"

The content-type header value in the HTTP response.

", "location":"header", "locationName":"Content-Type" }, "contentDisposition":{ "shape":"String", "documentation":"

The content-disposition header value in the HTTP response.

", "location":"header", "locationName":"Content-Disposition" }, "body":{ "shape":"Blob", "documentation":"

The binary blob response to GetSdk, which contains the generated SDK.

" } }, "documentation":"

The binary blob response to GetSdk, which contains the generated SDK.

", "payload":"body" }, "SdkType":{ "type":"structure", "members":{ "id":{ "shape":"String", "documentation":"

The identifier of an SdkType instance.

" }, "friendlyName":{ "shape":"String", "documentation":"

The user-friendly name of an SdkType instance.

" }, "description":{ "shape":"String", "documentation":"

The description of an SdkType.

" }, "configurationProperties":{ "shape":"ListOfSdkConfigurationProperty", "documentation":"

A list of configuration properties of an SdkType.

" } }, "documentation":"

A type of SDK that API Gateway can generate.

" }, "SdkTypes":{ "type":"structure", "members":{ "position":{"shape":"String"}, "items":{ "shape":"ListOfSdkType", "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, "documentation":"

The collection of SdkType instances.

" }, "ServiceUnavailableException":{ "type":"structure", "members":{ "retryAfterSeconds":{ "shape":"String", "location":"header", "locationName":"Retry-After" }, "message":{"shape":"String"} }, "documentation":"

The requested service is not available. For details see the accompanying error message. Retry after the specified time period.

", "error":{"httpStatusCode":503}, "exception":true, "fault":true }, "Stage":{ "type":"structure", "members":{ "deploymentId":{ "shape":"String", "documentation":"

The identifier of the Deployment that the stage points to.

" }, "clientCertificateId":{ "shape":"String", "documentation":"

The identifier of a client certificate for an API stage.

" }, "stageName":{ "shape":"String", "documentation":"

The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API Gateway.

" }, "description":{ "shape":"String", "documentation":"

The stage's description.

" }, "cacheClusterEnabled":{ "shape":"Boolean", "documentation":"

Specifies whether a cache cluster is enabled for the stage.

" }, "cacheClusterSize":{ "shape":"CacheClusterSize", "documentation":"

The size of the cache cluster for the stage, if enabled.

" }, "cacheClusterStatus":{ "shape":"CacheClusterStatus", "documentation":"

The status of the cache cluster for the stage, if enabled.

" }, "methodSettings":{ "shape":"MapOfMethodSettings", "documentation":"

A map that defines the method settings for a Stage resource. Keys (designated as /{method_setting_key below) are method paths defined as {resource_path}/{http_method} for an individual method override, or /\\*/\\* for overriding all methods in the stage.

" }, "variables":{ "shape":"MapOfStringToString", "documentation":"

A map that defines the stage variables for a Stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.

" }, "documentationVersion":{ "shape":"String", "documentation":"

The version of the associated API documentation.

" }, "accessLogSettings":{ "shape":"AccessLogSettings", "documentation":"

Settings for logging access in this stage.

" }, "canarySettings":{ "shape":"CanarySettings", "documentation":"

Settings for the canary deployment in this stage.

" }, "tracingEnabled":{ "shape":"Boolean", "documentation":"

Specifies whether active tracing with X-ray is enabled for the Stage.

" }, "tags":{ "shape":"MapOfStringToString", "documentation":"

The collection of tags. Each tag element is associated with a given resource.

" }, "createdDate":{ "shape":"Timestamp", "documentation":"

The timestamp when the stage was created.

" }, "lastUpdatedDate":{ "shape":"Timestamp", "documentation":"

The timestamp when the stage last updated.

" } }, "documentation":"

Represents a unique identifier for a version of a deployed RestApi that is callable by users.

Deploy an API
" }, "StageKey":{ "type":"structure", "members":{ "restApiId":{ "shape":"String", "documentation":"

The string identifier of the associated RestApi.

" }, "stageName":{ "shape":"String", "documentation":"

The stage name associated with the stage key.

" } }, "documentation":"

A reference to a unique stage identified in the format {restApiId}/{stage}.

" }, "Stages":{ "type":"structure", "members":{ "item":{ "shape":"ListOfStage", "documentation":"

The current page of elements from this collection.

" } }, "documentation":"

A list of Stage resources that are associated with the ApiKey resource.

Deploying API in Stages
" }, "StatusCode":{ "type":"string", "documentation":"

The status code.

", "pattern":"[1-5]\\d\\d" }, "String":{"type":"string"}, "TagResourceRequest":{ "type":"structure", "required":[ "resourceArn", "tags" ], "members":{ "resourceArn":{ "shape":"String", "documentation":"

[Required] The ARN of a resource that can be tagged. The resource ARN must be URL-encoded. At present, Stage is the only taggable resource.

", "location":"uri", "locationName":"resource_arn" }, "tags":{ "shape":"MapOfStringToString", "documentation":"

[Required] The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

" } }, "documentation":"

Adds or updates a tag on a given resource.

" }, "Tags":{ "type":"structure", "members":{ "tags":{ "shape":"MapOfStringToString", "documentation":"

The collection of tags. Each tag element is associated with a given resource.

" } }, "documentation":"

The collection of tags. Each tag element is associated with a given resource.

" }, "Template":{ "type":"structure", "members":{ "value":{ "shape":"String", "documentation":"

The Apache Velocity Template Language (VTL) template content used for the template resource.

" } }, "documentation":"

Represents a mapping template used to transform a payload.

Mapping Templates
" }, "TestInvokeAuthorizerRequest":{ "type":"structure", "required":[ "restApiId", "authorizerId" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "authorizerId":{ "shape":"String", "documentation":"

[Required] Specifies a test invoke authorizer request's Authorizer ID.

", "location":"uri", "locationName":"authorizer_id" }, "headers":{ "shape":"MapOfHeaderValues", "documentation":"

[Required] A key-value map of headers to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, should be specified.

" }, "pathWithQueryString":{ "shape":"String", "documentation":"

[Optional] The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.

" }, "body":{ "shape":"String", "documentation":"

[Optional] The simulated request body of an incoming invocation request.

" }, "stageVariables":{ "shape":"MapOfStringToString", "documentation":"

A key-value map of stage variables to simulate an invocation on a deployed Stage.

" }, "additionalContext":{ "shape":"MapOfStringToString", "documentation":"

[Optional] A key-value map of additional context variables.

" } }, "documentation":"

Make a request to simulate the execution of an Authorizer.

" }, "TestInvokeAuthorizerResponse":{ "type":"structure", "members":{ "clientStatus":{ "shape":"Integer", "documentation":"

The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded.

" }, "log":{ "shape":"String", "documentation":"

The API Gateway execution log for the test authorizer request.

" }, "latency":{ "shape":"Long", "documentation":"

The execution latency of the test authorizer request.

" }, "principalId":{ "shape":"String", "documentation":"

The principal identity returned by the Authorizer

" }, "policy":{ "shape":"String", "documentation":"

The JSON policy document returned by the Authorizer

" }, "authorization":{"shape":"MapOfStringToList"}, "claims":{ "shape":"MapOfStringToString", "documentation":"

The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.

" } }, "documentation":"

Represents the response of the test invoke request for a custom Authorizer

" }, "TestInvokeMethodRequest":{ "type":"structure", "required":[ "restApiId", "resourceId", "httpMethod" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "resourceId":{ "shape":"String", "documentation":"

[Required] Specifies a test invoke method request's resource ID.

", "location":"uri", "locationName":"resource_id" }, "httpMethod":{ "shape":"String", "documentation":"

[Required] Specifies a test invoke method request's HTTP method.

", "location":"uri", "locationName":"http_method" }, "pathWithQueryString":{ "shape":"String", "documentation":"

The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.

" }, "body":{ "shape":"String", "documentation":"

The simulated request body of an incoming invocation request.

" }, "headers":{ "shape":"MapOfHeaderValues", "documentation":"

A key-value map of headers to simulate an incoming invocation request.

" }, "clientCertificateId":{ "shape":"String", "documentation":"

A ClientCertificate identifier to use in the test invocation. API Gateway will use the certificate when making the HTTPS request to the defined back-end endpoint.

" }, "stageVariables":{ "shape":"MapOfStringToString", "documentation":"

A key-value map of stage variables to simulate an invocation on a deployed Stage.

" } }, "documentation":"

Make a request to simulate the execution of a Method.

" }, "TestInvokeMethodResponse":{ "type":"structure", "members":{ "status":{ "shape":"Integer", "documentation":"

The HTTP status code.

" }, "body":{ "shape":"String", "documentation":"

The body of the HTTP response.

" }, "headers":{ "shape":"MapOfHeaderValues", "documentation":"

The headers of the HTTP response.

" }, "log":{ "shape":"String", "documentation":"

The API Gateway execution log for the test invoke request.

" }, "latency":{ "shape":"Long", "documentation":"

The execution latency of the test invoke request.

" } }, "documentation":"

Represents the response of the test invoke request in the HTTP method.

Test API using the API Gateway console
" }, "ThrottleSettings":{ "type":"structure", "members":{ "burstLimit":{ "shape":"Integer", "documentation":"

The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.

" }, "rateLimit":{ "shape":"Double", "documentation":"

The API request steady-state rate limit.

" } }, "documentation":"

The API request rate limits.

" }, "Timestamp":{"type":"timestamp"}, "TooManyRequestsException":{ "type":"structure", "members":{ "retryAfterSeconds":{ "shape":"String", "location":"header", "locationName":"Retry-After" }, "message":{"shape":"String"} }, "documentation":"

The request has reached its throttling limit. Retry after the specified time period.

", "error":{"httpStatusCode":429}, "exception":true }, "UnauthorizedCacheControlHeaderStrategy":{ "type":"string", "enum":[ "FAIL_WITH_403", "SUCCEED_WITH_RESPONSE_HEADER", "SUCCEED_WITHOUT_RESPONSE_HEADER" ] }, "UnauthorizedException":{ "type":"structure", "members":{ "message":{"shape":"String"} }, "documentation":"

The request is denied because the caller has insufficient permissions.

", "error":{"httpStatusCode":401}, "exception":true }, "UntagResourceRequest":{ "type":"structure", "required":[ "resourceArn", "tagKeys" ], "members":{ "resourceArn":{ "shape":"String", "documentation":"

[Required] The ARN of a resource that can be tagged. The resource ARN must be URL-encoded. At present, Stage is the only taggable resource.

", "location":"uri", "locationName":"resource_arn" }, "tagKeys":{ "shape":"ListOfString", "documentation":"

[Required] The Tag keys to delete.

", "location":"querystring", "locationName":"tagKeys" } }, "documentation":"

Removes a tag from a given resource.

" }, "UpdateAccountRequest":{ "type":"structure", "members":{ "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

Requests API Gateway to change information about the current Account resource.

" }, "UpdateApiKeyRequest":{ "type":"structure", "required":["apiKey"], "members":{ "apiKey":{ "shape":"String", "documentation":"

[Required] The identifier of the ApiKey resource to be updated.

", "location":"uri", "locationName":"api_Key" }, "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

A request to change information about an ApiKey resource.

" }, "UpdateAuthorizerRequest":{ "type":"structure", "required":[ "restApiId", "authorizerId" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "authorizerId":{ "shape":"String", "documentation":"

[Required] The identifier of the Authorizer resource.

", "location":"uri", "locationName":"authorizer_id" }, "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

Request to update an existing Authorizer resource.

" }, "UpdateBasePathMappingRequest":{ "type":"structure", "required":[ "domainName", "basePath" ], "members":{ "domainName":{ "shape":"String", "documentation":"

[Required] The domain name of the BasePathMapping resource to change.

", "location":"uri", "locationName":"domain_name" }, "basePath":{ "shape":"String", "documentation":"

[Required] The base path of the BasePathMapping resource to change.

", "location":"uri", "locationName":"base_path" }, "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

A request to change information about the BasePathMapping resource.

" }, "UpdateClientCertificateRequest":{ "type":"structure", "required":["clientCertificateId"], "members":{ "clientCertificateId":{ "shape":"String", "documentation":"

[Required] The identifier of the ClientCertificate resource to be updated.

", "location":"uri", "locationName":"clientcertificate_id" }, "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

A request to change information about an ClientCertificate resource.

" }, "UpdateDeploymentRequest":{ "type":"structure", "required":[ "restApiId", "deploymentId" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "deploymentId":{ "shape":"String", "documentation":"

The replacement identifier for the Deployment resource to change information about.

", "location":"uri", "locationName":"deployment_id" }, "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

Requests API Gateway to change information about a Deployment resource.

" }, "UpdateDocumentationPartRequest":{ "type":"structure", "required":[ "restApiId", "documentationPartId" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "documentationPartId":{ "shape":"String", "documentation":"

[Required] The identifier of the to-be-updated documentation part.

", "location":"uri", "locationName":"part_id" }, "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

Updates an existing documentation part of a given API.

" }, "UpdateDocumentationVersionRequest":{ "type":"structure", "required":[ "restApiId", "documentationVersion" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi..

", "location":"uri", "locationName":"restapi_id" }, "documentationVersion":{ "shape":"String", "documentation":"

[Required] The version identifier of the to-be-updated documentation version.

", "location":"uri", "locationName":"doc_version" }, "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

Updates an existing documentation version of an API.

" }, "UpdateDomainNameRequest":{ "type":"structure", "required":["domainName"], "members":{ "domainName":{ "shape":"String", "documentation":"

[Required] The name of the DomainName resource to be changed.

", "location":"uri", "locationName":"domain_name" }, "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

A request to change information about the DomainName resource.

" }, "UpdateGatewayResponseRequest":{ "type":"structure", "required":[ "restApiId", "responseType" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "responseType":{ "shape":"GatewayResponseType", "documentation":"

[Required]

The response type of the associated GatewayResponse. Valid values are

", "location":"uri", "locationName":"response_type" }, "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

Updates a GatewayResponse of a specified response type on the given RestApi.

" }, "UpdateIntegrationRequest":{ "type":"structure", "required":[ "restApiId", "resourceId", "httpMethod" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "resourceId":{ "shape":"String", "documentation":"

[Required] Represents an update integration request's resource identifier.

", "location":"uri", "locationName":"resource_id" }, "httpMethod":{ "shape":"String", "documentation":"

[Required] Represents an update integration request's HTTP method.

", "location":"uri", "locationName":"http_method" }, "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

Represents an update integration request.

" }, "UpdateIntegrationResponseRequest":{ "type":"structure", "required":[ "restApiId", "resourceId", "httpMethod", "statusCode" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "resourceId":{ "shape":"String", "documentation":"

[Required] Specifies an update integration response request's resource identifier.

", "location":"uri", "locationName":"resource_id" }, "httpMethod":{ "shape":"String", "documentation":"

[Required] Specifies an update integration response request's HTTP method.

", "location":"uri", "locationName":"http_method" }, "statusCode":{ "shape":"StatusCode", "documentation":"

[Required] Specifies an update integration response request's status code.

", "location":"uri", "locationName":"status_code" }, "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

Represents an update integration response request.

" }, "UpdateMethodRequest":{ "type":"structure", "required":[ "restApiId", "resourceId", "httpMethod" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "resourceId":{ "shape":"String", "documentation":"

[Required] The Resource identifier for the Method resource.

", "location":"uri", "locationName":"resource_id" }, "httpMethod":{ "shape":"String", "documentation":"

[Required] The HTTP verb of the Method resource.

", "location":"uri", "locationName":"http_method" }, "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

Request to update an existing Method resource.

" }, "UpdateMethodResponseRequest":{ "type":"structure", "required":[ "restApiId", "resourceId", "httpMethod", "statusCode" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "resourceId":{ "shape":"String", "documentation":"

[Required] The Resource identifier for the MethodResponse resource.

", "location":"uri", "locationName":"resource_id" }, "httpMethod":{ "shape":"String", "documentation":"

[Required] The HTTP verb of the Method resource.

", "location":"uri", "locationName":"http_method" }, "statusCode":{ "shape":"StatusCode", "documentation":"

[Required] The status code for the MethodResponse resource.

", "location":"uri", "locationName":"status_code" }, "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

A request to update an existing MethodResponse resource.

" }, "UpdateModelRequest":{ "type":"structure", "required":[ "restApiId", "modelName" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "modelName":{ "shape":"String", "documentation":"

[Required] The name of the model to update.

", "location":"uri", "locationName":"model_name" }, "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

Request to update an existing model in an existing RestApi resource.

" }, "UpdateRequestValidatorRequest":{ "type":"structure", "required":[ "restApiId", "requestValidatorId" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "requestValidatorId":{ "shape":"String", "documentation":"

[Required] The identifier of RequestValidator to be updated.

", "location":"uri", "locationName":"requestvalidator_id" }, "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

Updates a RequestValidator of a given RestApi.

" }, "UpdateResourceRequest":{ "type":"structure", "required":[ "restApiId", "resourceId" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "resourceId":{ "shape":"String", "documentation":"

[Required] The identifier of the Resource resource.

", "location":"uri", "locationName":"resource_id" }, "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

Request to change information about a Resource resource.

" }, "UpdateRestApiRequest":{ "type":"structure", "required":["restApiId"], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

Request to update an existing RestApi resource in your collection.

" }, "UpdateStageRequest":{ "type":"structure", "required":[ "restApiId", "stageName" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "stageName":{ "shape":"String", "documentation":"

[Required] The name of the Stage resource to change information about.

", "location":"uri", "locationName":"stage_name" }, "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

Requests API Gateway to change information about a Stage resource.

" }, "UpdateUsagePlanRequest":{ "type":"structure", "required":["usagePlanId"], "members":{ "usagePlanId":{ "shape":"String", "documentation":"

[Required] The Id of the to-be-updated usage plan.

", "location":"uri", "locationName":"usageplanId" }, "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

The PATCH request to update a usage plan of a given plan Id.

" }, "UpdateUsageRequest":{ "type":"structure", "required":[ "usagePlanId", "keyId" ], "members":{ "usagePlanId":{ "shape":"String", "documentation":"

[Required] The Id of the usage plan associated with the usage data.

", "location":"uri", "locationName":"usageplanId" }, "keyId":{ "shape":"String", "documentation":"

[Required] The identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota.

", "location":"uri", "locationName":"keyId" }, "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

The PATCH request to grant a temporary extension to the remaining quota of a usage plan associated with a specified API key.

" }, "UpdateVpcLinkRequest":{ "type":"structure", "required":["vpcLinkId"], "members":{ "vpcLinkId":{ "shape":"String", "documentation":"

[Required] The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

", "location":"uri", "locationName":"vpclink_id" }, "patchOperations":{ "shape":"ListOfPatchOperation", "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, "documentation":"

Updates an existing VpcLink of a specified identifier.

" }, "Usage":{ "type":"structure", "members":{ "usagePlanId":{ "shape":"String", "documentation":"

The plan Id associated with this usage data.

" }, "startDate":{ "shape":"String", "documentation":"

The starting date of the usage data.

" }, "endDate":{ "shape":"String", "documentation":"

The ending date of the usage data.

" }, "position":{"shape":"String"}, "items":{ "shape":"MapOfKeyUsages", "documentation":"

The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, {..., \"values\" : { \"{api_key}\" : [ [0, 100], [10, 90], [100, 10]]}, where {api_key} stands for an API key value and the daily log entry is of the format [used quota, remaining quota].

", "locationName":"values" } }, "documentation":"

Represents the usage data of a usage plan.

" }, "UsagePlan":{ "type":"structure", "members":{ "id":{ "shape":"String", "documentation":"

The identifier of a UsagePlan resource.

" }, "name":{ "shape":"String", "documentation":"

The name of a usage plan.

" }, "description":{ "shape":"String", "documentation":"

The description of a usage plan.

" }, "apiStages":{ "shape":"ListOfApiStage", "documentation":"

The associated API stages of a usage plan.

" }, "throttle":{ "shape":"ThrottleSettings", "documentation":"

The request throttle limits of a usage plan.

" }, "quota":{ "shape":"QuotaSettings", "documentation":"

The maximum number of permitted requests per a given unit time interval.

" }, "productCode":{ "shape":"String", "documentation":"

The AWS Markeplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.

" } }, "documentation":"

Represents a usage plan than can specify who can assess associated API stages with specified request limits and quotas.

In a usage plan, you associate an API by specifying the API's Id and a stage name of the specified API. You add plan customers by adding API keys to the plan.

" }, "UsagePlanKey":{ "type":"structure", "members":{ "id":{ "shape":"String", "documentation":"

The Id of a usage plan key.

" }, "type":{ "shape":"String", "documentation":"

The type of a usage plan key. Currently, the valid key type is API_KEY.

" }, "value":{ "shape":"String", "documentation":"

The value of a usage plan key.

" }, "name":{ "shape":"String", "documentation":"

The name of a usage plan key.

" } }, "documentation":"

Represents a usage plan key to identify a plan customer.

To associate an API stage with a selected API key in a usage plan, you must create a UsagePlanKey resource to represent the selected ApiKey.

\" " }, "UsagePlanKeys":{ "type":"structure", "members":{ "position":{"shape":"String"}, "items":{ "shape":"ListOfUsagePlanKey", "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, "documentation":"

Represents the collection of usage plan keys added to usage plans for the associated API keys and, possibly, other types of keys.

" }, "UsagePlans":{ "type":"structure", "members":{ "position":{"shape":"String"}, "items":{ "shape":"ListOfUsagePlan", "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, "documentation":"

Represents a collection of usage plans for an AWS account.

" }, "VpcLink":{ "type":"structure", "members":{ "id":{ "shape":"String", "documentation":"

The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

" }, "name":{ "shape":"String", "documentation":"

The name used to label and identify the VPC link.

" }, "description":{ "shape":"String", "documentation":"

The description of the VPC link.

" }, "targetArns":{ "shape":"ListOfString", "documentation":"

The ARNs of network load balancers of the VPC targeted by the VPC link. The network load balancers must be owned by the same AWS account of the API owner.

" }, "status":{ "shape":"VpcLinkStatus", "documentation":"

The status of the VPC link. The valid values are AVAILABLE, PENDING, DELETING, or FAILED. Deploying an API will wait if the status is PENDING and will fail if the status is DELETING.

" }, "statusMessage":{ "shape":"String", "documentation":"

A description about the VPC link status.

" } }, "documentation":"

A API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).

To enable access to a resource in an Amazon Virtual Private Cloud through Amazon API Gateway, you, as an API developer, create a VpcLink resource targeted for one or more network load balancers of the VPC and then integrate an API method with a private integration that uses the VpcLink. The private integration has an integration type of HTTP or HTTP_PROXY and has a connection type of VPC_LINK. The integration uses the connectionId property to identify the VpcLink used.

" }, "VpcLinkStatus":{ "type":"string", "enum":[ "AVAILABLE", "PENDING", "DELETING", "FAILED" ] }, "VpcLinks":{ "type":"structure", "members":{ "position":{"shape":"String"}, "items":{ "shape":"ListOfVpcLink", "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, "documentation":"

The collection of VPC links under the caller's account in a region.

" } }, "documentation":"Amazon API Gateway

Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.

" }