{ "version":"2.0", "metadata":{ "apiVersion":"2015-07-09", "endpointPrefix":"apigateway", "protocol":"rest-json", "serviceFullName":"Amazon 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.

" }, "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":"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.

" }, "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.

" }, "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":"TooManyRequestsException"} ], "documentation":"

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

" }, "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":"

Represents a get integration.

" }, "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":"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.

" }, "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.

" }, "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 Amazon API Gateway control service for creating a new API from an external API definition file.

" }, "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":"

Represents a put 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 Amazon 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.

" }, "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.

" }, "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.

" }, "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 reamining 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.

" } }, "shapes":{ "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 Amazon 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\": \"http://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.

" }, "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 any ApiKey resources in the collection of ApiKey resources.

", "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.

" } }, "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":"

[Required] The type of the authorizer. Currently, the valid type is TOKEN for a Lambda function or COGNITO_USER_POOLS for an Amazon Cognito user pool.

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

A list of the provider ARNs of the authorizer. For an TOKEN authorizer, this is not defined. For authorizers of the COGNITO_USER_POOLS type, each element corresponds to a user pool ARN of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}.

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

Optional customer-defined field, used in Swagger imports/exports. Has no functional impact.

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

[Required] Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN 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 credentials required for the authorizer, if any. Two options are available. To specify an IAM role for Amazon 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":"

[Required] The source of the identity in an incoming request. For a TOKEN authorizer, this value is a mapping expression with the same syntax as integration parameter mappings. The only valid source for tokens is 'header', so the expression should match 'method.request.header.[headerName]'. The value of the header '[headerName]' will be interpreted as the incoming token. For COGNITO_USER_POOLS authorizers, this property is used.

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

A validation expression for the incoming identity. For TOKEN authorizers, this value should be a regular expression. The incoming token from the client is matched against this expression, and will proceed if the token matches. If the token doesn't match, the client receives a 401 Unauthorized response.

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

The TTL in seconds of cached authorizer results. If 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. the current value is TOKEN for a Lambda function or COGNITO_USER_POOLS for an Amazon Cognito Your User Pool.

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

Gets the current list of Authorizer resources in the collection.

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

Represents a collection of Authorizer resources.

Enable custom authorization
" }, "BadRequestException":{ "type":"structure", "members":{ "message":{"shape":"String"} }, "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 name of the API.

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

The name of the API's 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 any BasePathMapping resources in the collection of base path mapping resources.

", "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" ] }, "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 authenticate an API by the back-end server. To authenticate an API client (or user), use a custom Authorizer.
Use Client-Side Certificate
" }, "ClientCertificates":{ "type":"structure", "members":{ "position":{"shape":"String"}, "items":{ "shape":"ListOfClientCertificate", "documentation":"

The current page of any ClientCertificate resources in the collection of ClientCertificate resources.

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

Represents a collection of ClientCertificate resources.

Use Client-Side Certificate
" }, "ConflictException":{ "type":"structure", "members":{ "message":{"shape":"String"} }, "error":{"httpStatusCode":409}, "exception":true }, "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", "identitySource" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

The RestApi identifier under which the Authorizer will be created.

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

[Required] The name of the authorizer.

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

[Required] The type of the authorizer.

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

A list of the Cognito Your User Pool authorizer's provider ARNs.

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

Optional customer-defined field, used in Swagger imports/exports. Has no functional impact.

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

[Required] Specifies the authorizer's Uniform Resource Identifier (URI).

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

Specifies the credentials required for the authorizer, if any.

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

[Required] The source of the identity in an incoming request.

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

A validation expression for the incoming identity.

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

The TTL of cached authorizer results.

" } }, "documentation":"

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

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

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":"

The name of the API that you want to apply this mapping to.

" }, "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 Amazon API Gateway to create a new BasePathMapping resource.

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

The RestApi resource identifier for the Deployment resource to create.

", "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-._~:/?#&=,]+.

" } }, "documentation":"

Requests Amazon API Gateway to create a Deployment resource.

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

[Required] The identifier of an API of the to-be-created documentation part.

", "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 Swagger-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] Specifies the API identifier of the to-be-created documentation version.

