openapi: 3.0.0 info: version: 2015-07-09 x-release: v4 title: APIs.io Engineering Platform Amazon API Gateway 2014 11 13 2019 09 25 API 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.

x-logo: url: https://api.apis.guru/v2/cache/logo/https_twitter.com_awscloud_profile_image.png backgroundColor: '#FFFFFF' termsOfService: https://aws.amazon.com/service-terms/ contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: https://github.com/mermade/aws2openapi x-twitter: PermittedSoc license: name: Apache 2.0 License url: http://www.apache.org/licenses/ x-providerName: amazonaws.com x-serviceName: apigateway x-origin: - contentType: application/json url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/apigateway-2015-07-09.normal.json converter: url: https://github.com/mermade/aws2openapi version: 1.0.0 x-apisguru-driver: external x-apiClientRegistration: url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct x-apisguru-categories: - cloud x-preferred: true servers: - url: http://apigateway.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The Amazon API Gateway multi-region endpoint - url: https://apigateway.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The Amazon API Gateway multi-region endpoint - url: http://apigateway.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Amazon API Gateway endpoint for China (Beijing) and China (Ningxia) - url: https://apigateway.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Amazon API Gateway endpoint for China (Beijing) and China (Ningxia) security: - hmac: [] tags: - name: 2019 09 25 paths: /2019-09-25/functions/{FunctionName}/event-invoke-config: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' delete: operationId: DeleteFunctionEventInvokeConfig description:

Deletes the configuration for asynchronous invocation for a function, version, or alias.

To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.

responses: '204': description: Success '480': description: ServiceException content: application/json: schema: $ref: '#/components/schemas/ServiceException' '481': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' '482': description: InvalidParameterValueException content: application/json: schema: $ref: '#/components/schemas/InvalidParameterValueException' '483': description: TooManyRequestsException content: application/json: schema: $ref: '#/components/schemas/TooManyRequestsException' '484': description: ResourceConflictException content: application/json: schema: $ref: '#/components/schemas/ResourceConflictException' parameters: - name: FunctionName in: path required: true description:

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

schema: type: string pattern: (arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))? minLength: 1 maxLength: 140 - name: Qualifier in: query required: false description: A version number or alias name. schema: type: string pattern: (|[a-zA-Z0-9$_-]+) minLength: 1 maxLength: 128 tags: - 2019 09 25 get: operationId: GetFunctionEventInvokeConfig description:

Retrieves the configuration for asynchronous invocation for a function, version, or alias.

To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.

responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/FunctionEventInvokeConfig' '480': description: ServiceException content: application/json: schema: $ref: '#/components/schemas/ServiceException' '481': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' '482': description: InvalidParameterValueException content: application/json: schema: $ref: '#/components/schemas/InvalidParameterValueException' '483': description: TooManyRequestsException content: application/json: schema: $ref: '#/components/schemas/TooManyRequestsException' parameters: - name: FunctionName in: path required: true description:

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

schema: type: string pattern: (arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))? minLength: 1 maxLength: 140 - name: Qualifier in: query required: false description: A version number or alias name. schema: type: string pattern: (|[a-zA-Z0-9$_-]+) minLength: 1 maxLength: 128 tags: - 2019 09 25 put: operationId: PutFunctionEventInvokeConfig description:

Configures options for asynchronous invocation on a function, version, or alias. If a configuration already exists for a function, version, or alias, this operation overwrites it. If you exclude any settings, they are removed. To set one option without affecting existing settings for other options, use UpdateFunctionEventInvokeConfig.

By default, Lambda retries an asynchronous invocation twice if the function returns an error. It retains events in a queue for up to six hours. When an event fails all processing attempts or stays in the asynchronous invocation queue for too long, Lambda discards it. To retain discarded events, configure a dead-letter queue with UpdateFunctionConfiguration.

