{ "smithy": "1.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.apigateway#AccessLogSettings": { "type": "structure", "members": { "format": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "
A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId
.
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with amazon-apigateway-
.
Access log settings, including the access log format and access log destination ARN.
" } }, "com.amazonaws.apigateway#Account": { "type": "structure", "members": { "cloudwatchRoleArn": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The ARN of an Amazon CloudWatch role for the current Account.
" } }, "throttleSettings": { "target": "com.amazonaws.apigateway#ThrottleSettings", "traits": { "smithy.api#documentation": "Specifies the API request limits configured for the current Account.
" } }, "features": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { "smithy.api#documentation": "A list of features supported for the account. When usage plans are enabled, the features list will include an entry of \"UsagePlans\"
.
The version of the API keys used for the account.
" } } }, "traits": { "smithy.api#documentation": "Represents an AWS account that is associated with API Gateway.
\nTo view the account info, call GET
on this resource.
The following exception may be thrown when the request fails.
\nFor detailed error code information, including the corresponding HTTP Status Codes, see API Gateway Error Codes
\nGET /account HTTP/1.1\nContent-Type: application/json\nHost: apigateway.us-east-1.amazonaws.com\nX-Amz-Date: 20160531T184618Z\nAuthorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}\n
\n The successful response returns a 200 OK
status code and a payload similar to the following:
{\n \"_links\": {\n \"curies\": {\n \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/account-apigateway-{rel}.html\",\n \"name\": \"account\",\n \"templated\": true\n },\n \"self\": {\n \"href\": \"/account\"\n },\n \"account:update\": {\n \"href\": \"/account\"\n }\n },\n \"cloudwatchRoleArn\": \"arn:aws:iam::123456789012:role/apigAwsProxyRole\",\n \"throttleSettings\": {\n \"rateLimit\": 500,\n \"burstLimit\": 1000\n }\n}\n
\n In addition to making the REST API call directly, you can use the AWS CLI and an AWS SDK to access this resource.
\nThe identifier of the API Key.
" } }, "value": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The value of the API Key.
" } }, "name": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The name of the API Key.
" } }, "customerId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.
" } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The description of the API Key.
" } }, "enabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { "smithy.api#documentation": "Specifies whether the API Key can be used by callers.
" } }, "createdDate": { "target": "com.amazonaws.apigateway#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the API Key was created.
" } }, "lastUpdatedDate": { "target": "com.amazonaws.apigateway#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the API Key was last updated.
" } }, "stageKeys": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { "smithy.api#documentation": "A list of Stage resources that are associated with the ApiKey resource.
" } }, "tags": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "The collection of tags. Each tag element is associated with a given resource.
" } } }, "traits": { "smithy.api#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.
\nA list of all the ApiKey identifiers.
" } }, "warnings": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { "smithy.api#documentation": "A list of warning messages.
" } } }, "traits": { "smithy.api#documentation": "The identifier of an ApiKey used in a UsagePlan.
" } }, "com.amazonaws.apigateway#ApiKeySourceType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "HEADER", "name": "HEADER" }, { "value": "AUTHORIZER", "name": "AUTHORIZER" } ] } }, "com.amazonaws.apigateway#ApiKeys": { "type": "structure", "members": { "warnings": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { "smithy.api#documentation": "A list of warning messages logged during the import of API keys when the failOnWarnings
option is set to true.
The current page of elements from this collection.
", "smithy.api#jsonName": "item" } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } } }, "traits": { "smithy.api#documentation": "Represents a collection of API keys as represented by an ApiKeys resource.
\nAPI Id of the associated API stage in a usage plan.
" } }, "stage": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "API stage name of the associated API stage in a usage plan.
" } }, "throttle": { "target": "com.amazonaws.apigateway#MapOfApiStageThrottleSettings", "traits": { "smithy.api#documentation": "Map containing method level throttling information for API stage in a usage plan.
" } } }, "traits": { "smithy.api#documentation": "API stage name of the associated API stage in a usage plan.
" } }, "com.amazonaws.apigateway#Authorizer": { "type": "structure", "members": { "id": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The identifier for the authorizer resource.
" } }, "name": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The name of the authorizer.
" } }, "type": { "target": "com.amazonaws.apigateway#AuthorizerType", "traits": { "smithy.api#documentation": "The authorizer type. Valid values are TOKEN
for a Lambda function using a single authorization token submitted in a custom header, REQUEST
for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS
for using an Amazon Cognito user pool.
A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS
authorizer. Each element is of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}
. For a TOKEN
or REQUEST
authorizer, this is not defined.
Optional customer-defined field, used in OpenAPI imports and exports without functional impact.
" } }, "authorizerUri": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN
or REQUEST
authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations
. In general, the URI has this form arn:aws:apigateway:{region}:lambda:path/{service_api}
, where {region}
is the same as the region hosting the Lambda function, path
indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /
. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations
.
Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null.
" } }, "identitySource": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The identity source for which authorization is requested.
TOKEN
or COGNITO_USER_POOLS
authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is Auth
, the header mapping expression is method.request.header.Auth
.REQUEST
authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an Auth
header, a Name
query string parameter are defined as identity sources, this value is method.request.header.Auth, method.request.querystring.Name
. These parameters will be used to derive the authorization caching key and to perform runtime validation of the REQUEST
authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized response without calling the Lambda function. The valid value is a string of comma-separated mapping expressions of the specified request parameters. When the authorization caching is not enabled, this property is optional.A validation expression for the incoming identity token. For TOKEN
authorizers, this value is a regular expression. For COGNITO_USER_POOLS
authorizers, API Gateway will match the aud
field of the incoming token from the client against the specified regular expression. It will invoke the authorizer's Lambda function when there is a match. Otherwise, it will return a 401 Unauthorized response without calling the Lambda function. The validation expression does not apply to the REQUEST
authorizer.
The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour.
" } } }, "traits": { "smithy.api#documentation": "Represents an authorization layer for methods. If enabled on a method, API Gateway will activate the authorizer when a client calls the method.
\n " } }, "com.amazonaws.apigateway#AuthorizerType": { "type": "string", "traits": { "smithy.api#documentation": "The authorizer type. Valid values are TOKEN
for a Lambda function using a single authorization token submitted in a custom header, REQUEST
for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS
for using an Amazon Cognito user pool.
The current page of elements from this collection.
", "smithy.api#jsonName": "item" } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } } }, "traits": { "smithy.api#documentation": "Represents a collection of Authorizer resources.
\n " } }, "com.amazonaws.apigateway#BackplaneControlService": { "type": "service", "version": "2015-07-09", "operations": [ { "target": "com.amazonaws.apigateway#CreateApiKey" }, { "target": "com.amazonaws.apigateway#CreateAuthorizer" }, { "target": "com.amazonaws.apigateway#CreateBasePathMapping" }, { "target": "com.amazonaws.apigateway#CreateDeployment" }, { "target": "com.amazonaws.apigateway#CreateDocumentationPart" }, { "target": "com.amazonaws.apigateway#CreateDocumentationVersion" }, { "target": "com.amazonaws.apigateway#CreateDomainName" }, { "target": "com.amazonaws.apigateway#CreateModel" }, { "target": "com.amazonaws.apigateway#CreateRequestValidator" }, { "target": "com.amazonaws.apigateway#CreateResource" }, { "target": "com.amazonaws.apigateway#CreateRestApi" }, { "target": "com.amazonaws.apigateway#CreateStage" }, { "target": "com.amazonaws.apigateway#CreateUsagePlan" }, { "target": "com.amazonaws.apigateway#CreateUsagePlanKey" }, { "target": "com.amazonaws.apigateway#CreateVpcLink" }, { "target": "com.amazonaws.apigateway#DeleteApiKey" }, { "target": "com.amazonaws.apigateway#DeleteAuthorizer" }, { "target": "com.amazonaws.apigateway#DeleteBasePathMapping" }, { "target": "com.amazonaws.apigateway#DeleteClientCertificate" }, { "target": "com.amazonaws.apigateway#DeleteDeployment" }, { "target": "com.amazonaws.apigateway#DeleteDocumentationPart" }, { "target": "com.amazonaws.apigateway#DeleteDocumentationVersion" }, { "target": "com.amazonaws.apigateway#DeleteDomainName" }, { "target": "com.amazonaws.apigateway#DeleteGatewayResponse" }, { "target": "com.amazonaws.apigateway#DeleteIntegration" }, { "target": "com.amazonaws.apigateway#DeleteIntegrationResponse" }, { "target": "com.amazonaws.apigateway#DeleteMethod" }, { "target": "com.amazonaws.apigateway#DeleteMethodResponse" }, { "target": "com.amazonaws.apigateway#DeleteModel" }, { "target": "com.amazonaws.apigateway#DeleteRequestValidator" }, { "target": "com.amazonaws.apigateway#DeleteResource" }, { "target": "com.amazonaws.apigateway#DeleteRestApi" }, { "target": "com.amazonaws.apigateway#DeleteStage" }, { "target": "com.amazonaws.apigateway#DeleteUsagePlan" }, { "target": "com.amazonaws.apigateway#DeleteUsagePlanKey" }, { "target": "com.amazonaws.apigateway#DeleteVpcLink" }, { "target": "com.amazonaws.apigateway#FlushStageAuthorizersCache" }, { "target": "com.amazonaws.apigateway#FlushStageCache" }, { "target": "com.amazonaws.apigateway#GenerateClientCertificate" }, { "target": "com.amazonaws.apigateway#GetAccount" }, { "target": "com.amazonaws.apigateway#GetApiKey" }, { "target": "com.amazonaws.apigateway#GetApiKeys" }, { "target": "com.amazonaws.apigateway#GetAuthorizer" }, { "target": "com.amazonaws.apigateway#GetAuthorizers" }, { "target": "com.amazonaws.apigateway#GetBasePathMapping" }, { "target": "com.amazonaws.apigateway#GetBasePathMappings" }, { "target": "com.amazonaws.apigateway#GetClientCertificate" }, { "target": "com.amazonaws.apigateway#GetClientCertificates" }, { "target": "com.amazonaws.apigateway#GetDeployment" }, { "target": "com.amazonaws.apigateway#GetDeployments" }, { "target": "com.amazonaws.apigateway#GetDocumentationPart" }, { "target": "com.amazonaws.apigateway#GetDocumentationParts" }, { "target": "com.amazonaws.apigateway#GetDocumentationVersion" }, { "target": "com.amazonaws.apigateway#GetDocumentationVersions" }, { "target": "com.amazonaws.apigateway#GetDomainName" }, { "target": "com.amazonaws.apigateway#GetDomainNames" }, { "target": "com.amazonaws.apigateway#GetExport" }, { "target": "com.amazonaws.apigateway#GetGatewayResponse" }, { "target": "com.amazonaws.apigateway#GetGatewayResponses" }, { "target": "com.amazonaws.apigateway#GetIntegration" }, { "target": "com.amazonaws.apigateway#GetIntegrationResponse" }, { "target": "com.amazonaws.apigateway#GetMethod" }, { "target": "com.amazonaws.apigateway#GetMethodResponse" }, { "target": "com.amazonaws.apigateway#GetModel" }, { "target": "com.amazonaws.apigateway#GetModels" }, { "target": "com.amazonaws.apigateway#GetModelTemplate" }, { "target": "com.amazonaws.apigateway#GetRequestValidator" }, { "target": "com.amazonaws.apigateway#GetRequestValidators" }, { "target": "com.amazonaws.apigateway#GetResource" }, { "target": "com.amazonaws.apigateway#GetResources" }, { "target": "com.amazonaws.apigateway#GetRestApi" }, { "target": "com.amazonaws.apigateway#GetRestApis" }, { "target": "com.amazonaws.apigateway#GetSdk" }, { "target": "com.amazonaws.apigateway#GetSdkType" }, { "target": "com.amazonaws.apigateway#GetSdkTypes" }, { "target": "com.amazonaws.apigateway#GetStage" }, { "target": "com.amazonaws.apigateway#GetStages" }, { "target": "com.amazonaws.apigateway#GetTags" }, { "target": "com.amazonaws.apigateway#GetUsage" }, { "target": "com.amazonaws.apigateway#GetUsagePlan" }, { "target": "com.amazonaws.apigateway#GetUsagePlanKey" }, { "target": "com.amazonaws.apigateway#GetUsagePlanKeys" }, { "target": "com.amazonaws.apigateway#GetUsagePlans" }, { "target": "com.amazonaws.apigateway#GetVpcLink" }, { "target": "com.amazonaws.apigateway#GetVpcLinks" }, { "target": "com.amazonaws.apigateway#ImportApiKeys" }, { "target": "com.amazonaws.apigateway#ImportDocumentationParts" }, { "target": "com.amazonaws.apigateway#ImportRestApi" }, { "target": "com.amazonaws.apigateway#PutGatewayResponse" }, { "target": "com.amazonaws.apigateway#PutIntegration" }, { "target": "com.amazonaws.apigateway#PutIntegrationResponse" }, { "target": "com.amazonaws.apigateway#PutMethod" }, { "target": "com.amazonaws.apigateway#PutMethodResponse" }, { "target": "com.amazonaws.apigateway#PutRestApi" }, { "target": "com.amazonaws.apigateway#TagResource" }, { "target": "com.amazonaws.apigateway#TestInvokeAuthorizer" }, { "target": "com.amazonaws.apigateway#TestInvokeMethod" }, { "target": "com.amazonaws.apigateway#UntagResource" }, { "target": "com.amazonaws.apigateway#UpdateAccount" }, { "target": "com.amazonaws.apigateway#UpdateApiKey" }, { "target": "com.amazonaws.apigateway#UpdateAuthorizer" }, { "target": "com.amazonaws.apigateway#UpdateBasePathMapping" }, { "target": "com.amazonaws.apigateway#UpdateClientCertificate" }, { "target": "com.amazonaws.apigateway#UpdateDeployment" }, { "target": "com.amazonaws.apigateway#UpdateDocumentationPart" }, { "target": "com.amazonaws.apigateway#UpdateDocumentationVersion" }, { "target": "com.amazonaws.apigateway#UpdateDomainName" }, { "target": "com.amazonaws.apigateway#UpdateGatewayResponse" }, { "target": "com.amazonaws.apigateway#UpdateIntegration" }, { "target": "com.amazonaws.apigateway#UpdateIntegrationResponse" }, { "target": "com.amazonaws.apigateway#UpdateMethod" }, { "target": "com.amazonaws.apigateway#UpdateMethodResponse" }, { "target": "com.amazonaws.apigateway#UpdateModel" }, { "target": "com.amazonaws.apigateway#UpdateRequestValidator" }, { "target": "com.amazonaws.apigateway#UpdateResource" }, { "target": "com.amazonaws.apigateway#UpdateRestApi" }, { "target": "com.amazonaws.apigateway#UpdateStage" }, { "target": "com.amazonaws.apigateway#UpdateUsage" }, { "target": "com.amazonaws.apigateway#UpdateUsagePlan" }, { "target": "com.amazonaws.apigateway#UpdateVpcLink" } ], "traits": { "aws.api#service": { "sdkId": "API Gateway", "arnNamespace": "apigateway", "cloudFormationName": "ApiGateway", "cloudTrailEventSource": "apigateway.amazonaws.com", "endpointPrefix": "apigateway" }, "aws.auth#sigv4": { "name": "apigateway" }, "aws.protocols#restJson1": {}, "smithy.api#documentation": "Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.
", "smithy.api#title": "Amazon API Gateway" } }, "com.amazonaws.apigateway#BadRequestException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.apigateway#String" } }, "traits": { "smithy.api#documentation": "The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.apigateway#BasePathMapping": { "type": "structure", "members": { "basePath": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The base path name that callers of the API must provide as part of the URL after the domain name.
" } }, "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The string identifier of the associated RestApi.
" } }, "stage": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The name of the associated stage.
" } } }, "traits": { "smithy.api#documentation": "Represents the base path that callers of the API must provide as part of the URL after the domain name.
\nBasePathMapping
specification identifies a deployed RestApi in a given stage of the owner Account.The current page of elements from this collection.
", "smithy.api#jsonName": "item" } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } } }, "traits": { "smithy.api#documentation": "Represents a collection of BasePathMapping resources.
\n " } }, "com.amazonaws.apigateway#Blob": { "type": "blob" }, "com.amazonaws.apigateway#Boolean": { "type": "boolean" }, "com.amazonaws.apigateway#CacheClusterSize": { "type": "string", "traits": { "smithy.api#documentation": "Returns the size of the CacheCluster.
", "smithy.api#enum": [ { "value": "0.5", "name": "SIZE_0_POINT_5_GB" }, { "value": "1.6", "name": "SIZE_1_POINT_6_GB" }, { "value": "6.1", "name": "SIZE_6_POINT_1_GB" }, { "value": "13.5", "name": "SIZE_13_POINT_5_GB" }, { "value": "28.4", "name": "SIZE_28_POINT_4_GB" }, { "value": "58.2", "name": "SIZE_58_POINT_2_GB" }, { "value": "118", "name": "SIZE_118_GB" }, { "value": "237", "name": "SIZE_237_GB" } ] } }, "com.amazonaws.apigateway#CacheClusterStatus": { "type": "string", "traits": { "smithy.api#documentation": "Returns the status of the CacheCluster.
", "smithy.api#enum": [ { "value": "CREATE_IN_PROGRESS", "name": "CREATE_IN_PROGRESS" }, { "value": "AVAILABLE", "name": "AVAILABLE" }, { "value": "DELETE_IN_PROGRESS", "name": "DELETE_IN_PROGRESS" }, { "value": "NOT_AVAILABLE", "name": "NOT_AVAILABLE" }, { "value": "FLUSH_IN_PROGRESS", "name": "FLUSH_IN_PROGRESS" } ] } }, "com.amazonaws.apigateway#CanarySettings": { "type": "structure", "members": { "percentTraffic": { "target": "com.amazonaws.apigateway#Double", "traits": { "smithy.api#documentation": "The percent (0-100) of traffic diverted to a canary deployment.
" } }, "deploymentId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The ID of the canary deployment.
" } }, "stageVariableOverrides": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.
" } }, "useStageCache": { "target": "com.amazonaws.apigateway#Boolean", "traits": { "smithy.api#documentation": "A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
" } } }, "traits": { "smithy.api#documentation": "Configuration settings of a canary deployment.
" } }, "com.amazonaws.apigateway#ClientCertificate": { "type": "structure", "members": { "clientCertificateId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The identifier of the client certificate.
" } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The description of the client certificate.
" } }, "pemEncodedCertificate": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication in the integration endpoint .
" } }, "createdDate": { "target": "com.amazonaws.apigateway#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the client certificate was created.
" } }, "expirationDate": { "target": "com.amazonaws.apigateway#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the client certificate will expire.
" } }, "tags": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "The collection of tags. Each tag element is associated with a given resource.
" } } }, "traits": { "smithy.api#documentation": "Represents a client certificate used to configure client-side SSL authentication while sending requests to the integration endpoint.
\nThe current page of elements from this collection.
", "smithy.api#jsonName": "item" } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } } }, "traits": { "smithy.api#documentation": "Represents a collection of ClientCertificate resources.
\n " } }, "com.amazonaws.apigateway#ConflictException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.apigateway#String" } }, "traits": { "smithy.api#documentation": "The request configuration has conflicts. For details, see the accompanying error message.
", "smithy.api#error": "client", "smithy.api#httpError": 409 } }, "com.amazonaws.apigateway#ConnectionType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "INTERNET", "name": "INTERNET" }, { "value": "VPC_LINK", "name": "VPC_LINK" } ] } }, "com.amazonaws.apigateway#ContentHandlingStrategy": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CONVERT_TO_BINARY", "name": "CONVERT_TO_BINARY" }, { "value": "CONVERT_TO_TEXT", "name": "CONVERT_TO_TEXT" } ] } }, "com.amazonaws.apigateway#CreateApiKey": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#CreateApiKeyRequest" }, "output": { "target": "com.amazonaws.apigateway#ApiKey" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Create an ApiKey resource.
\n ", "smithy.api#http": { "method": "POST", "uri": "/apikeys", "code": 201 } } }, "com.amazonaws.apigateway#CreateApiKeyRequest": { "type": "structure", "members": { "name": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The name of the ApiKey.
" } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The description of the ApiKey.
" } }, "enabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { "smithy.api#documentation": "Specifies whether the ApiKey can be used by callers.
" } }, "generateDistinctId": { "target": "com.amazonaws.apigateway#Boolean", "traits": { "smithy.api#documentation": "Specifies whether (true
) or not (false
) the key identifier is distinct from the created API key value. This parameter is deprecated and should not be used.
Specifies a value of the API key.
" } }, "stageKeys": { "target": "com.amazonaws.apigateway#ListOfStageKeys", "traits": { "smithy.api#documentation": "DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
" } }, "customerId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.
" } }, "tags": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:
. The tag value can be up to 256 characters.
Request to create an ApiKey resource.
" } }, "com.amazonaws.apigateway#CreateAuthorizer": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#CreateAuthorizerRequest" }, "output": { "target": "com.amazonaws.apigateway#Authorizer" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Adds a new Authorizer resource to an existing RestApi resource.
\n ", "smithy.api#http": { "method": "POST", "uri": "/restapis/{restApiId}/authorizers", "code": 201 } } }, "com.amazonaws.apigateway#CreateAuthorizerRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The name of the authorizer.
", "smithy.api#required": {} } }, "type": { "target": "com.amazonaws.apigateway#AuthorizerType", "traits": { "smithy.api#documentation": "[Required] The authorizer type. Valid values are TOKEN
for a Lambda function using a single authorization token submitted in a custom header, REQUEST
for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS
for using an Amazon Cognito user pool.
A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS
authorizer. Each element is of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}
. For a TOKEN
or REQUEST
authorizer, this is not defined.
Optional customer-defined field, used in OpenAPI imports and exports without functional impact.
" } }, "authorizerUri": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN
or REQUEST
authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations
. In general, the URI has this form arn:aws:apigateway:{region}:lambda:path/{service_api}
, where {region}
is the same as the region hosting the Lambda function, path
indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /
. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations
.
Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null.
" } }, "identitySource": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The identity source for which authorization is requested.
TOKEN
or COGNITO_USER_POOLS
authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is Auth
, the header mapping expression is method.request.header.Auth
.REQUEST
authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an Auth
header, a Name
query string parameter are defined as identity sources, this value is method.request.header.Auth, method.request.querystring.Name
. These parameters will be used to derive the authorization caching key and to perform runtime validation of the REQUEST
authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized response without calling the Lambda function. The valid value is a string of comma-separated mapping expressions of the specified request parameters. When the authorization caching is not enabled, this property is optional.A validation expression for the incoming identity token. For TOKEN
authorizers, this value is a regular expression. For COGNITO_USER_POOLS
authorizers, API Gateway will match the aud
field of the incoming token from the client against the specified regular expression. It will invoke the authorizer's Lambda function when there is a match. Otherwise, it will return a 401 Unauthorized response without calling the Lambda function. The validation expression does not apply to the REQUEST
authorizer.
The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour.
" } } }, "traits": { "smithy.api#documentation": "Request to add a new Authorizer to an existing RestApi resource.
" } }, "com.amazonaws.apigateway#CreateBasePathMapping": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#CreateBasePathMappingRequest" }, "output": { "target": "com.amazonaws.apigateway#BasePathMapping" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Creates a new BasePathMapping resource.
", "smithy.api#http": { "method": "POST", "uri": "/domainnames/{domainName}/basepathmappings", "code": 201 } } }, "com.amazonaws.apigateway#CreateBasePathMappingRequest": { "type": "structure", "members": { "domainName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The domain name of the BasePathMapping resource to create.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "basePath": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#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. Specify '(none)' if you do not want callers to specify a base path name after the domain name.
" } }, "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#required": {} } }, "stage": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The name of the API's stage that you want to use for this mapping. Specify '(none)' if you want callers to explicitly specify the stage name after any base path name.
" } } }, "traits": { "smithy.api#documentation": "Requests API Gateway to create a new BasePathMapping resource.
" } }, "com.amazonaws.apigateway#CreateDeployment": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#CreateDeploymentRequest" }, "output": { "target": "com.amazonaws.apigateway#Deployment" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#ServiceUnavailableException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Creates a Deployment resource, which makes a specified RestApi callable over the internet.
", "smithy.api#http": { "method": "POST", "uri": "/restapis/{restApiId}/deployments", "code": 201 } } }, "com.amazonaws.apigateway#CreateDeploymentRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "stageName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The name of the Stage resource for the Deployment resource to create.
" } }, "stageDescription": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The description of the Stage resource for the Deployment resource to create.
" } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The description for the Deployment resource to create.
" } }, "cacheClusterEnabled": { "target": "com.amazonaws.apigateway#NullableBoolean", "traits": { "smithy.api#documentation": "Enables a cache cluster for the Stage resource specified in the input.
" } }, "cacheClusterSize": { "target": "com.amazonaws.apigateway#CacheClusterSize", "traits": { "smithy.api#documentation": "Specifies the cache cluster size for the Stage resource specified in the input, if a cache cluster is enabled.
" } }, "variables": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "A map that defines the stage variables for the Stage resource that is associated\n with the new deployment. Variable names can have alphanumeric and underscore characters, and the values\n must match [A-Za-z0-9-._~:/?#&=,]+
.
The input configuration for the canary deployment when the deployment is a canary release deployment.
" } }, "tracingEnabled": { "target": "com.amazonaws.apigateway#NullableBoolean", "traits": { "smithy.api#documentation": "Specifies whether active tracing with X-ray is enabled for the Stage.
" } } }, "traits": { "smithy.api#documentation": "Requests API Gateway to create a Deployment resource.
" } }, "com.amazonaws.apigateway#CreateDocumentationPart": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#CreateDocumentationPartRequest" }, "output": { "target": "com.amazonaws.apigateway#DocumentationPart" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#http": { "method": "POST", "uri": "/restapis/{restApiId}/documentation/parts", "code": 201 } } }, "com.amazonaws.apigateway#CreateDocumentationPartRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "location": { "target": "com.amazonaws.apigateway#DocumentationPartLocation", "traits": { "smithy.api#documentation": "[Required] The location of the targeted API entity of the to-be-created documentation part.
", "smithy.api#required": {} } }, "properties": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Creates a new documentation part of a given API.
" } }, "com.amazonaws.apigateway#CreateDocumentationVersion": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#CreateDocumentationVersionRequest" }, "output": { "target": "com.amazonaws.apigateway#DocumentationVersion" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#http": { "method": "POST", "uri": "/restapis/{restApiId}/documentation/versions", "code": 201 } } }, "com.amazonaws.apigateway#CreateDocumentationVersionRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "documentationVersion": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The version identifier of the new snapshot.
", "smithy.api#required": {} } }, "stageName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The stage name to be associated with the new documentation snapshot.
" } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "A description about the new documentation snapshot.
" } } }, "traits": { "smithy.api#documentation": "Creates a new documentation version of a given API.
" } }, "com.amazonaws.apigateway#CreateDomainName": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#CreateDomainNameRequest" }, "output": { "target": "com.amazonaws.apigateway#DomainName" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Creates a new domain name.
", "smithy.api#http": { "method": "POST", "uri": "/domainnames", "code": 201 } } }, "com.amazonaws.apigateway#CreateDomainNameRequest": { "type": "structure", "members": { "domainName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The name of the DomainName resource.
", "smithy.api#required": {} } }, "certificateName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The user-friendly name of the certificate that will be used by edge-optimized endpoint for this domain name.
" } }, "certificateBody": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Deprecated] The body of the server certificate that will be used by edge-optimized endpoint for this domain name provided by your certificate authority.
" } }, "certificatePrivateKey": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Deprecated] Your edge-optimized endpoint's domain name certificate's private key.
" } }, "certificateChain": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Deprecated] The intermediate certificates and optionally the root certificate, one after the other without any blank lines, used by an edge-optimized endpoint for this domain name. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path.
" } }, "certificateArn": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The reference to an AWS-managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.
" } }, "regionalCertificateName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The user-friendly name of the certificate that will be used by regional endpoint for this domain name.
" } }, "regionalCertificateArn": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The reference to an AWS-managed certificate that will be used by regional endpoint for this domain name. AWS Certificate Manager is the only supported source.
" } }, "endpointConfiguration": { "target": "com.amazonaws.apigateway#EndpointConfiguration", "traits": { "smithy.api#documentation": "The endpoint configuration of this DomainName showing the endpoint types of the domain name.
" } }, "tags": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:
. The tag value can be up to 256 characters.
The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are TLS_1_0
and TLS_1_2
.
A request to create a new domain name.
" } }, "com.amazonaws.apigateway#CreateModel": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#CreateModelRequest" }, "output": { "target": "com.amazonaws.apigateway#Model" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Adds a new Model resource to an existing RestApi resource.
", "smithy.api#http": { "method": "POST", "uri": "/restapis/{restApiId}/models", "code": 201 } } }, "com.amazonaws.apigateway#CreateModelRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The RestApi identifier under which the Model will be created.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The name of the model. Must be alphanumeric.
", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The description of the model.
" } }, "schema": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The schema for the model. For application/json
models, this should be JSON schema draft 4 model.
[Required] The content-type for the model.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Request to add a new Model to an existing RestApi resource.
" } }, "com.amazonaws.apigateway#CreateRequestValidator": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#CreateRequestValidatorRequest" }, "output": { "target": "com.amazonaws.apigateway#RequestValidator" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Creates a ReqeustValidator of a given RestApi.
", "smithy.api#http": { "method": "POST", "uri": "/restapis/{restApiId}/requestvalidators", "code": 201 } } }, "com.amazonaws.apigateway#CreateRequestValidatorRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The name of the to-be-created RequestValidator.
" } }, "validateRequestBody": { "target": "com.amazonaws.apigateway#Boolean", "traits": { "smithy.api#documentation": "A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (true
) or not (false
).
A Boolean flag to indicate whether to validate request parameters, true
, or not false
.
Creates a RequestValidator of a given RestApi.
" } }, "com.amazonaws.apigateway#CreateResource": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#CreateResourceRequest" }, "output": { "target": "com.amazonaws.apigateway#Resource" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Creates a Resource resource.
", "smithy.api#http": { "method": "POST", "uri": "/restapis/{restApiId}/resources/{parentId}", "code": 201 } } }, "com.amazonaws.apigateway#CreateResourceRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "parentId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The parent resource's identifier.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "pathPart": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The last path segment for this resource.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Requests API Gateway to create a Resource resource.
" } }, "com.amazonaws.apigateway#CreateRestApi": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#CreateRestApiRequest" }, "output": { "target": "com.amazonaws.apigateway#RestApi" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Creates a new RestApi resource.
", "smithy.api#http": { "method": "POST", "uri": "/restapis", "code": 201 } } }, "com.amazonaws.apigateway#CreateRestApiRequest": { "type": "structure", "members": { "name": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The name of the RestApi.
", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The description of the RestApi.
" } }, "version": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "A version identifier for the API.
" } }, "cloneFrom": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The ID of the RestApi that you want to clone from.
" } }, "binaryMediaTypes": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { "smithy.api#documentation": "The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.
" } }, "minimumCompressionSize": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { "smithy.api#documentation": "A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.
" } }, "apiKeySource": { "target": "com.amazonaws.apigateway#ApiKeySourceType", "traits": { "smithy.api#documentation": "The source of the API key for metering requests according to a usage plan. Valid values are:
HEADER
to read the API key from the X-API-Key
header of a request. AUTHORIZER
to read the API key from the UsageIdentifierKey
from a custom authorizer.The endpoint configuration of this RestApi showing the endpoint types of the API.
" } }, "policy": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "A stringified JSON policy document that applies to this RestApi regardless of the caller and Method configuration." } }, "tags": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:
. The tag value can be up to 256 characters.
Specifies whether clients can invoke your API by using the default execute-api
endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.
The POST Request to add a new RestApi resource to your collection.
" } }, "com.amazonaws.apigateway#CreateStage": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#CreateStageRequest" }, "output": { "target": "com.amazonaws.apigateway#Stage" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Creates a new Stage resource that references a pre-existing Deployment for the API.
\n ", "smithy.api#http": { "method": "POST", "uri": "/restapis/{restApiId}/stages", "code": 201 } } }, "com.amazonaws.apigateway#CreateStageRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "stageName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The name for the Stage resource. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.
", "smithy.api#required": {} } }, "deploymentId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the Deployment resource for the Stage resource.
", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The description of the Stage resource.
" } }, "cacheClusterEnabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { "smithy.api#documentation": "Whether cache clustering is enabled for the stage.
" } }, "cacheClusterSize": { "target": "com.amazonaws.apigateway#CacheClusterSize", "traits": { "smithy.api#documentation": "The stage's cache cluster size.
" } }, "variables": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "A map that defines the stage variables for the new Stage resource. Variable names\n can have alphanumeric and underscore characters, and the values must match\n [A-Za-z0-9-._~:/?#&=,]+
.
The version of the associated API documentation.
" } }, "canarySettings": { "target": "com.amazonaws.apigateway#CanarySettings", "traits": { "smithy.api#documentation": "The canary deployment settings of this stage.
" } }, "tracingEnabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { "smithy.api#documentation": "Specifies whether active tracing with X-ray is enabled for the Stage.
" } }, "tags": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:
. The tag value can be up to 256 characters.
Requests API Gateway to create a Stage resource.
" } }, "com.amazonaws.apigateway#CreateUsagePlan": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#CreateUsagePlanRequest" }, "output": { "target": "com.amazonaws.apigateway#UsagePlan" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Creates a usage plan with the throttle and quota limits, as well as the associated API stages, specified in the payload.
", "smithy.api#http": { "method": "POST", "uri": "/usageplans", "code": 201 } } }, "com.amazonaws.apigateway#CreateUsagePlanKey": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#CreateUsagePlanKeyRequest" }, "output": { "target": "com.amazonaws.apigateway#UsagePlanKey" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Creates a usage plan key for adding an existing API key to a usage plan.
", "smithy.api#http": { "method": "POST", "uri": "/usageplans/{usagePlanId}/keys", "code": 201 } } }, "com.amazonaws.apigateway#CreateUsagePlanKeyRequest": { "type": "structure", "members": { "usagePlanId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-created UsagePlanKey resource representing a plan customer.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "keyId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of a UsagePlanKey resource for a plan customer.
", "smithy.api#required": {} } }, "keyType": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The type of a UsagePlanKey resource for a plan customer.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The POST request to create a usage plan key for adding an existing API key to a usage plan.
" } }, "com.amazonaws.apigateway#CreateUsagePlanRequest": { "type": "structure", "members": { "name": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The name of the usage plan.
", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The description of the usage plan.
" } }, "apiStages": { "target": "com.amazonaws.apigateway#ListOfApiStage", "traits": { "smithy.api#documentation": "The associated API stages of the usage plan.
" } }, "throttle": { "target": "com.amazonaws.apigateway#ThrottleSettings", "traits": { "smithy.api#documentation": "The throttling limits of the usage plan.
" } }, "quota": { "target": "com.amazonaws.apigateway#QuotaSettings", "traits": { "smithy.api#documentation": "The quota of the usage plan.
" } }, "tags": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:
. The tag value can be up to 256 characters.
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.
" } }, "com.amazonaws.apigateway#CreateVpcLink": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#CreateVpcLinkRequest" }, "output": { "target": "com.amazonaws.apigateway#VpcLink" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Creates a VPC link, under the caller's account in a selected region, in an asynchronous operation that typically takes 2-4 minutes to complete and become operational. The caller must have permissions to create and update VPC Endpoint services.
", "smithy.api#http": { "method": "POST", "uri": "/vpclinks", "code": 202 } } }, "com.amazonaws.apigateway#CreateVpcLinkRequest": { "type": "structure", "members": { "name": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The name used to label and identify the VPC link.
", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The description of the VPC link.
" } }, "targetArns": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { "smithy.api#documentation": "[Required] The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.
", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:
. The tag value can be up to 256 characters.
Creates a VPC link, under the caller's account in a selected region, in an asynchronous operation that typically takes 2-4 minutes to complete and become operational. The caller must have permissions to create and update VPC Endpoint services.
" } }, "com.amazonaws.apigateway#DeleteApiKey": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#DeleteApiKeyRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Deletes the ApiKey resource.
", "smithy.api#http": { "method": "DELETE", "uri": "/apikeys/{apiKey}", "code": 202 } } }, "com.amazonaws.apigateway#DeleteApiKeyRequest": { "type": "structure", "members": { "apiKey": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the ApiKey resource to be deleted.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A request to delete the ApiKey resource.
" } }, "com.amazonaws.apigateway#DeleteAuthorizer": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#DeleteAuthorizerRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Deletes an existing Authorizer resource.
\n ", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/authorizers/{authorizerId}", "code": 202 } } }, "com.amazonaws.apigateway#DeleteAuthorizerRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "authorizerId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the Authorizer resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Request to delete an existing Authorizer resource.
" } }, "com.amazonaws.apigateway#DeleteBasePathMapping": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#DeleteBasePathMappingRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Deletes the BasePathMapping resource.
", "smithy.api#http": { "method": "DELETE", "uri": "/domainnames/{domainName}/basepathmappings/{basePath}", "code": 202 } } }, "com.amazonaws.apigateway#DeleteBasePathMappingRequest": { "type": "structure", "members": { "domainName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The domain name of the BasePathMapping resource to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "basePath": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The base path name of the BasePathMapping resource to delete.
\nTo specify an empty base path, set this parameter to '(none)'
.
A request to delete the BasePathMapping resource.
" } }, "com.amazonaws.apigateway#DeleteClientCertificate": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#DeleteClientCertificateRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Deletes the ClientCertificate resource.
", "smithy.api#http": { "method": "DELETE", "uri": "/clientcertificates/{clientCertificateId}", "code": 202 } } }, "com.amazonaws.apigateway#DeleteClientCertificateRequest": { "type": "structure", "members": { "clientCertificateId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the ClientCertificate resource to be deleted.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A request to delete the ClientCertificate resource.
" } }, "com.amazonaws.apigateway#DeleteDeployment": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#DeleteDeploymentRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.
", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/deployments/{deploymentId}", "code": 202 } } }, "com.amazonaws.apigateway#DeleteDeploymentRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "deploymentId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the Deployment resource to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Requests API Gateway to delete a Deployment resource.
" } }, "com.amazonaws.apigateway#DeleteDocumentationPart": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#DeleteDocumentationPartRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/documentation/parts/{documentationPartId}", "code": 202 } } }, "com.amazonaws.apigateway#DeleteDocumentationPartRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "documentationPartId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the to-be-deleted documentation part.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Deletes an existing documentation part of an API.
" } }, "com.amazonaws.apigateway#DeleteDocumentationVersion": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#DeleteDocumentationVersionRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/documentation/versions/{documentationVersion}", "code": 202 } } }, "com.amazonaws.apigateway#DeleteDocumentationVersionRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "documentationVersion": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The version identifier of a to-be-deleted documentation snapshot.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Deletes an existing documentation version of an API.
" } }, "com.amazonaws.apigateway#DeleteDomainName": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#DeleteDomainNameRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Deletes the DomainName resource.
", "smithy.api#http": { "method": "DELETE", "uri": "/domainnames/{domainName}", "code": 202 } } }, "com.amazonaws.apigateway#DeleteDomainNameRequest": { "type": "structure", "members": { "domainName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The name of the DomainName resource to be deleted.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A request to delete the DomainName resource.
" } }, "com.amazonaws.apigateway#DeleteGatewayResponse": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#DeleteGatewayResponseRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.
", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/gatewayresponses/{responseType}", "code": 202 } } }, "com.amazonaws.apigateway#DeleteGatewayResponseRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "responseType": { "target": "com.amazonaws.apigateway#GatewayResponseType", "traits": { "smithy.api#documentation": "[Required]
The response type of the associated GatewayResponse. Valid values are
Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.
" } }, "com.amazonaws.apigateway#DeleteIntegration": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#DeleteIntegrationRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Represents a delete integration.
", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration", "code": 204 } } }, "com.amazonaws.apigateway#DeleteIntegrationRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] Specifies a delete integration request's resource identifier.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] Specifies a delete integration request's HTTP method.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Represents a delete integration request.
" } }, "com.amazonaws.apigateway#DeleteIntegrationResponse": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#DeleteIntegrationResponseRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Represents a delete integration response.
", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration/responses/{statusCode}", "code": 204 } } }, "com.amazonaws.apigateway#DeleteIntegrationResponseRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] Specifies a delete integration response request's resource identifier.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] Specifies a delete integration response request's HTTP method.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "statusCode": { "target": "com.amazonaws.apigateway#StatusCode", "traits": { "smithy.api#documentation": "[Required] Specifies a delete integration response request's status code.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Represents a delete integration response request.
" } }, "com.amazonaws.apigateway#DeleteMethod": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#DeleteMethodRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Deletes an existing Method resource.
", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", "code": 204 } } }, "com.amazonaws.apigateway#DeleteMethodRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The Resource identifier for the Method resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The HTTP verb of the Method resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Request to delete an existing Method resource.
" } }, "com.amazonaws.apigateway#DeleteMethodResponse": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#DeleteMethodResponseRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Deletes an existing MethodResponse resource.
", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", "code": 204 } } }, "com.amazonaws.apigateway#DeleteMethodResponseRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The Resource identifier for the MethodResponse resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The HTTP verb of the Method resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "statusCode": { "target": "com.amazonaws.apigateway#StatusCode", "traits": { "smithy.api#documentation": "[Required] The status code identifier for the MethodResponse resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A request to delete an existing MethodResponse resource.
" } }, "com.amazonaws.apigateway#DeleteModel": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#DeleteModelRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Deletes a model.
", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/models/{modelName}", "code": 202 } } }, "com.amazonaws.apigateway#DeleteModelRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "modelName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The name of the model to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Request to delete an existing model in an existing RestApi resource.
" } }, "com.amazonaws.apigateway#DeleteRequestValidator": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#DeleteRequestValidatorRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Deletes a RequestValidator of a given RestApi.
", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/requestvalidators/{requestValidatorId}", "code": 202 } } }, "com.amazonaws.apigateway#DeleteRequestValidatorRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "requestValidatorId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the RequestValidator to be deleted.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Deletes a specified RequestValidator of a given RestApi.
" } }, "com.amazonaws.apigateway#DeleteResource": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#DeleteResourceRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Deletes a Resource resource.
", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/resources/{resourceId}", "code": 202 } } }, "com.amazonaws.apigateway#DeleteResourceRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the Resource resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Request to delete a Resource.
" } }, "com.amazonaws.apigateway#DeleteRestApi": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#DeleteRestApiRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Deletes the specified API.
", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}", "code": 202 } } }, "com.amazonaws.apigateway#DeleteRestApiRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Request to delete the specified API from your collection.
" } }, "com.amazonaws.apigateway#DeleteStage": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#DeleteStageRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Deletes a Stage resource.
", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/stages/{stageName}", "code": 202 } } }, "com.amazonaws.apigateway#DeleteStageRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "stageName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The name of the Stage resource to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Requests API Gateway to delete a Stage resource.
" } }, "com.amazonaws.apigateway#DeleteUsagePlan": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#DeleteUsagePlanRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Deletes a usage plan of a given plan Id.
", "smithy.api#http": { "method": "DELETE", "uri": "/usageplans/{usagePlanId}", "code": 202 } } }, "com.amazonaws.apigateway#DeleteUsagePlanKey": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#DeleteUsagePlanKeyRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Deletes a usage plan key and remove the underlying API key from the associated usage plan.
", "smithy.api#http": { "method": "DELETE", "uri": "/usageplans/{usagePlanId}/keys/{keyId}", "code": 202 } } }, "com.amazonaws.apigateway#DeleteUsagePlanKeyRequest": { "type": "structure", "members": { "usagePlanId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-deleted UsagePlanKey resource representing a plan customer.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "keyId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The Id of the UsagePlanKey resource to be deleted.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The DELETE request to delete a usage plan key and remove the underlying API key from the associated usage plan.
" } }, "com.amazonaws.apigateway#DeleteUsagePlanRequest": { "type": "structure", "members": { "usagePlanId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The Id of the to-be-deleted usage plan.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The DELETE request to delete a usage plan of a given plan Id.
" } }, "com.amazonaws.apigateway#DeleteVpcLink": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#DeleteVpcLinkRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Deletes an existing VpcLink of a specified identifier.
", "smithy.api#http": { "method": "DELETE", "uri": "/vpclinks/{vpcLinkId}", "code": 202 } } }, "com.amazonaws.apigateway#DeleteVpcLinkRequest": { "type": "structure", "members": { "vpcLinkId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Deletes an existing VpcLink of a specified identifier.
" } }, "com.amazonaws.apigateway#Deployment": { "type": "structure", "members": { "id": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The identifier for the deployment resource.
" } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The description for the deployment resource.
" } }, "createdDate": { "target": "com.amazonaws.apigateway#Timestamp", "traits": { "smithy.api#documentation": "The date and time that the deployment resource was created.
" } }, "apiSummary": { "target": "com.amazonaws.apigateway#PathToMapOfMethodSnapshot", "traits": { "smithy.api#documentation": "A summary of the RestApi at the date and time that the deployment resource was created.
" } } }, "traits": { "smithy.api#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.
\nPOST
on the Deployments resource of a RestApi.\n To view, update, or delete a deployment, call GET
, PATCH
, or DELETE
on the specified deployment resource (/restapis/{restapi_id}/deployments/{deployment_id}
).The percentage (0.0-100.0) of traffic routed to the canary deployment.
" } }, "stageVariableOverrides": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.
" } }, "useStageCache": { "target": "com.amazonaws.apigateway#Boolean", "traits": { "smithy.api#documentation": "A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
" } } }, "traits": { "smithy.api#documentation": "The input configuration for a canary deployment.
" } }, "com.amazonaws.apigateway#Deployments": { "type": "structure", "members": { "items": { "target": "com.amazonaws.apigateway#ListOfDeployment", "traits": { "smithy.api#documentation": "The current page of elements from this collection.
", "smithy.api#jsonName": "item" } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } } }, "traits": { "smithy.api#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.
\nPOST
request against this resource. To view, update, or delete an existing\n deployment, make a GET
, PATCH
, or DELETE
request, respectively, on a specified Deployment resource.The DocumentationPart identifier, generated by API Gateway when the DocumentationPart
is created.
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": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., \"{ \\\"description\\\": \\\"The API does ...\\\" }\"
. Only OpenAPI-compliant documentation-related fields from the x-amazon-apigateway-documentation
.
A documentation part for a targeted API entity.
\nA documentation part consists of a content map (properties
) and a target (location
). The target specifies an API entity to which the documentation content applies. The supported API entity types are API
, AUTHORIZER
, MODEL
, RESOURCE
, METHOD
, PATH_PARAMETER
, QUERY_PARAMETER
, REQUEST_HEADER
, REQUEST_BODY
, RESPONSE
, RESPONSE_HEADER
, and RESPONSE_BODY
. Valid location
fields depend on the API entity type. All valid fields are not required.
The content map is a JSON string of API-specific key-value pairs. Although an API can use any shape for the content map, only the OpenAPI-compliant documentation fields will be injected into the associated API entity definition in the exported OpenAPI definition file.
A list of the returned documentation part identifiers.
" } }, "warnings": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { "smithy.api#documentation": "A list of warning messages reported during import of documentation parts.
" } } }, "traits": { "smithy.api#documentation": "A collection of the imported DocumentationPart identifiers.
\n[Required] The type of API entity to which the documentation content applies. Valid values are API
, AUTHORIZER
, MODEL
, RESOURCE
, METHOD
, PATH_PARAMETER
, QUERY_PARAMETER
, REQUEST_HEADER
, REQUEST_BODY
, RESPONSE
, RESPONSE_HEADER
, and RESPONSE_BODY
. Content inheritance does not apply to any entity of the API
, AUTHORIZER
, METHOD
, MODEL
, REQUEST_BODY
, or RESOURCE
type.
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.
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.
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.
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.
Specifies the target API entity to which the documentation applies.
" } }, "com.amazonaws.apigateway#DocumentationPartLocationStatusCode": { "type": "string", "traits": { "smithy.api#pattern": "^([1-5]\\d\\d|\\*|\\s*)$" } }, "com.amazonaws.apigateway#DocumentationPartType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "API", "name": "API" }, { "value": "AUTHORIZER", "name": "AUTHORIZER" }, { "value": "MODEL", "name": "MODEL" }, { "value": "RESOURCE", "name": "RESOURCE" }, { "value": "METHOD", "name": "METHOD" }, { "value": "PATH_PARAMETER", "name": "PATH_PARAMETER" }, { "value": "QUERY_PARAMETER", "name": "QUERY_PARAMETER" }, { "value": "REQUEST_HEADER", "name": "REQUEST_HEADER" }, { "value": "REQUEST_BODY", "name": "REQUEST_BODY" }, { "value": "RESPONSE", "name": "RESPONSE" }, { "value": "RESPONSE_HEADER", "name": "RESPONSE_HEADER" }, { "value": "RESPONSE_BODY", "name": "RESPONSE_BODY" } ] } }, "com.amazonaws.apigateway#DocumentationParts": { "type": "structure", "members": { "items": { "target": "com.amazonaws.apigateway#ListOfDocumentationPart", "traits": { "smithy.api#documentation": "The current page of elements from this collection.
", "smithy.api#jsonName": "item" } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } } }, "traits": { "smithy.api#documentation": "The collection of documentation parts of an API.
\n \n " } }, "com.amazonaws.apigateway#DocumentationVersion": { "type": "structure", "members": { "version": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The version identifier of the API documentation snapshot.
" } }, "createdDate": { "target": "com.amazonaws.apigateway#Timestamp", "traits": { "smithy.api#documentation": "The date when the API documentation snapshot is created.
" } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The description of the API documentation snapshot.
" } } }, "traits": { "smithy.api#documentation": "A snapshot of the documentation of an API.
\nPublishing API documentation involves creating a documentation version associated with an API stage and exporting the versioned documentation to an external (e.g., OpenAPI) file.
The current page of elements from this collection.
", "smithy.api#jsonName": "item" } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } } }, "traits": { "smithy.api#documentation": "The collection of documentation snapshots of an API.
\nUse the DocumentationVersions to manage documentation snapshots associated with various API stages.
The custom domain name as an API host name, for example, my-api.example.com
.
The name of the certificate that will be used by edge-optimized endpoint for this domain name.
" } }, "certificateArn": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The reference to an AWS-managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.
" } }, "certificateUploadDate": { "target": "com.amazonaws.apigateway#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.
" } }, "regionalDomainName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The domain name associated with the regional endpoint for this custom domain name. You set up this association by adding a DNS record that points the custom domain name to this regional domain name. The regional domain name is returned by API Gateway when you create a regional endpoint.
" } }, "regionalHostedZoneId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.
" } }, "regionalCertificateName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The name of the certificate that will be used for validating the regional domain name.
" } }, "regionalCertificateArn": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The reference to an AWS-managed certificate that will be used for validating the regional domain name. AWS Certificate Manager is the only supported source.
" } }, "distributionDomainName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The domain name of the Amazon CloudFront distribution associated with this custom domain name for an edge-optimized endpoint. You set up this association when adding a DNS record pointing the custom domain name to this distribution name. For more information about CloudFront distributions, see the Amazon CloudFront documentation.
" } }, "distributionHostedZoneId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The valid value is Z2FDTNDATAQYW2
for all the regions. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.
The endpoint configuration of this DomainName showing the endpoint types of the domain name.
" } }, "domainNameStatus": { "target": "com.amazonaws.apigateway#DomainNameStatus", "traits": { "smithy.api#documentation": "The status of the DomainName migration. The valid values are AVAILABLE
and UPDATING
. If the status is UPDATING
, the domain cannot be modified further until the existing operation is complete. If it is AVAILABLE
, the domain can be updated.
An optional text message containing detailed information about status of the DomainName migration.
" } }, "securityPolicy": { "target": "com.amazonaws.apigateway#SecurityPolicy", "traits": { "smithy.api#documentation": "The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are TLS_1_0
and TLS_1_2
.
The collection of tags. Each tag element is associated with a given resource.
" } }, "mutualTlsAuthentication": { "target": "com.amazonaws.apigateway#MutualTlsAuthentication", "traits": { "smithy.api#documentation": "The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.
" } } }, "traits": { "smithy.api#documentation": "Represents a custom domain name as a user-friendly host name of an API (RestApi).
\nWhen you deploy an API, API Gateway creates a default host name for the API. This default API host name is of the {restapi-id}.execute-api.{region}.amazonaws.com
format. With the default host name, you can access the API's root resource with the URL of https://{restapi-id}.execute-api.{region}.amazonaws.com/{stage}/
. When you set up a custom domain name of apis.example.com
for this API, you can then access the same resource using the URL of the https://apis.examples.com/myApi
, where myApi
is the base path mapping (BasePathMapping) of your API under the custom domain name.\n
The current page of elements from this collection.
", "smithy.api#jsonName": "item" } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } } }, "traits": { "smithy.api#documentation": "Represents a collection of DomainName resources.
\n " } }, "com.amazonaws.apigateway#Double": { "type": "double" }, "com.amazonaws.apigateway#EndpointConfiguration": { "type": "structure", "members": { "types": { "target": "com.amazonaws.apigateway#ListOfEndpointType", "traits": { "smithy.api#documentation": "A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is \"EDGE\"
. For a regional API and its custom domain name, the endpoint type is REGIONAL
. For a private API, the endpoint type is PRIVATE
.
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE
endpoint type.
The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has.
" } }, "com.amazonaws.apigateway#EndpointType": { "type": "string", "traits": { "smithy.api#documentation": "The endpoint type. The valid values are EDGE
for edge-optimized API setup, most suitable for mobile applications; REGIONAL
for regional API endpoint setup, most suitable for calling from AWS Region; and PRIVATE
for private APIs.
The content-type header value in the HTTP response. This will correspond to a valid 'accept' type in the request.
", "smithy.api#httpHeader": "Content-Type" } }, "contentDisposition": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The content-disposition header value in the HTTP response.
", "smithy.api#httpHeader": "Content-Disposition" } }, "body": { "target": "com.amazonaws.apigateway#Blob", "traits": { "smithy.api#documentation": "The binary blob response to GetExport, which contains the export.
", "smithy.api#httpPayload": {} } } }, "traits": { "smithy.api#documentation": "The binary blob response to GetExport, which contains the generated SDK.
" } }, "com.amazonaws.apigateway#FlushStageAuthorizersCache": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#FlushStageAuthorizersCacheRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Flushes all authorizer cache entries on a stage.
", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/stages/{stageName}/cache/authorizers", "code": 202 } } }, "com.amazonaws.apigateway#FlushStageAuthorizersCacheRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "stageName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The name of the stage to flush.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Request to flush authorizer cache entries on a specified stage.
" } }, "com.amazonaws.apigateway#FlushStageCache": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#FlushStageCacheRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Flushes a stage's cache.
", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/stages/{stageName}/cache/data", "code": 202 } } }, "com.amazonaws.apigateway#FlushStageCacheRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "stageName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The name of the stage to flush its cache.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Requests API Gateway to flush a stage's cache.
" } }, "com.amazonaws.apigateway#GatewayResponse": { "type": "structure", "members": { "responseType": { "target": "com.amazonaws.apigateway#GatewayResponseType", "traits": { "smithy.api#documentation": "The response type of the associated GatewayResponse. Valid values are
The HTTP status code for this GatewayResponse.
" } }, "responseParameters": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.
" } }, "responseTemplates": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "Response templates of the GatewayResponse as a string-to-string map of key-value pairs.
" } }, "defaultResponse": { "target": "com.amazonaws.apigateway#Boolean", "traits": { "smithy.api#documentation": "A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true
) or not (false
). A default gateway response is one generated by API Gateway without any customization by an API developer.
A gateway response of a given response type and status code, with optional response parameters and mapping templates.
\nThis example shows how to get a gateway response of the MISSING_AUTHENTICATION_TOKEN
type.
GET /restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN HTTP/1.1\nHost: beta-apigateway.us-east-1.amazonaws.com\nContent-Type: application/json\nX-Amz-Date: 20170503T202516Z\nAuthorization: AWS4-HMAC-SHA256 Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=1b52460e3159c1a26cff29093855d50ea141c1c5b937528fecaf60f51129697a\nCache-Control: no-cache\nPostman-Token: 3b2a1ce9-c848-2e26-2e2f-9c2caefbed45\n
\n The response type is specified as a URL path.
\nThe successful operation returns the 200 OK
status code and a payload similar to the following:
{\n \"_links\": {\n \"curies\": {\n \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html\",\n \"name\": \"gatewayresponse\",\n \"templated\": true\n },\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\"\n },\n \"gatewayresponse:delete\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\"\n },\n \"gatewayresponse:put\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"gatewayresponse:update\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\"\n }\n },\n \"defaultResponse\": false,\n \"responseParameters\": {\n \"gatewayresponse.header.x-request-path\": \"method.request.path.petId\",\n \"gatewayresponse.header.Access-Control-Allow-Origin\": \"'a.b.c'\",\n \"gatewayresponse.header.x-request-query\": \"method.request.querystring.q\",\n \"gatewayresponse.header.x-request-header\": \"method.request.header.Accept\"\n },\n \"responseTemplates\": {\n \"application/json\": \"{\\n \\\"message\\\": $context.error.messageString,\\n \\\"type\\\": \\\"$context.error.responseType\\\",\\n \\\"stage\\\": \\\"$context.stage\\\",\\n \\\"resourcePath\\\": \\\"$context.resourcePath\\\",\\n \\\"stageVariables.a\\\": \\\"$stageVariables.a\\\",\\n \\\"statusCode\\\": \\\"'404'\\\"\\n}\"\n },\n \"responseType\": \"MISSING_AUTHENTICATION_TOKEN\",\n \"statusCode\": \"404\"\n}
\n \n Returns the entire collection, because of no pagination support.
", "smithy.api#jsonName": "item" } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set. The GatewayResponse collection does not support pagination and the position does not apply here.
", "smithy.api#httpQuery": "position" } } }, "traits": { "smithy.api#documentation": "The collection of the GatewayResponse instances of a RestApi as a responseType
-to-GatewayResponse object map of key-value pairs. As such, pagination is not supported for querying this collection.
This example request shows how to retrieve the GatewayResponses collection from an API.
\nGET /restapis/o81lxisefl/gatewayresponses HTTP/1.1\nHost: beta-apigateway.us-east-1.amazonaws.com\nContent-Type: application/json\nX-Amz-Date: 20170503T220604Z\nAuthorization: AWS4-HMAC-SHA256 Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=59b42fe54a76a5de8adf2c67baa6d39206f8e9ad49a1d77ccc6a5da3103a398a\nCache-Control: no-cache\nPostman-Token: 5637af27-dc29-fc5c-9dfe-0645d52cb515\n
\n \n The successful operation returns the 200 OK
status code and a payload similar to the following:
{\n \"_links\": {\n \"curies\": {\n \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html\",\n \"name\": \"gatewayresponse\",\n \"templated\": true\n },\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses\"\n },\n \"first\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses\"\n },\n \"gatewayresponse:by-type\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"item\": [\n {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE\"\n },\n {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND\"\n },\n {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE\"\n },\n {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/THROTTLED\"\n },\n {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE\"\n },\n {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR\"\n },\n {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX\"\n },\n {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX\"\n },\n {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS\"\n },\n {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY\"\n },\n {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN\"\n },\n {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED\"\n },\n {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY\"\n },\n {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED\"\n },\n {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR\"\n },\n {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED\"\n },\n {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT\"\n },\n {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\"\n },\n {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE\"\n },\n {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE\"\n }\n ]\n },\n \"_embedded\": {\n \"item\": [\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE\"\n },\n \"gatewayresponse:put\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"gatewayresponse:update\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE\"\n }\n },\n \"defaultResponse\": true,\n \"responseParameters\": {},\n \"responseTemplates\": {\n \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n },\n \"responseType\": \"INTEGRATION_FAILURE\",\n \"statusCode\": \"504\"\n },\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND\"\n },\n \"gatewayresponse:put\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"gatewayresponse:update\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND\"\n }\n },\n \"defaultResponse\": true,\n \"responseParameters\": {},\n \"responseTemplates\": {\n \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n },\n \"responseType\": \"RESOURCE_NOT_FOUND\",\n \"statusCode\": \"404\"\n },\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE\"\n },\n \"gatewayresponse:put\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"gatewayresponse:update\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE\"\n }\n },\n \"defaultResponse\": true,\n \"responseParameters\": {},\n \"responseTemplates\": {\n \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n },\n \"responseType\": \"REQUEST_TOO_LARGE\",\n \"statusCode\": \"413\"\n },\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/THROTTLED\"\n },\n \"gatewayresponse:put\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"gatewayresponse:update\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/THROTTLED\"\n }\n },\n \"defaultResponse\": true,\n \"responseParameters\": {},\n \"responseTemplates\": {\n \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n },\n \"responseType\": \"THROTTLED\",\n \"statusCode\": \"429\"\n },\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE\"\n },\n \"gatewayresponse:put\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"gatewayresponse:update\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE\"\n }\n },\n \"defaultResponse\": true,\n \"responseParameters\": {},\n \"responseTemplates\": {\n \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n },\n \"responseType\": \"UNSUPPORTED_MEDIA_TYPE\",\n \"statusCode\": \"415\"\n },\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR\"\n },\n \"gatewayresponse:put\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"gatewayresponse:update\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR\"\n }\n },\n \"defaultResponse\": true,\n \"responseParameters\": {},\n \"responseTemplates\": {\n \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n },\n \"responseType\": \"AUTHORIZER_CONFIGURATION_ERROR\",\n \"statusCode\": \"500\"\n },\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX\"\n },\n \"gatewayresponse:put\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"gatewayresponse:update\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX\"\n }\n },\n \"defaultResponse\": true,\n \"responseParameters\": {},\n \"responseTemplates\": {\n \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n },\n \"responseType\": \"DEFAULT_5XX\"\n },\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX\"\n },\n \"gatewayresponse:put\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"gatewayresponse:update\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX\"\n }\n },\n \"defaultResponse\": true,\n \"responseParameters\": {},\n \"responseTemplates\": {\n \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n },\n \"responseType\": \"DEFAULT_4XX\"\n },\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS\"\n },\n \"gatewayresponse:put\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"gatewayresponse:update\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS\"\n }\n },\n \"defaultResponse\": true,\n \"responseParameters\": {},\n \"responseTemplates\": {\n \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n },\n \"responseType\": \"BAD_REQUEST_PARAMETERS\",\n \"statusCode\": \"400\"\n },\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY\"\n },\n \"gatewayresponse:put\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"gatewayresponse:update\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY\"\n }\n },\n \"defaultResponse\": true,\n \"responseParameters\": {},\n \"responseTemplates\": {\n \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n },\n \"responseType\": \"BAD_REQUEST_BODY\",\n \"statusCode\": \"400\"\n },\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN\"\n },\n \"gatewayresponse:put\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"gatewayresponse:update\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN\"\n }\n },\n \"defaultResponse\": true,\n \"responseParameters\": {},\n \"responseTemplates\": {\n \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n },\n \"responseType\": \"EXPIRED_TOKEN\",\n \"statusCode\": \"403\"\n },\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED\"\n },\n \"gatewayresponse:put\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"gatewayresponse:update\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED\"\n }\n },\n \"defaultResponse\": true,\n \"responseParameters\": {},\n \"responseTemplates\": {\n \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n },\n \"responseType\": \"ACCESS_DENIED\",\n \"statusCode\": \"403\"\n },\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY\"\n },\n \"gatewayresponse:put\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"gatewayresponse:update\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY\"\n }\n },\n \"defaultResponse\": true,\n \"responseParameters\": {},\n \"responseTemplates\": {\n \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n },\n \"responseType\": \"INVALID_API_KEY\",\n \"statusCode\": \"403\"\n },\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED\"\n },\n \"gatewayresponse:put\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"gatewayresponse:update\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED\"\n }\n },\n \"defaultResponse\": true,\n \"responseParameters\": {},\n \"responseTemplates\": {\n \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n },\n \"responseType\": \"UNAUTHORIZED\",\n \"statusCode\": \"401\"\n },\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR\"\n },\n \"gatewayresponse:put\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"gatewayresponse:update\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR\"\n }\n },\n \"defaultResponse\": true,\n \"responseParameters\": {},\n \"responseTemplates\": {\n \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n },\n \"responseType\": \"API_CONFIGURATION_ERROR\",\n \"statusCode\": \"500\"\n },\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED\"\n },\n \"gatewayresponse:put\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"gatewayresponse:update\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED\"\n }\n },\n \"defaultResponse\": true,\n \"responseParameters\": {},\n \"responseTemplates\": {\n \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n },\n \"responseType\": \"QUOTA_EXCEEDED\",\n \"statusCode\": \"429\"\n },\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT\"\n },\n \"gatewayresponse:put\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"gatewayresponse:update\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT\"\n }\n },\n \"defaultResponse\": true,\n \"responseParameters\": {},\n \"responseTemplates\": {\n \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n },\n \"responseType\": \"INTEGRATION_TIMEOUT\",\n \"statusCode\": \"504\"\n },\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\"\n },\n \"gatewayresponse:put\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"gatewayresponse:update\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\"\n }\n },\n \"defaultResponse\": true,\n \"responseParameters\": {},\n \"responseTemplates\": {\n \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n },\n \"responseType\": \"MISSING_AUTHENTICATION_TOKEN\",\n \"statusCode\": \"403\"\n },\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE\"\n },\n \"gatewayresponse:put\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"gatewayresponse:update\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE\"\n }\n },\n \"defaultResponse\": true,\n \"responseParameters\": {},\n \"responseTemplates\": {\n \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n },\n \"responseType\": \"INVALID_SIGNATURE\",\n \"statusCode\": \"403\"\n },\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE\"\n },\n \"gatewayresponse:put\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n \"templated\": true\n },\n \"gatewayresponse:update\": {\n \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE\"\n }\n },\n \"defaultResponse\": true,\n \"responseParameters\": {},\n \"responseTemplates\": {\n \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n },\n \"responseType\": \"AUTHORIZER_FAILURE\",\n \"statusCode\": \"500\"\n }\n ]\n }\n}
\n \n Generates a ClientCertificate resource.
", "smithy.api#http": { "method": "POST", "uri": "/clientcertificates", "code": 201 } } }, "com.amazonaws.apigateway#GenerateClientCertificateRequest": { "type": "structure", "members": { "description": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The description of the ClientCertificate.
" } }, "tags": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:
. The tag value can be up to 256 characters.
A request to generate a ClientCertificate resource.
" } }, "com.amazonaws.apigateway#GetAccount": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetAccountRequest" }, "output": { "target": "com.amazonaws.apigateway#Account" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Gets information about the current Account resource.
", "smithy.api#http": { "method": "GET", "uri": "/account", "code": 200 } } }, "com.amazonaws.apigateway#GetAccountRequest": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "Requests API Gateway to get information about the current Account resource.
" } }, "com.amazonaws.apigateway#GetApiKey": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetApiKeyRequest" }, "output": { "target": "com.amazonaws.apigateway#ApiKey" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Gets information about the current ApiKey resource.
", "smithy.api#http": { "method": "GET", "uri": "/apikeys/{apiKey}", "code": 200 } } }, "com.amazonaws.apigateway#GetApiKeyRequest": { "type": "structure", "members": { "apiKey": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the ApiKey resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "includeValue": { "target": "com.amazonaws.apigateway#NullableBoolean", "traits": { "smithy.api#documentation": "A boolean flag to specify whether (true
) or not (false
) the result contains the key value.
A request to get information about the current ApiKey resource.
" } }, "com.amazonaws.apigateway#GetApiKeys": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetApiKeysRequest" }, "output": { "target": "com.amazonaws.apigateway#ApiKeys" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Gets information about the current ApiKeys resource.
", "smithy.api#http": { "method": "GET", "uri": "/apikeys", "code": 200 }, "smithy.api#paginated": { "inputToken": "position", "outputToken": "position", "items": "items", "pageSize": "limit" } } }, "com.amazonaws.apigateway#GetApiKeysRequest": { "type": "structure", "members": { "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } }, "limit": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { "smithy.api#documentation": "The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
", "smithy.api#httpQuery": "limit" } }, "nameQuery": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The name of queried API keys.
", "smithy.api#httpQuery": "name" } }, "customerId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The identifier of a customer in AWS Marketplace or an external system, such as a developer portal.
", "smithy.api#httpQuery": "customerId" } }, "includeValues": { "target": "com.amazonaws.apigateway#NullableBoolean", "traits": { "smithy.api#documentation": "A boolean flag to specify whether (true
) or not (false
) the result contains key values.
A request to get information about the current ApiKeys resource.
" } }, "com.amazonaws.apigateway#GetAuthorizer": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetAuthorizerRequest" }, "output": { "target": "com.amazonaws.apigateway#Authorizer" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Describe an existing Authorizer resource.
\n ", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/authorizers/{authorizerId}", "code": 200 } } }, "com.amazonaws.apigateway#GetAuthorizerRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "authorizerId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the Authorizer resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Request to describe an existing Authorizer resource.
" } }, "com.amazonaws.apigateway#GetAuthorizers": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetAuthorizersRequest" }, "output": { "target": "com.amazonaws.apigateway#Authorizers" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Describe an existing Authorizers resource.
\n ", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/authorizers", "code": 200 } } }, "com.amazonaws.apigateway#GetAuthorizersRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } }, "limit": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { "smithy.api#documentation": "The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
", "smithy.api#httpQuery": "limit" } } }, "traits": { "smithy.api#documentation": "Request to describe an existing Authorizers resource.
" } }, "com.amazonaws.apigateway#GetBasePathMapping": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetBasePathMappingRequest" }, "output": { "target": "com.amazonaws.apigateway#BasePathMapping" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Describe a BasePathMapping resource.
", "smithy.api#http": { "method": "GET", "uri": "/domainnames/{domainName}/basepathmappings/{basePath}", "code": 200 } } }, "com.amazonaws.apigateway#GetBasePathMappingRequest": { "type": "structure", "members": { "domainName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The domain name of the BasePathMapping resource to be described.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "basePath": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The base path name that callers of the API must provide as part of the URL after the domain name. This value must be unique for all of the mappings across a single API. Specify '(none)' if you do not want callers to specify any base path name after the domain name.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Request to describe a BasePathMapping resource.
" } }, "com.amazonaws.apigateway#GetBasePathMappings": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetBasePathMappingsRequest" }, "output": { "target": "com.amazonaws.apigateway#BasePathMappings" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Represents a collection of BasePathMapping resources.
", "smithy.api#http": { "method": "GET", "uri": "/domainnames/{domainName}/basepathmappings", "code": 200 }, "smithy.api#paginated": { "inputToken": "position", "outputToken": "position", "items": "items", "pageSize": "limit" } } }, "com.amazonaws.apigateway#GetBasePathMappingsRequest": { "type": "structure", "members": { "domainName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The domain name of a BasePathMapping resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } }, "limit": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { "smithy.api#documentation": "The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
", "smithy.api#httpQuery": "limit" } } }, "traits": { "smithy.api#documentation": "A request to get information about a collection of BasePathMapping resources.
" } }, "com.amazonaws.apigateway#GetClientCertificate": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetClientCertificateRequest" }, "output": { "target": "com.amazonaws.apigateway#ClientCertificate" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Gets information about the current ClientCertificate resource.
", "smithy.api#http": { "method": "GET", "uri": "/clientcertificates/{clientCertificateId}", "code": 200 } } }, "com.amazonaws.apigateway#GetClientCertificateRequest": { "type": "structure", "members": { "clientCertificateId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the ClientCertificate resource to be described.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A request to get information about the current ClientCertificate resource.
" } }, "com.amazonaws.apigateway#GetClientCertificates": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetClientCertificatesRequest" }, "output": { "target": "com.amazonaws.apigateway#ClientCertificates" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Gets a collection of ClientCertificate resources.
", "smithy.api#http": { "method": "GET", "uri": "/clientcertificates", "code": 200 }, "smithy.api#paginated": { "inputToken": "position", "outputToken": "position", "items": "items", "pageSize": "limit" } } }, "com.amazonaws.apigateway#GetClientCertificatesRequest": { "type": "structure", "members": { "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } }, "limit": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { "smithy.api#documentation": "The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
", "smithy.api#httpQuery": "limit" } } }, "traits": { "smithy.api#documentation": "A request to get information about a collection of ClientCertificate resources.
" } }, "com.amazonaws.apigateway#GetDeployment": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetDeploymentRequest" }, "output": { "target": "com.amazonaws.apigateway#Deployment" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#ServiceUnavailableException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Gets information about a Deployment resource.
", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/deployments/{deploymentId}", "code": 200 } } }, "com.amazonaws.apigateway#GetDeploymentRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "deploymentId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the Deployment resource to get information about.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "embed": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { "smithy.api#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
.
Requests API Gateway to get information about a Deployment resource.
" } }, "com.amazonaws.apigateway#GetDeployments": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetDeploymentsRequest" }, "output": { "target": "com.amazonaws.apigateway#Deployments" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#ServiceUnavailableException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Gets information about a Deployments collection.
", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/deployments", "code": 200 }, "smithy.api#paginated": { "inputToken": "position", "outputToken": "position", "items": "items", "pageSize": "limit" } } }, "com.amazonaws.apigateway#GetDeploymentsRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } }, "limit": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { "smithy.api#documentation": "The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
", "smithy.api#httpQuery": "limit" } } }, "traits": { "smithy.api#documentation": "Requests API Gateway to get information about a Deployments collection.
" } }, "com.amazonaws.apigateway#GetDocumentationPart": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetDocumentationPartRequest" }, "output": { "target": "com.amazonaws.apigateway#DocumentationPart" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/documentation/parts/{documentationPartId}", "code": 200 } } }, "com.amazonaws.apigateway#GetDocumentationPartRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "documentationPartId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Gets a specified documentation part of a given API.
" } }, "com.amazonaws.apigateway#GetDocumentationParts": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetDocumentationPartsRequest" }, "output": { "target": "com.amazonaws.apigateway#DocumentationParts" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/documentation/parts", "code": 200 } } }, "com.amazonaws.apigateway#GetDocumentationPartsRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "type": { "target": "com.amazonaws.apigateway#DocumentationPartType", "traits": { "smithy.api#documentation": "The type of API entities of the to-be-retrieved documentation parts.
", "smithy.api#httpQuery": "type" } }, "nameQuery": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The name of API entities of the to-be-retrieved documentation parts.
", "smithy.api#httpQuery": "name" } }, "path": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The path of API entities of the to-be-retrieved documentation parts.
", "smithy.api#httpQuery": "path" } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } }, "limit": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { "smithy.api#documentation": "The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
", "smithy.api#httpQuery": "limit" } }, "locationStatus": { "target": "com.amazonaws.apigateway#LocationStatusType", "traits": { "smithy.api#documentation": "The status of the API documentation parts to retrieve. Valid values are DOCUMENTED
for retrieving DocumentationPart resources with content and UNDOCUMENTED
for DocumentationPart resources without content.
Gets the documentation parts of an API. The result may be filtered by the type, name, or path of API entities (targets).
" } }, "com.amazonaws.apigateway#GetDocumentationVersion": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetDocumentationVersionRequest" }, "output": { "target": "com.amazonaws.apigateway#DocumentationVersion" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/documentation/versions/{documentationVersion}", "code": 200 } } }, "com.amazonaws.apigateway#GetDocumentationVersionRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "documentationVersion": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The version identifier of the to-be-retrieved documentation snapshot.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Gets a documentation snapshot of an API.
" } }, "com.amazonaws.apigateway#GetDocumentationVersions": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetDocumentationVersionsRequest" }, "output": { "target": "com.amazonaws.apigateway#DocumentationVersions" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/documentation/versions", "code": 200 } } }, "com.amazonaws.apigateway#GetDocumentationVersionsRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } }, "limit": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { "smithy.api#documentation": "The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
", "smithy.api#httpQuery": "limit" } } }, "traits": { "smithy.api#documentation": "Gets the documentation versions of an API.
" } }, "com.amazonaws.apigateway#GetDomainName": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetDomainNameRequest" }, "output": { "target": "com.amazonaws.apigateway#DomainName" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#ServiceUnavailableException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Represents a domain name that is contained in a simpler, more intuitive URL that can be called.
", "smithy.api#http": { "method": "GET", "uri": "/domainnames/{domainName}", "code": 200 } } }, "com.amazonaws.apigateway#GetDomainNameRequest": { "type": "structure", "members": { "domainName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The name of the DomainName resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Request to get the name of a DomainName resource.
" } }, "com.amazonaws.apigateway#GetDomainNames": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetDomainNamesRequest" }, "output": { "target": "com.amazonaws.apigateway#DomainNames" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Represents a collection of DomainName resources.
", "smithy.api#http": { "method": "GET", "uri": "/domainnames", "code": 200 }, "smithy.api#paginated": { "inputToken": "position", "outputToken": "position", "items": "items", "pageSize": "limit" } } }, "com.amazonaws.apigateway#GetDomainNamesRequest": { "type": "structure", "members": { "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } }, "limit": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { "smithy.api#documentation": "The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
", "smithy.api#httpQuery": "limit" } } }, "traits": { "smithy.api#documentation": "Request to describe a collection of DomainName resources.
" } }, "com.amazonaws.apigateway#GetExport": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetExportRequest" }, "output": { "target": "com.amazonaws.apigateway#ExportResponse" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Exports a deployed version of a RestApi in a specified format.
", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/stages/{stageName}/exports/{exportType}", "code": 200 } } }, "com.amazonaws.apigateway#GetExportRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "stageName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The name of the Stage that will be exported.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "exportType": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x and 'swagger' for Swagger/OpenAPI 2.0.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "parameters": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "A key-value map of query string parameters that specify properties of the export, depending on the requested exportType
. For exportType
oas30
and swagger
, any combination of the following parameters are supported: extensions='integrations'
or extensions='apigateway'
will export the API with x-amazon-apigateway-integration extensions. extensions='authorizers'
will export the API with x-amazon-apigateway-authorizer extensions. postman
will export the API with Postman extensions, allowing for import to the Postman tool
The content-type of the export, for example application/json
. Currently application/json
and application/yaml
are supported for exportType
ofoas30
and swagger
. This should be specified in the Accept
header for direct API requests.
Request a new export of a RestApi for a particular Stage.
" } }, "com.amazonaws.apigateway#GetGatewayResponse": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetGatewayResponseRequest" }, "output": { "target": "com.amazonaws.apigateway#GatewayResponse" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Gets a GatewayResponse of a specified response type on the given RestApi.
", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/gatewayresponses/{responseType}", "code": 200 } } }, "com.amazonaws.apigateway#GetGatewayResponseRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "responseType": { "target": "com.amazonaws.apigateway#GatewayResponseType", "traits": { "smithy.api#documentation": "[Required]
The response type of the associated GatewayResponse. Valid values are
Gets a GatewayResponse of a specified response type on the given RestApi.
" } }, "com.amazonaws.apigateway#GetGatewayResponses": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetGatewayResponsesRequest" }, "output": { "target": "com.amazonaws.apigateway#GatewayResponses" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the API Gateway-generated default GatewayResponses collection for the supported response types.
", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/gatewayresponses", "code": 200 } } }, "com.amazonaws.apigateway#GetGatewayResponsesRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set. The GatewayResponse collection does not support pagination and the position does not apply here.
", "smithy.api#httpQuery": "position" } }, "limit": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { "smithy.api#documentation": "The maximum number of returned results per page. The default value is 25 and the maximum value is 500. The GatewayResponses collection does not support pagination and the limit does not apply here.
", "smithy.api#httpQuery": "limit" } } }, "traits": { "smithy.api#documentation": "Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the API Gateway-generated default GatewayResponses collection for the supported response types.
" } }, "com.amazonaws.apigateway#GetIntegration": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetIntegrationRequest" }, "output": { "target": "com.amazonaws.apigateway#Integration" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Get the integration settings.
", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration", "code": 200 } } }, "com.amazonaws.apigateway#GetIntegrationRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] Specifies a get integration request's resource identifier
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] Specifies a get integration request's HTTP method.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Represents a request to get the integration configuration.
" } }, "com.amazonaws.apigateway#GetIntegrationResponse": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetIntegrationResponseRequest" }, "output": { "target": "com.amazonaws.apigateway#IntegrationResponse" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Represents a get integration response.
", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration/responses/{statusCode}", "code": 200 } } }, "com.amazonaws.apigateway#GetIntegrationResponseRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] Specifies a get integration response request's resource identifier.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] Specifies a get integration response request's HTTP method.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "statusCode": { "target": "com.amazonaws.apigateway#StatusCode", "traits": { "smithy.api#documentation": "[Required] Specifies a get integration response request's status code.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Represents a get integration response request.
" } }, "com.amazonaws.apigateway#GetMethod": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetMethodRequest" }, "output": { "target": "com.amazonaws.apigateway#Method" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Describe an existing Method resource.
", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", "code": 200 } } }, "com.amazonaws.apigateway#GetMethodRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The Resource identifier for the Method resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] Specifies the method request's HTTP method type.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Request to describe an existing Method resource.
" } }, "com.amazonaws.apigateway#GetMethodResponse": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetMethodResponseRequest" }, "output": { "target": "com.amazonaws.apigateway#MethodResponse" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Describes a MethodResponse resource.
", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", "code": 200 } } }, "com.amazonaws.apigateway#GetMethodResponseRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The Resource identifier for the MethodResponse resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The HTTP verb of the Method resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "statusCode": { "target": "com.amazonaws.apigateway#StatusCode", "traits": { "smithy.api#documentation": "[Required] The status code for the MethodResponse resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Request to describe a MethodResponse resource.
" } }, "com.amazonaws.apigateway#GetModel": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetModelRequest" }, "output": { "target": "com.amazonaws.apigateway#Model" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Describes an existing model defined for a RestApi resource.
", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/models/{modelName}", "code": 200 } } }, "com.amazonaws.apigateway#GetModelRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The RestApi identifier under which the Model exists.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "modelName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The name of the model as an identifier.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "flatten": { "target": "com.amazonaws.apigateway#Boolean", "traits": { "smithy.api#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
.
Request to list information about a model in an existing RestApi resource.
" } }, "com.amazonaws.apigateway#GetModelTemplate": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetModelTemplateRequest" }, "output": { "target": "com.amazonaws.apigateway#Template" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Generates a sample mapping template that can be used to transform a payload into the structure of a model.
", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/models/{modelName}/default_template", "code": 200 } } }, "com.amazonaws.apigateway#GetModelTemplateRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "modelName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The name of the model for which to generate a template.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Request to generate a sample mapping template used to transform the payload.
" } }, "com.amazonaws.apigateway#GetModels": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetModelsRequest" }, "output": { "target": "com.amazonaws.apigateway#Models" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Describes existing Models defined for a RestApi resource.
", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/models", "code": 200 }, "smithy.api#paginated": { "inputToken": "position", "outputToken": "position", "items": "items", "pageSize": "limit" } } }, "com.amazonaws.apigateway#GetModelsRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } }, "limit": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { "smithy.api#documentation": "The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
", "smithy.api#httpQuery": "limit" } } }, "traits": { "smithy.api#documentation": "Request to list existing Models defined for a RestApi resource.
" } }, "com.amazonaws.apigateway#GetRequestValidator": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetRequestValidatorRequest" }, "output": { "target": "com.amazonaws.apigateway#RequestValidator" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Gets a RequestValidator of a given RestApi.
", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/requestvalidators/{requestValidatorId}", "code": 200 } } }, "com.amazonaws.apigateway#GetRequestValidatorRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "requestValidatorId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the RequestValidator to be retrieved.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Gets a RequestValidator of a given RestApi.
" } }, "com.amazonaws.apigateway#GetRequestValidators": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetRequestValidatorsRequest" }, "output": { "target": "com.amazonaws.apigateway#RequestValidators" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Gets the RequestValidators collection of a given RestApi.
", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/requestvalidators", "code": 200 } } }, "com.amazonaws.apigateway#GetRequestValidatorsRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } }, "limit": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { "smithy.api#documentation": "The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
", "smithy.api#httpQuery": "limit" } } }, "traits": { "smithy.api#documentation": "Gets the RequestValidators collection of a given RestApi.
" } }, "com.amazonaws.apigateway#GetResource": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetResourceRequest" }, "output": { "target": "com.amazonaws.apigateway#Resource" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Lists information about a resource.
", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/resources/{resourceId}", "code": 200 } } }, "com.amazonaws.apigateway#GetResourceRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier for the Resource resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "embed": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { "smithy.api#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
.
Request to list information about a resource.
" } }, "com.amazonaws.apigateway#GetResources": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetResourcesRequest" }, "output": { "target": "com.amazonaws.apigateway#Resources" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Lists information about a collection of Resource resources.
", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/resources", "code": 200 }, "smithy.api#paginated": { "inputToken": "position", "outputToken": "position", "items": "items", "pageSize": "limit" } } }, "com.amazonaws.apigateway#GetResourcesRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } }, "limit": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { "smithy.api#documentation": "The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
", "smithy.api#httpQuery": "limit" } }, "embed": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { "smithy.api#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
.
Request to list information about a collection of resources.
" } }, "com.amazonaws.apigateway#GetRestApi": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetRestApiRequest" }, "output": { "target": "com.amazonaws.apigateway#RestApi" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Lists the RestApi resource in the collection.
", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}", "code": 200 } } }, "com.amazonaws.apigateway#GetRestApiRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The GET request to list an existing RestApi defined for your collection.
" } }, "com.amazonaws.apigateway#GetRestApis": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetRestApisRequest" }, "output": { "target": "com.amazonaws.apigateway#RestApis" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Lists the RestApis resources for your collection.
", "smithy.api#http": { "method": "GET", "uri": "/restapis", "code": 200 }, "smithy.api#paginated": { "inputToken": "position", "outputToken": "position", "items": "items", "pageSize": "limit" } } }, "com.amazonaws.apigateway#GetRestApisRequest": { "type": "structure", "members": { "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } }, "limit": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { "smithy.api#documentation": "The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
", "smithy.api#httpQuery": "limit" } } }, "traits": { "smithy.api#documentation": "The GET request to list existing RestApis defined for your collection.
" } }, "com.amazonaws.apigateway#GetSdk": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetSdkRequest" }, "output": { "target": "com.amazonaws.apigateway#SdkResponse" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Generates a client SDK for a RestApi and Stage.
", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/stages/{stageName}/sdks/{sdkType}", "code": 200 } } }, "com.amazonaws.apigateway#GetSdkRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "stageName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The name of the Stage that the SDK will use.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "sdkType": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The language for the generated SDK. Currently java
, javascript
, android
, objectivec
(for iOS), swift
(for iOS), and ruby
are supported.
A string-to-string key-value map of query parameters sdkType
-dependent properties of the SDK. For sdkType
of objectivec
or swift
, a parameter named classPrefix
is required. For sdkType
of android
, parameters named groupId
, artifactId
, artifactVersion
, and invokerPackage
are required. For sdkType
of java
, parameters named serviceName
and javaPackageName
are required.
Request a new generated client SDK for a RestApi and Stage.
" } }, "com.amazonaws.apigateway#GetSdkType": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetSdkTypeRequest" }, "output": { "target": "com.amazonaws.apigateway#SdkType" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#http": { "method": "GET", "uri": "/sdktypes/{id}", "code": 200 } } }, "com.amazonaws.apigateway#GetSdkTypeRequest": { "type": "structure", "members": { "id": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the queried SdkType instance.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Get an SdkType instance.
" } }, "com.amazonaws.apigateway#GetSdkTypes": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetSdkTypesRequest" }, "output": { "target": "com.amazonaws.apigateway#SdkTypes" }, "errors": [ { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#http": { "method": "GET", "uri": "/sdktypes", "code": 200 } } }, "com.amazonaws.apigateway#GetSdkTypesRequest": { "type": "structure", "members": { "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } }, "limit": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { "smithy.api#documentation": "The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
", "smithy.api#httpQuery": "limit" } } }, "traits": { "smithy.api#documentation": "Get the SdkTypes collection.
" } }, "com.amazonaws.apigateway#GetStage": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetStageRequest" }, "output": { "target": "com.amazonaws.apigateway#Stage" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Gets information about a Stage resource.
", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/stages/{stageName}", "code": 200 } } }, "com.amazonaws.apigateway#GetStageRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "stageName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The name of the Stage resource to get information about.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Requests API Gateway to get information about a Stage resource.
" } }, "com.amazonaws.apigateway#GetStages": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetStagesRequest" }, "output": { "target": "com.amazonaws.apigateway#Stages" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Gets information about one or more Stage resources.
", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/stages", "code": 200 } } }, "com.amazonaws.apigateway#GetStagesRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "deploymentId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The stages' deployment identifiers.
", "smithy.api#httpQuery": "deploymentId" } } }, "traits": { "smithy.api#documentation": "Requests API Gateway to get information about one or more Stage resources.
" } }, "com.amazonaws.apigateway#GetTags": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetTagsRequest" }, "output": { "target": "com.amazonaws.apigateway#Tags" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Gets the Tags collection for a given resource.
", "smithy.api#http": { "method": "GET", "uri": "/tags/{resourceArn}", "code": 200 } } }, "com.amazonaws.apigateway#GetTagsRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The ARN of a resource that can be tagged.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "(Not currently supported) The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } }, "limit": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { "smithy.api#documentation": "(Not currently supported) The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
", "smithy.api#httpQuery": "limit" } } }, "traits": { "smithy.api#documentation": "Gets the Tags collection for a given resource.
" } }, "com.amazonaws.apigateway#GetUsage": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetUsageRequest" }, "output": { "target": "com.amazonaws.apigateway#Usage" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Gets the usage data of a usage plan in a specified time interval.
", "smithy.api#http": { "method": "GET", "uri": "/usageplans/{usagePlanId}/usage", "code": 200 }, "smithy.api#paginated": { "inputToken": "position", "outputToken": "position", "items": "items", "pageSize": "limit" } } }, "com.amazonaws.apigateway#GetUsagePlan": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetUsagePlanRequest" }, "output": { "target": "com.amazonaws.apigateway#UsagePlan" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Gets a usage plan of a given plan identifier.
", "smithy.api#http": { "method": "GET", "uri": "/usageplans/{usagePlanId}", "code": 200 } } }, "com.amazonaws.apigateway#GetUsagePlanKey": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetUsagePlanKeyRequest" }, "output": { "target": "com.amazonaws.apigateway#UsagePlanKey" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Gets a usage plan key of a given key identifier.
", "smithy.api#http": { "method": "GET", "uri": "/usageplans/{usagePlanId}/keys/{keyId}", "code": 200 } } }, "com.amazonaws.apigateway#GetUsagePlanKeyRequest": { "type": "structure", "members": { "usagePlanId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "keyId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The key Id of the to-be-retrieved UsagePlanKey resource representing a plan customer.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The GET request to get a usage plan key of a given key identifier.
" } }, "com.amazonaws.apigateway#GetUsagePlanKeys": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetUsagePlanKeysRequest" }, "output": { "target": "com.amazonaws.apigateway#UsagePlanKeys" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Gets all the usage plan keys representing the API keys added to a specified usage plan.
", "smithy.api#http": { "method": "GET", "uri": "/usageplans/{usagePlanId}/keys", "code": 200 }, "smithy.api#paginated": { "inputToken": "position", "outputToken": "position", "items": "items", "pageSize": "limit" } } }, "com.amazonaws.apigateway#GetUsagePlanKeysRequest": { "type": "structure", "members": { "usagePlanId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } }, "limit": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { "smithy.api#documentation": "The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
", "smithy.api#httpQuery": "limit" } }, "nameQuery": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "A query parameter specifying the name of the to-be-returned usage plan keys.
", "smithy.api#httpQuery": "name" } } }, "traits": { "smithy.api#documentation": "The GET request to get all the usage plan keys representing the API keys added to a specified usage plan.
" } }, "com.amazonaws.apigateway#GetUsagePlanRequest": { "type": "structure", "members": { "usagePlanId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the UsagePlan resource to be retrieved.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The GET request to get a usage plan of a given plan identifier.
" } }, "com.amazonaws.apigateway#GetUsagePlans": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetUsagePlansRequest" }, "output": { "target": "com.amazonaws.apigateway#UsagePlans" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Gets all the usage plans of the caller's account.
", "smithy.api#http": { "method": "GET", "uri": "/usageplans", "code": 200 }, "smithy.api#paginated": { "inputToken": "position", "outputToken": "position", "items": "items", "pageSize": "limit" } } }, "com.amazonaws.apigateway#GetUsagePlansRequest": { "type": "structure", "members": { "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } }, "keyId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The identifier of the API key associated with the usage plans.
", "smithy.api#httpQuery": "keyId" } }, "limit": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { "smithy.api#documentation": "The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
", "smithy.api#httpQuery": "limit" } } }, "traits": { "smithy.api#documentation": "The GET request to get all the usage plans of the caller's account.
" } }, "com.amazonaws.apigateway#GetUsageRequest": { "type": "structure", "members": { "usagePlanId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The Id of the usage plan associated with the usage data.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "keyId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The Id of the API key associated with the resultant usage data.
", "smithy.api#httpQuery": "keyId" } }, "startDate": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The starting date (e.g., 2016-01-01) of the usage data.
", "smithy.api#httpQuery": "startDate", "smithy.api#required": {} } }, "endDate": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The ending date (e.g., 2016-12-31) of the usage data.
", "smithy.api#httpQuery": "endDate", "smithy.api#required": {} } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } }, "limit": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { "smithy.api#documentation": "The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
", "smithy.api#httpQuery": "limit" } } }, "traits": { "smithy.api#documentation": "The GET request to get the usage data of a usage plan in a specified time interval.
" } }, "com.amazonaws.apigateway#GetVpcLink": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetVpcLinkRequest" }, "output": { "target": "com.amazonaws.apigateway#VpcLink" }, "errors": [ { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Gets a specified VPC link under the caller's account in a region.
", "smithy.api#http": { "method": "GET", "uri": "/vpclinks/{vpcLinkId}", "code": 200 } } }, "com.amazonaws.apigateway#GetVpcLinkRequest": { "type": "structure", "members": { "vpcLinkId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Gets a specified VPC link under the caller's account in a region.
" } }, "com.amazonaws.apigateway#GetVpcLinks": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#GetVpcLinksRequest" }, "output": { "target": "com.amazonaws.apigateway#VpcLinks" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Gets the VpcLinks collection under the caller's account in a selected region.
", "smithy.api#http": { "method": "GET", "uri": "/vpclinks", "code": 200 }, "smithy.api#paginated": { "inputToken": "position", "outputToken": "position", "items": "items", "pageSize": "limit" } } }, "com.amazonaws.apigateway#GetVpcLinksRequest": { "type": "structure", "members": { "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } }, "limit": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { "smithy.api#documentation": "The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
", "smithy.api#httpQuery": "limit" } } }, "traits": { "smithy.api#documentation": "Gets the VpcLinks collection under the caller's account in a selected region.
" } }, "com.amazonaws.apigateway#ImportApiKeys": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#ImportApiKeysRequest" }, "output": { "target": "com.amazonaws.apigateway#ApiKeyIds" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Import API keys from an external source, such as a CSV-formatted file.
", "smithy.api#http": { "method": "POST", "uri": "/apikeys?mode=import", "code": 201 } } }, "com.amazonaws.apigateway#ImportApiKeysRequest": { "type": "structure", "members": { "body": { "target": "com.amazonaws.apigateway#Blob", "traits": { "smithy.api#documentation": "The payload of the POST request to import API keys. For the payload format, see API Key File Format.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } }, "format": { "target": "com.amazonaws.apigateway#ApiKeysFormat", "traits": { "smithy.api#documentation": "A query parameter to specify the input format to imported API keys. Currently, only the csv
format is supported.
A query parameter to indicate whether to rollback ApiKey importation (true
) or not (false
) when error is encountered.
The POST request to import API keys from an external source, such as a CSV-formatted file.
" } }, "com.amazonaws.apigateway#ImportDocumentationParts": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#ImportDocumentationPartsRequest" }, "output": { "target": "com.amazonaws.apigateway#DocumentationPartIds" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#http": { "method": "PUT", "uri": "/restapis/{restApiId}/documentation/parts", "code": 200 } } }, "com.amazonaws.apigateway#ImportDocumentationPartsRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "mode": { "target": "com.amazonaws.apigateway#PutMode", "traits": { "smithy.api#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
.
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
.
[Required] Raw byte array representing the to-be-imported documentation parts. To import from an OpenAPI file, this is a JSON object.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Import documentation parts from an external (e.g., OpenAPI) definition file.
" } }, "com.amazonaws.apigateway#ImportRestApi": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#ImportRestApiRequest" }, "output": { "target": "com.amazonaws.apigateway#RestApi" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "A feature of the API Gateway control service for creating a new API from an external API definition file.
", "smithy.api#http": { "method": "POST", "uri": "/restapis?mode=import", "code": 201 } } }, "com.amazonaws.apigateway#ImportRestApiRequest": { "type": "structure", "members": { "failOnWarnings": { "target": "com.amazonaws.apigateway#Boolean", "traits": { "smithy.api#documentation": "A query parameter to indicate whether to rollback the API creation (true
) or not (false
)\n when a warning is encountered. The default value is false
.
A key-value map of context-specific query string parameters specifying the behavior of different API importing operations. The following shows operation-specific parameters and their supported values.
\n To exclude DocumentationParts from the import, set parameters
as ignore=documentation
.
To configure the endpoint type, set parameters
as endpointConfigurationTypes=EDGE
, endpointConfigurationTypes=REGIONAL
, or endpointConfigurationTypes=PRIVATE
. The default endpoint type is EDGE
.
To handle imported basepath
, set parameters
as basepath=ignore
, basepath=prepend
or basepath=split
.
For example, the AWS CLI command to exclude documentation from the imported API is:
\naws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'
\n The AWS CLI command to set the regional endpoint on the imported API is:
\naws apigateway import-rest-api --parameters endpointConfigurationTypes=REGIONAL --body 'file:///path/to/imported-api-body.json'
",
"smithy.api#httpQueryParams": {}
}
},
"body": {
"target": "com.amazonaws.apigateway#Blob",
"traits": {
"smithy.api#documentation": "[Required] The POST request body containing external API definitions. Currently, only OpenAPI definition JSON/YAML files are supported. The maximum size of the API definition file is 6MB.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A POST request to import an API to API Gateway using an input of an API definition file.
" } }, "com.amazonaws.apigateway#Integer": { "type": "integer" }, "com.amazonaws.apigateway#Integration": { "type": "structure", "members": { "type": { "target": "com.amazonaws.apigateway#IntegrationType", "traits": { "smithy.api#documentation": "Specifies an API method integration type. The valid value is one of the following:
\nAWS
: for integrating the API method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration.AWS_PROXY
: for integrating the API method request with the Lambda function-invoking action with the client request passed through as-is. This integration is also referred to as the Lambda proxy integration.HTTP
: for integrating the API method request with an HTTP endpoint, including a private HTTP endpoint within a VPC. This integration is also referred to as the HTTP custom integration.HTTP_PROXY
: for integrating the API method request with an HTTP endpoint, including a private HTTP endpoint within a VPC, with the client request passed through as-is. This is also referred to as the HTTP proxy integration.MOCK
: for integrating the API method request with API Gateway as a \"loop-back\" endpoint without invoking any backend.For the HTTP and HTTP proxy integrations, each integration can specify a protocol (http/https
), port and path. Standard 80 and 443 ports are supported as well as custom ports above 1024. An HTTP or HTTP proxy integration with a connectionType
of VPC_LINK
is referred to as a private integration and uses a VpcLink to connect API Gateway to a network load balancer of a VPC.
Specifies the integration's HTTP method type.
" } }, "uri": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "Specifies Uniform Resource Identifier (URI) of the integration endpoint.
\n For HTTP
or HTTP_PROXY
integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 specification, for either standard integration, where connectionType
is not VPC_LINK
, or private integration, where connectionType
is VPC_LINK
. For a private HTTP integration, the URI is not used for routing.
For AWS
or AWS_PROXY
integrations, the URI is of the form arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}
. Here, {Region}
is the API Gateway region (e.g., us-east-1
); {service}
is the name of the integrated AWS service (e.g., s3
); and {subdomain}
is a designated subdomain supported by certain AWS service for fast host-name lookup. action
can be used for an AWS service action-based API, using an Action={name}&{p1}={v1}&p2={v2}...
query string. The ensuing {service_api}
refers to a supported action {name}
plus any required input parameters. Alternatively, path
can be used for an AWS service path-based API. The ensuing service_api
refers to the path to an AWS service resource, including the region of the integrated AWS service, if applicable. For example, for integration with the S3 API of GetObject
, the uri
can be either arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key}
or arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}
The type of the network connection to the integration endpoint. The valid value is INTERNET
for connections through the public routable internet or VPC_LINK
for private connections between API Gateway and a network load balancer in a VPC. The default value is INTERNET
.
The (id
) of the VpcLink used for the integration when connectionType=VPC_LINK
and undefined, otherwise.
Specifies the credentials required for the integration, if any. For AWS integrations, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify the string arn:aws:iam::\\*:user/\\*
. To use resource-based permissions on supported AWS services, specify null.
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.
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": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "\n Specifies how the method request body of an unmapped content type will be passed through the integration request\n to the back end without transformation. A content type is unmapped if no mapping template is defined in the integration\n or the content type does not match any of the mapped content types, as specified in requestTemplates
.\n The valid value is one of the following:\n
WHEN_NO_MATCH
: passes the method request body through the integration request to the back end without transformation\n when the method request content type does not match any content type associated with the mapping templates defined in the integration request.\n WHEN_NO_TEMPLATES
: passes the method request body through the integration request to the back end without transformation\n when no mapping template is defined in the integration request. If a template is defined when this option is selected, the method request\n of an unmapped content-type will be rejected with an HTTP 415 Unsupported Media Type
response.\n NEVER
: rejects the method request with an HTTP 415 Unsupported Media Type
response when either the method\n request content type does not match any content type associated with the mapping templates defined in the integration request or\n no mapping template is defined in the integration request.\n Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY
and CONVERT_TO_TEXT
, with the following behaviors:
CONVERT_TO_BINARY
: Converts a request payload from a Base64-encoded string to the corresponding binary blob.
CONVERT_TO_TEXT
: Converts a request payload from a binary blob to a Base64-encoded string.
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 passthroughBehavior
is configured to support payload pass-through.
Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.
" } }, "cacheNamespace": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "Specifies a group of related cached parameters. By default, API Gateway uses the resource ID as the cacheNamespace
. You can specify the same cacheNamespace
across resources to return the same cached data for requests to different resources.
A list of request parameters whose values API Gateway caches. To be valid values for cacheKeyParameters
, these parameters must also be specified for Method requestParameters
.
Specifies the integration's responses.
\nGET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200 HTTP/1.1\nContent-Type: application/json\nHost: apigateway.us-east-1.amazonaws.com\nX-Amz-Date: 20160607T191449Z\nAuthorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160607/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}\n
\n The successful response returns 200 OK
status and a payload as follows:
{\n \"_links\": {\n \"curies\": {\n \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html\",\n \"name\": \"integrationresponse\",\n \"templated\": true\n },\n \"self\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\",\n \"title\": \"200\"\n },\n \"integrationresponse:delete\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\"\n },\n \"integrationresponse:update\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\"\n }\n },\n \"responseParameters\": {\n \"method.response.header.Content-Type\": \"'application/xml'\"\n },\n \"responseTemplates\": {\n \"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\"\n },\n \"statusCode\": \"200\"\n}
\n \n Specifies the TLS configuration for an integration.
" } } }, "traits": { "smithy.api#documentation": "Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration.
\nSpecifies the status code that is used to map the integration response to an existing MethodResponse.
" } }, "selectionPattern": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#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.
A key-value map specifying response parameters that are passed to the method response from the back end.\n 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.
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": { "target": "com.amazonaws.apigateway#ContentHandlingStrategy", "traits": { "smithy.api#documentation": "Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY
and CONVERT_TO_TEXT
, with the following behaviors:
CONVERT_TO_BINARY
: Converts a response payload from a Base64-encoded string to the corresponding binary blob.
CONVERT_TO_TEXT
: Converts a response payload from a binary blob to a Base64-encoded string.
If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.
" } } }, "traits": { "smithy.api#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.
\nThe integration type. The valid value is HTTP
for integrating an API method with an HTTP backend; AWS
with any AWS service endpoints; MOCK
for testing without actually invoking the backend; HTTP_PROXY
for integrating with the HTTP proxy integration; AWS_PROXY
for integrating with the Lambda proxy integration.
The request exceeded the rate limit. Retry after the specified time period.
", "smithy.api#error": "client", "smithy.api#httpError": 429 } }, "com.amazonaws.apigateway#ListOfARNs": { "type": "list", "member": { "target": "com.amazonaws.apigateway#ProviderARN" } }, "com.amazonaws.apigateway#ListOfApiKey": { "type": "list", "member": { "target": "com.amazonaws.apigateway#ApiKey" } }, "com.amazonaws.apigateway#ListOfApiStage": { "type": "list", "member": { "target": "com.amazonaws.apigateway#ApiStage" } }, "com.amazonaws.apigateway#ListOfAuthorizer": { "type": "list", "member": { "target": "com.amazonaws.apigateway#Authorizer" } }, "com.amazonaws.apigateway#ListOfBasePathMapping": { "type": "list", "member": { "target": "com.amazonaws.apigateway#BasePathMapping" } }, "com.amazonaws.apigateway#ListOfClientCertificate": { "type": "list", "member": { "target": "com.amazonaws.apigateway#ClientCertificate" } }, "com.amazonaws.apigateway#ListOfDeployment": { "type": "list", "member": { "target": "com.amazonaws.apigateway#Deployment" } }, "com.amazonaws.apigateway#ListOfDocumentationPart": { "type": "list", "member": { "target": "com.amazonaws.apigateway#DocumentationPart" } }, "com.amazonaws.apigateway#ListOfDocumentationVersion": { "type": "list", "member": { "target": "com.amazonaws.apigateway#DocumentationVersion" } }, "com.amazonaws.apigateway#ListOfDomainName": { "type": "list", "member": { "target": "com.amazonaws.apigateway#DomainName" } }, "com.amazonaws.apigateway#ListOfEndpointType": { "type": "list", "member": { "target": "com.amazonaws.apigateway#EndpointType" } }, "com.amazonaws.apigateway#ListOfGatewayResponse": { "type": "list", "member": { "target": "com.amazonaws.apigateway#GatewayResponse" } }, "com.amazonaws.apigateway#ListOfLong": { "type": "list", "member": { "target": "com.amazonaws.apigateway#Long" } }, "com.amazonaws.apigateway#ListOfModel": { "type": "list", "member": { "target": "com.amazonaws.apigateway#Model" } }, "com.amazonaws.apigateway#ListOfPatchOperation": { "type": "list", "member": { "target": "com.amazonaws.apigateway#PatchOperation" }, "traits": { "smithy.api#documentation": "A list of operations describing the updates to apply to the specified resource. The patches are applied\n in the order specified in the list." } }, "com.amazonaws.apigateway#ListOfRequestValidator": { "type": "list", "member": { "target": "com.amazonaws.apigateway#RequestValidator" } }, "com.amazonaws.apigateway#ListOfResource": { "type": "list", "member": { "target": "com.amazonaws.apigateway#Resource" } }, "com.amazonaws.apigateway#ListOfRestApi": { "type": "list", "member": { "target": "com.amazonaws.apigateway#RestApi" } }, "com.amazonaws.apigateway#ListOfSdkConfigurationProperty": { "type": "list", "member": { "target": "com.amazonaws.apigateway#SdkConfigurationProperty" } }, "com.amazonaws.apigateway#ListOfSdkType": { "type": "list", "member": { "target": "com.amazonaws.apigateway#SdkType" } }, "com.amazonaws.apigateway#ListOfStage": { "type": "list", "member": { "target": "com.amazonaws.apigateway#Stage" } }, "com.amazonaws.apigateway#ListOfStageKeys": { "type": "list", "member": { "target": "com.amazonaws.apigateway#StageKey" } }, "com.amazonaws.apigateway#ListOfString": { "type": "list", "member": { "target": "com.amazonaws.apigateway#String" } }, "com.amazonaws.apigateway#ListOfUsage": { "type": "list", "member": { "target": "com.amazonaws.apigateway#ListOfLong" } }, "com.amazonaws.apigateway#ListOfUsagePlan": { "type": "list", "member": { "target": "com.amazonaws.apigateway#UsagePlan" } }, "com.amazonaws.apigateway#ListOfUsagePlanKey": { "type": "list", "member": { "target": "com.amazonaws.apigateway#UsagePlanKey" } }, "com.amazonaws.apigateway#ListOfVpcLink": { "type": "list", "member": { "target": "com.amazonaws.apigateway#VpcLink" } }, "com.amazonaws.apigateway#LocationStatusType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "DOCUMENTED", "name": "DOCUMENTED" }, { "value": "UNDOCUMENTED", "name": "UNDOCUMENTED" } ] } }, "com.amazonaws.apigateway#Long": { "type": "long" }, "com.amazonaws.apigateway#MapOfApiStageThrottleSettings": { "type": "map", "key": { "target": "com.amazonaws.apigateway#String" }, "value": { "target": "com.amazonaws.apigateway#ThrottleSettings" } }, "com.amazonaws.apigateway#MapOfIntegrationResponse": { "type": "map", "key": { "target": "com.amazonaws.apigateway#String" }, "value": { "target": "com.amazonaws.apigateway#IntegrationResponse" } }, "com.amazonaws.apigateway#MapOfKeyUsages": { "type": "map", "key": { "target": "com.amazonaws.apigateway#String" }, "value": { "target": "com.amazonaws.apigateway#ListOfUsage" } }, "com.amazonaws.apigateway#MapOfMethod": { "type": "map", "key": { "target": "com.amazonaws.apigateway#String" }, "value": { "target": "com.amazonaws.apigateway#Method" } }, "com.amazonaws.apigateway#MapOfMethodResponse": { "type": "map", "key": { "target": "com.amazonaws.apigateway#String" }, "value": { "target": "com.amazonaws.apigateway#MethodResponse" } }, "com.amazonaws.apigateway#MapOfMethodSettings": { "type": "map", "key": { "target": "com.amazonaws.apigateway#String" }, "value": { "target": "com.amazonaws.apigateway#MethodSetting" } }, "com.amazonaws.apigateway#MapOfMethodSnapshot": { "type": "map", "key": { "target": "com.amazonaws.apigateway#String" }, "value": { "target": "com.amazonaws.apigateway#MethodSnapshot" } }, "com.amazonaws.apigateway#MapOfStringToBoolean": { "type": "map", "key": { "target": "com.amazonaws.apigateway#String" }, "value": { "target": "com.amazonaws.apigateway#NullableBoolean" } }, "com.amazonaws.apigateway#MapOfStringToList": { "type": "map", "key": { "target": "com.amazonaws.apigateway#String" }, "value": { "target": "com.amazonaws.apigateway#ListOfString" } }, "com.amazonaws.apigateway#MapOfStringToString": { "type": "map", "key": { "target": "com.amazonaws.apigateway#String" }, "value": { "target": "com.amazonaws.apigateway#String" } }, "com.amazonaws.apigateway#Method": { "type": "structure", "members": { "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The method's HTTP verb.
" } }, "authorizationType": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#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.
The identifier of an Authorizer to use on this method. The authorizationType
must be CUSTOM
.
A boolean flag specifying whether a valid ApiKey is required to invoke this method.
" } }, "requestValidatorId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The identifier of a RequestValidator for request validation.
" } }, "operationName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "A human-friendly operation identifier for the method. For example, you can assign the operationName
of ListPets
for the GET /pets
method in the PetStore
example.
A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of method.request.{location}.{name}
, where location
is querystring
, path
, or header
and name
is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true
) or optional (false
). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates.
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": { "target": "com.amazonaws.apigateway#MapOfMethodResponse", "traits": { "smithy.api#documentation": "Gets a method response associated with a given HTTP status code.
\nThe 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.
\nGET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200 HTTP/1.1\nContent-Type: application/json\nHost: apigateway.us-east-1.amazonaws.com\nContent-Length: 117\nX-Amz-Date: 20160613T215008Z\nAuthorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
\n The successful response returns a 200 OK
status code and a payload similar to the following:
{\n \"_links\": {\n \"curies\": {\n \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html\",\n \"name\": \"methodresponse\",\n \"templated\": true\n },\n \"self\": {\n \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200\",\n \"title\": \"200\"\n },\n \"methodresponse:delete\": {\n \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200\"\n },\n \"methodresponse:update\": {\n \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200\"\n }\n },\n \"responseModels\": {\n \"application/json\": \"Empty\"\n },\n \"responseParameters\": {\n \"method.response.header.operator\": false,\n \"method.response.header.operand_2\": false,\n \"method.response.header.operand_1\": false\n },\n \"statusCode\": \"200\"\n}
\n \n 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.
\nGET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration HTTP/1.1\nContent-Type: application/json\nHost: apigateway.us-east-1.amazonaws.com\nContent-Length: 117\nX-Amz-Date: 20160613T213210Z\nAuthorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
\n The successful response returns a 200 OK
status code and a payload similar to the following:
{\n \"_links\": {\n \"curies\": [\n {\n \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html\",\n \"name\": \"integration\",\n \"templated\": true\n },\n {\n \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html\",\n \"name\": \"integrationresponse\",\n \"templated\": true\n }\n ],\n \"self\": {\n \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration\"\n },\n \"integration:delete\": {\n \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration\"\n },\n \"integration:responses\": {\n \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200\",\n \"name\": \"200\",\n \"title\": \"200\"\n },\n \"integration:update\": {\n \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration\"\n },\n \"integrationresponse:put\": {\n \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/{status_code}\",\n \"templated\": true\n }\n },\n \"cacheKeyParameters\": [],\n \"cacheNamespace\": \"0cjtch\",\n \"credentials\": \"arn:aws:iam::123456789012:role/apigAwsProxyRole\",\n \"httpMethod\": \"POST\",\n \"passthroughBehavior\": \"WHEN_NO_MATCH\",\n \"requestTemplates\": {\n \"application/json\": \"{\\n \\\"a\\\": \\\"$input.params('operand1')\\\",\\n \\\"b\\\": \\\"$input.params('operand2')\\\", \\n \\\"op\\\": \\\"$input.params('operator')\\\" \\n}\"\n },\n \"type\": \"AWS\",\n \"uri\": \"arn:aws:apigateway:us-west-2:lambda:path//2015-03-31/functions/arn:aws:lambda:us-west-2:123456789012:function:Calc/invocations\",\n \"_embedded\": {\n \"integration:responses\": {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200\",\n \"name\": \"200\",\n \"title\": \"200\"\n },\n \"integrationresponse:delete\": {\n \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200\"\n },\n \"integrationresponse:update\": {\n \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200\"\n }\n },\n \"responseParameters\": {\n \"method.response.header.operator\": \"integration.response.body.op\",\n \"method.response.header.operand_2\": \"integration.response.body.b\",\n \"method.response.header.operand_1\": \"integration.response.body.a\"\n },\n \"responseTemplates\": {\n \"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}\"\n },\n \"selectionPattern\": \"\",\n \"statusCode\": \"200\"\n }\n }\n}
\n \n A list of authorization scopes configured on the method. The scopes are used with a COGNITO_USER_POOLS
authorizer to authorize the method invocation. The authorization works by matching the method scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any method scopes matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the method scope is configured, the client must provide an access token instead of an identity token for authorization purposes.
\n Represents a client-facing interface by which the client calls the API to access back-end resources. A Method resource is\n integrated with an Integration resource. Both consist of a request and one or more responses. The method request takes\n the client input that is passed to the back end through the integration request. A method response returns the output from\n the back end to the client through an integration response. A method request is embodied in a Method resource, whereas\n an integration request is embodied in an Integration resource. On the other hand, a method response is represented\n by a MethodResponse resource, whereas an integration response is represented by an IntegrationResponse resource.\n
\nThe 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\nContent-Type: application/json\nHost: apigateway.us-east-1.amazonaws.com\nX-Amz-Date: 20160603T210259Z\nAuthorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
\n The successful response returns a 200 OK
status code and a payload similar to the following:
{\n \"_links\": {\n \"curies\": [\n {\n \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html\",\n \"name\": \"integration\",\n \"templated\": true\n },\n {\n \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html\",\n \"name\": \"integrationresponse\",\n \"templated\": true\n },\n {\n \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html\",\n \"name\": \"method\",\n \"templated\": true\n },\n {\n \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html\",\n \"name\": \"methodresponse\",\n \"templated\": true\n }\n ],\n \"self\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\",\n \"name\": \"GET\",\n \"title\": \"GET\"\n },\n \"integration:put\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\"\n },\n \"method:delete\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\"\n },\n \"method:integration\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\"\n },\n \"method:responses\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\",\n \"name\": \"200\",\n \"title\": \"200\"\n },\n \"method:update\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\"\n },\n \"methodresponse:put\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}\",\n \"templated\": true\n }\n },\n \"apiKeyRequired\": true,\n \"authorizationType\": \"NONE\",\n \"httpMethod\": \"GET\",\n \"_embedded\": {\n \"method:integration\": {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\"\n },\n \"integration:delete\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\"\n },\n \"integration:responses\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\",\n \"name\": \"200\",\n \"title\": \"200\"\n },\n \"integration:update\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\"\n },\n \"integrationresponse:put\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}\",\n \"templated\": true\n }\n },\n \"cacheKeyParameters\": [],\n \"cacheNamespace\": \"3kzxbg5sa2\",\n \"credentials\": \"arn:aws:iam::123456789012:role/apigAwsProxyRole\",\n \"httpMethod\": \"POST\",\n \"passthroughBehavior\": \"WHEN_NO_MATCH\",\n \"requestParameters\": {\n \"integration.request.header.Content-Type\": \"'application/x-amz-json-1.1'\"\n },\n \"requestTemplates\": {\n \"application/json\": \"{\\n}\"\n },\n \"type\": \"AWS\",\n \"uri\": \"arn:aws:apigateway:us-east-1:kinesis:action/ListStreams\",\n \"_embedded\": {\n \"integration:responses\": {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\",\n \"name\": \"200\",\n \"title\": \"200\"\n },\n \"integrationresponse:delete\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\"\n },\n \"integrationresponse:update\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\"\n }\n },\n \"responseParameters\": {\n \"method.response.header.Content-Type\": \"'application/xml'\"\n },\n \"responseTemplates\": {\n \"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\\\")\"\n },\n \"statusCode\": \"200\"\n }\n }\n },\n \"method:responses\": {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\",\n \"name\": \"200\",\n \"title\": \"200\"\n },\n \"methodresponse:delete\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\"\n },\n \"methodresponse:update\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\"\n }\n },\n \"responseModels\": {\n \"application/json\": \"Empty\"\n },\n \"responseParameters\": {\n \"method.response.header.Content-Type\": false\n },\n \"statusCode\": \"200\"\n }\n }\n}
\n 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.
The method response's status code.
" } }, "responseParameters": { "target": "com.amazonaws.apigateway#MapOfStringToBoolean", "traits": { "smithy.api#documentation": "A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern method.response.header.{name}
, where name
is a valid and unique header name. API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API's IntegrationResponse. The integration response data that can be mapped include an integration response header expressed in integration.response.header.{name}
, a static value enclosed within a pair of single quotes (e.g., 'application/json'
), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}
, where JSON-expression
is a valid JSON expression without the $
prefix.)
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.
" } } }, "traits": { "smithy.api#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.
\nThe example request retrieves a MethodResponse of the 200 status code.
\nGET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200 HTTP/1.1\nContent-Type: application/json\nHost: apigateway.us-east-1.amazonaws.com\nX-Amz-Date: 20160603T222952Z\nAuthorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
\n The successful response returns 200 OK
status and a payload as follows:
{\n \"_links\": {\n \"curies\": {\n \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html\",\n \"name\": \"methodresponse\",\n \"templated\": true\n },\n \"self\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\",\n \"title\": \"200\"\n },\n \"methodresponse:delete\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\"\n },\n \"methodresponse:update\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\"\n }\n },\n \"responseModels\": {\n \"application/json\": \"Empty\"\n },\n \"responseParameters\": {\n \"method.response.header.Content-Type\": false\n },\n \"statusCode\": \"200\"\n}
\n \n 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.
Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is /{method_setting_key}/logging/loglevel
, and the available levels are OFF
, ERROR
, and INFO
. Choose ERROR
to write only error-level entries to CloudWatch Logs, or choose INFO
to include all ERROR
events as well as extra informational events.
Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is /{method_setting_key}/logging/dataTrace
, and the value is a Boolean.
Specifies the throttling burst limit. The PATCH path for this setting is /{method_setting_key}/throttling/burstLimit
, and the value is an integer.
Specifies the throttling rate limit. The PATCH path for this setting is /{method_setting_key}/throttling/rateLimit
, and the value is a double.
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.
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.
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.
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.
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
.
Specifies the method setting properties.
" } }, "com.amazonaws.apigateway#MethodSnapshot": { "type": "structure", "members": { "authorizationType": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#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.
Specifies whether the method requires a valid ApiKey.
" } } }, "traits": { "smithy.api#documentation": "Represents a summary of a Method resource, given a particular date and time.
" } }, "com.amazonaws.apigateway#Model": { "type": "structure", "members": { "id": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The identifier for the model resource.
" } }, "name": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The name of the model. Must be an alphanumeric string.
" } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The description of the model.
" } }, "schema": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The schema for the model. For application/json
models, this should be JSON schema draft 4 model. Do not include \"\\*/\" characters in the description of any properties because such \"\\*/\" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail.
The content-type for the model.
" } } }, "traits": { "smithy.api#documentation": "Represents the data structure of a method's request or response payload.
\nA 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.
\nA model is used for generating an API's SDK, validating the input request body, and creating a skeletal mapping template.
\nThe current page of elements from this collection.
", "smithy.api#jsonName": "item" } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } } }, "traits": { "smithy.api#documentation": "Represents a collection of Model resources.
\n " } }, "com.amazonaws.apigateway#MutualTlsAuthentication": { "type": "structure", "members": { "truststoreUri": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "An Amazon S3 URL that specifies the truststore for mutual TLS authentication,\n for example s3://bucket-name/key-name
.\n The truststore can contain certificates from public or private certificate authorities.\n To update the truststore, upload a new version to S3, and then update your custom domain\n name to use the new version. To update the truststore, you must have permissions to\n access the S3 object.
The version of the S3 object that contains your truststore. To\n specify a version, you must have versioning enabled for the S3 bucket.
" } }, "truststoreWarnings": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { "smithy.api#documentation": "A list of warnings that API Gateway returns while processing your truststore. Invalid\n certificates produce warnings. Mutual TLS is still enabled, but some clients might not\n be able to access your API. To resolve warnings, upload a new truststore to S3, and then\n update you domain name to use the new version.
" } } }, "traits": { "smithy.api#documentation": "If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your custom domain name.
" } }, "com.amazonaws.apigateway#MutualTlsAuthenticationInput": { "type": "structure", "members": { "truststoreUri": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "An Amazon S3 resource ARN that specifies the truststore for mutual TLS authentication,\n for example,\n s3://bucket-name/key-name
.\n The truststore can contain certificates from public or private certificate authorities.\n To update the truststore, upload a new version to S3, and then update your custom domain\n name to use the new version. To update the truststore, you must have permissions to\n access the S3 object.
The version of the S3 object that contains your truststore. To\n specify a version, you must have versioning enabled for the S3 bucket.
" } } }, "traits": { "smithy.api#documentation": "If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your custom domain name.
" } }, "com.amazonaws.apigateway#NotFoundException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.apigateway#String" } }, "traits": { "smithy.api#documentation": "The requested resource is not found. Make sure that the request URI is correct.
", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.apigateway#NullableBoolean": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.apigateway#NullableInteger": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.apigateway#Op": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "add", "name": "add" }, { "value": "remove", "name": "remove" }, { "value": "replace", "name": "replace" }, { "value": "move", "name": "move" }, { "value": "copy", "name": "copy" }, { "value": "test", "name": "test" } ] } }, "com.amazonaws.apigateway#PatchOperation": { "type": "structure", "members": { "op": { "target": "com.amazonaws.apigateway#Op", "traits": { "smithy.api#documentation": " An update operation to be performed with this PATCH request. The valid value can be add
, remove
, replace
or copy
. Not all valid operations are supported for a given resource. Support of the operations depends on specific operational contexts. Attempts to apply an unsupported operation on a resource will return an error message.
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.
The new target value of the update operation. It is applicable for the add
or replace
operation. When using AWS CLI to update a property of a JSON value, enclose the JSON object with a pair of single quotes in a Linux shell, e.g., '{\"a\": ...}'. In a Windows shell, see Using JSON for Parameters.
The copy
update operation's source as identified by a JSON-Pointer
value referencing the location within the targeted resource to copy the value from. For example, to promote a canary deployment, you copy the canary deployment ID to the affiliated deployment ID by calling a PATCH request on a Stage resource with \"op\":\"copy\"
, \"from\":\"/canarySettings/deploymentId\"
and \"path\":\"/deploymentId\"
.
Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.
", "smithy.api#http": { "method": "PUT", "uri": "/restapis/{restApiId}/gatewayresponses/{responseType}", "code": 201 } } }, "com.amazonaws.apigateway#PutGatewayResponseRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "responseType": { "target": "com.amazonaws.apigateway#GatewayResponseType", "traits": { "smithy.api#documentation": "[Required]
The response type of the associated GatewayResponse. Valid values are
Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.
" } }, "responseTemplates": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "Response templates of the GatewayResponse as a string-to-string map of key-value pairs.
" } } }, "traits": { "smithy.api#documentation": "Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.
" } }, "com.amazonaws.apigateway#PutIntegration": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#PutIntegrationRequest" }, "output": { "target": "com.amazonaws.apigateway#Integration" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Sets up a method's integration.
", "smithy.api#http": { "method": "PUT", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration", "code": 201 } } }, "com.amazonaws.apigateway#PutIntegrationRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] Specifies a put integration request's resource ID.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] Specifies a put integration request's HTTP method.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "type": { "target": "com.amazonaws.apigateway#IntegrationType", "traits": { "smithy.api#documentation": "[Required] Specifies a put integration input's type.
", "smithy.api#required": {} } }, "integrationHttpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "Specifies a put integration HTTP method. When the integration type is HTTP or AWS, this field is required.
", "smithy.api#jsonName": "httpMethod" } }, "uri": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "Specifies Uniform Resource Identifier (URI) of the integration endpoint.
\n For HTTP
or HTTP_PROXY
integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 specification, for either standard integration, where connectionType
is not VPC_LINK
, or private integration, where connectionType
is VPC_LINK
. For a private HTTP integration, the URI is not used for routing.
For AWS
or AWS_PROXY
integrations, the URI is of the form arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}
. Here, {Region}
is the API Gateway region (e.g., us-east-1
); {service}
is the name of the integrated AWS service (e.g., s3
); and {subdomain}
is a designated subdomain supported by certain AWS service for fast host-name lookup. action
can be used for an AWS service action-based API, using an Action={name}&{p1}={v1}&p2={v2}...
query string. The ensuing {service_api}
refers to a supported action {name}
plus any required input parameters. Alternatively, path
can be used for an AWS service path-based API. The ensuing service_api
refers to the path to an AWS service resource, including the region of the integrated AWS service, if applicable. For example, for integration with the S3 API of GetObject
, the uri
can be either arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key}
or arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}
The type of the network connection to the integration endpoint. The valid value is INTERNET
for connections through the public routable internet or VPC_LINK
for private connections between API Gateway and a network load balancer in a VPC. The default value is INTERNET
.
The (id
) of the VpcLink used for the integration when connectionType=VPC_LINK
and undefined, otherwise.
Specifies whether credentials are required for a put integration.
" } }, "requestParameters": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#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.
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": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#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
.\n
WHEN_NO_MATCH
passes the request body for unmapped content types through to the integration back end without transformation.
NEVER
rejects unmapped content types with an HTTP 415 'Unsupported Media Type' response.
WHEN_NO_TEMPLATES
allows pass-through when the integration has NO content types mapped to templates. However if there is at least one content type defined, unmapped content types will be rejected with the same 415 response.
Specifies a group of related cached parameters. By default, API Gateway uses the resource ID as the cacheNamespace
. You can specify the same cacheNamespace
across resources to return the same cached data for requests to different resources.
A list of request parameters whose values API Gateway caches. To be valid values for cacheKeyParameters
, these parameters must also be specified for Method requestParameters
.
Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY
and CONVERT_TO_TEXT
, with the following behaviors:
CONVERT_TO_BINARY
: Converts a request payload from a Base64-encoded string to the corresponding binary blob.
CONVERT_TO_TEXT
: Converts a request payload from a binary blob to a Base64-encoded string.
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 passthroughBehavior
is configured to support payload pass-through.
Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.
" } }, "tlsConfig": { "target": "com.amazonaws.apigateway#TlsConfig" } }, "traits": { "smithy.api#documentation": "Sets up a method's integration.
" } }, "com.amazonaws.apigateway#PutIntegrationResponse": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#PutIntegrationResponseRequest" }, "output": { "target": "com.amazonaws.apigateway#IntegrationResponse" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Represents a put integration.
", "smithy.api#http": { "method": "PUT", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration/responses/{statusCode}", "code": 201 } } }, "com.amazonaws.apigateway#PutIntegrationResponseRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] Specifies a put integration response request's resource identifier.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] Specifies a put integration response request's HTTP method.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "statusCode": { "target": "com.amazonaws.apigateway#StatusCode", "traits": { "smithy.api#documentation": "[Required] Specifies the status code that is used to map the integration response to an existing MethodResponse.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "selectionPattern": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "Specifies the selection pattern of a put integration response.
" } }, "responseParameters": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "A key-value map specifying response parameters that are passed to the method response from the back end.\n 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.
Specifies a put integration response's templates.
" } }, "contentHandling": { "target": "com.amazonaws.apigateway#ContentHandlingStrategy", "traits": { "smithy.api#documentation": "Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY
and CONVERT_TO_TEXT
, with the following behaviors:
CONVERT_TO_BINARY
: Converts a response payload from a Base64-encoded string to the corresponding binary blob.
CONVERT_TO_TEXT
: Converts a response payload from a binary blob to a Base64-encoded string.
If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.
" } } }, "traits": { "smithy.api#documentation": "Represents a put integration response request.
" } }, "com.amazonaws.apigateway#PutMethod": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#PutMethodRequest" }, "output": { "target": "com.amazonaws.apigateway#Method" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Add a method to an existing Resource resource.
", "smithy.api#http": { "method": "PUT", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", "code": 201 } } }, "com.amazonaws.apigateway#PutMethodRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The Resource identifier for the new Method resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] Specifies the method request's HTTP method type.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "authorizationType": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The method's authorization type. Valid values are NONE
for open access, AWS_IAM
for using AWS IAM permissions, CUSTOM
for using a custom authorizer, or COGNITO_USER_POOLS
for using a Cognito user pool.
Specifies the identifier of an Authorizer to use on this Method, if the type is CUSTOM or COGNITO_USER_POOLS. The authorizer identifier is generated by API Gateway when you created the authorizer.
" } }, "apiKeyRequired": { "target": "com.amazonaws.apigateway#Boolean", "traits": { "smithy.api#documentation": "Specifies whether the method required a valid ApiKey.
" } }, "operationName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "A human-friendly operation identifier for the method. For example, you can assign the operationName
of ListPets
for the GET /pets
method in the PetStore
example.
A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key defines a method request parameter name matching the pattern of method.request.{location}.{name}
, where location
is querystring
, path
, or header
and name
is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true
) or optional (false
). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or body-mapping templates.
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": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The identifier of a RequestValidator for validating the method request.
" } }, "authorizationScopes": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { "smithy.api#documentation": "A list of authorization scopes configured on the method. The scopes are used with a COGNITO_USER_POOLS
authorizer to authorize the method invocation. The authorization works by matching the method scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any method scopes matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the method scope is configured, the client must provide an access token instead of an identity token for authorization purposes.
Request to add a method to an existing Resource resource.
" } }, "com.amazonaws.apigateway#PutMethodResponse": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#PutMethodResponseRequest" }, "output": { "target": "com.amazonaws.apigateway#MethodResponse" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Adds a MethodResponse to an existing Method resource.
", "smithy.api#http": { "method": "PUT", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", "code": 201 } } }, "com.amazonaws.apigateway#PutMethodResponseRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The Resource identifier for the Method resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The HTTP verb of the Method resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "statusCode": { "target": "com.amazonaws.apigateway#StatusCode", "traits": { "smithy.api#documentation": "[Required] The method response's status code.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "responseParameters": { "target": "com.amazonaws.apigateway#MapOfStringToBoolean", "traits": { "smithy.api#documentation": "A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header name and the associated value is a Boolean flag indicating whether the method response parameter is required or not. The method response header names must match the pattern of method.response.header.{name}
, where name
is a valid and unique header name. The response parameter names defined here are available in the integration response to be mapped from an integration response header expressed in integration.response.header.{name}
, a static value enclosed within a pair of single quotes (e.g., 'application/json'
), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}
, where JSON-expression
is a valid JSON expression without the $
prefix.)
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.
" } } }, "traits": { "smithy.api#documentation": "Request to add a MethodResponse to an existing Method resource.
" } }, "com.amazonaws.apigateway#PutMode": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "merge", "name": "Merge" }, { "value": "overwrite", "name": "Overwrite" } ] } }, "com.amazonaws.apigateway#PutRestApi": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#PutRestApiRequest" }, "output": { "target": "com.amazonaws.apigateway#RestApi" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "A feature of the API Gateway control service for updating an existing API with an input of external API definitions.\n The update can take the form of merging the supplied definition into the existing API or overwriting the existing API.
", "smithy.api#http": { "method": "PUT", "uri": "/restapis/{restApiId}", "code": 200 } } }, "com.amazonaws.apigateway#PutRestApiRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "mode": { "target": "com.amazonaws.apigateway#PutMode", "traits": { "smithy.api#documentation": "The mode
query parameter to specify the update mode. Valid values are \"merge\" and \"overwrite\". By default,\n the update mode is \"merge\".
A query parameter to indicate whether to rollback the API update (true
) or not (false
)\n when a warning is encountered. The default value is false
.
Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ignore=documentation
as a parameters
value, as in the AWS CLI command of aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'
.
[Required] The PUT request body containing external API definitions. Currently, only OpenAPI definition JSON/YAML files are supported. The maximum size of the API definition file is 6MB.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A PUT request to update an existing API, with external API definitions specified as the request body.
" } }, "com.amazonaws.apigateway#QuotaPeriodType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "DAY", "name": "DAY" }, { "value": "WEEK", "name": "WEEK" }, { "value": "MONTH", "name": "MONTH" } ] } }, "com.amazonaws.apigateway#QuotaSettings": { "type": "structure", "members": { "limit": { "target": "com.amazonaws.apigateway#Integer", "traits": { "smithy.api#documentation": "The maximum number of requests that can be made in a given time period.
" } }, "offset": { "target": "com.amazonaws.apigateway#Integer", "traits": { "smithy.api#documentation": "The day that a time period starts. For example, with a time period of WEEK
, an offset of 0
starts on Sunday, and an offset of 1
starts on Monday.
The time period in which the limit applies. Valid values are \"DAY\", \"WEEK\" or \"MONTH\".
" } } }, "traits": { "smithy.api#documentation": "Quotas configured for a usage plan.
" } }, "com.amazonaws.apigateway#RequestValidator": { "type": "structure", "members": { "id": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The identifier of this RequestValidator.
" } }, "name": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The name of this RequestValidator
" } }, "validateRequestBody": { "target": "com.amazonaws.apigateway#Boolean", "traits": { "smithy.api#documentation": "A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
" } }, "validateRequestParameters": { "target": "com.amazonaws.apigateway#Boolean", "traits": { "smithy.api#documentation": "A Boolean flag to indicate whether to validate request parameters (true
) or not (false
).
A set of validation rules for incoming Method requests.
\nIn OpenAPI, a RequestValidator of an API is defined by the x-amazon-apigateway-request-validators.requestValidator object. It the referenced using the x-amazon-apigateway-request-validator property.
\nThe current page of elements from this collection.
", "smithy.api#jsonName": "item" } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } } }, "traits": { "smithy.api#documentation": "A collection of RequestValidator resources of a given RestApi.
\nIn OpenAPI, the RequestValidators of an API is defined by the x-amazon-apigateway-request-validators extension.
\nThe resource's identifier.
" } }, "parentId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The parent resource's identifier.
" } }, "pathPart": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The last path segment for this resource.
" } }, "path": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The full path for this resource.
" } }, "resourceMethods": { "target": "com.amazonaws.apigateway#MapOfMethod", "traits": { "smithy.api#documentation": "Gets an API resource's method of a given HTTP verb.
\nThe 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.
GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1\nContent-Type: application/json\nHost: apigateway.us-east-1.amazonaws.com\nX-Amz-Date: 20170223T031827Z\nAuthorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20170223/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
\n {\n \"_links\": {\n \"curies\": [\n {\n \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html\",\n \"name\": \"integration\",\n \"templated\": true\n },\n {\n \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html\",\n \"name\": \"integrationresponse\",\n \"templated\": true\n },\n {\n \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html\",\n \"name\": \"method\",\n \"templated\": true\n },\n {\n \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html\",\n \"name\": \"methodresponse\",\n \"templated\": true\n }\n ],\n \"self\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\",\n \"name\": \"GET\",\n \"title\": \"GET\"\n },\n \"integration:put\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\"\n },\n \"method:delete\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\"\n },\n \"method:integration\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\"\n },\n \"method:responses\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\",\n \"name\": \"200\",\n \"title\": \"200\"\n },\n \"method:update\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\"\n },\n \"methodresponse:put\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}\",\n \"templated\": true\n }\n },\n \"apiKeyRequired\": false,\n \"authorizationType\": \"NONE\",\n \"httpMethod\": \"GET\",\n \"_embedded\": {\n \"method:integration\": {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\"\n },\n \"integration:delete\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\"\n },\n \"integration:responses\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\",\n \"name\": \"200\",\n \"title\": \"200\"\n },\n \"integration:update\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\"\n },\n \"integrationresponse:put\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}\",\n \"templated\": true\n }\n },\n \"cacheKeyParameters\": [],\n \"cacheNamespace\": \"3kzxbg5sa2\",\n \"credentials\": \"arn:aws:iam::123456789012:role/apigAwsProxyRole\",\n \"httpMethod\": \"POST\",\n \"passthroughBehavior\": \"WHEN_NO_MATCH\",\n \"requestParameters\": {\n \"integration.request.header.Content-Type\": \"'application/x-amz-json-1.1'\"\n },\n \"requestTemplates\": {\n \"application/json\": \"{\\n}\"\n },\n \"type\": \"AWS\",\n \"uri\": \"arn:aws:apigateway:us-east-1:kinesis:action/ListStreams\",\n \"_embedded\": {\n \"integration:responses\": {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\",\n \"name\": \"200\",\n \"title\": \"200\"\n },\n \"integrationresponse:delete\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\"\n },\n \"integrationresponse:update\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\"\n }\n },\n \"responseParameters\": {\n \"method.response.header.Content-Type\": \"'application/xml'\"\n },\n \"responseTemplates\": {\n \"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\"\n },\n \"statusCode\": \"200\"\n }\n }\n },\n \"method:responses\": {\n \"_links\": {\n \"self\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\",\n \"name\": \"200\",\n \"title\": \"200\"\n },\n \"methodresponse:delete\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\"\n },\n \"methodresponse:update\": {\n \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\"\n }\n },\n \"responseModels\": {\n \"application/json\": \"Empty\"\n },\n \"responseParameters\": {\n \"method.response.header.Content-Type\": false\n },\n \"statusCode\": \"200\"\n }\n }\n}
\n 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
.
Represents an API resource.
\nThe current page of elements from this collection.
", "smithy.api#jsonName": "item" } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } } }, "traits": { "smithy.api#documentation": "Represents a collection of Resource resources.
\nThe API's identifier. This identifier is unique across all of your APIs in API Gateway.
" } }, "name": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The API's name.
" } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The API's description.
" } }, "createdDate": { "target": "com.amazonaws.apigateway#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the API was created.
" } }, "version": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "A version identifier for the API.
" } }, "warnings": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { "smithy.api#documentation": "The warning messages reported when failonwarnings
is turned on during API import.
The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.
" } }, "minimumCompressionSize": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { "smithy.api#documentation": "A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.
" } }, "apiKeySource": { "target": "com.amazonaws.apigateway#ApiKeySourceType", "traits": { "smithy.api#documentation": "The source of the API key for metering requests according to a usage plan. Valid values are:
HEADER
to read the API key from the X-API-Key
header of a request. AUTHORIZER
to read the API key from the UsageIdentifierKey
from a custom authorizer.The endpoint configuration of this RestApi showing the endpoint types of the API.
" } }, "policy": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "A stringified JSON policy document that applies to this RestApi regardless of the caller and Method configuration.
" } }, "tags": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "The collection of tags. Each tag element is associated with a given resource.
" } }, "disableExecuteApiEndpoint": { "target": "com.amazonaws.apigateway#Boolean", "traits": { "smithy.api#documentation": "Specifies whether clients can invoke your API by using the default execute-api
endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.
Represents a REST API.
\nThe current page of elements from this collection.
", "smithy.api#jsonName": "item" } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } } }, "traits": { "smithy.api#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.
\nThe name of a an SdkType configuration property.
" } }, "friendlyName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The user-friendly name of an SdkType configuration property.
" } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The description of an SdkType configuration property.
" } }, "required": { "target": "com.amazonaws.apigateway#Boolean", "traits": { "smithy.api#documentation": "A boolean flag of an SdkType configuration property to indicate if the associated SDK configuration property is required (true
) or not (false
).
The default value of an SdkType configuration property.
" } } }, "traits": { "smithy.api#documentation": "A configuration property of an SDK type.
" } }, "com.amazonaws.apigateway#SdkResponse": { "type": "structure", "members": { "contentType": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The content-type header value in the HTTP response.
", "smithy.api#httpHeader": "Content-Type" } }, "contentDisposition": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The content-disposition header value in the HTTP response.
", "smithy.api#httpHeader": "Content-Disposition" } }, "body": { "target": "com.amazonaws.apigateway#Blob", "traits": { "smithy.api#documentation": "The binary blob response to GetSdk, which contains the generated SDK.
", "smithy.api#httpPayload": {} } } }, "traits": { "smithy.api#documentation": "The binary blob response to GetSdk, which contains the generated SDK.
" } }, "com.amazonaws.apigateway#SdkType": { "type": "structure", "members": { "id": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The identifier of an SdkType instance.
" } }, "friendlyName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The user-friendly name of an SdkType instance.
" } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The description of an SdkType.
" } }, "configurationProperties": { "target": "com.amazonaws.apigateway#ListOfSdkConfigurationProperty", "traits": { "smithy.api#documentation": "A list of configuration properties of an SdkType.
" } } }, "traits": { "smithy.api#documentation": "A type of SDK that API Gateway can generate.
" } }, "com.amazonaws.apigateway#SdkTypes": { "type": "structure", "members": { "items": { "target": "com.amazonaws.apigateway#ListOfSdkType", "traits": { "smithy.api#documentation": "The current page of elements from this collection.
", "smithy.api#jsonName": "item" } } }, "traits": { "smithy.api#documentation": "The collection of SdkType instances.
" } }, "com.amazonaws.apigateway#SecurityPolicy": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "TLS_1_0", "name": "TLS_1_0" }, { "value": "TLS_1_2", "name": "TLS_1_2" } ] } }, "com.amazonaws.apigateway#ServiceUnavailableException": { "type": "structure", "members": { "retryAfterSeconds": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#httpHeader": "Retry-After" } }, "message": { "target": "com.amazonaws.apigateway#String" } }, "traits": { "smithy.api#documentation": "The requested service is not available. For details see the accompanying error message. Retry after the specified time period.
", "smithy.api#error": "server", "smithy.api#httpError": 503 } }, "com.amazonaws.apigateway#Stage": { "type": "structure", "members": { "deploymentId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The identifier of the Deployment that the stage points to.
" } }, "clientCertificateId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The identifier of a client certificate for an API stage.
" } }, "stageName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API Gateway. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.
" } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The stage's description.
" } }, "cacheClusterEnabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { "smithy.api#documentation": "Specifies whether a cache cluster is enabled for the stage.
" } }, "cacheClusterSize": { "target": "com.amazonaws.apigateway#CacheClusterSize", "traits": { "smithy.api#documentation": "The size of the cache cluster for the stage, if enabled.
" } }, "cacheClusterStatus": { "target": "com.amazonaws.apigateway#CacheClusterStatus", "traits": { "smithy.api#documentation": "The status of the cache cluster for the stage, if enabled.
" } }, "methodSettings": { "target": "com.amazonaws.apigateway#MapOfMethodSettings", "traits": { "smithy.api#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.
A map that defines the stage variables for a Stage resource. Variable names can\n have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+
.
The version of the associated API documentation.
" } }, "accessLogSettings": { "target": "com.amazonaws.apigateway#AccessLogSettings", "traits": { "smithy.api#documentation": "Settings for logging access in this stage.
" } }, "canarySettings": { "target": "com.amazonaws.apigateway#CanarySettings", "traits": { "smithy.api#documentation": "Settings for the canary deployment in this stage.
" } }, "tracingEnabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { "smithy.api#documentation": "Specifies whether active tracing with X-ray is enabled for the Stage.
" } }, "webAclArn": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The ARN of the WebAcl associated with the Stage.
" } }, "tags": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "The collection of tags. Each tag element is associated with a given resource.
" } }, "createdDate": { "target": "com.amazonaws.apigateway#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the stage was created.
" } }, "lastUpdatedDate": { "target": "com.amazonaws.apigateway#Timestamp", "traits": { "smithy.api#documentation": "The timestamp when the stage last updated.
" } } }, "traits": { "smithy.api#documentation": "Represents a unique identifier for a version of a deployed RestApi that is callable by users.
\nThe string identifier of the associated RestApi.
" } }, "stageName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The stage name associated with the stage key.
" } } }, "traits": { "smithy.api#documentation": "A reference to a unique stage identified in the format {restApiId}/{stage}
.
The current page of elements from this collection.
" } } }, "traits": { "smithy.api#documentation": "A list of Stage resources that are associated with the ApiKey resource.
\n " } }, "com.amazonaws.apigateway#StatusCode": { "type": "string", "traits": { "smithy.api#documentation": "The status code.
", "smithy.api#pattern": "[1-5]\\d\\d" } }, "com.amazonaws.apigateway#String": { "type": "string" }, "com.amazonaws.apigateway#TagResource": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#TagResourceRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Adds or updates a tag on a given resource.
", "smithy.api#http": { "method": "PUT", "uri": "/tags/{resourceArn}", "code": 204 } } }, "com.amazonaws.apigateway#TagResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The ARN of a resource that can be tagged.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "[Required] The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:
. The tag value can be up to 256 characters.
Adds or updates a tag on a given resource.
" } }, "com.amazonaws.apigateway#Tags": { "type": "structure", "members": { "tags": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "The collection of tags. Each tag element is associated with a given resource.
" } } }, "traits": { "smithy.api#documentation": "The collection of tags. Each tag element is associated with a given resource.
" } }, "com.amazonaws.apigateway#Template": { "type": "structure", "members": { "value": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The Apache Velocity Template Language (VTL) template content used for the template resource.
" } } }, "traits": { "smithy.api#documentation": "Represents a mapping template used to transform a payload.
\nSimulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body.
\n ", "smithy.api#http": { "method": "POST", "uri": "/restapis/{restApiId}/authorizers/{authorizerId}", "code": 200 } } }, "com.amazonaws.apigateway#TestInvokeAuthorizerRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "authorizerId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] Specifies a test invoke authorizer request's Authorizer ID.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "headers": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#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.
" } }, "multiValueHeaders": { "target": "com.amazonaws.apigateway#MapOfStringToList", "traits": { "smithy.api#documentation": "[Optional] The headers as a map from string to list of values to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, may be specified.
" } }, "pathWithQueryString": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Optional] The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.
" } }, "body": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Optional] The simulated request body of an incoming invocation request.
" } }, "stageVariables": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "A key-value map of stage variables to simulate an invocation on a deployed Stage.
" } }, "additionalContext": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "[Optional] A key-value map of additional context variables.
" } } }, "traits": { "smithy.api#documentation": "Make a request to simulate the execution of an Authorizer.
" } }, "com.amazonaws.apigateway#TestInvokeAuthorizerResponse": { "type": "structure", "members": { "clientStatus": { "target": "com.amazonaws.apigateway#Integer", "traits": { "smithy.api#documentation": "The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded.
" } }, "log": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The API Gateway execution log for the test authorizer request.
" } }, "latency": { "target": "com.amazonaws.apigateway#Long", "traits": { "smithy.api#documentation": "The execution latency of the test authorizer request.
" } }, "principalId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The principal identity returned by the Authorizer
" } }, "policy": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The JSON policy document returned by the Authorizer
" } }, "authorization": { "target": "com.amazonaws.apigateway#MapOfStringToList" }, "claims": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.
" } } }, "traits": { "smithy.api#documentation": "Represents the response of the test invoke request for a custom Authorizer
" } }, "com.amazonaws.apigateway#TestInvokeMethod": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#TestInvokeMethodRequest" }, "output": { "target": "com.amazonaws.apigateway#TestInvokeMethodResponse" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Simulate the execution of a Method in your RestApi with headers, parameters, and an incoming request body.
", "smithy.api#http": { "method": "POST", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", "code": 200 } } }, "com.amazonaws.apigateway#TestInvokeMethodRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] Specifies a test invoke method request's resource ID.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] Specifies a test invoke method request's HTTP method.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "pathWithQueryString": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.
" } }, "body": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The simulated request body of an incoming invocation request.
" } }, "headers": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "A key-value map of headers to simulate an incoming invocation request.
" } }, "multiValueHeaders": { "target": "com.amazonaws.apigateway#MapOfStringToList", "traits": { "smithy.api#documentation": "The headers as a map from string to list of values to simulate an incoming invocation request.
" } }, "clientCertificateId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#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": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "A key-value map of stage variables to simulate an invocation on a deployed Stage.
" } } }, "traits": { "smithy.api#documentation": "Make a request to simulate the execution of a Method.
" } }, "com.amazonaws.apigateway#TestInvokeMethodResponse": { "type": "structure", "members": { "status": { "target": "com.amazonaws.apigateway#Integer", "traits": { "smithy.api#documentation": "The HTTP status code.
" } }, "body": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The body of the HTTP response.
" } }, "headers": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "The headers of the HTTP response.
" } }, "multiValueHeaders": { "target": "com.amazonaws.apigateway#MapOfStringToList", "traits": { "smithy.api#documentation": "The headers of the HTTP response as a map from string to list of values.
" } }, "log": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The API Gateway execution log for the test invoke request.
" } }, "latency": { "target": "com.amazonaws.apigateway#Long", "traits": { "smithy.api#documentation": "The execution latency of the test invoke request.
" } } }, "traits": { "smithy.api#documentation": "Represents the response of the test invoke request in the HTTP method.
\n " } }, "com.amazonaws.apigateway#ThrottleSettings": { "type": "structure", "members": { "burstLimit": { "target": "com.amazonaws.apigateway#Integer", "traits": { "smithy.api#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": { "target": "com.amazonaws.apigateway#Double", "traits": { "smithy.api#documentation": "The API request steady-state rate limit.
" } } }, "traits": { "smithy.api#documentation": "The API request rate limits.
" } }, "com.amazonaws.apigateway#Timestamp": { "type": "timestamp" }, "com.amazonaws.apigateway#TlsConfig": { "type": "structure", "members": { "insecureSkipVerification": { "target": "com.amazonaws.apigateway#Boolean", "traits": { "smithy.api#documentation": "Specifies whether or not API Gateway skips verification that the certificate for an integration endpoint is\n issued by a supported certificate authority. This isn’t recommended, but it enables you to\n use certificates that are signed by private certificate authorities, or certificates\n that are self-signed. If enabled, API Gateway still performs basic certificate\n validation, which includes checking the certificate's expiration date, hostname, and\n presence of a root certificate authority. Supported only for HTTP
and\n HTTP_PROXY
integrations.
The request has reached its throttling limit. Retry after the specified time period.
", "smithy.api#error": "client", "smithy.api#httpError": 429 } }, "com.amazonaws.apigateway#UnauthorizedCacheControlHeaderStrategy": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "FAIL_WITH_403", "name": "FAIL_WITH_403" }, { "value": "SUCCEED_WITH_RESPONSE_HEADER", "name": "SUCCEED_WITH_RESPONSE_HEADER" }, { "value": "SUCCEED_WITHOUT_RESPONSE_HEADER", "name": "SUCCEED_WITHOUT_RESPONSE_HEADER" } ] } }, "com.amazonaws.apigateway#UnauthorizedException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.apigateway#String" } }, "traits": { "smithy.api#documentation": "The request is denied because the caller has insufficient permissions.
", "smithy.api#error": "client", "smithy.api#httpError": 401 } }, "com.amazonaws.apigateway#UntagResource": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UntagResourceRequest" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Removes a tag from a given resource.
", "smithy.api#http": { "method": "DELETE", "uri": "/tags/{resourceArn}", "code": 204 } } }, "com.amazonaws.apigateway#UntagResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The ARN of a resource that can be tagged.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "tagKeys": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { "smithy.api#documentation": "[Required] The Tag keys to delete.
", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Removes a tag from a given resource.
" } }, "com.amazonaws.apigateway#UpdateAccount": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateAccountRequest" }, "output": { "target": "com.amazonaws.apigateway#Account" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Changes information about the current Account resource.
", "smithy.api#http": { "method": "PATCH", "uri": "/account", "code": 200 } } }, "com.amazonaws.apigateway#UpdateAccountRequest": { "type": "structure", "members": { "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { "smithy.api#documentation": "A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "Requests API Gateway to change information about the current Account resource.
" } }, "com.amazonaws.apigateway#UpdateApiKey": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateApiKeyRequest" }, "output": { "target": "com.amazonaws.apigateway#ApiKey" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Changes information about an ApiKey resource.
", "smithy.api#http": { "method": "PATCH", "uri": "/apikeys/{apiKey}", "code": 200 } } }, "com.amazonaws.apigateway#UpdateApiKeyRequest": { "type": "structure", "members": { "apiKey": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the ApiKey resource to be updated.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { "smithy.api#documentation": "A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "A request to change information about an ApiKey resource.
" } }, "com.amazonaws.apigateway#UpdateAuthorizer": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateAuthorizerRequest" }, "output": { "target": "com.amazonaws.apigateway#Authorizer" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Updates an existing Authorizer resource.
\n ", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/authorizers/{authorizerId}", "code": 200 } } }, "com.amazonaws.apigateway#UpdateAuthorizerRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "authorizerId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the Authorizer resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { "smithy.api#documentation": "A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "Request to update an existing Authorizer resource.
" } }, "com.amazonaws.apigateway#UpdateBasePathMapping": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateBasePathMappingRequest" }, "output": { "target": "com.amazonaws.apigateway#BasePathMapping" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Changes information about the BasePathMapping resource.
", "smithy.api#http": { "method": "PATCH", "uri": "/domainnames/{domainName}/basepathmappings/{basePath}", "code": 200 } } }, "com.amazonaws.apigateway#UpdateBasePathMappingRequest": { "type": "structure", "members": { "domainName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The domain name of the BasePathMapping resource to change.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "basePath": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The base path of the BasePathMapping resource to change.
\nTo specify an empty base path, set this parameter to '(none)'
.
A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "A request to change information about the BasePathMapping resource.
" } }, "com.amazonaws.apigateway#UpdateClientCertificate": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateClientCertificateRequest" }, "output": { "target": "com.amazonaws.apigateway#ClientCertificate" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Changes information about an ClientCertificate resource.
", "smithy.api#http": { "method": "PATCH", "uri": "/clientcertificates/{clientCertificateId}", "code": 200 } } }, "com.amazonaws.apigateway#UpdateClientCertificateRequest": { "type": "structure", "members": { "clientCertificateId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the ClientCertificate resource to be updated.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { "smithy.api#documentation": "A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "A request to change information about an ClientCertificate resource.
" } }, "com.amazonaws.apigateway#UpdateDeployment": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateDeploymentRequest" }, "output": { "target": "com.amazonaws.apigateway#Deployment" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#ServiceUnavailableException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Changes information about a Deployment resource.
", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/deployments/{deploymentId}", "code": 200 } } }, "com.amazonaws.apigateway#UpdateDeploymentRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "deploymentId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The replacement identifier for the Deployment resource to change information about.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { "smithy.api#documentation": "A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "Requests API Gateway to change information about a Deployment resource.
" } }, "com.amazonaws.apigateway#UpdateDocumentationPart": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateDocumentationPartRequest" }, "output": { "target": "com.amazonaws.apigateway#DocumentationPart" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/documentation/parts/{documentationPartId}", "code": 200 } } }, "com.amazonaws.apigateway#UpdateDocumentationPartRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "documentationPartId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the to-be-updated documentation part.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { "smithy.api#documentation": "A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "Updates an existing documentation part of a given API.
" } }, "com.amazonaws.apigateway#UpdateDocumentationVersion": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateDocumentationVersionRequest" }, "output": { "target": "com.amazonaws.apigateway#DocumentationVersion" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/documentation/versions/{documentationVersion}", "code": 200 } } }, "com.amazonaws.apigateway#UpdateDocumentationVersionRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi..
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "documentationVersion": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The version identifier of the to-be-updated documentation version.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { "smithy.api#documentation": "A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "Updates an existing documentation version of an API.
" } }, "com.amazonaws.apigateway#UpdateDomainName": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateDomainNameRequest" }, "output": { "target": "com.amazonaws.apigateway#DomainName" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Changes information about the DomainName resource.
", "smithy.api#http": { "method": "PATCH", "uri": "/domainnames/{domainName}", "code": 200 } } }, "com.amazonaws.apigateway#UpdateDomainNameRequest": { "type": "structure", "members": { "domainName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The name of the DomainName resource to be changed.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { "smithy.api#documentation": "A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "A request to change information about the DomainName resource.
" } }, "com.amazonaws.apigateway#UpdateGatewayResponse": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateGatewayResponseRequest" }, "output": { "target": "com.amazonaws.apigateway#GatewayResponse" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Updates a GatewayResponse of a specified response type on the given RestApi.
", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/gatewayresponses/{responseType}", "code": 200 } } }, "com.amazonaws.apigateway#UpdateGatewayResponseRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "responseType": { "target": "com.amazonaws.apigateway#GatewayResponseType", "traits": { "smithy.api#documentation": "[Required]
The response type of the associated GatewayResponse. Valid values are
A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "Updates a GatewayResponse of a specified response type on the given RestApi.
" } }, "com.amazonaws.apigateway#UpdateIntegration": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateIntegrationRequest" }, "output": { "target": "com.amazonaws.apigateway#Integration" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Represents an update integration.
", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration", "code": 200 } } }, "com.amazonaws.apigateway#UpdateIntegrationRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] Represents an update integration request's resource identifier.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] Represents an update integration request's HTTP method.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { "smithy.api#documentation": "A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "Represents an update integration request.
" } }, "com.amazonaws.apigateway#UpdateIntegrationResponse": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateIntegrationResponseRequest" }, "output": { "target": "com.amazonaws.apigateway#IntegrationResponse" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Represents an update integration response.
", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration/responses/{statusCode}", "code": 200 } } }, "com.amazonaws.apigateway#UpdateIntegrationResponseRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] Specifies an update integration response request's resource identifier.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] Specifies an update integration response request's HTTP method.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "statusCode": { "target": "com.amazonaws.apigateway#StatusCode", "traits": { "smithy.api#documentation": "[Required] Specifies an update integration response request's status code.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { "smithy.api#documentation": "A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "Represents an update integration response request.
" } }, "com.amazonaws.apigateway#UpdateMethod": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateMethodRequest" }, "output": { "target": "com.amazonaws.apigateway#Method" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Updates an existing Method resource.
", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", "code": 200 } } }, "com.amazonaws.apigateway#UpdateMethodRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The Resource identifier for the Method resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The HTTP verb of the Method resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { "smithy.api#documentation": "A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "Request to update an existing Method resource.
" } }, "com.amazonaws.apigateway#UpdateMethodResponse": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateMethodResponseRequest" }, "output": { "target": "com.amazonaws.apigateway#MethodResponse" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#LimitExceededException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Updates an existing MethodResponse resource.
", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", "code": 201 } } }, "com.amazonaws.apigateway#UpdateMethodResponseRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The Resource identifier for the MethodResponse resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The HTTP verb of the Method resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "statusCode": { "target": "com.amazonaws.apigateway#StatusCode", "traits": { "smithy.api#documentation": "[Required] The status code for the MethodResponse resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { "smithy.api#documentation": "A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "A request to update an existing MethodResponse resource.
" } }, "com.amazonaws.apigateway#UpdateModel": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateModelRequest" }, "output": { "target": "com.amazonaws.apigateway#Model" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Changes information about a model.
", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/models/{modelName}", "code": 200 } } }, "com.amazonaws.apigateway#UpdateModelRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "modelName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The name of the model to update.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { "smithy.api#documentation": "A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "Request to update an existing model in an existing RestApi resource.
" } }, "com.amazonaws.apigateway#UpdateRequestValidator": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateRequestValidatorRequest" }, "output": { "target": "com.amazonaws.apigateway#RequestValidator" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Updates a RequestValidator of a given RestApi.
", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/requestvalidators/{requestValidatorId}", "code": 200 } } }, "com.amazonaws.apigateway#UpdateRequestValidatorRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "requestValidatorId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of RequestValidator to be updated.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { "smithy.api#documentation": "A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "Updates a RequestValidator of a given RestApi.
" } }, "com.amazonaws.apigateway#UpdateResource": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateResourceRequest" }, "output": { "target": "com.amazonaws.apigateway#Resource" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Changes information about a Resource resource.
", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/resources/{resourceId}", "code": 200 } } }, "com.amazonaws.apigateway#UpdateResourceRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the Resource resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { "smithy.api#documentation": "A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "Request to change information about a Resource resource.
" } }, "com.amazonaws.apigateway#UpdateRestApi": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateRestApiRequest" }, "output": { "target": "com.amazonaws.apigateway#RestApi" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Changes information about the specified API.
", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}", "code": 200 } } }, "com.amazonaws.apigateway#UpdateRestApiRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { "smithy.api#documentation": "A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "Request to update an existing RestApi resource in your collection.
" } }, "com.amazonaws.apigateway#UpdateStage": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateStageRequest" }, "output": { "target": "com.amazonaws.apigateway#Stage" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Changes information about a Stage resource.
", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/stages/{stageName}", "code": 200 } } }, "com.amazonaws.apigateway#UpdateStageRequest": { "type": "structure", "members": { "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The string identifier of the associated RestApi.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "stageName": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The name of the Stage resource to change information about.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { "smithy.api#documentation": "A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "Requests API Gateway to change information about a Stage resource.
" } }, "com.amazonaws.apigateway#UpdateUsage": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateUsageRequest" }, "output": { "target": "com.amazonaws.apigateway#Usage" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Grants a temporary extension to the remaining quota of a usage plan associated with a specified API key.
", "smithy.api#http": { "method": "PATCH", "uri": "/usageplans/{usagePlanId}/keys/{keyId}/usage", "code": 200 } } }, "com.amazonaws.apigateway#UpdateUsagePlan": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateUsagePlanRequest" }, "output": { "target": "com.amazonaws.apigateway#UsagePlan" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Updates a usage plan of a given plan Id.
", "smithy.api#http": { "method": "PATCH", "uri": "/usageplans/{usagePlanId}", "code": 200 } } }, "com.amazonaws.apigateway#UpdateUsagePlanRequest": { "type": "structure", "members": { "usagePlanId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The Id of the to-be-updated usage plan.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { "smithy.api#documentation": "A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "The PATCH request to update a usage plan of a given plan Id.
" } }, "com.amazonaws.apigateway#UpdateUsageRequest": { "type": "structure", "members": { "usagePlanId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The Id of the usage plan associated with the usage data.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "keyId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { "smithy.api#documentation": "A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "The PATCH request to grant a temporary extension to the remaining quota of a usage plan associated with a specified API key.
" } }, "com.amazonaws.apigateway#UpdateVpcLink": { "type": "operation", "input": { "target": "com.amazonaws.apigateway#UpdateVpcLinkRequest" }, "output": { "target": "com.amazonaws.apigateway#VpcLink" }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" }, { "target": "com.amazonaws.apigateway#ConflictException" }, { "target": "com.amazonaws.apigateway#NotFoundException" }, { "target": "com.amazonaws.apigateway#TooManyRequestsException" }, { "target": "com.amazonaws.apigateway#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "Updates an existing VpcLink of a specified identifier.
", "smithy.api#http": { "method": "PATCH", "uri": "/vpclinks/{vpcLinkId}", "code": 200 } } }, "com.amazonaws.apigateway#UpdateVpcLinkRequest": { "type": "structure", "members": { "vpcLinkId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "[Required] The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { "smithy.api#documentation": "A list of update operations to be applied to the specified resource and in the order specified in this list.
" } } }, "traits": { "smithy.api#documentation": "Updates an existing VpcLink of a specified identifier.
" } }, "com.amazonaws.apigateway#Usage": { "type": "structure", "members": { "usagePlanId": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The plan Id associated with this usage data.
" } }, "startDate": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The starting date of the usage data.
" } }, "endDate": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The ending date of the usage data.
" } }, "items": { "target": "com.amazonaws.apigateway#MapOfKeyUsages", "traits": { "smithy.api#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]
.
The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } } }, "traits": { "smithy.api#documentation": "Represents the usage data of a usage plan.
\n \n " } }, "com.amazonaws.apigateway#UsagePlan": { "type": "structure", "members": { "id": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The identifier of a UsagePlan resource.
" } }, "name": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The name of a usage plan.
" } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The description of a usage plan.
" } }, "apiStages": { "target": "com.amazonaws.apigateway#ListOfApiStage", "traits": { "smithy.api#documentation": "The associated API stages of a usage plan.
" } }, "throttle": { "target": "com.amazonaws.apigateway#ThrottleSettings", "traits": { "smithy.api#documentation": "The request throttle limits of a usage plan.
" } }, "quota": { "target": "com.amazonaws.apigateway#QuotaSettings", "traits": { "smithy.api#documentation": "The maximum number of permitted requests per a given unit time interval.
" } }, "productCode": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The AWS Markeplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.
" } }, "tags": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "The collection of tags. Each tag element is associated with a given resource.
" } } }, "traits": { "smithy.api#documentation": "Represents a usage plan than can specify who can assess associated API stages with specified request limits and quotas.
\nIn 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.
\nThe Id of a usage plan key.
" } }, "type": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The type of a usage plan key. Currently, the valid key type is API_KEY
.
The value of a usage plan key.
" } }, "name": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The name of a usage plan key.
" } } }, "traits": { "smithy.api#documentation": "Represents a usage plan key to identify a plan customer.
\nTo associate an API stage with a selected API key in a usage plan, you must create a UsagePlanKey resource to represent the selected ApiKey.
\nThe current page of elements from this collection.
", "smithy.api#jsonName": "item" } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } } }, "traits": { "smithy.api#documentation": "Represents the collection of usage plan keys added to usage plans for the associated API keys and, possibly, other types of keys.
\n " } }, "com.amazonaws.apigateway#UsagePlans": { "type": "structure", "members": { "items": { "target": "com.amazonaws.apigateway#ListOfUsagePlan", "traits": { "smithy.api#documentation": "The current page of elements from this collection.
", "smithy.api#jsonName": "item" } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } } }, "traits": { "smithy.api#documentation": "Represents a collection of usage plans for an AWS account.
\n " } }, "com.amazonaws.apigateway#VpcLink": { "type": "structure", "members": { "id": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.
" } }, "name": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The name used to label and identify the VPC link.
" } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The description of the VPC link.
" } }, "targetArns": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { "smithy.api#documentation": "The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.
" } }, "status": { "target": "com.amazonaws.apigateway#VpcLinkStatus", "traits": { "smithy.api#documentation": "The status of the VPC link. The valid values are AVAILABLE
, PENDING
, DELETING
, or FAILED
. Deploying an API will wait if the status is PENDING
and will fail if the status is DELETING
.
A description about the VPC link status.
" } }, "tags": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { "smithy.api#documentation": "The collection of tags. Each tag element is associated with a given resource.
" } } }, "traits": { "smithy.api#documentation": "An API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).
\nTo enable access to a resource in an Amazon Virtual Private Cloud through Amazon API Gateway, you, as an API developer, create a VpcLink resource targeted for one or more network load balancers of the VPC and then integrate an API method with a private integration that uses the VpcLink. The private integration has an integration type of HTTP
or HTTP_PROXY
and has a connection type of VPC_LINK
. The integration uses the connectionId
property to identify the VpcLink used.
The current page of elements from this collection.
", "smithy.api#jsonName": "item" } }, "position": { "target": "com.amazonaws.apigateway#String", "traits": { "smithy.api#documentation": "The current pagination position in the paged result set.
", "smithy.api#httpQuery": "position" } } }, "traits": { "smithy.api#documentation": "The collection of VPC links under the caller's account in a region.
\n " } } } }