", "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.

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

[Deprecated] The body of the server certificate provided by your certificate authority.

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

[Deprecated] Your 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. 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. AWS Certificate Manager is the only supported source.

" } }, "documentation":"

A request to create a new domain name.

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

The RestApi identifier under which the Model will be created.

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

The name of the model.

" }, "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 v4 model.

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

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 identifier of the RestApi for which the RequestValidator is created.

", "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":"

The identifier of the RestApi for the resource.

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

The parent resource's identifier.

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

The last path segment for this resource.

" } }, "documentation":"

Requests Amazon API Gateway to create a Resource resource.

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

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.

" } }, "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":"

The identifier of the RestApi resource for the Stage resource to create.

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

The name for the Stage resource.

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

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.

" } }, "documentation":"

Requests Amazon API Gateway to create a Stage resource.

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

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":"

The identifier of a UsagePlanKey resource for a plan customer.

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

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":"

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.

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

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":"

The RestApi identifier for the Authorizer resource.

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

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":"

The domain name of the BasePathMapping resource to delete.

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

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":"

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":"

The identifier of the RestApi resource for the Deployment resource to delete.

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

The identifier of the Deployment resource to delete.

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

Requests Amazon API Gateway to delete a Deployment resource.

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

[Required] Specifies the identifier of an API of the to-be-deleted documentation part.

", "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 identifier of an API of a to-be-deleted documentation snapshot.

", "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":"

The name of the DomainName resource to be deleted.

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

A request to delete the DomainName resource.

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

Specifies a delete integration request's API identifier.

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

Specifies a delete integration request's resource identifier.

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

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":"

Specifies a delete integration response request's API identifier.

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

Specifies a delete integration response request's resource identifier.

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

Specifies a delete integration response request's HTTP method.

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

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":"

The RestApi identifier for the Method resource.

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

The Resource identifier for the Method resource.

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

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":"

The RestApi identifier for the MethodResponse resource.

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

The Resource identifier for the MethodResponse resource.

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

The HTTP verb of the Method resource.

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

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":"

The RestApi under which the model will be deleted.

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

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 identifier of the RestApi from which the given RequestValidator is deleted.

", "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":"

The RestApi identifier for the Resource resource.

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

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":"

The ID of the RestApi you want to delete.

", "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":"

The identifier of the RestApi resource for the Stage resource to delete.

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

The name of the Stage resource to delete.

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

Requests Amazon API Gateway to delete a Stage resource.

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

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":"

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":"

The Id of the to-be-deleted usage plan.

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

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

" }, "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
" }, "Deployments":{ "type":"structure", "members":{ "position":{"shape":"String"}, "items":{ "shape":"ListOfDeployment", "documentation":"

The current page of any Deployment resources in the collection of deployment resources.

", "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 Amazon 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 Swagger-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 Swagger 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 Swagger-compliant documentation fields will be injected into the associated API entity definition in the exported Swagger 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., Swagger) file are imported into Amazon API Gateway
Documenting an API, documentationpart:import, DocumentationPart
" }, "DocumentationPartLocation":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"DocumentationPartType", "documentation":"

The type of API entity to which the documentation content applies. It is a valid and required field for API entity types of 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, AUTHROZER, 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 DocumentationPart resources in the DocumentationParts 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., Swagger) file.

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

The current page of DocumentationVersion items from the DocumentationVersions collection of an API.

", "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 name of the DomainName resource.

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

The name of the certificate.

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

The reference to an AWS-managed certificate. AWS Certificate Manager is the only supported source.

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

The timestamp when the certificate was uploaded.

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

The domain name of the Amazon CloudFront distribution. For more information, see the Amazon CloudFront documentation.

" } }, "documentation":"

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

Use Client-Side Certificate
" }, "DomainNames":{ "type":"structure", "members":{ "position":{"shape":"String"}, "items":{ "shape":"ListOfDomainName", "documentation":"

The current page of any DomainName resources in the collection of DomainName resources.

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

Represents a collection of DomainName resources.

Use Client-Side Certificate
" }, "Double":{"type":"double"}, "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 API identifier of the stage to flush.

