@datafire/amazonaws_apigateway v5.0.0
@datafire/amazonaws_apigateway
Client library for Amazon API Gateway
Installation and Usage
npm install --save @datafire/amazonaws_apigateway
let amazonaws_apigateway = require('@datafire/amazonaws_apigateway').create({
accessKeyId: "",
secretAccessKey: "",
region: ""
});
amazonaws_apigateway.GetAccount({}).then(data => {
console.log(data);
});
Description
Amazon API Gateway Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.
Actions
GetAccount
amazonaws_apigateway.GetAccount({}, context)
Input
- input
object
Output
- output Account
UpdateAccount
amazonaws_apigateway.UpdateAccount({}, context)
Input
- input
object
- patchOperations ListOfPatchOperation
Output
- output Account
GetApiKeys
amazonaws_apigateway.GetApiKeys({}, context)
Input
- input
object
- limit
string
- position
string
- limit
Output
- output ApiKeys
CreateApiKey
amazonaws_apigateway.CreateApiKey({}, context)
Input
- input
object
Output
Output schema unknown
DeleteApiKey
amazonaws_apigateway.DeleteApiKey({}, context)
Input
- input
object
- apiKey
string
- apiKey
Output
Output schema unknown
GetApiKey
amazonaws_apigateway.GetApiKey({}, context)
Input
- input
object
- apiKey
string
- apiKey
Output
- output ApiKey
UpdateApiKey
amazonaws_apigateway.UpdateApiKey({}, context)
Input
- input
object
- apiKey
string
- patchOperations ListOfPatchOperation
- apiKey
Output
- output ApiKey
ImportApiKeys
amazonaws_apigateway.ImportApiKeys({
"body": ""
}, context)
Input
- input
object
- body required Blob
Output
Output schema unknown
GetClientCertificates
amazonaws_apigateway.GetClientCertificates({}, context)
Input
- input
object
- limit
string
- position
string
- limit
Output
- output ClientCertificates
GenerateClientCertificate
amazonaws_apigateway.GenerateClientCertificate({}, context)
Input
- input
object
- description String
Output
Output schema unknown
DeleteClientCertificate
amazonaws_apigateway.DeleteClientCertificate({}, context)
Input
- input
object
- clientcertificateId
string
- clientcertificateId
Output
Output schema unknown
GetClientCertificate
amazonaws_apigateway.GetClientCertificate({}, context)
Input
- input
object
- clientcertificateId
string
- clientcertificateId
Output
- output ClientCertificate
UpdateClientCertificate
amazonaws_apigateway.UpdateClientCertificate({}, context)
Input
- input
object
- clientcertificateId
string
- patchOperations ListOfPatchOperation
- clientcertificateId
Output
- output ClientCertificate
GetDomainNames
amazonaws_apigateway.GetDomainNames({}, context)
Input
- input
object
- limit
string
- position
string
- limit
Output
- output DomainNames
CreateDomainName
amazonaws_apigateway.CreateDomainName({
"domainName": ""
}, context)
Input
- input
object
Output
Output schema unknown
DeleteDomainName
amazonaws_apigateway.DeleteDomainName({}, context)
Input
- input
object
- domainName
string
- domainName
Output
Output schema unknown
GetDomainName
amazonaws_apigateway.GetDomainName({}, context)
Input
- input
object
- domainName
string
- domainName
Output
- output DomainName
UpdateDomainName
amazonaws_apigateway.UpdateDomainName({}, context)
Input
- input
object
- domainName
string
- patchOperations ListOfPatchOperation
- domainName
Output
- output DomainName
GetBasePathMappings
amazonaws_apigateway.GetBasePathMappings({}, context)
Input
- input
object
- limit
string
- position
string
- domainName
string
- limit
Output
- output BasePathMappings
CreateBasePathMapping
amazonaws_apigateway.CreateBasePathMapping({
"restApiId": ""
}, context)
Input
Output
Output schema unknown
DeleteBasePathMapping
amazonaws_apigateway.DeleteBasePathMapping({}, context)
Input
- input
object
- domainName
string
- basePath
string
- domainName
Output
Output schema unknown
GetBasePathMapping
amazonaws_apigateway.GetBasePathMapping({}, context)
Input
- input
object
- domainName
string
- basePath
string
- domainName
Output
- output BasePathMapping
UpdateBasePathMapping
amazonaws_apigateway.UpdateBasePathMapping({}, context)
Input
- input
object
- domainName
string
- basePath
string
- patchOperations ListOfPatchOperation
- domainName
Output
- output BasePathMapping
GetRestApis
amazonaws_apigateway.GetRestApis({}, context)
Input
- input
object
- limit
string
- position
string
- limit
Output
- output RestApis
CreateRestApi
amazonaws_apigateway.CreateRestApi({
"name": ""
}, context)
Input
- input
object
- apiKeySource ApiKeySourceType
- binaryMediaTypes ListOfString
- cloneFrom String
- description String
- endpointConfiguration EndpointConfiguration
- minimumCompressionSize NullableInteger
- name required String
- version String
Output
Output schema unknown
DeleteRestApi
amazonaws_apigateway.DeleteRestApi({}, context)
Input
- input
object
- restapiId
string
- restapiId
Output
Output schema unknown
GetRestApi
amazonaws_apigateway.GetRestApi({}, context)
Input
- input
object
- restapiId
string
- restapiId
Output
- output RestApi
UpdateRestApi
amazonaws_apigateway.UpdateRestApi({}, context)
Input
- input
object
- restapiId
string
- patchOperations ListOfPatchOperation
- restapiId
Output
- output RestApi
PutRestApi
amazonaws_apigateway.PutRestApi({
"body": ""
}, context)
Input
- input
object
- restapiId
string
- body required Blob
- restapiId
Output
- output RestApi
GetAuthorizers
amazonaws_apigateway.GetAuthorizers({}, context)
Input
- input
object
- restapiId
string
- restapiId
Output
- output Authorizers
CreateAuthorizer
amazonaws_apigateway.CreateAuthorizer({
"name": "",
"type": ""
}, context)
Input
- input
object
- restapiId
string
- authType String
- authorizerCredentials String
- authorizerResultTtlInSeconds NullableInteger
- authorizerUri String
- identitySource String
- identityValidationExpression String
- name required String
- providerARNs ListOfARNs
- type required AuthorizerType
- restapiId
Output
Output schema unknown
DeleteAuthorizer
amazonaws_apigateway.DeleteAuthorizer({}, context)
Input
- input
object
- restapiId
string
- authorizerId
string
- restapiId
Output
Output schema unknown
GetAuthorizer
amazonaws_apigateway.GetAuthorizer({}, context)
Input
- input
object
- restapiId
string
- authorizerId
string
- restapiId
Output
- output Authorizer
UpdateAuthorizer
amazonaws_apigateway.UpdateAuthorizer({}, context)
Input
- input
object
- restapiId
string
- authorizerId
string
- patchOperations ListOfPatchOperation
- restapiId
Output
- output Authorizer
TestInvokeAuthorizer
amazonaws_apigateway.TestInvokeAuthorizer({}, context)
Input
- input
object
- restapiId
string
- authorizerId
string
- additionalContext MapOfStringToString
- body String
- headers MapOfHeaderValues
- pathWithQueryString String
- stageVariables MapOfStringToString
- restapiId
Output
- output TestInvokeAuthorizerResponse
GetDeployments
amazonaws_apigateway.GetDeployments({}, context)
Input
- input
object
- limit
string
- position
string
- restapiId
string
- limit
Output
- output Deployments
CreateDeployment
amazonaws_apigateway.CreateDeployment({}, context)
Input
- input
object
- restapiId
string
- cacheClusterEnabled NullableBoolean
- cacheClusterSize CacheClusterSize
- canarySettings DeploymentCanarySettings
- description String
- stageDescription String
- stageName String
- variables MapOfStringToString
- restapiId
Output
Output schema unknown
DeleteDeployment
amazonaws_apigateway.DeleteDeployment({}, context)
Input
- input
object
- restapiId
string
- deploymentId
string
- restapiId
Output
Output schema unknown
GetDeployment
amazonaws_apigateway.GetDeployment({}, context)
Input
- input
object
- restapiId
string
- deploymentId
string
- restapiId
Output
- output Deployment
UpdateDeployment
amazonaws_apigateway.UpdateDeployment({}, context)
Input
- input
object
- restapiId
string
- deploymentId
string
- patchOperations ListOfPatchOperation
- restapiId
Output
- output Deployment
GetDocumentationParts
amazonaws_apigateway.GetDocumentationParts({}, context)
Input
- input
object
- restapiId
string
- restapiId
Output
- output DocumentationParts
CreateDocumentationPart
amazonaws_apigateway.CreateDocumentationPart({
"location": {
"type": ""
},
"properties": ""
}, context)
Input
- input
object
- restapiId
string
- location required DocumentationPartLocation
- properties required String
- restapiId
Output
Output schema unknown
ImportDocumentationParts
amazonaws_apigateway.ImportDocumentationParts({
"body": ""
}, context)
Input
- input
object
- restapiId
string
- body required Blob
- restapiId
Output
- output DocumentationPartIds
DeleteDocumentationPart
amazonaws_apigateway.DeleteDocumentationPart({}, context)
Input
- input
object
- restapiId
string
- partId
string
- restapiId
Output
Output schema unknown
GetDocumentationPart
amazonaws_apigateway.GetDocumentationPart({}, context)
Input
- input
object
- restapiId
string
- partId
string
- restapiId
Output
- output DocumentationPart
UpdateDocumentationPart
amazonaws_apigateway.UpdateDocumentationPart({}, context)
Input
- input
object
- restapiId
string
- partId
string
- patchOperations ListOfPatchOperation
- restapiId
Output
- output DocumentationPart
GetDocumentationVersions
amazonaws_apigateway.GetDocumentationVersions({}, context)
Input
- input
object
- restapiId
string
- restapiId
Output
- output DocumentationVersions
CreateDocumentationVersion
amazonaws_apigateway.CreateDocumentationVersion({
"documentationVersion": ""
}, context)
Input
Output
Output schema unknown
DeleteDocumentationVersion
amazonaws_apigateway.DeleteDocumentationVersion({}, context)
Input
- input
object
- restapiId
string
- docVersion
string
- restapiId
Output
Output schema unknown
GetDocumentationVersion
amazonaws_apigateway.GetDocumentationVersion({}, context)
Input
- input
object
- restapiId
string
- docVersion
string
- restapiId
Output
- output DocumentationVersion
UpdateDocumentationVersion
amazonaws_apigateway.UpdateDocumentationVersion({}, context)
Input
- input
object
- restapiId
string
- docVersion
string
- patchOperations ListOfPatchOperation
- restapiId
Output
- output DocumentationVersion
GetGatewayResponses
amazonaws_apigateway.GetGatewayResponses({}, context)
Input
- input
object
- restapiId
string
- restapiId
Output
- output GatewayResponses
DeleteGatewayResponse
amazonaws_apigateway.DeleteGatewayResponse({}, context)
Input
- input
object
- restapiId
string
- responseType
string
- restapiId
Output
Output schema unknown
GetGatewayResponse
amazonaws_apigateway.GetGatewayResponse({}, context)
Input
- input
object
- restapiId
string
- responseType
string
- restapiId
Output
- output GatewayResponse
UpdateGatewayResponse
amazonaws_apigateway.UpdateGatewayResponse({}, context)
Input
- input
object
- restapiId
string
- responseType
string
- patchOperations ListOfPatchOperation
- restapiId
Output
- output GatewayResponse
PutGatewayResponse
amazonaws_apigateway.PutGatewayResponse({}, context)
Input
- input
object
- restapiId
string
- responseType
string
- responseParameters MapOfStringToString
- responseTemplates MapOfStringToString
- statusCode StatusCode
- restapiId
Output
Output schema unknown
GetModels
amazonaws_apigateway.GetModels({}, context)
Input
- input
object
- limit
string
- position
string
- restapiId
string
- limit
Output
- output Models
CreateModel
amazonaws_apigateway.CreateModel({
"name": "",
"contentType": ""
}, context)
Input
- input
object
Output
Output schema unknown
DeleteModel
amazonaws_apigateway.DeleteModel({}, context)
Input
- input
object
- restapiId
string
- modelName
string
- restapiId
Output
Output schema unknown
GetModel
amazonaws_apigateway.GetModel({}, context)
Input
- input
object
- restapiId
string
- modelName
string
- restapiId
Output
- output Model
UpdateModel
amazonaws_apigateway.UpdateModel({}, context)
Input
- input
object
- restapiId
string
- modelName
string
- patchOperations ListOfPatchOperation
- restapiId
Output
- output Model
GetModelTemplate
amazonaws_apigateway.GetModelTemplate({}, context)
Input
- input
object
- restapiId
string
- modelName
string
- restapiId
Output
- output Template
GetRequestValidators
amazonaws_apigateway.GetRequestValidators({}, context)
Input
- input
object
- restapiId
string
- restapiId
Output
- output RequestValidators
CreateRequestValidator
amazonaws_apigateway.CreateRequestValidator({}, context)
Input
Output
Output schema unknown
DeleteRequestValidator
amazonaws_apigateway.DeleteRequestValidator({}, context)
Input
- input
object
- restapiId
string
- requestvalidatorId
string
- restapiId
Output
Output schema unknown
GetRequestValidator
amazonaws_apigateway.GetRequestValidator({}, context)
Input
- input
object
- restapiId
string
- requestvalidatorId
string
- restapiId
Output
- output RequestValidator
UpdateRequestValidator
amazonaws_apigateway.UpdateRequestValidator({}, context)
Input
- input
object
- restapiId
string
- requestvalidatorId
string
- patchOperations ListOfPatchOperation
- restapiId
Output
- output RequestValidator
GetResources
amazonaws_apigateway.GetResources({}, context)
Input
- input
object
- limit
string
- position
string
- restapiId
string
- limit
Output
- output Resources
CreateResource
amazonaws_apigateway.CreateResource({
"pathPart": ""
}, context)
Input
- input
object
- restapiId
string
- parentId
string
- pathPart required String
- restapiId
Output
Output schema unknown
DeleteResource
amazonaws_apigateway.DeleteResource({}, context)
Input
- input
object
- restapiId
string
- resourceId
string
- restapiId
Output
Output schema unknown
GetResource
amazonaws_apigateway.GetResource({}, context)
Input
- input
object
- restapiId
string
- resourceId
string
- restapiId
Output
- output Resource
UpdateResource
amazonaws_apigateway.UpdateResource({}, context)
Input
- input
object
- restapiId
string
- resourceId
string
- patchOperations ListOfPatchOperation
- restapiId
Output
- output Resource
DeleteMethod
amazonaws_apigateway.DeleteMethod({}, context)
Input
- input
object
- restapiId
string
- resourceId
string
- httpMethod
string
- restapiId
Output
Output schema unknown
GetMethod
amazonaws_apigateway.GetMethod({}, context)
Input
- input
object
- restapiId
string
- resourceId
string
- httpMethod
string
- restapiId
Output
- output Method
UpdateMethod
amazonaws_apigateway.UpdateMethod({}, context)
Input
- input
object
- restapiId
string
- resourceId
string
- httpMethod
string
- patchOperations ListOfPatchOperation
- restapiId
Output
- output Method
TestInvokeMethod
amazonaws_apigateway.TestInvokeMethod({}, context)
Input
- input
object
- restapiId
string
- resourceId
string
- httpMethod
string
- body String
- clientCertificateId String
- headers MapOfHeaderValues
- pathWithQueryString String
- stageVariables MapOfStringToString
- restapiId
Output
- output TestInvokeMethodResponse
PutMethod
amazonaws_apigateway.PutMethod({
"authorizationType": ""
}, context)
Input
- input
object
- restapiId
string
- resourceId
string
- httpMethod
string
- apiKeyRequired Boolean
- authorizationScopes ListOfString
- authorizationType required String
- authorizerId String
- operationName String
- requestModels MapOfStringToString
- requestParameters MapOfStringToBoolean
- requestValidatorId String
- restapiId
Output
Output schema unknown
DeleteIntegration
amazonaws_apigateway.DeleteIntegration({}, context)
Input
- input
object
- restapiId
string
- resourceId
string
- httpMethod
string
- restapiId
Output
Output schema unknown
GetIntegration
amazonaws_apigateway.GetIntegration({}, context)
Input
- input
object
- restapiId
string
- resourceId
string
- httpMethod
string
- restapiId
Output
- output Integration
UpdateIntegration
amazonaws_apigateway.UpdateIntegration({}, context)
Input
- input
object
- restapiId
string
- resourceId
string
- httpMethod
string
- patchOperations ListOfPatchOperation
- restapiId
Output
- output Integration
PutIntegration
amazonaws_apigateway.PutIntegration({
"type": ""
}, context)
Input
- input
object
- restapiId
string
- resourceId
string
- httpMethod
string
- cacheKeyParameters ListOfString
- cacheNamespace String
- connectionId String
- connectionType ConnectionType
- contentHandling ContentHandlingStrategy
- credentials String
- integrationHttpMethod String
- passthroughBehavior String
- requestParameters MapOfStringToString
- requestTemplates MapOfStringToString
- timeoutInMillis NullableInteger
- type required IntegrationType
- uri String
- restapiId
Output
Output schema unknown
DeleteIntegrationResponse
amazonaws_apigateway.DeleteIntegrationResponse({}, context)
Input
- input
object
- restapiId
string
- resourceId
string
- httpMethod
string
- statusCode
string
- restapiId
Output
Output schema unknown
GetIntegrationResponse
amazonaws_apigateway.GetIntegrationResponse({}, context)
Input
- input
object
- restapiId
string
- resourceId
string
- httpMethod
string
- statusCode
string
- restapiId
Output
- output IntegrationResponse
UpdateIntegrationResponse
amazonaws_apigateway.UpdateIntegrationResponse({}, context)
Input
- input
object
- restapiId
string
- resourceId
string
- httpMethod
string
- statusCode
string
- patchOperations ListOfPatchOperation
- restapiId
Output
- output IntegrationResponse
PutIntegrationResponse
amazonaws_apigateway.PutIntegrationResponse({}, context)
Input
- input
object
- restapiId
string
- resourceId
string
- httpMethod
string
- statusCode
string
- contentHandling ContentHandlingStrategy
- responseParameters MapOfStringToString
- responseTemplates MapOfStringToString
- selectionPattern String
- restapiId
Output
Output schema unknown
DeleteMethodResponse
amazonaws_apigateway.DeleteMethodResponse({}, context)
Input
- input
object
- restapiId
string
- resourceId
string
- httpMethod
string
- statusCode
string
- restapiId
Output
Output schema unknown
GetMethodResponse
amazonaws_apigateway.GetMethodResponse({}, context)
Input
- input
object
- restapiId
string
- resourceId
string
- httpMethod
string
- statusCode
string
- restapiId
Output
- output MethodResponse
UpdateMethodResponse
amazonaws_apigateway.UpdateMethodResponse({}, context)
Input
- input
object
- restapiId
string
- resourceId
string
- httpMethod
string
- statusCode
string
- patchOperations ListOfPatchOperation
- restapiId
Output
Output schema unknown
PutMethodResponse
amazonaws_apigateway.PutMethodResponse({}, context)
Input
- input
object
- restapiId
string
- resourceId
string
- httpMethod
string
- statusCode
string
- responseModels MapOfStringToString
- responseParameters MapOfStringToBoolean
- restapiId
Output
Output schema unknown
GetStages
amazonaws_apigateway.GetStages({}, context)
Input
- input
object
- restapiId
string
- restapiId
Output
- output Stages
CreateStage
amazonaws_apigateway.CreateStage({
"stageName": "",
"deploymentId": ""
}, context)
Input
- input
object
- restapiId
string
- cacheClusterEnabled Boolean
- cacheClusterSize CacheClusterSize
- canarySettings CanarySettings
- deploymentId required String
- description String
- documentationVersion String
- stageName required String
- tags MapOfStringToString
- variables MapOfStringToString
- restapiId
Output
Output schema unknown
DeleteStage
amazonaws_apigateway.DeleteStage({}, context)
Input
- input
object
- restapiId
string
- stageName
string
- restapiId
Output
Output schema unknown
GetStage
amazonaws_apigateway.GetStage({}, context)
Input
- input
object
- restapiId
string
- stageName
string
- restapiId
Output
- output Stage
UpdateStage
amazonaws_apigateway.UpdateStage({}, context)
Input
- input
object
- restapiId
string
- stageName
string
- patchOperations ListOfPatchOperation
- restapiId
Output
- output Stage
FlushStageAuthorizersCache
amazonaws_apigateway.FlushStageAuthorizersCache({}, context)
Input
- input
object
- restapiId
string
- stageName
string
- restapiId
Output
Output schema unknown
FlushStageCache
amazonaws_apigateway.FlushStageCache({}, context)
Input
- input
object
- restapiId
string
- stageName
string
- restapiId
Output
Output schema unknown
GetExport
amazonaws_apigateway.GetExport({}, context)
Input
- input
object
- restapiId
string
- stageName
string
- exportType
string
- restapiId
Output
- output ExportResponse
GetSdk
amazonaws_apigateway.GetSdk({}, context)
Input
- input
object
- restapiId
string
- stageName
string
- sdkType
string
- restapiId
Output
- output SdkResponse
ImportRestApi
amazonaws_apigateway.ImportRestApi({
"body": ""
}, context)
Input
- input
object
- body required Blob
Output
Output schema unknown
GetSdkTypes
amazonaws_apigateway.GetSdkTypes({}, context)
Input
- input
object
Output
- output SdkTypes
GetSdkType
amazonaws_apigateway.GetSdkType({}, context)
Input
- input
object
- sdktypeId
string
- sdktypeId
Output
- output SdkType
UntagResource
amazonaws_apigateway.UntagResource({}, context)
Input
- input
object
- resourceArn
string
- resourceArn
Output
Output schema unknown
GetTags
amazonaws_apigateway.GetTags({}, context)
Input
- input
object
- resourceArn
string
- resourceArn
Output
- output Tags
TagResource
amazonaws_apigateway.TagResource({
"tags": []
}, context)
Input
- input
object
- resourceArn
string
- tags required MapOfStringToString
- resourceArn
Output
Output schema unknown
GetUsagePlans
amazonaws_apigateway.GetUsagePlans({}, context)
Input
- input
object
- limit
string
- position
string
- limit
Output
- output UsagePlans
CreateUsagePlan
amazonaws_apigateway.CreateUsagePlan({
"name": ""
}, context)
Input
- input
object
- apiStages ListOfApiStage
- description String
- name required String
- quota QuotaSettings
- throttle ThrottleSettings
Output
Output schema unknown
DeleteUsagePlan
amazonaws_apigateway.DeleteUsagePlan({
"usageplanId": ""
}, context)
Input
- input
object
- usageplanId required
string
- usageplanId required
Output
Output schema unknown
GetUsagePlan
amazonaws_apigateway.GetUsagePlan({
"usageplanId": ""
}, context)
Input
- input
object
- usageplanId required
string
- usageplanId required
Output
- output UsagePlan
UpdateUsagePlan
amazonaws_apigateway.UpdateUsagePlan({
"usageplanId": ""
}, context)
Input
- input
object
- usageplanId required
string
- patchOperations ListOfPatchOperation
- usageplanId required
Output
- output UsagePlan
GetUsagePlanKeys
amazonaws_apigateway.GetUsagePlanKeys({
"usageplanId": ""
}, context)
Input
- input
object
- limit
string
- position
string
- usageplanId required
string
- limit
Output
- output UsagePlanKeys
CreateUsagePlanKey
amazonaws_apigateway.CreateUsagePlanKey({
"usageplanId": "",
"keyId": "",
"keyType": ""
}, context)
Input
Output
Output schema unknown
DeleteUsagePlanKey
amazonaws_apigateway.DeleteUsagePlanKey({
"usageplanId": "",
"keyId": ""
}, context)
Input
- input
object
- usageplanId required
string
- keyId required
string
- usageplanId required
Output
Output schema unknown
GetUsagePlanKey
amazonaws_apigateway.GetUsagePlanKey({
"usageplanId": "",
"keyId": ""
}, context)
Input
- input
object
- usageplanId required
string
- keyId required
string
- usageplanId required
Output
- output UsagePlanKey
UpdateUsage
amazonaws_apigateway.UpdateUsage({
"usageplanId": "",
"keyId": ""
}, context)
Input
- input
object
- usageplanId required
string
- keyId required
string
- patchOperations ListOfPatchOperation
- usageplanId required
Output
- output Usage
GetUsage
amazonaws_apigateway.GetUsage({
"usageplanId": ""
}, context)
Input
- input
object
- limit
string
- position
string
- usageplanId required
string
- limit
Output
- output Usage
GetVpcLinks
amazonaws_apigateway.GetVpcLinks({}, context)
Input
- input
object
- limit
string
- position
string
- limit
Output
- output VpcLinks
CreateVpcLink
amazonaws_apigateway.CreateVpcLink({
"name": "",
"targetArns": []
}, context)
Input
- input
object
- description String
- name required String
- targetArns required ListOfString
Output
Output schema unknown
DeleteVpcLink
amazonaws_apigateway.DeleteVpcLink({}, context)
Input
- input
object
- vpclinkId
string
- vpclinkId
Output
Output schema unknown
GetVpcLink
amazonaws_apigateway.GetVpcLink({}, context)
Input
- input
object
- vpclinkId
string
- vpclinkId
Output
- output VpcLink
UpdateVpcLink
amazonaws_apigateway.UpdateVpcLink({}, context)
Input
- input
object
- vpclinkId
string
- patchOperations ListOfPatchOperation
- vpclinkId
Output
- output VpcLink
Definitions
AccessLogSettings
- AccessLogSettings
object
: Access log settings, including the access log format and access log destination ARN.
Account
- Account
object
: Represents an AWS account that is associated with API Gateway. To view the account info, call GET on this resource. Error Codes The following exception may be thrown when the request fails. UnauthorizedException NotFoundException TooManyRequestsException For detailed error code information, including the corresponding HTTP Status Codes, see API Gateway Error Codes Example: Get the information about an account. Request GET /account HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160531T184618Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} Response The successful response returns a 200 OK status code and a payload similar to the following: { "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/account-apigateway-{rel}.html", "name": "account", "templated": true }, "self": { "href": "/account" }, "account:update": { "href": "/account" } }, "cloudwatchRoleArn": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "throttleSettings": { "rateLimit": 500, "burstLimit": 1000 } } In addition to making the REST API call directly, you can use the AWS CLI and an AWS SDK to access this resource. API Gateway Limits Developer Guide, AWS CLI- apiKeyVersion String
- cloudwatchRoleArn String
- features ListOfString
- throttleSettings ThrottleSettings
ApiKey
- ApiKey
object
: A resource that can be distributed to callers for executing Method resources that require an API key. API keys can be mapped to any Stage on any RestApi, which indicates that the callers with the API key can make requests to that stage. Use API Keys
ApiKeyIds
- ApiKeyIds
object
: The identifier of an ApiKey used in a UsagePlan.- ids ListOfString
- warnings ListOfString
ApiKeySourceType
- ApiKeySourceType
string
(values: HEADER, AUTHORIZER)
ApiKeys
- ApiKeys
object
: Represents a collection of API keys as represented by an ApiKeys resource. Use API Keys- items ListOfApiKey
- position String
- warnings ListOfString
ApiKeysFormat
- ApiKeysFormat
string
(values: csv)
ApiStage
- ApiStage
object
: API stage name of the associated API stage in a usage plan.
Authorizer
- Authorizer
object
: Represents an authorization layer for methods. If enabled on a method, API Gateway will activate the authorizer when a client calls the method. Enable custom authorization- authType String
- authorizerCredentials String
- authorizerResultTtlInSeconds NullableInteger
- authorizerUri String
- id String
- identitySource String
- identityValidationExpression String
- name String
- providerARNs ListOfARNs
- type AuthorizerType
AuthorizerType
- AuthorizerType
string
(values: TOKEN, REQUEST, COGNITO_USER_POOLS): 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.
Authorizers
- Authorizers
object
: Represents a collection of Authorizer resources. Enable custom authorization- items ListOfAuthorizer
- position String
BadRequestException
- BadRequestException
object
: The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.- message String
BasePathMapping
- BasePathMapping
object
: Represents the base path that callers of the API must provide as part of the URL after the domain name. A custom domain name plus a BasePathMapping specification identifies a deployed RestApi in a given stage of the owner Account. Use Custom Domain Names
BasePathMappings
- BasePathMappings
object
: Represents a collection of BasePathMapping resources. Use Custom Domain Names- items ListOfBasePathMapping
- position String
Blob
- Blob
string
Boolean
- Boolean
boolean
CacheClusterSize
- CacheClusterSize
string
(values: 0.5, 1.6, 6.1, 13.5, 28.4, 58.2, 118, 237): Returns the size of the CacheCluster.
CacheClusterStatus
- CacheClusterStatus
string
(values: CREATE_IN_PROGRESS, AVAILABLE, DELETE_IN_PROGRESS, NOT_AVAILABLE, FLUSH_IN_PROGRESS): Returns the status of the CacheCluster.
CanarySettings
- CanarySettings
object
: Configuration settings of a canary deployment.- deploymentId String
- percentTraffic Double
- stageVariableOverrides MapOfStringToString
- useStageCache Boolean
ClientCertificate
- ClientCertificate
object
: Represents a client certificate used to configure client-side SSL authentication while sending requests to the integration endpoint. Client certificates are used to authenticate an API by the backend server. To authenticate an API client (or user), use IAM roles and policies, a custom Authorizer or an Amazon Cognito user pool. Use Client-Side Certificate
ClientCertificates
- ClientCertificates
object
: Represents a collection of ClientCertificate resources. Use Client-Side Certificate- items ListOfClientCertificate
- position String
ConflictException
- ConflictException
object
: The request configuration has conflicts. For details, see the accompanying error message.- message String
ConnectionType
- ConnectionType
string
(values: INTERNET, VPC_LINK)
ContentHandlingStrategy
- ContentHandlingStrategy
string
(values: CONVERT_TO_BINARY, CONVERT_TO_TEXT)
CreateApiKeyRequest
- CreateApiKeyRequest
object
: Request to create an ApiKey resource.
CreateAuthorizerRequest
- CreateAuthorizerRequest
object
: Request to add a new Authorizer to an existing RestApi resource.- authType String
- authorizerCredentials String
- authorizerResultTtlInSeconds NullableInteger
- authorizerUri String
- identitySource String
- identityValidationExpression String
- name required String
- providerARNs ListOfARNs
- type required AuthorizerType
CreateBasePathMappingRequest
- CreateBasePathMappingRequest
object
: Requests API Gateway to create a new BasePathMapping resource.
CreateDeploymentRequest
- CreateDeploymentRequest
object
: Requests API Gateway to create a Deployment resource.- cacheClusterEnabled NullableBoolean
- cacheClusterSize CacheClusterSize
- canarySettings DeploymentCanarySettings
- description String
- stageDescription String
- stageName String
- variables MapOfStringToString
CreateDocumentationPartRequest
- CreateDocumentationPartRequest
object
: Creates a new documentation part of a given API.- location required DocumentationPartLocation
- properties required String
CreateDocumentationVersionRequest
- CreateDocumentationVersionRequest
object
: Creates a new documentation version of a given API.
CreateDomainNameRequest
- CreateDomainNameRequest
object
: A request to create a new domain name.
CreateModelRequest
- CreateModelRequest
object
: Request to add a new Model to an existing RestApi resource.
CreateRequestValidatorRequest
- CreateRequestValidatorRequest
object
: Creates a RequestValidator of a given RestApi.
CreateResourceRequest
- CreateResourceRequest
object
: Requests API Gateway to create a Resource resource.- pathPart required String
CreateRestApiRequest
- CreateRestApiRequest
object
: The POST Request to add a new RestApi resource to your collection.- apiKeySource ApiKeySourceType
- binaryMediaTypes ListOfString
- cloneFrom String
- description String
- endpointConfiguration EndpointConfiguration
- minimumCompressionSize NullableInteger
- name required String
- version String
CreateStageRequest
- CreateStageRequest
object
: Requests API Gateway to create a Stage resource.- cacheClusterEnabled Boolean
- cacheClusterSize CacheClusterSize
- canarySettings CanarySettings
- deploymentId required String
- description String
- documentationVersion String
- stageName required String
- tags MapOfStringToString
- variables MapOfStringToString
CreateUsagePlanKeyRequest
- CreateUsagePlanKeyRequest
object
: The POST request to create a usage plan key for adding an existing API key to a usage plan.
CreateUsagePlanRequest
- CreateUsagePlanRequest
object
: 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.- apiStages ListOfApiStage
- description String
- name required String
- quota QuotaSettings
- throttle ThrottleSettings
CreateVpcLinkRequest
- CreateVpcLinkRequest
object
: 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.- description String
- name required String
- targetArns required ListOfString
DeleteApiKeyRequest
- DeleteApiKeyRequest
object
: A request to delete the ApiKey resource.
DeleteAuthorizerRequest
- DeleteAuthorizerRequest
object
: Request to delete an existing Authorizer resource.
DeleteBasePathMappingRequest
- DeleteBasePathMappingRequest
object
: A request to delete the BasePathMapping resource.
DeleteClientCertificateRequest
- DeleteClientCertificateRequest
object
: A request to delete the ClientCertificate resource.
DeleteDeploymentRequest
- DeleteDeploymentRequest
object
: Requests API Gateway to delete a Deployment resource.
DeleteDocumentationPartRequest
- DeleteDocumentationPartRequest
object
: Deletes an existing documentation part of an API.
DeleteDocumentationVersionRequest
- DeleteDocumentationVersionRequest
object
: Deletes an existing documentation version of an API.
DeleteDomainNameRequest
- DeleteDomainNameRequest
object
: A request to delete the DomainName resource.
DeleteGatewayResponseRequest
- DeleteGatewayResponseRequest
object
: Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.
DeleteIntegrationRequest
- DeleteIntegrationRequest
object
: Represents a delete integration request.
DeleteIntegrationResponseRequest
- DeleteIntegrationResponseRequest
object
: Represents a delete integration response request.
DeleteMethodRequest
- DeleteMethodRequest
object
: Request to delete an existing Method resource.
DeleteMethodResponseRequest
- DeleteMethodResponseRequest
object
: A request to delete an existing MethodResponse resource.
DeleteModelRequest
- DeleteModelRequest
object
: Request to delete an existing model in an existing RestApi resource.
DeleteRequestValidatorRequest
- DeleteRequestValidatorRequest
object
: Deletes a specified RequestValidator of a given RestApi.
DeleteResourceRequest
- DeleteResourceRequest
object
: Request to delete a Resource.
DeleteRestApiRequest
- DeleteRestApiRequest
object
: Request to delete the specified API from your collection.
DeleteStageRequest
- DeleteStageRequest
object
: Requests API Gateway to delete a Stage resource.
DeleteUsagePlanKeyRequest
- DeleteUsagePlanKeyRequest
object
: The DELETE request to delete a usage plan key and remove the underlying API key from the associated usage plan.
DeleteUsagePlanRequest
- DeleteUsagePlanRequest
object
: The DELETE request to delete a usage plan of a given plan Id.
DeleteVpcLinkRequest
- DeleteVpcLinkRequest
object
: Deletes an existing VpcLink of a specified identifier.
Deployment
- Deployment
object
: An immutable representation of a RestApi resource that can be called by users using Stages. A deployment must be associated with a Stage for it to be callable over the Internet. To create a deployment, call POST on the Deployments resource of a RestApi. To view, update, or delete a deployment, call GET, PATCH, or DELETE on the specified deployment resource (/restapis/{restapi_id}/deployments/{deployment_id}). RestApi, Deployments, Stage, AWS CLI, AWS SDKs- apiSummary PathToMapOfMethodSnapshot
- createdDate Timestamp
- description String
- id String
DeploymentCanarySettings
- DeploymentCanarySettings
object
: The input configuration for a canary deployment.- percentTraffic Double
- stageVariableOverrides MapOfStringToString
- useStageCache Boolean
Deployments
- Deployments
object
: Represents a collection resource that contains zero or more references to your existing deployments, and links that guide you on how to interact with your collection. The collection offers a paginated view of the contained deployments. To create a new deployment of a RestApi, make a POST request against this resource. To view, update, or delete an existing deployment, make a GET, PATCH, or DELETE request, respectively, on a specified Deployment resource. Deploying an API, AWS CLI, AWS SDKs- items ListOfDeployment
- position String
DocumentationPart
- DocumentationPart
object
: A documentation part for a targeted API entity. A documentation part consists of a content map (properties) and a target (location). The target specifies an API entity to which the documentation content applies. The supported API entity types are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. Valid location fields depend on the API entity type. All valid fields are not required. The content map is a JSON string of API-specific key-value pairs. Although an API can use any shape for the content map, only the Swagger-compliant documentation fields will be injected into the associated API entity definition in the exported Swagger definition file. Documenting an API, DocumentationParts- id String
- location DocumentationPartLocation
- properties String
DocumentationPartIds
- DocumentationPartIds
object
: A collection of the imported DocumentationPart identifiers. This is used to return the result when documentation parts in an external (e.g., Swagger) file are imported into API Gateway Documenting an API, documentationpart:import, DocumentationPart- ids ListOfString
- warnings ListOfString
DocumentationPartLocation
- DocumentationPartLocation
object
: Specifies the target API entity to which the documentation applies.- method String
- name String
- path String
- statusCode DocumentationPartLocationStatusCode
- type required DocumentationPartType
DocumentationPartLocationStatusCode
- DocumentationPartLocationStatusCode
string
DocumentationPartType
- DocumentationPartType
string
(values: API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, RESPONSE_BODY)
DocumentationParts
- DocumentationParts
object
: The collection of documentation parts of an API. Documenting an API, DocumentationPart- items ListOfDocumentationPart
- position String
DocumentationVersion
- DocumentationVersion
object
: A snapshot of the documentation of an API. Publishing API documentation involves creating a documentation version associated with an API stage and exporting the versioned documentation to an external (e.g., Swagger) file. Documenting an API, DocumentationPart, DocumentationVersions
DocumentationVersions
- DocumentationVersions
object
: The collection of documentation snapshots of an API. Use the DocumentationVersions to manage documentation snapshots associated with various API stages. Documenting an API, DocumentationPart, DocumentationVersion- items ListOfDocumentationVersion
- position String
DomainName
- DomainName
object
: Represents a custom domain name as a user-friendly host name of an API (RestApi). When you deploy an API, API Gateway creates a default host name for the API. This default API host name is of the {restapi-id}.execute-api.{region}.amazonaws.com format. With the default host name, you can access the API's root resource with the URL of https://{restapi-id}.execute-api.{region}.amazonaws.com/{stage}/. When you set up a custom domain name of apis.example.com for this API, you can then access the same resource using the URL of the https://apis.examples.com/myApi, where myApi is the base path mapping (BasePathMapping) of your API under the custom domain name. Set a Custom Host Name for an API- certificateArn String
- certificateName String
- certificateUploadDate Timestamp
- distributionDomainName String
- distributionHostedZoneId String
- domainName String
- endpointConfiguration EndpointConfiguration
- regionalCertificateArn String
- regionalCertificateName String
- regionalDomainName String
- regionalHostedZoneId String
DomainNames
- DomainNames
object
: Represents a collection of DomainName resources. Use Client-Side Certificate- items ListOfDomainName
- position String
Double
- Double
number
EndpointConfiguration
- EndpointConfiguration
object
: The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has.- types ListOfEndpointType
EndpointType
- EndpointType
string
(values: REGIONAL, EDGE): The endpoint type. The valid value is EDGE for edge-optimized API setup, most suitable for mobile applications, REGIONAL for regional API endpoint setup, most suitable for calling from AWS Region
ExportResponse
- ExportResponse
object
: The binary blob response to GetExport, which contains the generated SDK.- body Blob
FlushStageAuthorizersCacheRequest
- FlushStageAuthorizersCacheRequest
object
: Request to flush authorizer cache entries on a specified stage.
FlushStageCacheRequest
- FlushStageCacheRequest
object
: Requests API Gateway to flush a stage's cache.
GatewayResponse
- GatewayResponse
object
: A gateway response of a given response type and status code, with optional response parameters and mapping templates. For more information about valid gateway response types, see Gateway Response Types Supported by API Gateway Example: Get a Gateway Response of a given response type Request This example shows how to get a gateway response of the MISSING_AUTHENTICATION_TOKEN type. GET /restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN HTTP/1.1 Host: beta-apigateway.us-east-1.amazonaws.com Content-Type: application/json X-Amz-Date: 20170503T202516Z Authorization: AWS4-HMAC-SHA256 Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=1b52460e3159c1a26cff29093855d50ea141c1c5b937528fecaf60f51129697a Cache-Control: no-cache Postman-Token: 3b2a1ce9-c848-2e26-2e2f-9c2caefbed45 The response type is specified as a URL path. Response The successful operation returns the 200 OK status code and a payload similar to the following: { "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html", "name": "gatewayresponse", "templated": true }, "self": { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, "gatewayresponse:delete": { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" } }, "defaultResponse": false, "responseParameters": { "gatewayresponse.header.x-request-path": "method.request.path.petId", "gatewayresponse.header.Access-Control-Allow-Origin": "'a.b.c'", "gatewayresponse.header.x-request-query": "method.request.querystring.q", "gatewayresponse.header.x-request-header": "method.request.header.Accept" }, "responseTemplates": { "application/json": "{\n \"message\": $context.error.messageString,\n \"type\": \"$context.error.responseType\",\n \"stage\": \"$context.stage\",\n \"resourcePath\": \"$context.resourcePath\",\n \"stageVariables.a\": \"$stageVariables.a\",\n \"statusCode\": \"'404'\"\n}" }, "responseType": "MISSING_AUTHENTICATION_TOKEN", "statusCode": "404" } Customize Gateway Responses- defaultResponse Boolean
- responseParameters MapOfStringToString
- responseTemplates MapOfStringToString
- responseType GatewayResponseType
- statusCode StatusCode
GatewayResponseType
- GatewayResponseType
string
(values: DEFAULT_4XX, DEFAULT_5XX, RESOURCE_NOT_FOUND, UNAUTHORIZED, INVALID_API_KEY, ACCESS_DENIED, AUTHORIZER_FAILURE, AUTHORIZER_CONFIGURATION_ERROR, INVALID_SIGNATURE, EXPIRED_TOKEN, MISSING_AUTHENTICATION_TOKEN, INTEGRATION_FAILURE, INTEGRATION_TIMEOUT, API_CONFIGURATION_ERROR, UNSUPPORTED_MEDIA_TYPE, BAD_REQUEST_PARAMETERS, BAD_REQUEST_BODY, REQUEST_TOO_LARGE, THROTTLED, QUOTA_EXCEEDED)
GatewayResponses
- GatewayResponses
object
: The collection of the GatewayResponse instances of a RestApi as a responseType-to-GatewayResponse object map of key-value pairs. As such, pagination is not supported for querying this collection. For more information about valid gateway response types, see Gateway Response Types Supported by API Gateway Example: Get the collection of gateway responses of an API Request This example request shows how to retrieve the GatewayResponses collection from an API. GET /restapis/o81lxisefl/gatewayresponses HTTP/1.1 Host: beta-apigateway.us-east-1.amazonaws.com Content-Type: application/json X-Amz-Date: 20170503T220604Z Authorization: AWS4-HMAC-SHA256 Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=59b42fe54a76a5de8adf2c67baa6d39206f8e9ad49a1d77ccc6a5da3103a398a Cache-Control: no-cache Postman-Token: 5637af27-dc29-fc5c-9dfe-0645d52cb515 Response The successful operation returns the 200 OK status code and a payload similar to the following: { "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html", "name": "gatewayresponse", "templated": true }, "self": { "href": "/restapis/o81lxisefl/gatewayresponses" }, "first": { "href": "/restapis/o81lxisefl/gatewayresponses" }, "gatewayresponse:by-type": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "item": [ { "href": "/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE" }, { "href": "/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND" }, { "href": "/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE" }, { "href": "/restapis/o81lxisefl/gatewayresponses/THROTTLED" }, { "href": "/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE" }, { "href": "/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR" }, { "href": "/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX" }, { "href": "/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX" }, { "href": "/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS" }, { "href": "/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY" }, { "href": "/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN