@aws-sdk/client-redshift 3.896.0 → 3.899.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/dist-cjs/index.js +37 -0
- package/dist-es/protocols/Aws_query.js +41 -0
- package/dist-types/commands/CreateRedshiftIdcApplicationCommand.d.ts +24 -0
- package/dist-types/commands/DescribeRedshiftIdcApplicationsCommand.d.ts +9 -0
- package/dist-types/commands/ModifyRedshiftIdcApplicationCommand.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +24 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -9022,6 +9022,26 @@ var se_CreateRedshiftIdcApplicationMessage = /* @__PURE__ */ __name((input, cont
|
|
|
9022
9022
|
entries[loc] = value;
|
|
9023
9023
|
});
|
|
9024
9024
|
}
|
|
9025
|
+
if (input[_T] != null) {
|
|
9026
|
+
const memberEntries = se_TagList(input[_T], context);
|
|
9027
|
+
if (input[_T]?.length === 0) {
|
|
9028
|
+
entries.Tags = [];
|
|
9029
|
+
}
|
|
9030
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9031
|
+
const loc = `Tags.${key}`;
|
|
9032
|
+
entries[loc] = value;
|
|
9033
|
+
});
|
|
9034
|
+
}
|
|
9035
|
+
if (input[_STK] != null) {
|
|
9036
|
+
const memberEntries = se_TagKeyList(input[_STK], context);
|
|
9037
|
+
if (input[_STK]?.length === 0) {
|
|
9038
|
+
entries.SsoTagKeys = [];
|
|
9039
|
+
}
|
|
9040
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9041
|
+
const loc = `SsoTagKeys.${key}`;
|
|
9042
|
+
entries[loc] = value;
|
|
9043
|
+
});
|
|
9044
|
+
}
|
|
9025
9045
|
return entries;
|
|
9026
9046
|
}, "se_CreateRedshiftIdcApplicationMessage");
|
|
9027
9047
|
var se_CreateScheduledActionMessage = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -14802,6 +14822,16 @@ var de_RedshiftIdcApplication = /* @__PURE__ */ __name((output, context) => {
|
|
|
14802
14822
|
} else if (output[_SIe] != null && output[_SIe][_me] != null) {
|
|
14803
14823
|
contents[_SIe] = de_ServiceIntegrationList((0, import_smithy_client.getArrayIfSingleItem)(output[_SIe][_me]), context);
|
|
14804
14824
|
}
|
|
14825
|
+
if (String(output.Tags).trim() === "") {
|
|
14826
|
+
contents[_T] = [];
|
|
14827
|
+
} else if (output[_T] != null && output[_T][_Ta] != null) {
|
|
14828
|
+
contents[_T] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_Ta]), context);
|
|
14829
|
+
}
|
|
14830
|
+
if (String(output.SsoTagKeys).trim() === "") {
|
|
14831
|
+
contents[_STK] = [];
|
|
14832
|
+
} else if (output[_STK] != null && output[_STK][_TKa] != null) {
|
|
14833
|
+
contents[_STK] = de_TagKeyList((0, import_smithy_client.getArrayIfSingleItem)(output[_STK][_TKa]), context);
|
|
14834
|
+
}
|
|
14805
14835
|
return contents;
|
|
14806
14836
|
}, "de_RedshiftIdcApplication");
|
|
14807
14837
|
var de_RedshiftIdcApplicationAlreadyExistsFault = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -15975,6 +16005,11 @@ var de_TaggedResourceListMessage = /* @__PURE__ */ __name((output, context) => {
|
|
|
15975
16005
|
}
|
|
15976
16006
|
return contents;
|
|
15977
16007
|
}, "de_TaggedResourceListMessage");
|
|
16008
|
+
var de_TagKeyList = /* @__PURE__ */ __name((output, context) => {
|
|
16009
|
+
return (output || []).filter((e) => e != null).map((entry) => {
|
|
16010
|
+
return (0, import_smithy_client.expectString)(entry);
|
|
16011
|
+
});
|
|
16012
|
+
}, "de_TagKeyList");
|
|
15978
16013
|
var de_TagLimitExceededFault = /* @__PURE__ */ __name((output, context) => {
|
|
15979
16014
|
const contents = {};
|
|
15980
16015
|
if (output[_m] != null) {
|
|
@@ -16759,6 +16794,7 @@ var _SSn = "SnapshotSchedule";
|
|
|
16759
16794
|
var _SSu = "SubnetStatus";
|
|
16760
16795
|
var _ST = "SourceType";
|
|
16761
16796
|
var _STA = "SnsTopicArn";
|
|
16797
|
+
var _STK = "SsoTagKeys";
|
|
16762
16798
|
var _STN = "SourceTableName";
|
|
16763
16799
|
var _STn = "SnapshotType";
|
|
16764
16800
|
var _STna = "SnapshotTime";
|
|
@@ -16782,6 +16818,7 @@ var _TDIMB = "TotalDataInMegaBytes";
|
|
|
16782
16818
|
var _TDN = "TargetDatabaseName";
|
|
16783
16819
|
var _TET = "TargetEncryptionType";
|
|
16784
16820
|
var _TK = "TagKeys";
|
|
16821
|
+
var _TKa = "TagKey";
|
|
16785
16822
|
var _TL = "TagList";
|
|
16786
16823
|
var _TNON = "TargetNumberOfNodes";
|
|
16787
16824
|
var _TNT = "TargetNodeType";
|
|
@@ -5567,6 +5567,26 @@ const se_CreateRedshiftIdcApplicationMessage = (input, context) => {
|
|
|
5567
5567
|
entries[loc] = value;
|
|
5568
5568
|
});
|
|
5569
5569
|
}
|
|
5570
|
+
if (input[_T] != null) {
|
|
5571
|
+
const memberEntries = se_TagList(input[_T], context);
|
|
5572
|
+
if (input[_T]?.length === 0) {
|
|
5573
|
+
entries.Tags = [];
|
|
5574
|
+
}
|
|
5575
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5576
|
+
const loc = `Tags.${key}`;
|
|
5577
|
+
entries[loc] = value;
|
|
5578
|
+
});
|
|
5579
|
+
}
|
|
5580
|
+
if (input[_STK] != null) {
|
|
5581
|
+
const memberEntries = se_TagKeyList(input[_STK], context);
|
|
5582
|
+
if (input[_STK]?.length === 0) {
|
|
5583
|
+
entries.SsoTagKeys = [];
|
|
5584
|
+
}
|
|
5585
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5586
|
+
const loc = `SsoTagKeys.${key}`;
|
|
5587
|
+
entries[loc] = value;
|
|
5588
|
+
});
|
|
5589
|
+
}
|
|
5570
5590
|
return entries;
|
|
5571
5591
|
};
|
|
5572
5592
|
const se_CreateScheduledActionMessage = (input, context) => {
|
|
@@ -11541,6 +11561,18 @@ const de_RedshiftIdcApplication = (output, context) => {
|
|
|
11541
11561
|
else if (output[_SIe] != null && output[_SIe][_me] != null) {
|
|
11542
11562
|
contents[_SIe] = de_ServiceIntegrationList(__getArrayIfSingleItem(output[_SIe][_me]), context);
|
|
11543
11563
|
}
|
|
11564
|
+
if (String(output.Tags).trim() === "") {
|
|
11565
|
+
contents[_T] = [];
|
|
11566
|
+
}
|
|
11567
|
+
else if (output[_T] != null && output[_T][_Ta] != null) {
|
|
11568
|
+
contents[_T] = de_TagList(__getArrayIfSingleItem(output[_T][_Ta]), context);
|
|
11569
|
+
}
|
|
11570
|
+
if (String(output.SsoTagKeys).trim() === "") {
|
|
11571
|
+
contents[_STK] = [];
|
|
11572
|
+
}
|
|
11573
|
+
else if (output[_STK] != null && output[_STK][_TKa] != null) {
|
|
11574
|
+
contents[_STK] = de_TagKeyList(__getArrayIfSingleItem(output[_STK][_TKa]), context);
|
|
11575
|
+
}
|
|
11544
11576
|
return contents;
|
|
11545
11577
|
};
|
|
11546
11578
|
const de_RedshiftIdcApplicationAlreadyExistsFault = (output, context) => {
|
|
@@ -12786,6 +12818,13 @@ const de_TaggedResourceListMessage = (output, context) => {
|
|
|
12786
12818
|
}
|
|
12787
12819
|
return contents;
|
|
12788
12820
|
};
|
|
12821
|
+
const de_TagKeyList = (output, context) => {
|
|
12822
|
+
return (output || [])
|
|
12823
|
+
.filter((e) => e != null)
|
|
12824
|
+
.map((entry) => {
|
|
12825
|
+
return __expectString(entry);
|
|
12826
|
+
});
|
|
12827
|
+
};
|
|
12789
12828
|
const de_TagLimitExceededFault = (output, context) => {
|
|
12790
12829
|
const contents = {};
|
|
12791
12830
|
if (output[_m] != null) {
|
|
@@ -13590,6 +13629,7 @@ const _SSn = "SnapshotSchedule";
|
|
|
13590
13629
|
const _SSu = "SubnetStatus";
|
|
13591
13630
|
const _ST = "SourceType";
|
|
13592
13631
|
const _STA = "SnsTopicArn";
|
|
13632
|
+
const _STK = "SsoTagKeys";
|
|
13593
13633
|
const _STN = "SourceTableName";
|
|
13594
13634
|
const _STn = "SnapshotType";
|
|
13595
13635
|
const _STna = "SnapshotTime";
|
|
@@ -13613,6 +13653,7 @@ const _TDIMB = "TotalDataInMegaBytes";
|
|
|
13613
13653
|
const _TDN = "TargetDatabaseName";
|
|
13614
13654
|
const _TET = "TargetEncryptionType";
|
|
13615
13655
|
const _TK = "TagKeys";
|
|
13656
|
+
const _TKa = "TagKey";
|
|
13616
13657
|
const _TL = "TagList";
|
|
13617
13658
|
const _TNON = "TargetNumberOfNodes";
|
|
13618
13659
|
const _TNT = "TargetNodeType";
|
|
@@ -68,6 +68,15 @@ declare const CreateRedshiftIdcApplicationCommand_base: {
|
|
|
68
68
|
* ],
|
|
69
69
|
* },
|
|
70
70
|
* ],
|
|
71
|
+
* Tags: [ // TagList
|
|
72
|
+
* { // Tag
|
|
73
|
+
* Key: "STRING_VALUE",
|
|
74
|
+
* Value: "STRING_VALUE",
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
77
|
+
* SsoTagKeys: [ // TagKeyList
|
|
78
|
+
* "STRING_VALUE",
|
|
79
|
+
* ],
|
|
71
80
|
* };
|
|
72
81
|
* const command = new CreateRedshiftIdcApplicationCommand(input);
|
|
73
82
|
* const response = await client.send(command);
|
|
@@ -107,6 +116,15 @@ declare const CreateRedshiftIdcApplicationCommand_base: {
|
|
|
107
116
|
* // ],
|
|
108
117
|
* // },
|
|
109
118
|
* // ],
|
|
119
|
+
* // Tags: [ // TagList
|
|
120
|
+
* // { // Tag
|
|
121
|
+
* // Key: "STRING_VALUE",
|
|
122
|
+
* // Value: "STRING_VALUE",
|
|
123
|
+
* // },
|
|
124
|
+
* // ],
|
|
125
|
+
* // SsoTagKeys: [ // TagKeyList
|
|
126
|
+
* // "STRING_VALUE",
|
|
127
|
+
* // ],
|
|
110
128
|
* // },
|
|
111
129
|
* // };
|
|
112
130
|
*
|
|
@@ -125,12 +143,18 @@ declare const CreateRedshiftIdcApplicationCommand_base: {
|
|
|
125
143
|
* <p>Your request cannot be completed because a dependent internal service is
|
|
126
144
|
* temporarily unavailable. Wait 30 to 60 seconds and try again.</p>
|
|
127
145
|
*
|
|
146
|
+
* @throws {@link InvalidTagFault} (client fault)
|
|
147
|
+
* <p>The tag is invalid.</p>
|
|
148
|
+
*
|
|
128
149
|
* @throws {@link RedshiftIdcApplicationAlreadyExistsFault} (client fault)
|
|
129
150
|
* <p>The application you attempted to add already exists.</p>
|
|
130
151
|
*
|
|
131
152
|
* @throws {@link RedshiftIdcApplicationQuotaExceededFault} (client fault)
|
|
132
153
|
* <p>The maximum number of Redshift IAM Identity Center applications was exceeded.</p>
|
|
133
154
|
*
|
|
155
|
+
* @throws {@link TagLimitExceededFault} (client fault)
|
|
156
|
+
* <p>You have exceeded the number of tags allowed.</p>
|
|
157
|
+
*
|
|
134
158
|
* @throws {@link UnsupportedOperationFault} (client fault)
|
|
135
159
|
* <p>The requested operation isn't supported.</p>
|
|
136
160
|
*
|
|
@@ -80,6 +80,15 @@ declare const DescribeRedshiftIdcApplicationsCommand_base: {
|
|
|
80
80
|
* // ],
|
|
81
81
|
* // },
|
|
82
82
|
* // ],
|
|
83
|
+
* // Tags: [ // TagList
|
|
84
|
+
* // { // Tag
|
|
85
|
+
* // Key: "STRING_VALUE",
|
|
86
|
+
* // Value: "STRING_VALUE",
|
|
87
|
+
* // },
|
|
88
|
+
* // ],
|
|
89
|
+
* // SsoTagKeys: [ // TagKeyList
|
|
90
|
+
* // "STRING_VALUE",
|
|
91
|
+
* // ],
|
|
83
92
|
* // },
|
|
84
93
|
* // ],
|
|
85
94
|
* // Marker: "STRING_VALUE",
|
|
@@ -106,6 +106,15 @@ declare const ModifyRedshiftIdcApplicationCommand_base: {
|
|
|
106
106
|
* // ],
|
|
107
107
|
* // },
|
|
108
108
|
* // ],
|
|
109
|
+
* // Tags: [ // TagList
|
|
110
|
+
* // { // Tag
|
|
111
|
+
* // Key: "STRING_VALUE",
|
|
112
|
+
* // Value: "STRING_VALUE",
|
|
113
|
+
* // },
|
|
114
|
+
* // ],
|
|
115
|
+
* // SsoTagKeys: [ // TagKeyList
|
|
116
|
+
* // "STRING_VALUE",
|
|
117
|
+
* // ],
|
|
109
118
|
* // },
|
|
110
119
|
* // };
|
|
111
120
|
*
|
|
@@ -5512,6 +5512,18 @@ export interface CreateRedshiftIdcApplicationMessage {
|
|
|
5512
5512
|
* @public
|
|
5513
5513
|
*/
|
|
5514
5514
|
ServiceIntegrations?: ServiceIntegrationsUnion[] | undefined;
|
|
5515
|
+
/**
|
|
5516
|
+
* <p>A list of tags.</p>
|
|
5517
|
+
* @public
|
|
5518
|
+
*/
|
|
5519
|
+
Tags?: Tag[] | undefined;
|
|
5520
|
+
/**
|
|
5521
|
+
* <p>A list of tags keys that Redshift Identity Center applications copy to IAM Identity
|
|
5522
|
+
* Center. For each input key, the tag corresponding to the key-value pair is
|
|
5523
|
+
* propagated.</p>
|
|
5524
|
+
* @public
|
|
5525
|
+
*/
|
|
5526
|
+
SsoTagKeys?: string[] | undefined;
|
|
5515
5527
|
}
|
|
5516
5528
|
/**
|
|
5517
5529
|
* <p>Contains properties for the Redshift IDC application.</p>
|
|
@@ -5568,6 +5580,18 @@ export interface RedshiftIdcApplication {
|
|
|
5568
5580
|
* @public
|
|
5569
5581
|
*/
|
|
5570
5582
|
ServiceIntegrations?: ServiceIntegrationsUnion[] | undefined;
|
|
5583
|
+
/**
|
|
5584
|
+
* <p>A list of tags.</p>
|
|
5585
|
+
* @public
|
|
5586
|
+
*/
|
|
5587
|
+
Tags?: Tag[] | undefined;
|
|
5588
|
+
/**
|
|
5589
|
+
* <p>A list of tags keys that Redshift Identity Center applications copy to IAM Identity
|
|
5590
|
+
* Center. For each input key, the tag corresponding to the key-value pair is
|
|
5591
|
+
* propagated.</p>
|
|
5592
|
+
* @public
|
|
5593
|
+
*/
|
|
5594
|
+
SsoTagKeys?: string[] | undefined;
|
|
5571
5595
|
}
|
|
5572
5596
|
/**
|
|
5573
5597
|
* @public
|
|
@@ -1649,6 +1649,8 @@ export interface CreateRedshiftIdcApplicationMessage {
|
|
|
1649
1649
|
IamRoleArn: string | undefined;
|
|
1650
1650
|
AuthorizedTokenIssuerList?: AuthorizedTokenIssuer[] | undefined;
|
|
1651
1651
|
ServiceIntegrations?: ServiceIntegrationsUnion[] | undefined;
|
|
1652
|
+
Tags?: Tag[] | undefined;
|
|
1653
|
+
SsoTagKeys?: string[] | undefined;
|
|
1652
1654
|
}
|
|
1653
1655
|
export interface RedshiftIdcApplication {
|
|
1654
1656
|
IdcInstanceArn?: string | undefined;
|
|
@@ -1661,6 +1663,8 @@ export interface RedshiftIdcApplication {
|
|
|
1661
1663
|
IdcOnboardStatus?: string | undefined;
|
|
1662
1664
|
AuthorizedTokenIssuerList?: AuthorizedTokenIssuer[] | undefined;
|
|
1663
1665
|
ServiceIntegrations?: ServiceIntegrationsUnion[] | undefined;
|
|
1666
|
+
Tags?: Tag[] | undefined;
|
|
1667
|
+
SsoTagKeys?: string[] | undefined;
|
|
1664
1668
|
}
|
|
1665
1669
|
export interface CreateRedshiftIdcApplicationResult {
|
|
1666
1670
|
RedshiftIdcApplication?: RedshiftIdcApplication | undefined;
|
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.899.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-redshift",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.899.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.899.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.893.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.893.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.893.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.899.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.893.0",
|
|
30
30
|
"@aws-sdk/types": "3.893.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.895.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.893.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.899.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.2.2",
|
|
35
|
-
"@smithy/core": "^3.
|
|
35
|
+
"@smithy/core": "^3.13.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.2.1",
|
|
37
37
|
"@smithy/hash-node": "^4.1.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.1.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.1.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.2.
|
|
41
|
-
"@smithy/middleware-retry": "^4.3.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.2.5",
|
|
41
|
+
"@smithy/middleware-retry": "^4.3.1",
|
|
42
42
|
"@smithy/middleware-serde": "^4.1.1",
|
|
43
43
|
"@smithy/middleware-stack": "^4.1.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.2.2",
|
|
45
45
|
"@smithy/node-http-handler": "^4.2.1",
|
|
46
46
|
"@smithy/protocol-http": "^5.2.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.6.
|
|
47
|
+
"@smithy/smithy-client": "^4.6.5",
|
|
48
48
|
"@smithy/types": "^4.5.0",
|
|
49
49
|
"@smithy/url-parser": "^4.1.1",
|
|
50
50
|
"@smithy/util-base64": "^4.1.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.1.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.1.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.1.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.1.5",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.1.5",
|
|
55
55
|
"@smithy/util-endpoints": "^3.1.2",
|
|
56
56
|
"@smithy/util-middleware": "^4.1.1",
|
|
57
57
|
"@smithy/util-retry": "^4.1.2",
|