", "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":"

The API identifier of the stage to flush its cache.

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

The name of the stage to flush its cache.

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

Requests Amazon API Gateway to flush a stage's cache.

" }, "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 Amazon API Gateway to get information about the current Account resource.

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

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 ApiKeys to get information about.

", "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":"

The RestApi identifier for the Authorizer resource.

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

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":"

The RestApi identifier for the Authorizers resource.

", "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.

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

Request to describe an existing Authorizers resource.

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

The domain name of the BasePathMapping resource to be described.

", "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 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":"

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 value is 25 by default and could be between 1 - 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":"

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 value is 25 by default and could be between 1 - 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":"

The identifier of the RestApi resource for the Deployment resource to get information about.

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

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 Amazon API Gateway to get information about a Deployment resource.

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

The identifier of the RestApi resource for the collection of Deployment resources to get information about.

", "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 value is 25 by default and could be between 1 - 500.

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

Requests Amazon API Gateway to get information about a Deployments collection.

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

[Required] The identifier of an API of the to-be-retrieved documentation part.

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

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

", "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 identifier of the API of the to-be-retrieved documentation parts.

", "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.

", "location":"querystring", "locationName":"limit" } }, "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 identifier of the API of the to-be-retrieved documentation snapshot.

", "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 identifier of an API of the to-be-retrieved documentation versions.

", "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.

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

Gets the documentation versions of an API.

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

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 value is 25 by default and could be between 1 - 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":"

The identifier of the RestApi to be exported.

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

The name of the Stage that will be exported.

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

The type of export. Currently only 'swagger' is supported.

", "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 swagger, any combination of the following parameters are supported: integrations will export the API with x-amazon-apigateway-integration 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 of 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.

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

Specifies a get integration request's API identifier.

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

Specifies a get integration request's resource identifier

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

Specifies a get integration request's HTTP method.

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

Represents a get integration request.

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

Specifies a get integration response request's API identifier.

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

Specifies a get integration response request's resource identifier.

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

Specifies a get integration response request's HTTP method.

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

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":"

The RestApi identifier for the Method resource.

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

The Resource identifier for the Method resource.

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

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":"

The RestApi identifier for the MethodResponse resource.

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

The Resource identifier for the MethodResponse resource.

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

The HTTP verb of the Method resource.

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

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":"

The RestApi identifier under which the Model exists.

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

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":"

The ID of the RestApi under which the model exists.

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

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":"

The RestApi identifier.

", "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 value is 25 by default and could be between 1 - 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 identifier of the RestApi to which the specified RequestValidator belongs.

", "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 identifier of a RestApi to which the RequestValidators collection belongs.

", "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.

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

Gets the RequestValidators collection of a given RestApi.

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

The RestApi identifier for the resource.

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

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":"

The RestApi identifier for the Resource.

", "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 value is 25 by default and could be between 1 - 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":"

The identifier of the RestApi resource.

", "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 value is 25 by default and could be between 1 - 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":"

The identifier of the RestApi that the SDK will use.

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

The name of the Stage that the SDK will use.

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

The language for the generated SDK. Currently javascript, android, and objectivec (for iOS) are supported.

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

A key-value map of query string parameters that specify properties of the SDK, depending on the requested sdkType. For sdkType of objectivec, a parameter named classPrefix is required. For sdkType of android, parameters named groupId, artifactId, artifactVersion, and invokerPackage 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":"

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.

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

Get the SdkTypes collection.

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

The identifier of the RestApi resource for the Stage resource to get information about.

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

The name of the Stage resource to get information about.

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

Requests Amazon API Gateway to get information about a Stage resource.

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

The stages' API identifiers.

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

The stages' deployment identifiers.

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

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

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

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":"

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":"

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.

", "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":"

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.

", "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":"

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":"

The starting date (e.g., 2016-01-01) of the usage data.

", "location":"querystring", "locationName":"startDate" }, "endDate":{ "shape":"String", "documentation":"

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.

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

The GET request to get the usage data of a usage plan in a specified time interval.

" }, "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 identifier of an API of the to-be-imported documentation parts.

