@aws-sdk/client-redshift-serverless 3.614.0 → 3.617.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 -5
- package/dist-es/RedshiftServerlessClient.js +5 -5
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/protocols/Aws_json1_1.js +14 -1
- package/dist-types/RedshiftServerlessClient.d.ts +2 -2
- package/dist-types/commands/CreateEndpointAccessCommand.d.ts +1 -0
- package/dist-types/commands/CreateWorkgroupCommand.d.ts +6 -0
- package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +1 -0
- package/dist-types/commands/DeleteWorkgroupCommand.d.ts +2 -0
- package/dist-types/commands/GetEndpointAccessCommand.d.ts +1 -0
- package/dist-types/commands/GetWorkgroupCommand.d.ts +2 -0
- package/dist-types/commands/ListEndpointAccessCommand.d.ts +1 -0
- package/dist-types/commands/ListWorkgroupsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateEndpointAccessCommand.d.ts +1 -0
- package/dist-types/commands/UpdateWorkgroupCommand.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +35 -3
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +11 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -60,6 +60,7 @@ __export(src_exports, {
|
|
|
60
60
|
InsufficientCapacityException: () => InsufficientCapacityException,
|
|
61
61
|
InternalServerException: () => InternalServerException,
|
|
62
62
|
InvalidPaginationException: () => InvalidPaginationException,
|
|
63
|
+
Ipv6CidrBlockNotFoundException: () => Ipv6CidrBlockNotFoundException,
|
|
63
64
|
ListCustomDomainAssociationsCommand: () => ListCustomDomainAssociationsCommand,
|
|
64
65
|
ListEndpointAccessCommand: () => ListEndpointAccessCommand,
|
|
65
66
|
ListNamespacesCommand: () => ListNamespacesCommand,
|
|
@@ -226,19 +227,19 @@ var _RedshiftServerlessClient = class _RedshiftServerlessClient extends import_s
|
|
|
226
227
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
227
228
|
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
228
229
|
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
229
|
-
const _config_4 = (0,
|
|
230
|
-
const _config_5 = (0,
|
|
231
|
-
const _config_6 = (0,
|
|
230
|
+
const _config_4 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_3);
|
|
231
|
+
const _config_5 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_4);
|
|
232
|
+
const _config_6 = (0, import_middleware_retry.resolveRetryConfig)(_config_5);
|
|
232
233
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
233
234
|
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
234
235
|
super(_config_8);
|
|
235
236
|
this.config = _config_8;
|
|
236
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
237
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
238
237
|
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
239
238
|
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
240
239
|
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
241
240
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
241
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
242
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
242
243
|
this.middlewareStack.use(
|
|
243
244
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
244
245
|
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
@@ -518,6 +519,23 @@ var _InsufficientCapacityException = class _InsufficientCapacityException extend
|
|
|
518
519
|
};
|
|
519
520
|
__name(_InsufficientCapacityException, "InsufficientCapacityException");
|
|
520
521
|
var InsufficientCapacityException = _InsufficientCapacityException;
|
|
522
|
+
var _Ipv6CidrBlockNotFoundException = class _Ipv6CidrBlockNotFoundException extends RedshiftServerlessServiceException {
|
|
523
|
+
/**
|
|
524
|
+
* @internal
|
|
525
|
+
*/
|
|
526
|
+
constructor(opts) {
|
|
527
|
+
super({
|
|
528
|
+
name: "Ipv6CidrBlockNotFoundException",
|
|
529
|
+
$fault: "client",
|
|
530
|
+
...opts
|
|
531
|
+
});
|
|
532
|
+
this.name = "Ipv6CidrBlockNotFoundException";
|
|
533
|
+
this.$fault = "client";
|
|
534
|
+
Object.setPrototypeOf(this, _Ipv6CidrBlockNotFoundException.prototype);
|
|
535
|
+
}
|
|
536
|
+
};
|
|
537
|
+
__name(_Ipv6CidrBlockNotFoundException, "Ipv6CidrBlockNotFoundException");
|
|
538
|
+
var Ipv6CidrBlockNotFoundException = _Ipv6CidrBlockNotFoundException;
|
|
521
539
|
var _InvalidPaginationException = class _InvalidPaginationException extends RedshiftServerlessServiceException {
|
|
522
540
|
/**
|
|
523
541
|
* @internal
|
|
@@ -1663,6 +1681,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1663
1681
|
case "InsufficientCapacityException":
|
|
1664
1682
|
case "com.amazonaws.redshiftserverless#InsufficientCapacityException":
|
|
1665
1683
|
throw await de_InsufficientCapacityExceptionRes(parsedOutput, context);
|
|
1684
|
+
case "Ipv6CidrBlockNotFoundException":
|
|
1685
|
+
case "com.amazonaws.redshiftserverless#Ipv6CidrBlockNotFoundException":
|
|
1686
|
+
throw await de_Ipv6CidrBlockNotFoundExceptionRes(parsedOutput, context);
|
|
1666
1687
|
case "InvalidPaginationException":
|
|
1667
1688
|
case "com.amazonaws.redshiftserverless#InvalidPaginationException":
|
|
1668
1689
|
throw await de_InvalidPaginationExceptionRes(parsedOutput, context);
|
|
@@ -1720,6 +1741,15 @@ var de_InvalidPaginationExceptionRes = /* @__PURE__ */ __name(async (parsedOutpu
|
|
|
1720
1741
|
});
|
|
1721
1742
|
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1722
1743
|
}, "de_InvalidPaginationExceptionRes");
|
|
1744
|
+
var de_Ipv6CidrBlockNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1745
|
+
const body = parsedOutput.body;
|
|
1746
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1747
|
+
const exception = new Ipv6CidrBlockNotFoundException({
|
|
1748
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1749
|
+
...deserialized
|
|
1750
|
+
});
|
|
1751
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1752
|
+
}, "de_Ipv6CidrBlockNotFoundExceptionRes");
|
|
1723
1753
|
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1724
1754
|
const body = parsedOutput.body;
|
|
1725
1755
|
const deserialized = (0, import_smithy_client._json)(body);
|
|
@@ -2204,6 +2234,7 @@ var de_Workgroup = /* @__PURE__ */ __name((output, context) => {
|
|
|
2204
2234
|
customDomainName: import_smithy_client.expectString,
|
|
2205
2235
|
endpoint: import_smithy_client._json,
|
|
2206
2236
|
enhancedVpcRouting: import_smithy_client.expectBoolean,
|
|
2237
|
+
ipAddressType: import_smithy_client.expectString,
|
|
2207
2238
|
maxCapacity: import_smithy_client.expectInt32,
|
|
2208
2239
|
namespaceName: import_smithy_client.expectString,
|
|
2209
2240
|
patchVersion: import_smithy_client.expectString,
|
|
@@ -3329,6 +3360,7 @@ var paginateListWorkgroups = (0, import_core.createPaginator)(RedshiftServerless
|
|
|
3329
3360
|
UsageLimitUsageType,
|
|
3330
3361
|
WorkgroupStatus,
|
|
3331
3362
|
InsufficientCapacityException,
|
|
3363
|
+
Ipv6CidrBlockNotFoundException,
|
|
3332
3364
|
InvalidPaginationException,
|
|
3333
3365
|
CreateNamespaceRequestFilterSensitiveLog,
|
|
3334
3366
|
NamespaceFilterSensitiveLog,
|
|
@@ -19,19 +19,19 @@ export class RedshiftServerlessClient extends __Client {
|
|
|
19
19
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
20
20
|
const _config_2 = resolveRegionConfig(_config_1);
|
|
21
21
|
const _config_3 = resolveEndpointConfig(_config_2);
|
|
22
|
-
const _config_4 =
|
|
23
|
-
const _config_5 =
|
|
24
|
-
const _config_6 =
|
|
22
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
23
|
+
const _config_5 = resolveUserAgentConfig(_config_4);
|
|
24
|
+
const _config_6 = resolveRetryConfig(_config_5);
|
|
25
25
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
26
26
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
27
27
|
super(_config_8);
|
|
28
28
|
this.config = _config_8;
|
|
29
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
30
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
31
29
|
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
32
30
|
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
33
31
|
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
34
32
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
34
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
35
35
|
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
36
36
|
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
37
37
|
identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
|
|
@@ -175,6 +175,18 @@ export class InsufficientCapacityException extends __BaseException {
|
|
|
175
175
|
Object.setPrototypeOf(this, InsufficientCapacityException.prototype);
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
+
export class Ipv6CidrBlockNotFoundException extends __BaseException {
|
|
179
|
+
constructor(opts) {
|
|
180
|
+
super({
|
|
181
|
+
name: "Ipv6CidrBlockNotFoundException",
|
|
182
|
+
$fault: "client",
|
|
183
|
+
...opts,
|
|
184
|
+
});
|
|
185
|
+
this.name = "Ipv6CidrBlockNotFoundException";
|
|
186
|
+
this.$fault = "client";
|
|
187
|
+
Object.setPrototypeOf(this, Ipv6CidrBlockNotFoundException.prototype);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
178
190
|
export class InvalidPaginationException extends __BaseException {
|
|
179
191
|
constructor(opts) {
|
|
180
192
|
super({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { AccessDeniedException, ConflictException, InsufficientCapacityException, InternalServerException, InvalidPaginationException, ResourceNotFoundException, Schedule, ServiceQuotaExceededException, ThrottlingException, TooManyTagsException, ValidationException, } from "../models/models_0";
|
|
4
|
+
import { AccessDeniedException, ConflictException, InsufficientCapacityException, InternalServerException, InvalidPaginationException, Ipv6CidrBlockNotFoundException, ResourceNotFoundException, Schedule, ServiceQuotaExceededException, ThrottlingException, TooManyTagsException, ValidationException, } from "../models/models_0";
|
|
5
5
|
import { RedshiftServerlessServiceException as __BaseException } from "../models/RedshiftServerlessServiceException";
|
|
6
6
|
export const se_ConvertRecoveryPointToSnapshotCommand = async (input, context) => {
|
|
7
7
|
const headers = sharedHeaders("ConvertRecoveryPointToSnapshot");
|
|
@@ -1082,6 +1082,9 @@ const de_CommandError = async (output, context) => {
|
|
|
1082
1082
|
case "InsufficientCapacityException":
|
|
1083
1083
|
case "com.amazonaws.redshiftserverless#InsufficientCapacityException":
|
|
1084
1084
|
throw await de_InsufficientCapacityExceptionRes(parsedOutput, context);
|
|
1085
|
+
case "Ipv6CidrBlockNotFoundException":
|
|
1086
|
+
case "com.amazonaws.redshiftserverless#Ipv6CidrBlockNotFoundException":
|
|
1087
|
+
throw await de_Ipv6CidrBlockNotFoundExceptionRes(parsedOutput, context);
|
|
1085
1088
|
case "InvalidPaginationException":
|
|
1086
1089
|
case "com.amazonaws.redshiftserverless#InvalidPaginationException":
|
|
1087
1090
|
throw await de_InvalidPaginationExceptionRes(parsedOutput, context);
|
|
@@ -1139,6 +1142,15 @@ const de_InvalidPaginationExceptionRes = async (parsedOutput, context) => {
|
|
|
1139
1142
|
});
|
|
1140
1143
|
return __decorateServiceException(exception, body);
|
|
1141
1144
|
};
|
|
1145
|
+
const de_Ipv6CidrBlockNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1146
|
+
const body = parsedOutput.body;
|
|
1147
|
+
const deserialized = _json(body);
|
|
1148
|
+
const exception = new Ipv6CidrBlockNotFoundException({
|
|
1149
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1150
|
+
...deserialized,
|
|
1151
|
+
});
|
|
1152
|
+
return __decorateServiceException(exception, body);
|
|
1153
|
+
};
|
|
1142
1154
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1143
1155
|
const body = parsedOutput.body;
|
|
1144
1156
|
const deserialized = _json(body);
|
|
@@ -1637,6 +1649,7 @@ const de_Workgroup = (output, context) => {
|
|
|
1637
1649
|
customDomainName: __expectString,
|
|
1638
1650
|
endpoint: _json,
|
|
1639
1651
|
enhancedVpcRouting: __expectBoolean,
|
|
1652
|
+
ipAddressType: __expectString,
|
|
1640
1653
|
maxCapacity: __expectInt32,
|
|
1641
1654
|
namespaceName: __expectString,
|
|
1642
1655
|
patchVersion: __expectString,
|
|
@@ -186,7 +186,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
186
186
|
/**
|
|
187
187
|
* @public
|
|
188
188
|
*/
|
|
189
|
-
export type RedshiftServerlessClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> &
|
|
189
|
+
export type RedshiftServerlessClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & HostHeaderInputConfig & UserAgentInputConfig & RetryInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
190
190
|
/**
|
|
191
191
|
* @public
|
|
192
192
|
*
|
|
@@ -197,7 +197,7 @@ export interface RedshiftServerlessClientConfig extends RedshiftServerlessClient
|
|
|
197
197
|
/**
|
|
198
198
|
* @public
|
|
199
199
|
*/
|
|
200
|
-
export type RedshiftServerlessClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> &
|
|
200
|
+
export type RedshiftServerlessClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HostHeaderResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
201
201
|
/**
|
|
202
202
|
* @public
|
|
203
203
|
*
|
|
@@ -60,6 +60,7 @@ declare const CreateWorkgroupCommand_base: {
|
|
|
60
60
|
* ],
|
|
61
61
|
* port: Number("int"),
|
|
62
62
|
* maxCapacity: Number("int"),
|
|
63
|
+
* ipAddressType: "STRING_VALUE",
|
|
63
64
|
* };
|
|
64
65
|
* const command = new CreateWorkgroupCommand(input);
|
|
65
66
|
* const response = await client.send(command);
|
|
@@ -97,6 +98,7 @@ declare const CreateWorkgroupCommand_base: {
|
|
|
97
98
|
* // subnetId: "STRING_VALUE",
|
|
98
99
|
* // privateIpAddress: "STRING_VALUE",
|
|
99
100
|
* // availabilityZone: "STRING_VALUE",
|
|
101
|
+
* // ipv6Address: "STRING_VALUE",
|
|
100
102
|
* // },
|
|
101
103
|
* // ],
|
|
102
104
|
* // },
|
|
@@ -114,6 +116,7 @@ declare const CreateWorkgroupCommand_base: {
|
|
|
114
116
|
* // crossAccountVpcs: [ // VpcIds
|
|
115
117
|
* // "STRING_VALUE",
|
|
116
118
|
* // ],
|
|
119
|
+
* // ipAddressType: "STRING_VALUE",
|
|
117
120
|
* // },
|
|
118
121
|
* // };
|
|
119
122
|
*
|
|
@@ -134,6 +137,9 @@ declare const CreateWorkgroupCommand_base: {
|
|
|
134
137
|
* @throws {@link InternalServerException} (server fault)
|
|
135
138
|
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
136
139
|
*
|
|
140
|
+
* @throws {@link Ipv6CidrBlockNotFoundException} (client fault)
|
|
141
|
+
* <p>There are no subnets in your VPC with associated IPv6 CIDR blocks. To use dual-stack mode, associate an IPv6 CIDR block with each subnet in your VPC.</p>
|
|
142
|
+
*
|
|
137
143
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
138
144
|
* <p>The resource could not be found.</p>
|
|
139
145
|
*
|
|
@@ -73,6 +73,7 @@ declare const DeleteWorkgroupCommand_base: {
|
|
|
73
73
|
* // subnetId: "STRING_VALUE",
|
|
74
74
|
* // privateIpAddress: "STRING_VALUE",
|
|
75
75
|
* // availabilityZone: "STRING_VALUE",
|
|
76
|
+
* // ipv6Address: "STRING_VALUE",
|
|
76
77
|
* // },
|
|
77
78
|
* // ],
|
|
78
79
|
* // },
|
|
@@ -90,6 +91,7 @@ declare const DeleteWorkgroupCommand_base: {
|
|
|
90
91
|
* // crossAccountVpcs: [ // VpcIds
|
|
91
92
|
* // "STRING_VALUE",
|
|
92
93
|
* // ],
|
|
94
|
+
* // ipAddressType: "STRING_VALUE",
|
|
93
95
|
* // },
|
|
94
96
|
* // };
|
|
95
97
|
*
|
|
@@ -73,6 +73,7 @@ declare const GetWorkgroupCommand_base: {
|
|
|
73
73
|
* // subnetId: "STRING_VALUE",
|
|
74
74
|
* // privateIpAddress: "STRING_VALUE",
|
|
75
75
|
* // availabilityZone: "STRING_VALUE",
|
|
76
|
+
* // ipv6Address: "STRING_VALUE",
|
|
76
77
|
* // },
|
|
77
78
|
* // ],
|
|
78
79
|
* // },
|
|
@@ -90,6 +91,7 @@ declare const GetWorkgroupCommand_base: {
|
|
|
90
91
|
* // crossAccountVpcs: [ // VpcIds
|
|
91
92
|
* // "STRING_VALUE",
|
|
92
93
|
* // ],
|
|
94
|
+
* // ipAddressType: "STRING_VALUE",
|
|
93
95
|
* // },
|
|
94
96
|
* // };
|
|
95
97
|
*
|
|
@@ -77,6 +77,7 @@ declare const ListWorkgroupsCommand_base: {
|
|
|
77
77
|
* // subnetId: "STRING_VALUE",
|
|
78
78
|
* // privateIpAddress: "STRING_VALUE",
|
|
79
79
|
* // availabilityZone: "STRING_VALUE",
|
|
80
|
+
* // ipv6Address: "STRING_VALUE",
|
|
80
81
|
* // },
|
|
81
82
|
* // ],
|
|
82
83
|
* // },
|
|
@@ -94,6 +95,7 @@ declare const ListWorkgroupsCommand_base: {
|
|
|
94
95
|
* // crossAccountVpcs: [ // VpcIds
|
|
95
96
|
* // "STRING_VALUE",
|
|
96
97
|
* // ],
|
|
98
|
+
* // ipAddressType: "STRING_VALUE",
|
|
97
99
|
* // },
|
|
98
100
|
* // ],
|
|
99
101
|
* // };
|
|
@@ -54,6 +54,7 @@ declare const UpdateWorkgroupCommand_base: {
|
|
|
54
54
|
* ],
|
|
55
55
|
* port: Number("int"),
|
|
56
56
|
* maxCapacity: Number("int"),
|
|
57
|
+
* ipAddressType: "STRING_VALUE",
|
|
57
58
|
* };
|
|
58
59
|
* const command = new UpdateWorkgroupCommand(input);
|
|
59
60
|
* const response = await client.send(command);
|
|
@@ -91,6 +92,7 @@ declare const UpdateWorkgroupCommand_base: {
|
|
|
91
92
|
* // subnetId: "STRING_VALUE",
|
|
92
93
|
* // privateIpAddress: "STRING_VALUE",
|
|
93
94
|
* // availabilityZone: "STRING_VALUE",
|
|
95
|
+
* // ipv6Address: "STRING_VALUE",
|
|
94
96
|
* // },
|
|
95
97
|
* // ],
|
|
96
98
|
* // },
|
|
@@ -108,6 +110,7 @@ declare const UpdateWorkgroupCommand_base: {
|
|
|
108
110
|
* // crossAccountVpcs: [ // VpcIds
|
|
109
111
|
* // "STRING_VALUE",
|
|
110
112
|
* // ],
|
|
113
|
+
* // ipAddressType: "STRING_VALUE",
|
|
111
114
|
* // },
|
|
112
115
|
* // };
|
|
113
116
|
*
|
|
@@ -128,6 +131,9 @@ declare const UpdateWorkgroupCommand_base: {
|
|
|
128
131
|
* @throws {@link InternalServerException} (server fault)
|
|
129
132
|
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
130
133
|
*
|
|
134
|
+
* @throws {@link Ipv6CidrBlockNotFoundException} (client fault)
|
|
135
|
+
* <p>There are no subnets in your VPC with associated IPv6 CIDR blocks. To use dual-stack mode, associate an IPv6 CIDR block with each subnet in your VPC.</p>
|
|
136
|
+
*
|
|
131
137
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
132
138
|
* <p>The resource could not be found.</p>
|
|
133
139
|
*
|
|
@@ -447,6 +447,11 @@ export interface NetworkInterface {
|
|
|
447
447
|
* @public
|
|
448
448
|
*/
|
|
449
449
|
availabilityZone?: string;
|
|
450
|
+
/**
|
|
451
|
+
* <p>The IPv6 address of the network interface within the subnet.</p>
|
|
452
|
+
* @public
|
|
453
|
+
*/
|
|
454
|
+
ipv6Address?: string;
|
|
450
455
|
}
|
|
451
456
|
/**
|
|
452
457
|
* <p>The connection endpoint for connecting to Amazon Redshift Serverless through the proxy.</p>
|
|
@@ -875,7 +880,7 @@ export interface CreateScheduledActionRequest {
|
|
|
875
880
|
* <p>The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action.
|
|
876
881
|
* This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots. (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf.
|
|
877
882
|
* For more information about the IAM role to use with the Amazon Redshift scheduler, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html">Using Identity-Based Policies for
|
|
878
|
-
* Amazon Redshift</a> in the Amazon Redshift
|
|
883
|
+
* Amazon Redshift</a> in the Amazon Redshift Management Guide</p>
|
|
879
884
|
* @public
|
|
880
885
|
*/
|
|
881
886
|
roleArn: string | undefined;
|
|
@@ -956,7 +961,7 @@ export interface ScheduledActionResponse {
|
|
|
956
961
|
* <p>The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action.
|
|
957
962
|
* This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots. (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf.
|
|
958
963
|
* For more information about the IAM role to use with the Amazon Redshift scheduler, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html">Using Identity-Based Policies for
|
|
959
|
-
* Amazon Redshift</a> in the Amazon Redshift
|
|
964
|
+
* Amazon Redshift</a> in the Amazon Redshift Management Guide</p>
|
|
960
965
|
* @public
|
|
961
966
|
*/
|
|
962
967
|
roleArn?: string;
|
|
@@ -1294,6 +1299,11 @@ export interface CreateWorkgroupRequest {
|
|
|
1294
1299
|
* @public
|
|
1295
1300
|
*/
|
|
1296
1301
|
maxCapacity?: number;
|
|
1302
|
+
/**
|
|
1303
|
+
* <p>The IP address type that the workgroup supports. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>
|
|
1304
|
+
* @public
|
|
1305
|
+
*/
|
|
1306
|
+
ipAddressType?: string;
|
|
1297
1307
|
}
|
|
1298
1308
|
/**
|
|
1299
1309
|
* <p>The VPC endpoint object.</p>
|
|
@@ -1445,6 +1455,11 @@ export interface Workgroup {
|
|
|
1445
1455
|
* @public
|
|
1446
1456
|
*/
|
|
1447
1457
|
crossAccountVpcs?: string[];
|
|
1458
|
+
/**
|
|
1459
|
+
* <p>The IP address type that the workgroup supports. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>
|
|
1460
|
+
* @public
|
|
1461
|
+
*/
|
|
1462
|
+
ipAddressType?: string;
|
|
1448
1463
|
}
|
|
1449
1464
|
/**
|
|
1450
1465
|
* @public
|
|
@@ -1469,6 +1484,18 @@ export declare class InsufficientCapacityException extends __BaseException {
|
|
|
1469
1484
|
*/
|
|
1470
1485
|
constructor(opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>);
|
|
1471
1486
|
}
|
|
1487
|
+
/**
|
|
1488
|
+
* <p>There are no subnets in your VPC with associated IPv6 CIDR blocks. To use dual-stack mode, associate an IPv6 CIDR block with each subnet in your VPC.</p>
|
|
1489
|
+
* @public
|
|
1490
|
+
*/
|
|
1491
|
+
export declare class Ipv6CidrBlockNotFoundException extends __BaseException {
|
|
1492
|
+
readonly name: "Ipv6CidrBlockNotFoundException";
|
|
1493
|
+
readonly $fault: "client";
|
|
1494
|
+
/**
|
|
1495
|
+
* @internal
|
|
1496
|
+
*/
|
|
1497
|
+
constructor(opts: __ExceptionOptionType<Ipv6CidrBlockNotFoundException, __BaseException>);
|
|
1498
|
+
}
|
|
1472
1499
|
/**
|
|
1473
1500
|
* @public
|
|
1474
1501
|
*/
|
|
@@ -2860,7 +2887,7 @@ export interface UpdateScheduledActionRequest {
|
|
|
2860
2887
|
* <p>The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action.
|
|
2861
2888
|
* This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf.
|
|
2862
2889
|
* For more information about the IAM role to use with the Amazon Redshift scheduler, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html">Using Identity-Based Policies for
|
|
2863
|
-
* Amazon Redshift</a> in the Amazon Redshift
|
|
2890
|
+
* Amazon Redshift</a> in the Amazon Redshift Management Guide</p>
|
|
2864
2891
|
* @public
|
|
2865
2892
|
*/
|
|
2866
2893
|
roleArn?: string;
|
|
@@ -3249,6 +3276,11 @@ export interface UpdateWorkgroupRequest {
|
|
|
3249
3276
|
* @public
|
|
3250
3277
|
*/
|
|
3251
3278
|
maxCapacity?: number;
|
|
3279
|
+
/**
|
|
3280
|
+
* <p>The IP address type that the workgroup supports. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>
|
|
3281
|
+
* @public
|
|
3282
|
+
*/
|
|
3283
|
+
ipAddressType?: string;
|
|
3252
3284
|
}
|
|
3253
3285
|
/**
|
|
3254
3286
|
* @public
|
|
@@ -32,8 +32,8 @@ export declare const getRuntimeConfig: (config: RedshiftServerlessClientConfig)
|
|
|
32
32
|
logger?: import("@smithy/types").Logger | undefined;
|
|
33
33
|
}) => import("@smithy/types").EndpointV2;
|
|
34
34
|
tls?: boolean | undefined;
|
|
35
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
36
35
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
36
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
37
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
38
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RedshiftServerlessHttpAuthSchemeProvider;
|
|
39
39
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -32,8 +32,8 @@ export declare const getRuntimeConfig: (config: RedshiftServerlessClientConfig)
|
|
|
32
32
|
logger?: import("@smithy/types").Logger | undefined;
|
|
33
33
|
}) => import("@smithy/types").EndpointV2;
|
|
34
34
|
tls?: boolean | undefined;
|
|
35
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
36
35
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
36
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
37
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
38
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RedshiftServerlessHttpAuthSchemeProvider;
|
|
39
39
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -31,8 +31,8 @@ export declare const getRuntimeConfig: (config: RedshiftServerlessClientConfig)
|
|
|
31
31
|
logger?: import("@smithy/types").Logger | undefined;
|
|
32
32
|
}) => import("@smithy/types").EndpointV2;
|
|
33
33
|
tls?: boolean | undefined;
|
|
34
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
35
34
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
35
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
36
36
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
37
37
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RedshiftServerlessHttpAuthSchemeProvider;
|
|
38
38
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -415,9 +415,9 @@ export type RedshiftServerlessClientConfigType = Partial<
|
|
|
415
415
|
ClientDefaults &
|
|
416
416
|
RegionInputConfig &
|
|
417
417
|
EndpointInputConfig<EndpointParameters> &
|
|
418
|
-
RetryInputConfig &
|
|
419
418
|
HostHeaderInputConfig &
|
|
420
419
|
UserAgentInputConfig &
|
|
420
|
+
RetryInputConfig &
|
|
421
421
|
HttpAuthSchemeInputConfig &
|
|
422
422
|
ClientInputEndpointParameters;
|
|
423
423
|
export interface RedshiftServerlessClientConfig
|
|
@@ -428,9 +428,9 @@ export type RedshiftServerlessClientResolvedConfigType =
|
|
|
428
428
|
RuntimeExtensionsConfig &
|
|
429
429
|
RegionResolvedConfig &
|
|
430
430
|
EndpointResolvedConfig<EndpointParameters> &
|
|
431
|
-
RetryResolvedConfig &
|
|
432
431
|
HostHeaderResolvedConfig &
|
|
433
432
|
UserAgentResolvedConfig &
|
|
433
|
+
RetryResolvedConfig &
|
|
434
434
|
HttpAuthSchemeResolvedConfig &
|
|
435
435
|
ClientResolvedEndpointParameters;
|
|
436
436
|
export interface RedshiftServerlessClientResolvedConfig
|
|
@@ -140,6 +140,7 @@ export interface NetworkInterface {
|
|
|
140
140
|
subnetId?: string;
|
|
141
141
|
privateIpAddress?: string;
|
|
142
142
|
availabilityZone?: string;
|
|
143
|
+
ipv6Address?: string;
|
|
143
144
|
}
|
|
144
145
|
export interface VpcEndpoint {
|
|
145
146
|
vpcEndpointId?: string;
|
|
@@ -370,6 +371,7 @@ export interface CreateWorkgroupRequest {
|
|
|
370
371
|
tags?: Tag[];
|
|
371
372
|
port?: number;
|
|
372
373
|
maxCapacity?: number;
|
|
374
|
+
ipAddressType?: string;
|
|
373
375
|
}
|
|
374
376
|
export interface Endpoint {
|
|
375
377
|
address?: string;
|
|
@@ -406,6 +408,7 @@ export interface Workgroup {
|
|
|
406
408
|
patchVersion?: string;
|
|
407
409
|
maxCapacity?: number;
|
|
408
410
|
crossAccountVpcs?: string[];
|
|
411
|
+
ipAddressType?: string;
|
|
409
412
|
}
|
|
410
413
|
export interface CreateWorkgroupResponse {
|
|
411
414
|
workgroup?: Workgroup;
|
|
@@ -418,6 +421,13 @@ export declare class InsufficientCapacityException extends __BaseException {
|
|
|
418
421
|
opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>
|
|
419
422
|
);
|
|
420
423
|
}
|
|
424
|
+
export declare class Ipv6CidrBlockNotFoundException extends __BaseException {
|
|
425
|
+
readonly name: "Ipv6CidrBlockNotFoundException";
|
|
426
|
+
readonly $fault: "client";
|
|
427
|
+
constructor(
|
|
428
|
+
opts: __ExceptionOptionType<Ipv6CidrBlockNotFoundException, __BaseException>
|
|
429
|
+
);
|
|
430
|
+
}
|
|
421
431
|
export interface DeleteEndpointAccessRequest {
|
|
422
432
|
endpointName: string | undefined;
|
|
423
433
|
}
|
|
@@ -844,6 +854,7 @@ export interface UpdateWorkgroupRequest {
|
|
|
844
854
|
securityGroupIds?: string[];
|
|
845
855
|
port?: number;
|
|
846
856
|
maxCapacity?: number;
|
|
857
|
+
ipAddressType?: string;
|
|
847
858
|
}
|
|
848
859
|
export interface UpdateWorkgroupResponse {
|
|
849
860
|
workgroup: Workgroup | undefined;
|
|
@@ -58,11 +58,11 @@ export declare const getRuntimeConfig: (
|
|
|
58
58
|
}
|
|
59
59
|
) => import("@smithy/types").EndpointV2;
|
|
60
60
|
tls?: boolean | undefined;
|
|
61
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
61
62
|
retryStrategy?:
|
|
62
63
|
| import("@smithy/types").RetryStrategy
|
|
63
64
|
| import("@smithy/types").RetryStrategyV2
|
|
64
65
|
| undefined;
|
|
65
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
66
66
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
67
67
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RedshiftServerlessHttpAuthSchemeProvider;
|
|
68
68
|
credentials?:
|
|
@@ -62,11 +62,11 @@ export declare const getRuntimeConfig: (
|
|
|
62
62
|
}
|
|
63
63
|
) => import("@smithy/types").EndpointV2;
|
|
64
64
|
tls?: boolean | undefined;
|
|
65
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
65
66
|
retryStrategy?:
|
|
66
67
|
| import("@smithy/types").RetryStrategy
|
|
67
68
|
| import("@smithy/types").RetryStrategyV2
|
|
68
69
|
| undefined;
|
|
69
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
70
70
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
71
71
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RedshiftServerlessHttpAuthSchemeProvider;
|
|
72
72
|
credentials?:
|
|
@@ -52,11 +52,11 @@ export declare const getRuntimeConfig: (
|
|
|
52
52
|
}
|
|
53
53
|
) => import("@smithy/types").EndpointV2;
|
|
54
54
|
tls?: boolean | undefined;
|
|
55
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
55
56
|
retryStrategy?:
|
|
56
57
|
| import("@smithy/types").RetryStrategy
|
|
57
58
|
| import("@smithy/types").RetryStrategyV2
|
|
58
59
|
| undefined;
|
|
59
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
60
60
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
61
61
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RedshiftServerlessHttpAuthSchemeProvider;
|
|
62
62
|
credentials?:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-redshift-serverless",
|
|
3
3
|
"description": "AWS SDK for JavaScript Redshift Serverless Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.617.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-serverless",
|
|
@@ -20,40 +20,40 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.616.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.616.0",
|
|
25
|
+
"@aws-sdk/core": "3.616.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.616.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.616.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.616.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.616.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
32
32
|
"@aws-sdk/types": "3.609.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.614.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.5",
|
|
37
|
-
"@smithy/core": "^2.2.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
37
|
+
"@smithy/core": "^2.2.7",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.2",
|
|
39
39
|
"@smithy/hash-node": "^3.0.3",
|
|
40
40
|
"@smithy/invalid-dependency": "^3.0.3",
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.4",
|
|
42
42
|
"@smithy/middleware-endpoint": "^3.0.5",
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.10",
|
|
44
44
|
"@smithy/middleware-serde": "^3.0.3",
|
|
45
45
|
"@smithy/middleware-stack": "^3.0.3",
|
|
46
46
|
"@smithy/node-config-provider": "^3.1.4",
|
|
47
|
-
"@smithy/node-http-handler": "^3.1.
|
|
48
|
-
"@smithy/protocol-http": "^4.0.
|
|
49
|
-
"@smithy/smithy-client": "^3.1.
|
|
47
|
+
"@smithy/node-http-handler": "^3.1.3",
|
|
48
|
+
"@smithy/protocol-http": "^4.0.4",
|
|
49
|
+
"@smithy/smithy-client": "^3.1.8",
|
|
50
50
|
"@smithy/types": "^3.3.0",
|
|
51
51
|
"@smithy/url-parser": "^3.0.3",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.10",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.10",
|
|
57
57
|
"@smithy/util-endpoints": "^2.0.5",
|
|
58
58
|
"@smithy/util-middleware": "^3.0.3",
|
|
59
59
|
"@smithy/util-retry": "^3.0.3",
|