Amazon Redshift Redshift Event Subscription API
The Redshift Event Subscription API from Amazon Redshift — 4 operation(s) for redshift event subscription.
The Redshift Event Subscription API from Amazon Redshift — 4 operation(s) for redshift event subscription.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/amazon-redshift:amazon-redshift-event-subscription-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.1.0
info:
title: Amazon Redshift Event Subscription API
version: '2012-12-01'
description: Generated from AWS's published Smithy model for Amazon Redshift. 4 operation(s).
contact:
name: Amazon Web Services
url: https://aws.amazon.com/contact-us/
license:
name: Apache 2.0
identifier: Apache-2.0
url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://redshift.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
paths:
/?Action=CreateEventSubscription:
post:
operationId: CreateEventSubscription
summary: Create Event Subscription
description: Creates an Amazon Redshift event notification subscription. This action requires an ARN (Amazon Resource
Name) of an Amazon SNS topic created by either the Amazon Redshift console, the Amazon SNS console, or the Amazon
SNS API. To obtain an ARN with Amazon SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN
is displayed in the SNS console. You can specify the source type, and lists of Amazon Redshift source IDs, event categories,
and event severities. Notifications will be sent for all events you want that match those criteria. For example, you
can specify source type = cluster, source ID = my-cluster-1 and mycluster2, event categories = Availability, Backup,
and severity = ERROR. The subscription will only send notifications for those ERROR events in the Availability and
Backup categories for the specified clusters. If you specify both the source type and source IDs, such as source type
= cluster and source identifier = my-cluster-1, notifications will be sent for all the cluster events for my-cluster-1.
If you specify a source type but do not specify a source identifier, you will receive notice of the events for the
objects of that type in your Amazon W
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/CreateEventSubscriptionResult'
'400':
description: EventSubscriptionQuotaExceededFault; InvalidTagFault; SNSInvalidTopicFault; SNSNoAuthorizationFault;
SubscriptionAlreadyExistFault; TagLimitExceededFault
content:
text/xml:
schema:
$ref: '#/components/schemas/EventSubscriptionQuotaExceededFault'
'404':
description: SNSTopicArnNotFoundFault; SourceNotFoundFault; SubscriptionCategoryNotFoundFault; SubscriptionEventIdNotFoundFault;
SubscriptionSeverityNotFoundFault
content:
text/xml:
schema:
$ref: '#/components/schemas/SNSTopicArnNotFoundFault'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: CreateEventSubscription
Version:
type: string
const: '2012-12-01'
- $ref: '#/components/schemas/CreateEventSubscriptionMessage'
tags:
- Event Subscription
/?Action=DeleteEventSubscription:
post:
operationId: DeleteEventSubscription
summary: Delete Event Subscription
description: Deletes an Amazon Redshift event notification subscription.
responses:
'200':
description: Success
content:
text/xml:
schema:
type: string
'400':
description: InvalidSubscriptionStateFault
content:
text/xml:
schema:
$ref: '#/components/schemas/InvalidSubscriptionStateFault'
'404':
description: SubscriptionNotFoundFault
content:
text/xml:
schema:
$ref: '#/components/schemas/SubscriptionNotFoundFault'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: DeleteEventSubscription
Version:
type: string
const: '2012-12-01'
- $ref: '#/components/schemas/DeleteEventSubscriptionMessage'
tags:
- Event Subscription
/?Action=DescribeEventSubscriptions:
post:
operationId: DescribeEventSubscriptions
summary: Describe Event Subscriptions
description: Lists descriptions of all the Amazon Redshift event notification subscriptions for a customer account.
If you specify a subscription name, lists the description for that subscription. If you specify both tag keys and
tag values in the same request, Amazon Redshift returns all event notification subscriptions that match any combination
of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test
for tag values, all subscriptions that have any combination of those values are returned. If both tag keys and values
are omitted from the request, subscriptions are returned regardless of whether they have tag keys or values associated
with them.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/EventSubscriptionsMessage'
'400':
description: InvalidTagFault
content:
text/xml:
schema:
$ref: '#/components/schemas/InvalidTagFault'
'404':
description: SubscriptionNotFoundFault
content:
text/xml:
schema:
$ref: '#/components/schemas/SubscriptionNotFoundFault'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: DescribeEventSubscriptions
Version:
type: string
const: '2012-12-01'
- $ref: '#/components/schemas/DescribeEventSubscriptionsMessage'
tags:
- Event Subscription
/?Action=ModifyEventSubscription:
post:
operationId: ModifyEventSubscription
summary: Modify Event Subscription
description: Modifies an existing Amazon Redshift event notification subscription.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/ModifyEventSubscriptionResult'
'400':
description: InvalidSubscriptionStateFault; SNSInvalidTopicFault; SNSNoAuthorizationFault
content:
text/xml:
schema:
$ref: '#/components/schemas/InvalidSubscriptionStateFault'
'404':
description: SNSTopicArnNotFoundFault; SourceNotFoundFault; SubscriptionCategoryNotFoundFault; SubscriptionEventIdNotFoundFault;
SubscriptionNotFoundFault; SubscriptionSeverityNotFoundFault
content:
text/xml:
schema:
$ref: '#/components/schemas/SNSTopicArnNotFoundFault'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: ModifyEventSubscription
Version:
type: string
const: '2012-12-01'
- $ref: '#/components/schemas/ModifyEventSubscriptionMessage'
tags:
- Event Subscription
components:
securitySchemes:
sigv4:
type: apiKey
in: header
name: Authorization
description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
x-aws-sigv4:
signingName: redshift
schemas:
CreateEventSubscriptionMessage:
type: object
properties:
SubscriptionName:
type: string
description: 'The name of the event subscription to be created. Constraints: Cannot be null, empty, or blank. Must
contain from 1 to 255 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a
hyphen or contain two consecutive hyphens.'
SnsTopicArn:
type: string
description: The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications. The
ARN is created by Amazon SNS when you create a topic and subscribe to it.
SourceType:
type: string
description: 'The type of source that will be generating the events. For example, if you want to be notified of
events generated by a cluster, you would set this parameter to cluster. If this value is not specified, events
are returned for all Amazon Redshift objects in your Amazon Web Services account. You must specify a source type
in order to specify source IDs. Valid values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot,
and scheduled-action.'
SourceIds:
type: array
items:
type: string
description: 'A list of one or more identifiers of Amazon Redshift source objects. All of the objects must be of
the same type as was specified in the source type parameter. The event subscription will return only events generated
by the specified objects. If not specified, then events are returned for all objects within the source type specified.
Example: my-cluster-1, my-cluster-2 Example: my-snapshot-20131010'
EventCategories:
type: array
items:
type: string
description: 'Specifies the Amazon Redshift event categories to be published by the event notification subscription.
Values: configuration, management, monitoring, security, pending'
Severity:
type: string
description: 'Specifies the Amazon Redshift event severity to be published by the event notification subscription.
Values: ERROR, INFO'
Enabled:
type: boolean
description: A boolean value; set to true to activate the subscription, and set to false to create the subscription
but not activate it.
Tags:
type: array
items:
$ref: '#/components/schemas/Tag'
description: A list of tag instances.
required:
- SubscriptionName
- SnsTopicArn
CreateEventSubscriptionResult:
type: object
properties:
EventSubscription:
$ref: '#/components/schemas/EventSubscription'
DeleteEventSubscriptionMessage:
type: object
properties:
SubscriptionName:
type: string
description: The name of the Amazon Redshift event notification subscription to be deleted.
required:
- SubscriptionName
DescribeEventSubscriptionsMessage:
type: object
properties:
SubscriptionName:
type: string
description: The name of the Amazon Redshift event notification subscription to be described.
MaxRecords:
type: integer
description: 'The maximum number of response records to return in each call. If the number of remaining response
records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can
retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints:
minimum 20, maximum 100.'
Marker:
type: string
description: An optional parameter that specifies the starting point to return a set of response records. When the
results of a DescribeEventSubscriptions request exceed the value specified in MaxRecords, Amazon Web Services
returns a value in the Marker field of the response. You can retrieve the next set of response records by providing
the returned marker value in the Marker parameter and retrying the request.
TagKeys:
type: array
items:
type: string
description: A tag key or keys for which you want to return all matching event notification subscriptions that are
associated with the specified key or keys. For example, suppose that you have subscriptions that are tagged with
keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns
a response with the subscriptions that have either or both of these tag keys associated with them.
TagValues:
type: array
items:
type: string
description: A tag value or values for which you want to return all matching event notification subscriptions that
are associated with the specified tag value or values. For example, suppose that you have subscriptions that are
tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift
returns a response with the subscriptions that have either or both of these tag values associated with them.
EventSubscription:
type: object
properties:
CustomerAwsId:
type: string
description: The Amazon Web Services account associated with the Amazon Redshift event notification subscription.
CustSubscriptionId:
type: string
description: The name of the Amazon Redshift event notification subscription.
SnsTopicArn:
type: string
description: The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event notification subscription.
Status:
type: string
description: 'The status of the Amazon Redshift event notification subscription. Constraints: Can be one of the
following: active | no-permission | topic-not-exist The status "no-permission" indicates that Amazon Redshift
no longer has permission to post to the Amazon SNS topic. The status "topic-not-exist" indicates that the topic
was deleted after the subscription was created.'
SubscriptionCreationTime:
type: string
format: date-time
description: The date and time the Amazon Redshift event notification subscription was created.
SourceType:
type: string
description: The source type of the events returned by the Amazon Redshift event notification, such as cluster,
cluster-snapshot, cluster-parameter-group, cluster-security-group, or scheduled-action.
SourceIdsList:
type: array
items:
type: string
description: A list of the sources that publish events to the Amazon Redshift event notification subscription.
EventCategoriesList:
type: array
items:
type: string
description: 'The list of Amazon Redshift event categories specified in the event notification subscription. Values:
Configuration, Management, Monitoring, Security, Pending'
Severity:
type: string
description: 'The event severity specified in the Amazon Redshift event notification subscription. Values: ERROR,
INFO'
Enabled:
type: boolean
description: A boolean value indicating whether the subscription is enabled; true indicates that the subscription
is enabled.
Tags:
type: array
items:
$ref: '#/components/schemas/Tag'
description: The list of tags for the event subscription.
EventSubscriptionQuotaExceededFault:
type: object
properties:
message:
type: string
EventSubscriptionsMessage:
type: object
properties:
Marker:
type: string
description: A value that indicates the starting point for the next set of response records in a subsequent request.
If a value is returned in a response, you can retrieve the next set of records by providing this returned marker
value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have
been retrieved for the request.
EventSubscriptionsList:
type: array
items:
$ref: '#/components/schemas/EventSubscription'
description: A list of event subscriptions.
InvalidSubscriptionStateFault:
type: object
properties:
message:
type: string
InvalidTagFault:
type: object
properties:
message:
type: string
ModifyEventSubscriptionMessage:
type: object
properties:
SubscriptionName:
type: string
description: The name of the modified Amazon Redshift event notification subscription.
SnsTopicArn:
type: string
description: The Amazon Resource Name (ARN) of the SNS topic to be used by the event notification subscription.
SourceType:
type: string
description: 'The type of source that will be generating the events. For example, if you want to be notified of
events generated by a cluster, you would set this parameter to cluster. If this value is not specified, events
are returned for all Amazon Redshift objects in your Amazon Web Services account. You must specify a source type
in order to specify source IDs. Valid values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot,
and scheduled-action.'
SourceIds:
type: array
items:
type: string
description: 'A list of one or more identifiers of Amazon Redshift source objects. All of the objects must be of
the same type as was specified in the source type parameter. The event subscription will return only events generated
by the specified objects. If not specified, then events are returned for all objects within the source type specified.
Example: my-cluster-1, my-cluster-2 Example: my-snapshot-20131010'
EventCategories:
type: array
items:
type: string
description: 'Specifies the Amazon Redshift event categories to be published by the event notification subscription.
Values: configuration, management, monitoring, security, pending'
Severity:
type: string
description: 'Specifies the Amazon Redshift event severity to be published by the event notification subscription.
Values: ERROR, INFO'
Enabled:
type: boolean
description: A Boolean value indicating if the subscription is enabled. true indicates the subscription is enabled
required:
- SubscriptionName
ModifyEventSubscriptionResult:
type: object
properties:
EventSubscription:
$ref: '#/components/schemas/EventSubscription'
SNSTopicArnNotFoundFault:
type: object
properties:
message:
type: string
SubscriptionNotFoundFault:
type: object
properties:
message:
type: string
Tag:
type: object
properties:
Key:
type: string
description: The key, or name, for the resource tag.
Value:
type: string
description: The value for the resource tag.
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/redshift/service/2012-12-01/redshift-2012-12-01.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)