", "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 a Swagger file, this is a JSON object.

" } }, "documentation":"

Import documentation parts from an external (e.g., Swagger) 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":"

Custom header parameters as part of the request.

", "location":"querystring" }, "body":{ "shape":"Blob", "documentation":"

The POST request body containing external API definitions. Currently, only Swagger definition JSON files are supported.

" } }, "documentation":"

A POST request to import an API to Amazon API Gateway using an input of an API definition file.

", "payload":"body" }, "Integer":{"type":"integer"}, "Integration":{ "type":"structure", "members":{ "type":{ "shape":"IntegrationType", "documentation":"

Specifies the integration's type. The valid value is HTTP for integrating with an HTTP back end, AWS for any AWS service endpoints, MOCK for testing without actually invoking the back end, HTTP_PROXY for integrating with the HTTP proxy integration, or AWS_PROXY for integrating with the Lambda proxy integration type.

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

Specifies the integration's HTTP method type.

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

Specifies the integration's Uniform Resource Identifier (URI). For HTTP integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 specification. For AWS integrations, the URI should be of the form arn:aws:apigateway:{region}:{subdomain.service|service}:{path|action}/{service_api}. Region, subdomain and service are used to determine the right endpoint. For AWS services that use the Action= query string parameter, service_api should be a valid action for the desired service. For RESTful AWS service APIs, path is used to indicate that the remaining substring in the URI should be treated as the path to the resource, including the initial /.

" }, "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 Amazon 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. There are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER.

" }, "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.

" }, "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\": \"http://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 with an HTTP back end, AWS for any AWS service endpoints, MOCK for testing without actually invoking the back end, HTTP_PROXY for integrating with the HTTP proxy integration, or AWS_PROXY for integrating with the Lambda proxy integration type.

", "enum":[ "HTTP", "AWS", "MOCK", "HTTP_PROXY", "AWS_PROXY" ] }, "LimitExceededException":{ "type":"structure", "members":{ "retryAfterSeconds":{ "shape":"String", "location":"header", "locationName":"Retry-After" }, "message":{"shape":"String"} }, "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"} }, "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"} }, "Long":{"type":"long"}, "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 Amazon 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\": \"http://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\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html\", \"name\": \"integration\", \"templated\": true }, { \"href\": \"http://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
" } }, "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\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html\", \"name\": \"integration\", \"templated\": true }, { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html\", \"name\": \"integrationresponse\", \"templated\": true }, { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html\", \"name\": \"method\", \"templated\": true }, { \"href\": \"http://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 Amazon 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. Amazon 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\": \"http://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 effects 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 effects 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.

" }, "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 v4 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":"

Gets the current Model resource in the collection.

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

Represents a collection of Model resources.

Method, MethodResponse, Models and Mappings
" }, "NotFoundException":{ "type":"structure", "members":{ "message":{"shape":"String"} }, "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\", or \"replace\". 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. 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":"

Not supported.

" } }, "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"}, "PutIntegrationRequest":{ "type":"structure", "required":[ "restApiId", "resourceId", "httpMethod", "type" ], "members":{ "restApiId":{ "shape":"String", "documentation":"

Specifies a put integration request's API identifier.

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

Specifies a put integration request's resource ID.

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

Specifies a put integration request's HTTP method.

", "location":"uri", "locationName":"http_method" }, "type":{ "shape":"IntegrationType", "documentation":"

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 a put integration input's Uniform Resource Identifier (URI). When the integration type is HTTP or AWS, this field is required. For integration with Lambda as an AWS service proxy, this value is of the 'arn:aws:apigateway:<region>:lambda:path/2015-03-31/functions/<functionArn>/invocations' format.

" }, "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.

" } }, "documentation":"

Represents a put integration request.

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

Specifies a put integration response request's API identifier.

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

Specifies a put integration response request's resource identifier.

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

Specifies a put integration response request's HTTP method.

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

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":"

The RestApi identifier for the new Method resource.

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

The Resource identifier for the new Method resource.

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

Specifies the method request's HTTP method type.

", "location":"uri", "locationName":"http_method" }, "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":"

