2024/10/15 - Amazon Redshift - 4 new api methods
Changes This release launches the CreateIntegration, DeleteIntegration, DescribeIntegrations and ModifyIntegration APIs to create and manage Amazon Redshift Zero-ETL Integrations.
Deletes a zero-ETL integration with Amazon Redshift.
See also: AWS API Documentation
Request Syntax
client.delete_integration( IntegrationArn='string' )
string
[REQUIRED]
The unique identifier of the integration to delete.
dict
Response Syntax
{ 'IntegrationArn': 'string', 'IntegrationName': 'string', 'SourceArn': 'string', 'TargetArn': 'string', 'Status': 'creating'|'active'|'modifying'|'failed'|'deleting'|'syncing'|'needs_attention', 'Errors': [ { 'ErrorCode': 'string', 'ErrorMessage': 'string' }, ], 'CreateTime': datetime(2015, 1, 1), 'Description': 'string', 'KMSKeyId': 'string', 'AdditionalEncryptionContext': { 'string': 'string' }, 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] }
Response Structure
(dict) --
IntegrationArn (string) --
The Amazon Resource Name (ARN) of the integration.
IntegrationName (string) --
The name of the integration.
SourceArn (string) --
The Amazon Resource Name (ARN) of the database used as the source for replication.
TargetArn (string) --
The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.
Status (string) --
The current status of the integration.
Errors (list) --
Any errors associated with the integration.
(dict) --
The error of an inbound integration.
ErrorCode (string) --
The error code of an inbound integration error.
ErrorMessage (string) --
The error message of an inbound integration error.
CreateTime (datetime) --
The time (UTC) when the integration was created.
Description (string) --
The description of the integration.
KMSKeyId (string) --
The Key Management Service (KMS) key identifier for the key used to encrypt the integration.
AdditionalEncryptionContext (dict) --
The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.
(string) --
(string) --
Tags (list) --
The list of tags associated with the integration.
(dict) --
A tag consisting of a name/value pair for a resource.
Key (string) --
The key, or name, for the resource tag.
Value (string) --
The value for the resource tag.
Modifies a zero-ETL integration with Amazon Redshift.
See also: AWS API Documentation
Request Syntax
client.modify_integration( IntegrationArn='string', Description='string', IntegrationName='string' )
string
[REQUIRED]
The unique identifier of the integration to modify.
string
A new description for the integration.
string
A new name for the integration.
dict
Response Syntax
{ 'IntegrationArn': 'string', 'IntegrationName': 'string', 'SourceArn': 'string', 'TargetArn': 'string', 'Status': 'creating'|'active'|'modifying'|'failed'|'deleting'|'syncing'|'needs_attention', 'Errors': [ { 'ErrorCode': 'string', 'ErrorMessage': 'string' }, ], 'CreateTime': datetime(2015, 1, 1), 'Description': 'string', 'KMSKeyId': 'string', 'AdditionalEncryptionContext': { 'string': 'string' }, 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] }
Response Structure
(dict) --
IntegrationArn (string) --
The Amazon Resource Name (ARN) of the integration.
IntegrationName (string) --
The name of the integration.
SourceArn (string) --
The Amazon Resource Name (ARN) of the database used as the source for replication.
TargetArn (string) --
The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.
Status (string) --
The current status of the integration.
Errors (list) --
Any errors associated with the integration.
(dict) --
The error of an inbound integration.
ErrorCode (string) --
The error code of an inbound integration error.
ErrorMessage (string) --
The error message of an inbound integration error.
CreateTime (datetime) --
The time (UTC) when the integration was created.
Description (string) --
The description of the integration.
KMSKeyId (string) --
The Key Management Service (KMS) key identifier for the key used to encrypt the integration.
AdditionalEncryptionContext (dict) --
The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.
(string) --
(string) --
Tags (list) --
The list of tags associated with the integration.
(dict) --
A tag consisting of a name/value pair for a resource.
Key (string) --
The key, or name, for the resource tag.
Value (string) --
The value for the resource tag.
Creates a zero-ETL integration with Amazon Redshift.
See also: AWS API Documentation
Request Syntax
client.create_integration( SourceArn='string', TargetArn='string', IntegrationName='string', KMSKeyId='string', TagList=[ { 'Key': 'string', 'Value': 'string' }, ], AdditionalEncryptionContext={ 'string': 'string' }, Description='string' )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the database to use as the source for replication.
string
[REQUIRED]
The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.
string
[REQUIRED]
The name of the integration.
string
An Key Management Service (KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, the default Amazon Web Services owned key is used.
list
A list of tags.
(dict) --
A tag consisting of a name/value pair for a resource.
Key (string) --
The key, or name, for the resource tag.
Value (string) --
The value for the resource tag.
dict
An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.
You can only include this parameter if you specify the KMSKeyId parameter.
(string) --
(string) --
string
A description of the integration.
dict
Response Syntax
{ 'IntegrationArn': 'string', 'IntegrationName': 'string', 'SourceArn': 'string', 'TargetArn': 'string', 'Status': 'creating'|'active'|'modifying'|'failed'|'deleting'|'syncing'|'needs_attention', 'Errors': [ { 'ErrorCode': 'string', 'ErrorMessage': 'string' }, ], 'CreateTime': datetime(2015, 1, 1), 'Description': 'string', 'KMSKeyId': 'string', 'AdditionalEncryptionContext': { 'string': 'string' }, 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] }
Response Structure
(dict) --
IntegrationArn (string) --
The Amazon Resource Name (ARN) of the integration.
IntegrationName (string) --
The name of the integration.
SourceArn (string) --
The Amazon Resource Name (ARN) of the database used as the source for replication.
TargetArn (string) --
The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.
Status (string) --
The current status of the integration.
Errors (list) --
Any errors associated with the integration.
(dict) --
The error of an inbound integration.
ErrorCode (string) --
The error code of an inbound integration error.
ErrorMessage (string) --
The error message of an inbound integration error.
CreateTime (datetime) --
The time (UTC) when the integration was created.
Description (string) --
The description of the integration.
KMSKeyId (string) --
The Key Management Service (KMS) key identifier for the key used to encrypt the integration.
AdditionalEncryptionContext (dict) --
The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.
(string) --
(string) --
Tags (list) --
The list of tags associated with the integration.
(dict) --
A tag consisting of a name/value pair for a resource.
Key (string) --
The key, or name, for the resource tag.
Value (string) --
The value for the resource tag.
Describes one or more zero-ETL integrations with Amazon Redshift.
See also: AWS API Documentation
Request Syntax
client.describe_integrations( IntegrationArn='string', MaxRecords=123, Marker='string', Filters=[ { 'Name': 'integration-arn'|'source-arn'|'source-types'|'status', 'Values': [ 'string', ] }, ] )
string
The unique identifier of the integration.
integer
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.
string
An optional pagination token provided by a previous DescribeIntegrations request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
list
A filter that specifies one or more resources to return.
(dict) --
A set of elements to filter the returned integrations.
Name (string) -- [REQUIRED]
Specifies the type of integration filter.
Values (list) -- [REQUIRED]
Specifies the values to filter on.
(string) --
dict
Response Syntax
{ 'Marker': 'string', 'Integrations': [ { 'IntegrationArn': 'string', 'IntegrationName': 'string', 'SourceArn': 'string', 'TargetArn': 'string', 'Status': 'creating'|'active'|'modifying'|'failed'|'deleting'|'syncing'|'needs_attention', 'Errors': [ { 'ErrorCode': 'string', 'ErrorMessage': 'string' }, ], 'CreateTime': datetime(2015, 1, 1), 'Description': 'string', 'KMSKeyId': 'string', 'AdditionalEncryptionContext': { 'string': 'string' }, 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] }, ] }
Response Structure
(dict) --
Marker (string) --
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.
Integrations (list) --
List of integrations that are described.
(dict) --
IntegrationArn (string) --
The Amazon Resource Name (ARN) of the integration.
IntegrationName (string) --
The name of the integration.
SourceArn (string) --
The Amazon Resource Name (ARN) of the database used as the source for replication.
TargetArn (string) --
The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.
Status (string) --
The current status of the integration.
Errors (list) --
Any errors associated with the integration.
(dict) --
The error of an inbound integration.
ErrorCode (string) --
The error code of an inbound integration error.
ErrorMessage (string) --
The error message of an inbound integration error.
CreateTime (datetime) --
The time (UTC) when the integration was created.
Description (string) --
The description of the integration.
KMSKeyId (string) --
The Key Management Service (KMS) key identifier for the key used to encrypt the integration.
AdditionalEncryptionContext (dict) --
The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.
(string) --
(string) --
Tags (list) --
The list of tags associated with the integration.
(dict) --
A tag consisting of a name/value pair for a resource.
Key (string) --
The key, or name, for the resource tag.
Value (string) --
The value for the resource tag.