To send an invocation record to a queue, topic, function, or event bus, specify a destination. You can configure separate destinations for successful invocations (on-success) and events that fail all processing attempts (on-failure). You can configure destinations in addition to or instead of a dead-letter queue.

responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/FunctionEventInvokeConfig' '480': description: ServiceException content: application/json: schema: $ref: '#/components/schemas/ServiceException' '481': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' '482': description: InvalidParameterValueException content: application/json: schema: $ref: '#/components/schemas/InvalidParameterValueException' '483': description: TooManyRequestsException content: application/json: schema: $ref: '#/components/schemas/TooManyRequestsException' '484': description: ResourceConflictException content: application/json: schema: $ref: '#/components/schemas/ResourceConflictException' parameters: - name: FunctionName in: path required: true description:

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

schema: type: string pattern: (arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))? minLength: 1 maxLength: 140 - name: Qualifier in: query required: false description: A version number or alias name. schema: type: string pattern: (|[a-zA-Z0-9$_-]+) minLength: 1 maxLength: 128 requestBody: required: true content: application/json: schema: type: object properties: MaximumRetryAttempts: description: The maximum number of times to retry when the function returns an error. type: integer minimum: 0 maximum: 2 MaximumEventAgeInSeconds: description: The maximum age of a request that Lambda sends to a function for processing. type: integer minimum: 60 maximum: 21600 DestinationConfig: description: A configuration object that specifies the destination of an event after Lambda processes it. type: object properties: OnSuccess: allOf: - $ref: '#/components/schemas/OnSuccess' - description: The destination configuration for successful invocations. OnFailure: allOf: - $ref: '#/components/schemas/OnFailure' - description: The destination configuration for failed invocations. tags: - 2019 09 25 post: operationId: UpdateFunctionEventInvokeConfig description:

Updates the configuration for asynchronous invocation for a function, version, or alias.

To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.

responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/FunctionEventInvokeConfig' '480': description: ServiceException content: application/json: schema: $ref: '#/components/schemas/ServiceException' '481': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' '482': description: InvalidParameterValueException content: application/json: schema: $ref: '#/components/schemas/InvalidParameterValueException' '483': description: TooManyRequestsException content: application/json: schema: $ref: '#/components/schemas/TooManyRequestsException' '484': description: ResourceConflictException content: application/json: schema: $ref: '#/components/schemas/ResourceConflictException' parameters: - name: FunctionName in: path required: true description:

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

schema: type: string pattern: (arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))? minLength: 1 maxLength: 140 - name: Qualifier in: query required: false description: A version number or alias name. schema: type: string pattern: (|[a-zA-Z0-9$_-]+) minLength: 1 maxLength: 128 requestBody: required: true content: application/json: schema: type: object properties: MaximumRetryAttempts: description: The maximum number of times to retry when the function returns an error. type: integer minimum: 0 maximum: 2 MaximumEventAgeInSeconds: description: The maximum age of a request that Lambda sends to a function for processing. type: integer minimum: 60 maximum: 21600 DestinationConfig: description: A configuration object that specifies the destination of an event after Lambda processes it. type: object properties: OnSuccess: allOf: - $ref: '#/components/schemas/OnSuccess' - description: The destination configuration for successful invocations. OnFailure: allOf: - $ref: '#/components/schemas/OnFailure' - description: The destination configuration for failed invocations. tags: - 2019 09 25 /2019-09-25/functions/{FunctionName}/event-invoke-config/list: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' get: operationId: ListFunctionEventInvokeConfigs description:

Retrieves a list of configurations for asynchronous invocation for a function.

To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.

responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ListFunctionEventInvokeConfigsResponse' '480': description: InvalidParameterValueException content: application/json: schema: $ref: '#/components/schemas/InvalidParameterValueException' '481': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' '482': description: TooManyRequestsException content: application/json: schema: $ref: '#/components/schemas/TooManyRequestsException' '483': description: ServiceException content: application/json: schema: $ref: '#/components/schemas/ServiceException' parameters: - name: FunctionName in: path required: true description:

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