Specifies the identifier of an Authorizer to use on this Method, if the type is CUSTOM.

" }, "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 Amazon 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.

" } }, "documentation":"

Request to add a method to an existing Resource resource.

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

The RestApi identifier for the Method resource.

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

The Resource identifier for the Method resource.

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

The HTTP verb of the Method resource.

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

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 Amazon 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":"

The identifier of the RestApi to be updated.

", "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 headers supplied as part of the request.

", "location":"querystring" }, "body":{ "shape":"Blob", "documentation":"

The PUT request body containing external API definitions. Currently, only Swagger definition JSON files are supported.

" } }, "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 Swagger, 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 RequestValidator resources in the RequestValidators collection.

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

A collection of RequestValidator resources of a given RestApi.

In Swagger, 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\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html\", \"name\": \"integration\", \"templated\": true }, { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html\", \"name\": \"integrationresponse\", \"templated\": true }, { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html\", \"name\": \"method\", \"templated\": true }, { \"href\": \"http://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":"

Gets the current Resource resource in the 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 Amazon 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.

" } }, "documentation":"

Represents a REST API.

Create an API
" }, "RestApis":{ "type":"structure", "members":{ "position":{"shape":"String"}, "items":{ "shape":"ListOfRestApi", "documentation":"

An array of links to the current page of RestApi resources.

", "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 set of SdkType items that comprise this view of the SdkTypes collection.

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

The collection of SdkType instances.

" }, "ServiceUnavailableException":{ "type":"structure", "members":{ "retryAfterSeconds":{ "shape":"String", "location":"header", "locationName":"Retry-After" }, "message":{"shape":"String"} }, "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 Amazon 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.

" }, "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":"

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

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

The stage name in the RestApi that the stage key references.

" } }, "documentation":"

A reference to a unique stage identified in the format {restApiId}/{stage}.

" }, "Stages":{ "type":"structure", "members":{ "item":{ "shape":"ListOfStage", "documentation":"

An individual Stage resource.

" } }, "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"}, "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":"

Specifies a test invoke authorizer request's RestApi identifier.

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

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 Amazon 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":"

Specifies a test invoke method request's API identifier.

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

Specifies a test invoke method request's resource ID.

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

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 Amazon 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"} }, "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"} }, "error":{"httpStatusCode":401}, "exception":true }, "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 Amazon API Gateway to change information about the current Account resource.

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

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":"

The RestApi identifier for the Authorizer resource.

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

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":"

The domain name of the BasePathMapping resource to change.

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

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":"

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":"

The replacement identifier of the RestApi resource for the Deployment resource to change information about.

", "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 Amazon API Gateway to change information about a Deployment resource.

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

[Required] The identifier of an API of the to-be-updated documentation part.

", "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 identifier of an API of the to-be-updated documentation version.

", "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":"

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.

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

Represents an update integration request's API identifier.

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

Represents an update integration request's resource identifier.

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

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":"

Specifies an update integration response request's API identifier.

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

Specifies an update integration response request's resource identifier.

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

Specifies an update integration response request's HTTP method.

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

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":"

The RestApi identifier for the Method resource.

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

The Resource identifier for the Method resource.

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

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":"

The RestApi identifier for the MethodResponse resource.

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

The Resource identifier for the MethodResponse resource.

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

The HTTP verb of the Method resource.

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

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":"

The RestApi identifier under which the model exists.

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

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 identifier of the RestApi for which the given RequestValidator is updated.

", "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":"

The RestApi identifier for the Resource resource.

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

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":"

The ID of the RestApi you want to update.

", "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":"

The identifier of the RestApi resource for the Stage resource to change information about.

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

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 Amazon API Gateway to change information about a Stage resource.

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

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":"

The Id of the usage plan associated with the usage data.

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

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 reamining quota of a usage plan associated with a specified API key.

" }, "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":"

Gets the current item of the usage plan keys 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":"

Gets the current item when enumerating the collection of UsagePlan.

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

Represents a collection of usage plans for an AWS account.

" } }, "documentation":"Amazon API Gateway

Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. Amazon 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.

" }