Amazon Redshift Redshift Data Share API
The Redshift Data Share API from Amazon Redshift — 4 operation(s) for redshift data share.
The Redshift Data Share API from Amazon Redshift — 4 operation(s) for redshift data share.
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-data-share-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 Data Share 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=DescribeDataShares:
post:
operationId: DescribeDataShares
summary: Describe Data Shares
description: Shows the status of any inbound or outbound datashares available in the specified account.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/DescribeDataSharesResult'
'400':
description: InvalidDataShareFault
content:
text/xml:
schema:
$ref: '#/components/schemas/InvalidDataShareFault'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: DescribeDataShares
Version:
type: string
const: '2012-12-01'
- $ref: '#/components/schemas/DescribeDataSharesMessage'
tags:
- Data Share
/?Action=DescribeDataSharesForConsumer:
post:
operationId: DescribeDataSharesForConsumer
summary: Describe Data Shares For Consumer
description: Returns a list of datashares where the account identifier being called is a consumer account identifier.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/DescribeDataSharesForConsumerResult'
'400':
description: InvalidNamespaceFault
content:
text/xml:
schema:
$ref: '#/components/schemas/InvalidNamespaceFault'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: DescribeDataSharesForConsumer
Version:
type: string
const: '2012-12-01'
- $ref: '#/components/schemas/DescribeDataSharesForConsumerMessage'
tags:
- Data Share
/?Action=DescribeDataSharesForProducer:
post:
operationId: DescribeDataSharesForProducer
summary: Describe Data Shares For Producer
description: Returns a list of datashares when the account identifier being called is a producer account identifier.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/DescribeDataSharesForProducerResult'
'400':
description: InvalidNamespaceFault
content:
text/xml:
schema:
$ref: '#/components/schemas/InvalidNamespaceFault'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: DescribeDataSharesForProducer
Version:
type: string
const: '2012-12-01'
- $ref: '#/components/schemas/DescribeDataSharesForProducerMessage'
tags:
- Data Share
/?Action=RejectDataShare:
post:
operationId: RejectDataShare
summary: Reject Data Share
description: From a datashare consumer account, rejects the specified datashare.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/DataShare'
'400':
description: InvalidDataShareFault
content:
text/xml:
schema:
$ref: '#/components/schemas/InvalidDataShareFault'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: RejectDataShare
Version:
type: string
const: '2012-12-01'
- $ref: '#/components/schemas/RejectDataShareMessage'
tags:
- Data Share
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:
DataShare:
type: object
properties:
DataShareArn:
type: string
description: The Amazon Resource Name (ARN) of the datashare that the consumer is to use.
ProducerArn:
type: string
description: The Amazon Resource Name (ARN) of the producer namespace.
AllowPubliclyAccessibleConsumers:
type: boolean
description: A value that specifies whether the datashare can be shared to a publicly accessible cluster.
DataShareAssociations:
type: array
items:
$ref: '#/components/schemas/DataShareAssociation'
description: A value that specifies when the datashare has an association between producer and data consumers.
ManagedBy:
type: string
description: The identifier of a datashare to show its managing entity.
DataShareType:
type: string
enum:
- INTERNAL
description: The type of the datashare created by RegisterNamespace.
DataShareAssociation:
type: object
properties:
ConsumerIdentifier:
type: string
description: The name of the consumer accounts that have an association with a producer datashare.
Status:
type: string
enum:
- ACTIVE
- PENDING_AUTHORIZATION
- AUTHORIZED
- DEAUTHORIZED
- REJECTED
- AVAILABLE
description: The status of the datashare that is associated.
ConsumerRegion:
type: string
description: The Amazon Web Services Region of the consumer accounts that have an association with a producer datashare.
CreatedDate:
type: string
format: date-time
description: The creation date of the datashare that is associated.
StatusChangeDate:
type: string
format: date-time
description: The status change data of the datashare that is associated.
ProducerAllowedWrites:
type: boolean
description: Specifies whether write operations were allowed during data share authorization.
ConsumerAcceptedWrites:
type: boolean
description: Specifies whether write operations were allowed during data share association.
DescribeDataSharesForConsumerMessage:
type: object
properties:
ConsumerArn:
type: string
description: The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.
Status:
type: string
enum:
- ACTIVE
- AVAILABLE
description: An identifier giving the status of a datashare in the consumer cluster. If this field is specified,
Amazon Redshift returns the list of datashares that have the specified status.
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.
Marker:
type: string
description: An optional parameter that specifies the starting point to return a set of response records. When the
results of a DescribeDataSharesForConsumer 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.
DescribeDataSharesForConsumerResult:
type: object
properties:
DataShares:
type: array
items:
$ref: '#/components/schemas/DataShare'
description: Shows the results of datashares available for consumers.
Marker:
type: string
description: An optional parameter that specifies the starting point to return a set of response records. When the
results of a DescribeDataSharesForConsumer 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.
DescribeDataSharesForProducerMessage:
type: object
properties:
ProducerArn:
type: string
description: The Amazon Resource Name (ARN) of the producer namespace that returns in the list of datashares.
Status:
type: string
enum:
- ACTIVE
- AUTHORIZED
- PENDING_AUTHORIZATION
- DEAUTHORIZED
- REJECTED
description: An identifier giving the status of a datashare in the producer. If this field is specified, Amazon
Redshift returns the list of datashares that have the specified status.
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.
Marker:
type: string
description: An optional parameter that specifies the starting point to return a set of response records. When the
results of a DescribeDataSharesForProducer 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.
DescribeDataSharesForProducerResult:
type: object
properties:
DataShares:
type: array
items:
$ref: '#/components/schemas/DataShare'
description: Shows the results of datashares available for producers.
Marker:
type: string
description: An optional parameter that specifies the starting point to return a set of response records. When the
results of a DescribeDataSharesForProducer 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.
DescribeDataSharesMessage:
type: object
properties:
DataShareArn:
type: string
description: The Amazon resource name (ARN) of the datashare to describe details of.
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.
Marker:
type: string
description: An optional parameter that specifies the starting point to return a set of response records. When the
results of a DescribeDataShares 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.
DescribeDataSharesResult:
type: object
properties:
DataShares:
type: array
items:
$ref: '#/components/schemas/DataShare'
description: The results returned from describing datashares.
Marker:
type: string
description: An optional parameter that specifies the starting point to return a set of response records. When the
results of a DescribeDataShares 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.
InvalidDataShareFault:
type: object
properties:
message:
type: string
InvalidNamespaceFault:
type: object
properties:
message:
type: string
RejectDataShareMessage:
type: object
properties:
DataShareArn:
type: string
description: The Amazon Resource Name (ARN) of the datashare to reject.
required:
- DataShareArn
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)