@aws-sdk/client-redshift 3.454.0 → 3.460.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +132 -132
- package/dist-cjs/protocols/Aws_query.js +12 -0
- package/dist-es/protocols/Aws_query.js +12 -0
- package/dist-types/commands/AssociateDataShareConsumerCommand.d.ts +3 -0
- package/dist-types/commands/AuthorizeDataShareCommand.d.ts +3 -0
- package/dist-types/commands/DeauthorizeDataShareCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDataSharesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDataSharesForConsumerCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDataSharesForProducerCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateDataShareConsumerCommand.d.ts +2 -0
- package/dist-types/commands/RejectDataShareCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +20 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/package.json +12 -12
|
@@ -8185,6 +8185,9 @@ const se_AssociateDataShareConsumerMessage = (input, context) => {
|
|
|
8185
8185
|
if (input.ConsumerRegion != null) {
|
|
8186
8186
|
entries["ConsumerRegion"] = input.ConsumerRegion;
|
|
8187
8187
|
}
|
|
8188
|
+
if (input.AllowWrites != null) {
|
|
8189
|
+
entries["AllowWrites"] = input.AllowWrites;
|
|
8190
|
+
}
|
|
8188
8191
|
return entries;
|
|
8189
8192
|
};
|
|
8190
8193
|
const se_AttributeNameList = (input, context) => {
|
|
@@ -8223,6 +8226,9 @@ const se_AuthorizeDataShareMessage = (input, context) => {
|
|
|
8223
8226
|
if (input.ConsumerIdentifier != null) {
|
|
8224
8227
|
entries["ConsumerIdentifier"] = input.ConsumerIdentifier;
|
|
8225
8228
|
}
|
|
8229
|
+
if (input.AllowWrites != null) {
|
|
8230
|
+
entries["AllowWrites"] = input.AllowWrites;
|
|
8231
|
+
}
|
|
8226
8232
|
return entries;
|
|
8227
8233
|
};
|
|
8228
8234
|
const se_AuthorizedAudienceList = (input, context) => {
|
|
@@ -12624,6 +12630,12 @@ const de_DataShareAssociation = (output, context) => {
|
|
|
12624
12630
|
if (output["StatusChangeDate"] !== undefined) {
|
|
12625
12631
|
contents.StatusChangeDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["StatusChangeDate"]));
|
|
12626
12632
|
}
|
|
12633
|
+
if (output["ProducerAllowedWrites"] !== undefined) {
|
|
12634
|
+
contents.ProducerAllowedWrites = (0, smithy_client_1.parseBoolean)(output["ProducerAllowedWrites"]);
|
|
12635
|
+
}
|
|
12636
|
+
if (output["ConsumerAcceptedWrites"] !== undefined) {
|
|
12637
|
+
contents.ConsumerAcceptedWrites = (0, smithy_client_1.parseBoolean)(output["ConsumerAcceptedWrites"]);
|
|
12638
|
+
}
|
|
12627
12639
|
return contents;
|
|
12628
12640
|
};
|
|
12629
12641
|
const de_DataShareAssociationList = (output, context) => {
|
|
@@ -7913,6 +7913,9 @@ const se_AssociateDataShareConsumerMessage = (input, context) => {
|
|
|
7913
7913
|
if (input.ConsumerRegion != null) {
|
|
7914
7914
|
entries["ConsumerRegion"] = input.ConsumerRegion;
|
|
7915
7915
|
}
|
|
7916
|
+
if (input.AllowWrites != null) {
|
|
7917
|
+
entries["AllowWrites"] = input.AllowWrites;
|
|
7918
|
+
}
|
|
7916
7919
|
return entries;
|
|
7917
7920
|
};
|
|
7918
7921
|
const se_AttributeNameList = (input, context) => {
|
|
@@ -7951,6 +7954,9 @@ const se_AuthorizeDataShareMessage = (input, context) => {
|
|
|
7951
7954
|
if (input.ConsumerIdentifier != null) {
|
|
7952
7955
|
entries["ConsumerIdentifier"] = input.ConsumerIdentifier;
|
|
7953
7956
|
}
|
|
7957
|
+
if (input.AllowWrites != null) {
|
|
7958
|
+
entries["AllowWrites"] = input.AllowWrites;
|
|
7959
|
+
}
|
|
7954
7960
|
return entries;
|
|
7955
7961
|
};
|
|
7956
7962
|
const se_AuthorizedAudienceList = (input, context) => {
|
|
@@ -12352,6 +12358,12 @@ const de_DataShareAssociation = (output, context) => {
|
|
|
12352
12358
|
if (output["StatusChangeDate"] !== undefined) {
|
|
12353
12359
|
contents.StatusChangeDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["StatusChangeDate"]));
|
|
12354
12360
|
}
|
|
12361
|
+
if (output["ProducerAllowedWrites"] !== undefined) {
|
|
12362
|
+
contents.ProducerAllowedWrites = __parseBoolean(output["ProducerAllowedWrites"]);
|
|
12363
|
+
}
|
|
12364
|
+
if (output["ConsumerAcceptedWrites"] !== undefined) {
|
|
12365
|
+
contents.ConsumerAcceptedWrites = __parseBoolean(output["ConsumerAcceptedWrites"]);
|
|
12366
|
+
}
|
|
12355
12367
|
return contents;
|
|
12356
12368
|
};
|
|
12357
12369
|
const de_DataShareAssociationList = (output, context) => {
|
|
@@ -37,6 +37,7 @@ export interface AssociateDataShareConsumerCommandOutput extends DataShare, __Me
|
|
|
37
37
|
* AssociateEntireAccount: true || false,
|
|
38
38
|
* ConsumerArn: "STRING_VALUE",
|
|
39
39
|
* ConsumerRegion: "STRING_VALUE",
|
|
40
|
+
* AllowWrites: true || false,
|
|
40
41
|
* };
|
|
41
42
|
* const command = new AssociateDataShareConsumerCommand(input);
|
|
42
43
|
* const response = await client.send(command);
|
|
@@ -51,6 +52,8 @@ export interface AssociateDataShareConsumerCommandOutput extends DataShare, __Me
|
|
|
51
52
|
* // ConsumerRegion: "STRING_VALUE",
|
|
52
53
|
* // CreatedDate: new Date("TIMESTAMP"),
|
|
53
54
|
* // StatusChangeDate: new Date("TIMESTAMP"),
|
|
55
|
+
* // ProducerAllowedWrites: true || false,
|
|
56
|
+
* // ConsumerAcceptedWrites: true || false,
|
|
54
57
|
* // },
|
|
55
58
|
* // ],
|
|
56
59
|
* // ManagedBy: "STRING_VALUE",
|
|
@@ -35,6 +35,7 @@ export interface AuthorizeDataShareCommandOutput extends DataShare, __MetadataBe
|
|
|
35
35
|
* const input = { // AuthorizeDataShareMessage
|
|
36
36
|
* DataShareArn: "STRING_VALUE", // required
|
|
37
37
|
* ConsumerIdentifier: "STRING_VALUE", // required
|
|
38
|
+
* AllowWrites: true || false,
|
|
38
39
|
* };
|
|
39
40
|
* const command = new AuthorizeDataShareCommand(input);
|
|
40
41
|
* const response = await client.send(command);
|
|
@@ -49,6 +50,8 @@ export interface AuthorizeDataShareCommandOutput extends DataShare, __MetadataBe
|
|
|
49
50
|
* // ConsumerRegion: "STRING_VALUE",
|
|
50
51
|
* // CreatedDate: new Date("TIMESTAMP"),
|
|
51
52
|
* // StatusChangeDate: new Date("TIMESTAMP"),
|
|
53
|
+
* // ProducerAllowedWrites: true || false,
|
|
54
|
+
* // ConsumerAcceptedWrites: true || false,
|
|
52
55
|
* // },
|
|
53
56
|
* // ],
|
|
54
57
|
* // ManagedBy: "STRING_VALUE",
|
|
@@ -47,6 +47,8 @@ export interface DeauthorizeDataShareCommandOutput extends DataShare, __Metadata
|
|
|
47
47
|
* // ConsumerRegion: "STRING_VALUE",
|
|
48
48
|
* // CreatedDate: new Date("TIMESTAMP"),
|
|
49
49
|
* // StatusChangeDate: new Date("TIMESTAMP"),
|
|
50
|
+
* // ProducerAllowedWrites: true || false,
|
|
51
|
+
* // ConsumerAcceptedWrites: true || false,
|
|
50
52
|
* // },
|
|
51
53
|
* // ],
|
|
52
54
|
* // ManagedBy: "STRING_VALUE",
|
|
@@ -51,6 +51,8 @@ export interface DescribeDataSharesCommandOutput extends DescribeDataSharesResul
|
|
|
51
51
|
* // ConsumerRegion: "STRING_VALUE",
|
|
52
52
|
* // CreatedDate: new Date("TIMESTAMP"),
|
|
53
53
|
* // StatusChangeDate: new Date("TIMESTAMP"),
|
|
54
|
+
* // ProducerAllowedWrites: true || false,
|
|
55
|
+
* // ConsumerAcceptedWrites: true || false,
|
|
54
56
|
* // },
|
|
55
57
|
* // ],
|
|
56
58
|
* // ManagedBy: "STRING_VALUE",
|
|
@@ -51,6 +51,8 @@ export interface DescribeDataSharesForConsumerCommandOutput extends DescribeData
|
|
|
51
51
|
* // ConsumerRegion: "STRING_VALUE",
|
|
52
52
|
* // CreatedDate: new Date("TIMESTAMP"),
|
|
53
53
|
* // StatusChangeDate: new Date("TIMESTAMP"),
|
|
54
|
+
* // ProducerAllowedWrites: true || false,
|
|
55
|
+
* // ConsumerAcceptedWrites: true || false,
|
|
54
56
|
* // },
|
|
55
57
|
* // ],
|
|
56
58
|
* // ManagedBy: "STRING_VALUE",
|
|
@@ -51,6 +51,8 @@ export interface DescribeDataSharesForProducerCommandOutput extends DescribeData
|
|
|
51
51
|
* // ConsumerRegion: "STRING_VALUE",
|
|
52
52
|
* // CreatedDate: new Date("TIMESTAMP"),
|
|
53
53
|
* // StatusChangeDate: new Date("TIMESTAMP"),
|
|
54
|
+
* // ProducerAllowedWrites: true || false,
|
|
55
|
+
* // ConsumerAcceptedWrites: true || false,
|
|
54
56
|
* // },
|
|
55
57
|
* // ],
|
|
56
58
|
* // ManagedBy: "STRING_VALUE",
|
|
@@ -51,6 +51,8 @@ export interface DisassociateDataShareConsumerCommandOutput extends DataShare, _
|
|
|
51
51
|
* // ConsumerRegion: "STRING_VALUE",
|
|
52
52
|
* // CreatedDate: new Date("TIMESTAMP"),
|
|
53
53
|
* // StatusChangeDate: new Date("TIMESTAMP"),
|
|
54
|
+
* // ProducerAllowedWrites: true || false,
|
|
55
|
+
* // ConsumerAcceptedWrites: true || false,
|
|
54
56
|
* // },
|
|
55
57
|
* // ],
|
|
56
58
|
* // ManagedBy: "STRING_VALUE",
|
|
@@ -47,6 +47,8 @@ export interface RejectDataShareCommandOutput extends DataShare, __MetadataBeare
|
|
|
47
47
|
* // ConsumerRegion: "STRING_VALUE",
|
|
48
48
|
* // CreatedDate: new Date("TIMESTAMP"),
|
|
49
49
|
* // StatusChangeDate: new Date("TIMESTAMP"),
|
|
50
|
+
* // ProducerAllowedWrites: true || false,
|
|
51
|
+
* // ConsumerAcceptedWrites: true || false,
|
|
50
52
|
* // },
|
|
51
53
|
* // ],
|
|
52
54
|
* // ManagedBy: "STRING_VALUE",
|
|
@@ -474,6 +474,11 @@ export interface AssociateDataShareConsumerMessage {
|
|
|
474
474
|
* <p>From a datashare consumer account, associates a datashare with all existing and future namespaces in the specified Amazon Web Services Region.</p>
|
|
475
475
|
*/
|
|
476
476
|
ConsumerRegion?: string;
|
|
477
|
+
/**
|
|
478
|
+
* @public
|
|
479
|
+
* <p>If set to true, allows write operations for a datashare.</p>
|
|
480
|
+
*/
|
|
481
|
+
AllowWrites?: boolean;
|
|
477
482
|
}
|
|
478
483
|
/**
|
|
479
484
|
* @public
|
|
@@ -523,6 +528,16 @@ export interface DataShareAssociation {
|
|
|
523
528
|
* <p>The status change data of the datashare that is associated.</p>
|
|
524
529
|
*/
|
|
525
530
|
StatusChangeDate?: Date;
|
|
531
|
+
/**
|
|
532
|
+
* @public
|
|
533
|
+
* <p>Specifies whether write operations were allowed during data share authorization.</p>
|
|
534
|
+
*/
|
|
535
|
+
ProducerAllowedWrites?: boolean;
|
|
536
|
+
/**
|
|
537
|
+
* @public
|
|
538
|
+
* <p>Specifies whether write operations were allowed during data share association.</p>
|
|
539
|
+
*/
|
|
540
|
+
ConsumerAcceptedWrites?: boolean;
|
|
526
541
|
}
|
|
527
542
|
/**
|
|
528
543
|
* @public
|
|
@@ -928,6 +943,11 @@ export interface AuthorizeDataShareMessage {
|
|
|
928
943
|
* <p>The identifier of the data consumer that is authorized to access the datashare. This identifier is an Amazon Web Services account ID or a keyword, such as ADX.</p>
|
|
929
944
|
*/
|
|
930
945
|
ConsumerIdentifier: string | undefined;
|
|
946
|
+
/**
|
|
947
|
+
* @public
|
|
948
|
+
* <p>If set to true, allows write operations for a datashare.</p>
|
|
949
|
+
*/
|
|
950
|
+
AllowWrites?: boolean;
|
|
931
951
|
}
|
|
932
952
|
/**
|
|
933
953
|
* @public
|
|
@@ -180,6 +180,7 @@ export interface AssociateDataShareConsumerMessage {
|
|
|
180
180
|
AssociateEntireAccount?: boolean;
|
|
181
181
|
ConsumerArn?: string;
|
|
182
182
|
ConsumerRegion?: string;
|
|
183
|
+
AllowWrites?: boolean;
|
|
183
184
|
}
|
|
184
185
|
export declare const DataShareStatus: {
|
|
185
186
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -197,6 +198,8 @@ export interface DataShareAssociation {
|
|
|
197
198
|
ConsumerRegion?: string;
|
|
198
199
|
CreatedDate?: Date;
|
|
199
200
|
StatusChangeDate?: Date;
|
|
201
|
+
ProducerAllowedWrites?: boolean;
|
|
202
|
+
ConsumerAcceptedWrites?: boolean;
|
|
200
203
|
}
|
|
201
204
|
export interface DataShare {
|
|
202
205
|
DataShareArn?: string;
|
|
@@ -359,6 +362,7 @@ export declare class InvalidClusterSecurityGroupStateFault extends __BaseExcepti
|
|
|
359
362
|
export interface AuthorizeDataShareMessage {
|
|
360
363
|
DataShareArn: string | undefined;
|
|
361
364
|
ConsumerIdentifier: string | undefined;
|
|
365
|
+
AllowWrites?: boolean;
|
|
362
366
|
}
|
|
363
367
|
export interface AuthorizedTokenIssuer {
|
|
364
368
|
TrustedTokenIssuerArn?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-redshift",
|
|
3
3
|
"description": "AWS SDK for JavaScript Redshift Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.460.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,19 +21,19 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.460.0",
|
|
25
25
|
"@aws-sdk/core": "3.451.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-signing": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.460.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.460.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.460.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.460.0",
|
|
30
|
+
"@aws-sdk/middleware-signing": "3.460.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.460.0",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "3.451.0",
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/types": "3.460.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.460.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.460.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.460.0",
|
|
37
37
|
"@smithy/config-resolver": "^2.0.18",
|
|
38
38
|
"@smithy/fetch-http-handler": "^2.2.6",
|
|
39
39
|
"@smithy/hash-node": "^2.0.15",
|