Skip to content

Commit 32d38b0

Browse files
author
awstools
committed
feat(client-redshift): This release launches S3 event integrations to create and manage integrations from an Amazon S3 source into an Amazon Redshift database.
1 parent c86827e commit 32d38b0

File tree

8 files changed

+53
-23
lines changed

8 files changed

+53
-23
lines changed

clients/client-redshift/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ build, query, and maintain the databases that make up your data warehouse. </p>
3131

3232
## Installing
3333

34-
To install the this package, simply type add or install @aws-sdk/client-redshift
34+
To install this package, simply type add or install @aws-sdk/client-redshift
3535
using your favorite package manager:
3636

3737
- `npm install @aws-sdk/client-redshift`

clients/client-redshift/src/commands/CreateIntegrationCommand.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface CreateIntegrationCommandInput extends CreateIntegrationMessage
2828
export interface CreateIntegrationCommandOutput extends Integration, __MetadataBearer {}
2929

3030
/**
31-
* <p>Creates a zero-ETL integration with Amazon Redshift.</p>
31+
* <p>Creates a zero-ETL integration or S3 event integration with Amazon Redshift.</p>
3232
* @example
3333
* Use a bare-bones client and the command you need to make an API call.
3434
* ```javascript
@@ -96,7 +96,7 @@ export interface CreateIntegrationCommandOutput extends Integration, __MetadataB
9696
* and these requests conflict with each other.</p>
9797
*
9898
* @throws {@link IntegrationQuotaExceededFault} (client fault)
99-
* <p>You can't create any more zero-ETL integrations because the quota has been reached.</p>
99+
* <p>You can't create any more zero-ETL or S3 event integrations because the quota has been reached.</p>
100100
*
101101
* @throws {@link IntegrationSourceNotFoundFault} (client fault)
102102
* <p>The specified integration source can't be found.</p>

clients/client-redshift/src/commands/DeleteIntegrationCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface DeleteIntegrationCommandInput extends DeleteIntegrationMessage
2828
export interface DeleteIntegrationCommandOutput extends Integration, __MetadataBearer {}
2929

3030
/**
31-
* <p>Deletes a zero-ETL integration with Amazon Redshift.</p>
31+
* <p>Deletes a zero-ETL integration or S3 event integration with Amazon Redshift.</p>
3232
* @example
3333
* Use a bare-bones client and the command you need to make an API call.
3434
* ```javascript

clients/client-redshift/src/commands/DescribeIntegrationsCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface DescribeIntegrationsCommandInput extends DescribeIntegrationsMe
2828
export interface DescribeIntegrationsCommandOutput extends IntegrationsMessage, __MetadataBearer {}
2929

3030
/**
31-
* <p>Describes one or more zero-ETL integrations with Amazon Redshift.</p>
31+
* <p>Describes one or more zero-ETL or S3 event integrations with Amazon Redshift.</p>
3232
* @example
3333
* Use a bare-bones client and the command you need to make an API call.
3434
* ```javascript

clients/client-redshift/src/commands/ModifyIntegrationCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export interface ModifyIntegrationCommandInput extends ModifyIntegrationMessage
2929
export interface ModifyIntegrationCommandOutput extends Integration, __MetadataBearer {}
3030

3131
/**
32-
* <p>Modifies a zero-ETL integration with Amazon Redshift.</p>
32+
* <p>Modifies a zero-ETL integration or S3 event integration with Amazon Redshift.</p>
3333
* @example
3434
* Use a bare-bones client and the command you need to make an API call.
3535
* ```javascript

clients/client-redshift/src/models/models_0.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6511,7 +6511,7 @@ export class IntegrationConflictOperationFault extends __BaseException {
65116511
}
65126512

65136513
/**
6514-
* <p>You can't create any more zero-ETL integrations because the quota has been reached.</p>
6514+
* <p>You can't create any more zero-ETL or S3 event integrations because the quota has been reached.</p>
65156515
* @public
65166516
*/
65176517
export class IntegrationQuotaExceededFault extends __BaseException {

clients/client-redshift/src/models/models_1.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2961,7 +2961,7 @@ export interface DescribeTagsMessage {
29612961
* <p>Snapshot copy grant</p>
29622962
* </li>
29632963
* <li>
2964-
* <p>Integration (zero-ETL integration)</p>
2964+
* <p>Integration (zero-ETL integration or S3 event integration)</p>
29652965
* <note>
29662966
* <p>To describe the tags associated with an <code>integration</code>, don't specify <code>ResourceType</code>,
29672967
* instead specify the <code>ResourceName</code> of the integration.</p>

codegen/sdk-codegen/aws-models/redshift.json

+45-15
Original file line numberDiff line numberDiff line change
@@ -3852,22 +3852,22 @@
38523852
}
38533853
],
38543854
"traits": {
3855-
"smithy.api#documentation": "<p>Creates a zero-ETL integration with Amazon Redshift.</p>"
3855+
"smithy.api#documentation": "<p>Creates a zero-ETL integration or S3 event integration with Amazon Redshift.</p>"
38563856
}
38573857
},
38583858
"com.amazonaws.redshift#CreateIntegrationMessage": {
38593859
"type": "structure",
38603860
"members": {
38613861
"SourceArn": {
3862-
"target": "com.amazonaws.redshift#String",
3862+
"target": "com.amazonaws.redshift#SourceArn",
38633863
"traits": {
38643864
"smithy.api#clientOptional": {},
38653865
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the database to use as the source for replication.</p>",
38663866
"smithy.api#required": {}
38673867
}
38683868
},
38693869
"TargetArn": {
3870-
"target": "com.amazonaws.redshift#String",
3870+
"target": "com.amazonaws.redshift#TargetArn",
38713871
"traits": {
38723872
"smithy.api#clientOptional": {},
38733873
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.</p>",
@@ -5372,7 +5372,7 @@
53725372
}
53735373
],
53745374
"traits": {
5375-
"smithy.api#documentation": "<p>Deletes a zero-ETL integration with Amazon Redshift.</p>"
5375+
"smithy.api#documentation": "<p>Deletes a zero-ETL integration or S3 event integration with Amazon Redshift.</p>"
53765376
}
53775377
},
53785378
"com.amazonaws.redshift#DeleteIntegrationMessage": {
@@ -7325,13 +7325,13 @@
73257325
"type": "structure",
73267326
"members": {
73277327
"IntegrationArn": {
7328-
"target": "com.amazonaws.redshift#String",
7328+
"target": "com.amazonaws.redshift#InboundIntegrationArn",
73297329
"traits": {
73307330
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the inbound integration.</p>"
73317331
}
73327332
},
73337333
"TargetArn": {
7334-
"target": "com.amazonaws.redshift#String",
7334+
"target": "com.amazonaws.redshift#TargetArn",
73357335
"traits": {
73367336
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the target of an inbound integration.</p>"
73377337
}
@@ -7370,7 +7370,7 @@
73707370
}
73717371
],
73727372
"traits": {
7373-
"smithy.api#documentation": "<p>Describes one or more zero-ETL integrations with Amazon Redshift.</p>",
7373+
"smithy.api#documentation": "<p>Describes one or more zero-ETL or S3 event integrations with Amazon Redshift.</p>",
73747374
"smithy.api#paginated": {
73757375
"inputToken": "Marker",
73767376
"outputToken": "Marker",
@@ -8383,7 +8383,7 @@
83838383
"ResourceType": {
83848384
"target": "com.amazonaws.redshift#String",
83858385
"traits": {
8386-
"smithy.api#documentation": "<p>The type of resource with which you want to view tags. Valid resource types are: </p>\n <ul>\n <li>\n <p>Cluster</p>\n </li>\n <li>\n <p>CIDR/IP</p>\n </li>\n <li>\n <p>EC2 security group</p>\n </li>\n <li>\n <p>Snapshot</p>\n </li>\n <li>\n <p>Cluster security group</p>\n </li>\n <li>\n <p>Subnet group</p>\n </li>\n <li>\n <p>HSM connection</p>\n </li>\n <li>\n <p>HSM certificate</p>\n </li>\n <li>\n <p>Parameter group</p>\n </li>\n <li>\n <p>Snapshot copy grant</p>\n </li>\n <li>\n <p>Integration (zero-ETL integration)</p>\n <note>\n <p>To describe the tags associated with an <code>integration</code>, don't specify <code>ResourceType</code>, \n instead specify the <code>ResourceName</code> of the integration.</p>\n </note>\n </li>\n </ul>\n <p>For more information about Amazon Redshift resource types and constructing ARNs, go to\n <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-overview.html#redshift-iam-access-control-specify-actions\">Specifying Policy Elements: Actions, Effects, Resources, and Principals</a> in\n the Amazon Redshift Cluster Management Guide. </p>"
8386+
"smithy.api#documentation": "<p>The type of resource with which you want to view tags. Valid resource types are: </p>\n <ul>\n <li>\n <p>Cluster</p>\n </li>\n <li>\n <p>CIDR/IP</p>\n </li>\n <li>\n <p>EC2 security group</p>\n </li>\n <li>\n <p>Snapshot</p>\n </li>\n <li>\n <p>Cluster security group</p>\n </li>\n <li>\n <p>Subnet group</p>\n </li>\n <li>\n <p>HSM connection</p>\n </li>\n <li>\n <p>HSM certificate</p>\n </li>\n <li>\n <p>Parameter group</p>\n </li>\n <li>\n <p>Snapshot copy grant</p>\n </li>\n <li>\n <p>Integration (zero-ETL integration or S3 event integration)</p>\n <note>\n <p>To describe the tags associated with an <code>integration</code>, don't specify <code>ResourceType</code>, \n instead specify the <code>ResourceName</code> of the integration.</p>\n </note>\n </li>\n </ul>\n <p>For more information about Amazon Redshift resource types and constructing ARNs, go to\n <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-overview.html#redshift-iam-access-control-specify-actions\">Specifying Policy Elements: Actions, Effects, Resources, and Principals</a> in\n the Amazon Redshift Cluster Management Guide. </p>"
83878387
}
83888388
},
83898389
"MaxRecords": {
@@ -10331,7 +10331,7 @@
1033110331
"type": "structure",
1033210332
"members": {
1033310333
"IntegrationArn": {
10334-
"target": "com.amazonaws.redshift#String",
10334+
"target": "com.amazonaws.redshift#InboundIntegrationArn",
1033510335
"traits": {
1033610336
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of an inbound integration.</p>"
1033710337
}
@@ -10343,7 +10343,7 @@
1034310343
}
1034410344
},
1034510345
"TargetArn": {
10346-
"target": "com.amazonaws.redshift#String",
10346+
"target": "com.amazonaws.redshift#TargetArn",
1034710347
"traits": {
1034810348
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the target of an inbound integration.</p>"
1034910349
}
@@ -10371,6 +10371,16 @@
1037110371
"smithy.api#documentation": "<p>The content of an inbound integration.</p>"
1037210372
}
1037310373
},
10374+
"com.amazonaws.redshift#InboundIntegrationArn": {
10375+
"type": "string",
10376+
"traits": {
10377+
"smithy.api#length": {
10378+
"min": 1,
10379+
"max": 255
10380+
},
10381+
"smithy.api#pattern": "^arn:aws[a-z\\-]*:.+:[a-z0-9\\-]*:[0-9]*:integration:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
10382+
}
10383+
},
1037410384
"com.amazonaws.redshift#InboundIntegrationList": {
1037510385
"type": "list",
1037610386
"member": {
@@ -10461,7 +10471,7 @@
1046110471
"type": "structure",
1046210472
"members": {
1046310473
"IntegrationArn": {
10464-
"target": "com.amazonaws.redshift#String",
10474+
"target": "com.amazonaws.redshift#IntegrationArn",
1046510475
"traits": {
1046610476
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the integration.</p>"
1046710477
}
@@ -10473,13 +10483,13 @@
1047310483
}
1047410484
},
1047510485
"SourceArn": {
10476-
"target": "com.amazonaws.redshift#String",
10486+
"target": "com.amazonaws.redshift#SourceArn",
1047710487
"traits": {
1047810488
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the database used as the source for\n replication.</p>"
1047910489
}
1048010490
},
1048110491
"TargetArn": {
10482-
"target": "com.amazonaws.redshift#String",
10492+
"target": "com.amazonaws.redshift#TargetArn",
1048310493
"traits": {
1048410494
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.</p>"
1048510495
}
@@ -10678,7 +10688,7 @@
1067810688
"code": "IntegrationQuotaExceededFault",
1067910689
"httpResponseCode": 400
1068010690
},
10681-
"smithy.api#documentation": "<p>You can't create any more zero-ETL integrations because the quota has been reached.</p>",
10691+
"smithy.api#documentation": "<p>You can't create any more zero-ETL or S3 event integrations because the quota has been reached.</p>",
1068210692
"smithy.api#error": "client",
1068310693
"smithy.api#httpError": 400
1068410694
}
@@ -12653,7 +12663,7 @@
1265312663
}
1265412664
],
1265512665
"traits": {
12656-
"smithy.api#documentation": "<p>Modifies a zero-ETL integration with Amazon Redshift.</p>"
12666+
"smithy.api#documentation": "<p>Modifies a zero-ETL integration or S3 event integration with Amazon Redshift.</p>"
1265712667
}
1265812668
},
1265912669
"com.amazonaws.redshift#ModifyIntegrationMessage": {
@@ -18621,6 +18631,16 @@
1862118631
}
1862218632
}
1862318633
},
18634+
"com.amazonaws.redshift#SourceArn": {
18635+
"type": "string",
18636+
"traits": {
18637+
"smithy.api#length": {
18638+
"min": 1,
18639+
"max": 255
18640+
},
18641+
"smithy.api#pattern": "^arn:aws[a-z\\-]*:(s3|dynamodb):.*:.*:[a-zA-Z0-9._\\-\\/]+$"
18642+
}
18643+
},
1862418644
"com.amazonaws.redshift#SourceIdsList": {
1862518645
"type": "list",
1862618646
"member": {
@@ -19197,6 +19217,16 @@
1919719217
"smithy.api#output": {}
1919819218
}
1919919219
},
19220+
"com.amazonaws.redshift#TargetArn": {
19221+
"type": "string",
19222+
"traits": {
19223+
"smithy.api#length": {
19224+
"min": 20,
19225+
"max": 2048
19226+
},
19227+
"smithy.api#pattern": "^arn:aws[a-z\\-]*:redshift(-serverless)?:[a-z0-9\\-]+:[0-9]{12}:(namespace\\/|namespace:)[a-z0-9\\-]+$"
19228+
}
19229+
},
1920019230
"com.amazonaws.redshift#TrackList": {
1920119231
"type": "list",
1920219232
"member": {

0 commit comments

Comments
 (0)