schema: type: string pattern: (arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))? minLength: 1 maxLength: 140 - name: Marker in: query required: false description: Specify the pagination token that's returned by a previous request to retrieve the next page of results. schema: type: string - name: MaxItems in: query required: false description: The maximum number of configurations to return. schema: type: integer minimum: 1 maximum: 50 tags: - 2019 09 25 components: parameters: X-Amz-Signature: name: X-Amz-Signature in: header schema: type: string required: false X-Amz-Content-Sha256: name: X-Amz-Content-Sha256 in: header schema: type: string required: false X-Amz-Algorithm: name: X-Amz-Algorithm in: header schema: type: string required: false X-Amz-Security-Token: name: X-Amz-Security-Token in: header schema: type: string required: false X-Amz-SignedHeaders: name: X-Amz-SignedHeaders in: header schema: type: string required: false X-Amz-Credential: name: X-Amz-Credential in: header schema: type: string required: false X-Amz-Date: name: X-Amz-Date in: header schema: type: string required: false schemas: TooManyRequestsException: {} DestinationArn: type: string pattern: ^$|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*) minLength: 0 maxLength: 350 FunctionEventInvokeConfig: type: object properties: LastModified: allOf: - $ref: '#/components/schemas/Date' - description: The date and time that the configuration was last updated. FunctionArn: allOf: - $ref: '#/components/schemas/FunctionArn' - description: The Amazon Resource Name (ARN) of the function. MaximumRetryAttempts: allOf: - $ref: '#/components/schemas/MaximumRetryAttempts' - description: The maximum number of times to retry when the function returns an error. MaximumEventAgeInSeconds: allOf: - $ref: '#/components/schemas/MaximumEventAgeInSeconds' - description: The maximum age of a request that Lambda sends to a function for processing. DestinationConfig: allOf: - $ref: '#/components/schemas/DestinationConfig' - description:

A destination for events after they have been sent to a function for processing.

Destinations

FunctionArn: type: string pattern: arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))? MaximumEventAgeInSeconds: type: integer minimum: 60 maximum: 21600 OnSuccess: type: object properties: Destination: allOf: - $ref: '#/components/schemas/DestinationArn' - description: The Amazon Resource Name (ARN) of the destination resource. description: A destination for events that were processed successfully. ListFunctionEventInvokeConfigsResponse: type: object properties: FunctionEventInvokeConfigs: allOf: - $ref: '#/components/schemas/FunctionEventInvokeConfigList' - description: A list of configurations. NextMarker: allOf: - $ref: '#/components/schemas/String' - description: The pagination token that's included if more results are available. OnFailure: type: object properties: Destination: allOf: - $ref: '#/components/schemas/DestinationArn' - description: The Amazon Resource Name (ARN) of the destination resource. description: A destination for events that failed processing. ResourceConflictException: {} InvalidParameterValueException: {} FunctionEventInvokeConfigList: type: array items: $ref: '#/components/schemas/FunctionEventInvokeConfig' String: type: string DestinationConfig: type: object properties: OnSuccess: allOf: - $ref: '#/components/schemas/OnSuccess' - description: The destination configuration for successful invocations. OnFailure: allOf: - $ref: '#/components/schemas/OnFailure' - description: The destination configuration for failed invocations. description: A configuration object that specifies the destination of an event after Lambda processes it. ServiceException: {} Date: type: string format: date-time ResourceNotFoundException: {} MaximumRetryAttempts: type: integer minimum: 0 maximum: 2 securitySchemes: hmac: type: apiKey name: Authorization in: header description: Amazon Signature authorization v4 x-amazon-apigateway-authtype: awsSigv4 externalDocs: description: Amazon Web Services documentation url: https://docs.aws.amazon.com/apigateway/ x-hasEquivalentPaths: true