@aws-sdk/client-redshift-serverless 3.438.0 → 3.439.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 +40 -0
- package/dist-cjs/RedshiftServerless.js +10 -0
- package/dist-cjs/commands/CreateCustomDomainAssociationCommand.js +51 -0
- package/dist-cjs/commands/DeleteCustomDomainAssociationCommand.js +51 -0
- package/dist-cjs/commands/GetCustomDomainAssociationCommand.js +51 -0
- package/dist-cjs/commands/ListCustomDomainAssociationsCommand.js +51 -0
- package/dist-cjs/commands/UpdateCustomDomainAssociationCommand.js +51 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +16 -16
- package/dist-cjs/pagination/ListCustomDomainAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +323 -2
- package/dist-es/RedshiftServerless.js +10 -0
- package/dist-es/commands/CreateCustomDomainAssociationCommand.js +47 -0
- package/dist-es/commands/DeleteCustomDomainAssociationCommand.js +47 -0
- package/dist-es/commands/GetCustomDomainAssociationCommand.js +47 -0
- package/dist-es/commands/ListCustomDomainAssociationsCommand.js +47 -0
- package/dist-es/commands/UpdateCustomDomainAssociationCommand.js +47 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +14 -14
- package/dist-es/pagination/ListCustomDomainAssociationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +311 -0
- package/dist-types/RedshiftServerless.d.ts +35 -0
- package/dist-types/RedshiftServerlessClient.d.ts +7 -2
- package/dist-types/commands/CreateCustomDomainAssociationCommand.d.ts +96 -0
- package/dist-types/commands/CreateWorkgroupCommand.d.ts +3 -0
- package/dist-types/commands/DeleteCustomDomainAssociationCommand.d.ts +90 -0
- package/dist-types/commands/DeleteWorkgroupCommand.d.ts +3 -0
- package/dist-types/commands/GetCredentialsCommand.d.ts +2 -1
- package/dist-types/commands/GetCustomDomainAssociationCommand.d.ts +95 -0
- package/dist-types/commands/GetWorkgroupCommand.d.ts +3 -0
- package/dist-types/commands/ListCustomDomainAssociationsCommand.d.ts +99 -0
- package/dist-types/commands/ListWorkgroupsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateCustomDomainAssociationCommand.d.ts +96 -0
- package/dist-types/commands/UpdateWorkgroupCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +261 -20
- package/dist-types/pagination/ListCustomDomainAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
- package/dist-types/ts3.4/RedshiftServerless.d.ts +85 -0
- package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateCustomDomainAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteCustomDomainAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetCustomDomainAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCustomDomainAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateCustomDomainAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +67 -10
- package/dist-types/ts3.4/pagination/ListCustomDomainAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -221,6 +221,14 @@ ConvertRecoveryPointToSnapshot
|
|
|
221
221
|
|
|
222
222
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/classes/convertrecoverypointtosnapshotcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/convertrecoverypointtosnapshotcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/convertrecoverypointtosnapshotcommandoutput.html)
|
|
223
223
|
|
|
224
|
+
</details>
|
|
225
|
+
<details>
|
|
226
|
+
<summary>
|
|
227
|
+
CreateCustomDomainAssociation
|
|
228
|
+
</summary>
|
|
229
|
+
|
|
230
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/classes/createcustomdomainassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/createcustomdomainassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/createcustomdomainassociationcommandoutput.html)
|
|
231
|
+
|
|
224
232
|
</details>
|
|
225
233
|
<details>
|
|
226
234
|
<summary>
|
|
@@ -261,6 +269,14 @@ CreateWorkgroup
|
|
|
261
269
|
|
|
262
270
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/classes/createworkgroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/createworkgroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/createworkgroupcommandoutput.html)
|
|
263
271
|
|
|
272
|
+
</details>
|
|
273
|
+
<details>
|
|
274
|
+
<summary>
|
|
275
|
+
DeleteCustomDomainAssociation
|
|
276
|
+
</summary>
|
|
277
|
+
|
|
278
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/classes/deletecustomdomainassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/deletecustomdomainassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/deletecustomdomainassociationcommandoutput.html)
|
|
279
|
+
|
|
264
280
|
</details>
|
|
265
281
|
<details>
|
|
266
282
|
<summary>
|
|
@@ -317,6 +333,14 @@ GetCredentials
|
|
|
317
333
|
|
|
318
334
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/classes/getcredentialscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/getcredentialscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/getcredentialscommandoutput.html)
|
|
319
335
|
|
|
336
|
+
</details>
|
|
337
|
+
<details>
|
|
338
|
+
<summary>
|
|
339
|
+
GetCustomDomainAssociation
|
|
340
|
+
</summary>
|
|
341
|
+
|
|
342
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/classes/getcustomdomainassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/getcustomdomainassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/getcustomdomainassociationcommandoutput.html)
|
|
343
|
+
|
|
320
344
|
</details>
|
|
321
345
|
<details>
|
|
322
346
|
<summary>
|
|
@@ -381,6 +405,14 @@ GetWorkgroup
|
|
|
381
405
|
|
|
382
406
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/classes/getworkgroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/getworkgroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/getworkgroupcommandoutput.html)
|
|
383
407
|
|
|
408
|
+
</details>
|
|
409
|
+
<details>
|
|
410
|
+
<summary>
|
|
411
|
+
ListCustomDomainAssociations
|
|
412
|
+
</summary>
|
|
413
|
+
|
|
414
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/classes/listcustomdomainassociationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/listcustomdomainassociationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/listcustomdomainassociationscommandoutput.html)
|
|
415
|
+
|
|
384
416
|
</details>
|
|
385
417
|
<details>
|
|
386
418
|
<summary>
|
|
@@ -493,6 +525,14 @@ UntagResource
|
|
|
493
525
|
|
|
494
526
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/classes/untagresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/untagresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/untagresourcecommandoutput.html)
|
|
495
527
|
|
|
528
|
+
</details>
|
|
529
|
+
<details>
|
|
530
|
+
<summary>
|
|
531
|
+
UpdateCustomDomainAssociation
|
|
532
|
+
</summary>
|
|
533
|
+
|
|
534
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/classes/updatecustomdomainassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/updatecustomdomainassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/updatecustomdomainassociationcommandoutput.html)
|
|
535
|
+
|
|
496
536
|
</details>
|
|
497
537
|
<details>
|
|
498
538
|
<summary>
|
|
@@ -3,11 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.RedshiftServerless = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const ConvertRecoveryPointToSnapshotCommand_1 = require("./commands/ConvertRecoveryPointToSnapshotCommand");
|
|
6
|
+
const CreateCustomDomainAssociationCommand_1 = require("./commands/CreateCustomDomainAssociationCommand");
|
|
6
7
|
const CreateEndpointAccessCommand_1 = require("./commands/CreateEndpointAccessCommand");
|
|
7
8
|
const CreateNamespaceCommand_1 = require("./commands/CreateNamespaceCommand");
|
|
8
9
|
const CreateSnapshotCommand_1 = require("./commands/CreateSnapshotCommand");
|
|
9
10
|
const CreateUsageLimitCommand_1 = require("./commands/CreateUsageLimitCommand");
|
|
10
11
|
const CreateWorkgroupCommand_1 = require("./commands/CreateWorkgroupCommand");
|
|
12
|
+
const DeleteCustomDomainAssociationCommand_1 = require("./commands/DeleteCustomDomainAssociationCommand");
|
|
11
13
|
const DeleteEndpointAccessCommand_1 = require("./commands/DeleteEndpointAccessCommand");
|
|
12
14
|
const DeleteNamespaceCommand_1 = require("./commands/DeleteNamespaceCommand");
|
|
13
15
|
const DeleteResourcePolicyCommand_1 = require("./commands/DeleteResourcePolicyCommand");
|
|
@@ -15,6 +17,7 @@ const DeleteSnapshotCommand_1 = require("./commands/DeleteSnapshotCommand");
|
|
|
15
17
|
const DeleteUsageLimitCommand_1 = require("./commands/DeleteUsageLimitCommand");
|
|
16
18
|
const DeleteWorkgroupCommand_1 = require("./commands/DeleteWorkgroupCommand");
|
|
17
19
|
const GetCredentialsCommand_1 = require("./commands/GetCredentialsCommand");
|
|
20
|
+
const GetCustomDomainAssociationCommand_1 = require("./commands/GetCustomDomainAssociationCommand");
|
|
18
21
|
const GetEndpointAccessCommand_1 = require("./commands/GetEndpointAccessCommand");
|
|
19
22
|
const GetNamespaceCommand_1 = require("./commands/GetNamespaceCommand");
|
|
20
23
|
const GetRecoveryPointCommand_1 = require("./commands/GetRecoveryPointCommand");
|
|
@@ -23,6 +26,7 @@ const GetSnapshotCommand_1 = require("./commands/GetSnapshotCommand");
|
|
|
23
26
|
const GetTableRestoreStatusCommand_1 = require("./commands/GetTableRestoreStatusCommand");
|
|
24
27
|
const GetUsageLimitCommand_1 = require("./commands/GetUsageLimitCommand");
|
|
25
28
|
const GetWorkgroupCommand_1 = require("./commands/GetWorkgroupCommand");
|
|
29
|
+
const ListCustomDomainAssociationsCommand_1 = require("./commands/ListCustomDomainAssociationsCommand");
|
|
26
30
|
const ListEndpointAccessCommand_1 = require("./commands/ListEndpointAccessCommand");
|
|
27
31
|
const ListNamespacesCommand_1 = require("./commands/ListNamespacesCommand");
|
|
28
32
|
const ListRecoveryPointsCommand_1 = require("./commands/ListRecoveryPointsCommand");
|
|
@@ -37,6 +41,7 @@ const RestoreFromSnapshotCommand_1 = require("./commands/RestoreFromSnapshotComm
|
|
|
37
41
|
const RestoreTableFromSnapshotCommand_1 = require("./commands/RestoreTableFromSnapshotCommand");
|
|
38
42
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
39
43
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
44
|
+
const UpdateCustomDomainAssociationCommand_1 = require("./commands/UpdateCustomDomainAssociationCommand");
|
|
40
45
|
const UpdateEndpointAccessCommand_1 = require("./commands/UpdateEndpointAccessCommand");
|
|
41
46
|
const UpdateNamespaceCommand_1 = require("./commands/UpdateNamespaceCommand");
|
|
42
47
|
const UpdateSnapshotCommand_1 = require("./commands/UpdateSnapshotCommand");
|
|
@@ -45,11 +50,13 @@ const UpdateWorkgroupCommand_1 = require("./commands/UpdateWorkgroupCommand");
|
|
|
45
50
|
const RedshiftServerlessClient_1 = require("./RedshiftServerlessClient");
|
|
46
51
|
const commands = {
|
|
47
52
|
ConvertRecoveryPointToSnapshotCommand: ConvertRecoveryPointToSnapshotCommand_1.ConvertRecoveryPointToSnapshotCommand,
|
|
53
|
+
CreateCustomDomainAssociationCommand: CreateCustomDomainAssociationCommand_1.CreateCustomDomainAssociationCommand,
|
|
48
54
|
CreateEndpointAccessCommand: CreateEndpointAccessCommand_1.CreateEndpointAccessCommand,
|
|
49
55
|
CreateNamespaceCommand: CreateNamespaceCommand_1.CreateNamespaceCommand,
|
|
50
56
|
CreateSnapshotCommand: CreateSnapshotCommand_1.CreateSnapshotCommand,
|
|
51
57
|
CreateUsageLimitCommand: CreateUsageLimitCommand_1.CreateUsageLimitCommand,
|
|
52
58
|
CreateWorkgroupCommand: CreateWorkgroupCommand_1.CreateWorkgroupCommand,
|
|
59
|
+
DeleteCustomDomainAssociationCommand: DeleteCustomDomainAssociationCommand_1.DeleteCustomDomainAssociationCommand,
|
|
53
60
|
DeleteEndpointAccessCommand: DeleteEndpointAccessCommand_1.DeleteEndpointAccessCommand,
|
|
54
61
|
DeleteNamespaceCommand: DeleteNamespaceCommand_1.DeleteNamespaceCommand,
|
|
55
62
|
DeleteResourcePolicyCommand: DeleteResourcePolicyCommand_1.DeleteResourcePolicyCommand,
|
|
@@ -57,6 +64,7 @@ const commands = {
|
|
|
57
64
|
DeleteUsageLimitCommand: DeleteUsageLimitCommand_1.DeleteUsageLimitCommand,
|
|
58
65
|
DeleteWorkgroupCommand: DeleteWorkgroupCommand_1.DeleteWorkgroupCommand,
|
|
59
66
|
GetCredentialsCommand: GetCredentialsCommand_1.GetCredentialsCommand,
|
|
67
|
+
GetCustomDomainAssociationCommand: GetCustomDomainAssociationCommand_1.GetCustomDomainAssociationCommand,
|
|
60
68
|
GetEndpointAccessCommand: GetEndpointAccessCommand_1.GetEndpointAccessCommand,
|
|
61
69
|
GetNamespaceCommand: GetNamespaceCommand_1.GetNamespaceCommand,
|
|
62
70
|
GetRecoveryPointCommand: GetRecoveryPointCommand_1.GetRecoveryPointCommand,
|
|
@@ -65,6 +73,7 @@ const commands = {
|
|
|
65
73
|
GetTableRestoreStatusCommand: GetTableRestoreStatusCommand_1.GetTableRestoreStatusCommand,
|
|
66
74
|
GetUsageLimitCommand: GetUsageLimitCommand_1.GetUsageLimitCommand,
|
|
67
75
|
GetWorkgroupCommand: GetWorkgroupCommand_1.GetWorkgroupCommand,
|
|
76
|
+
ListCustomDomainAssociationsCommand: ListCustomDomainAssociationsCommand_1.ListCustomDomainAssociationsCommand,
|
|
68
77
|
ListEndpointAccessCommand: ListEndpointAccessCommand_1.ListEndpointAccessCommand,
|
|
69
78
|
ListNamespacesCommand: ListNamespacesCommand_1.ListNamespacesCommand,
|
|
70
79
|
ListRecoveryPointsCommand: ListRecoveryPointsCommand_1.ListRecoveryPointsCommand,
|
|
@@ -79,6 +88,7 @@ const commands = {
|
|
|
79
88
|
RestoreTableFromSnapshotCommand: RestoreTableFromSnapshotCommand_1.RestoreTableFromSnapshotCommand,
|
|
80
89
|
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
81
90
|
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
91
|
+
UpdateCustomDomainAssociationCommand: UpdateCustomDomainAssociationCommand_1.UpdateCustomDomainAssociationCommand,
|
|
82
92
|
UpdateEndpointAccessCommand: UpdateEndpointAccessCommand_1.UpdateEndpointAccessCommand,
|
|
83
93
|
UpdateNamespaceCommand: UpdateNamespaceCommand_1.UpdateNamespaceCommand,
|
|
84
94
|
UpdateSnapshotCommand: UpdateSnapshotCommand_1.UpdateSnapshotCommand,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateCustomDomainAssociationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
+
class CreateCustomDomainAssociationCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateCustomDomainAssociationCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "RedshiftServerlessClient";
|
|
29
|
+
const commandName = "CreateCustomDomainAssociationCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "RedshiftServerless",
|
|
38
|
+
operation: "CreateCustomDomainAssociation",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_json1_1_1.se_CreateCustomDomainAssociationCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_json1_1_1.de_CreateCustomDomainAssociationCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.CreateCustomDomainAssociationCommand = CreateCustomDomainAssociationCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteCustomDomainAssociationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
+
class DeleteCustomDomainAssociationCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteCustomDomainAssociationCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "RedshiftServerlessClient";
|
|
29
|
+
const commandName = "DeleteCustomDomainAssociationCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "RedshiftServerless",
|
|
38
|
+
operation: "DeleteCustomDomainAssociation",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_json1_1_1.se_DeleteCustomDomainAssociationCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_json1_1_1.de_DeleteCustomDomainAssociationCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.DeleteCustomDomainAssociationCommand = DeleteCustomDomainAssociationCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetCustomDomainAssociationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
+
class GetCustomDomainAssociationCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetCustomDomainAssociationCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "RedshiftServerlessClient";
|
|
29
|
+
const commandName = "GetCustomDomainAssociationCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "RedshiftServerless",
|
|
38
|
+
operation: "GetCustomDomainAssociation",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_json1_1_1.se_GetCustomDomainAssociationCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_json1_1_1.de_GetCustomDomainAssociationCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GetCustomDomainAssociationCommand = GetCustomDomainAssociationCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListCustomDomainAssociationsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
+
class ListCustomDomainAssociationsCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListCustomDomainAssociationsCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "RedshiftServerlessClient";
|
|
29
|
+
const commandName = "ListCustomDomainAssociationsCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "RedshiftServerless",
|
|
38
|
+
operation: "ListCustomDomainAssociations",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_json1_1_1.se_ListCustomDomainAssociationsCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_json1_1_1.de_ListCustomDomainAssociationsCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListCustomDomainAssociationsCommand = ListCustomDomainAssociationsCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateCustomDomainAssociationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
+
class UpdateCustomDomainAssociationCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateCustomDomainAssociationCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "RedshiftServerlessClient";
|
|
29
|
+
const commandName = "UpdateCustomDomainAssociationCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "RedshiftServerless",
|
|
38
|
+
operation: "UpdateCustomDomainAssociation",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_json1_1_1.se_UpdateCustomDomainAssociationCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_json1_1_1.de_UpdateCustomDomainAssociationCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.UpdateCustomDomainAssociationCommand = UpdateCustomDomainAssociationCommand;
|
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./ConvertRecoveryPointToSnapshotCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CreateCustomDomainAssociationCommand"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CreateEndpointAccessCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./CreateNamespaceCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./CreateSnapshotCommand"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./CreateUsageLimitCommand"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./CreateWorkgroupCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./DeleteCustomDomainAssociationCommand"), exports);
|
|
10
12
|
tslib_1.__exportStar(require("./DeleteEndpointAccessCommand"), exports);
|
|
11
13
|
tslib_1.__exportStar(require("./DeleteNamespaceCommand"), exports);
|
|
12
14
|
tslib_1.__exportStar(require("./DeleteResourcePolicyCommand"), exports);
|
|
@@ -14,6 +16,7 @@ tslib_1.__exportStar(require("./DeleteSnapshotCommand"), exports);
|
|
|
14
16
|
tslib_1.__exportStar(require("./DeleteUsageLimitCommand"), exports);
|
|
15
17
|
tslib_1.__exportStar(require("./DeleteWorkgroupCommand"), exports);
|
|
16
18
|
tslib_1.__exportStar(require("./GetCredentialsCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./GetCustomDomainAssociationCommand"), exports);
|
|
17
20
|
tslib_1.__exportStar(require("./GetEndpointAccessCommand"), exports);
|
|
18
21
|
tslib_1.__exportStar(require("./GetNamespaceCommand"), exports);
|
|
19
22
|
tslib_1.__exportStar(require("./GetRecoveryPointCommand"), exports);
|
|
@@ -22,6 +25,7 @@ tslib_1.__exportStar(require("./GetSnapshotCommand"), exports);
|
|
|
22
25
|
tslib_1.__exportStar(require("./GetTableRestoreStatusCommand"), exports);
|
|
23
26
|
tslib_1.__exportStar(require("./GetUsageLimitCommand"), exports);
|
|
24
27
|
tslib_1.__exportStar(require("./GetWorkgroupCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./ListCustomDomainAssociationsCommand"), exports);
|
|
25
29
|
tslib_1.__exportStar(require("./ListEndpointAccessCommand"), exports);
|
|
26
30
|
tslib_1.__exportStar(require("./ListNamespacesCommand"), exports);
|
|
27
31
|
tslib_1.__exportStar(require("./ListRecoveryPointsCommand"), exports);
|
|
@@ -36,6 +40,7 @@ tslib_1.__exportStar(require("./RestoreFromSnapshotCommand"), exports);
|
|
|
36
40
|
tslib_1.__exportStar(require("./RestoreTableFromSnapshotCommand"), exports);
|
|
37
41
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
38
42
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
43
|
+
tslib_1.__exportStar(require("./UpdateCustomDomainAssociationCommand"), exports);
|
|
39
44
|
tslib_1.__exportStar(require("./UpdateEndpointAccessCommand"), exports);
|
|
40
45
|
tslib_1.__exportStar(require("./UpdateNamespaceCommand"), exports);
|
|
41
46
|
tslib_1.__exportStar(require("./UpdateSnapshotCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RestoreFromSnapshotResponseFilterSensitiveLog = exports.RestoreFromRecoveryPointResponseFilterSensitiveLog = exports.UpdateNamespaceResponseFilterSensitiveLog = exports.UpdateNamespaceRequestFilterSensitiveLog = exports.ListNamespacesResponseFilterSensitiveLog = exports.GetNamespaceResponseFilterSensitiveLog = exports.GetCredentialsResponseFilterSensitiveLog = exports.DeleteNamespaceResponseFilterSensitiveLog = exports.CreateNamespaceResponseFilterSensitiveLog = exports.NamespaceFilterSensitiveLog = exports.CreateNamespaceRequestFilterSensitiveLog = exports.
|
|
3
|
+
exports.RestoreFromSnapshotResponseFilterSensitiveLog = exports.RestoreFromRecoveryPointResponseFilterSensitiveLog = exports.UpdateNamespaceResponseFilterSensitiveLog = exports.UpdateNamespaceRequestFilterSensitiveLog = exports.ListNamespacesResponseFilterSensitiveLog = exports.GetNamespaceResponseFilterSensitiveLog = exports.GetCredentialsResponseFilterSensitiveLog = exports.DeleteNamespaceResponseFilterSensitiveLog = exports.CreateNamespaceResponseFilterSensitiveLog = exports.NamespaceFilterSensitiveLog = exports.CreateNamespaceRequestFilterSensitiveLog = exports.InvalidPaginationException = exports.InsufficientCapacityException = exports.WorkgroupStatus = exports.UsageLimitUsageType = exports.UsageLimitPeriod = exports.UsageLimitBreachAction = exports.NamespaceStatus = exports.LogExport = exports.ThrottlingException = exports.ValidationException = exports.TooManyTagsException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.SnapshotStatus = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const RedshiftServerlessServiceException_1 = require("./RedshiftServerlessServiceException");
|
|
6
6
|
class AccessDeniedException extends RedshiftServerlessServiceException_1.RedshiftServerlessServiceException {
|
|
@@ -106,6 +106,21 @@ class ValidationException extends RedshiftServerlessServiceException_1.RedshiftS
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
exports.ValidationException = ValidationException;
|
|
109
|
+
class ThrottlingException extends RedshiftServerlessServiceException_1.RedshiftServerlessServiceException {
|
|
110
|
+
constructor(opts) {
|
|
111
|
+
super({
|
|
112
|
+
name: "ThrottlingException",
|
|
113
|
+
$fault: "client",
|
|
114
|
+
...opts,
|
|
115
|
+
});
|
|
116
|
+
this.name = "ThrottlingException";
|
|
117
|
+
this.$fault = "client";
|
|
118
|
+
this.$retryable = {};
|
|
119
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
120
|
+
this.code = opts.code;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
exports.ThrottlingException = ThrottlingException;
|
|
109
124
|
exports.LogExport = {
|
|
110
125
|
CONNECTION_LOG: "connectionlog",
|
|
111
126
|
USER_ACTIVITY_LOG: "useractivitylog",
|
|
@@ -163,21 +178,6 @@ class InvalidPaginationException extends RedshiftServerlessServiceException_1.Re
|
|
|
163
178
|
}
|
|
164
179
|
}
|
|
165
180
|
exports.InvalidPaginationException = InvalidPaginationException;
|
|
166
|
-
class ThrottlingException extends RedshiftServerlessServiceException_1.RedshiftServerlessServiceException {
|
|
167
|
-
constructor(opts) {
|
|
168
|
-
super({
|
|
169
|
-
name: "ThrottlingException",
|
|
170
|
-
$fault: "client",
|
|
171
|
-
...opts,
|
|
172
|
-
});
|
|
173
|
-
this.name = "ThrottlingException";
|
|
174
|
-
this.$fault = "client";
|
|
175
|
-
this.$retryable = {};
|
|
176
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
177
|
-
this.code = opts.code;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
exports.ThrottlingException = ThrottlingException;
|
|
181
181
|
const CreateNamespaceRequestFilterSensitiveLog = (obj) => ({
|
|
182
182
|
...obj,
|
|
183
183
|
...(obj.adminUsername && { adminUsername: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListCustomDomainAssociations = void 0;
|
|
4
|
+
const ListCustomDomainAssociationsCommand_1 = require("../commands/ListCustomDomainAssociationsCommand");
|
|
5
|
+
const RedshiftServerlessClient_1 = require("../RedshiftServerlessClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListCustomDomainAssociationsCommand_1.ListCustomDomainAssociationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListCustomDomainAssociations(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof RedshiftServerlessClient_1.RedshiftServerlessClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected RedshiftServerless | RedshiftServerlessClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListCustomDomainAssociations = paginateListCustomDomainAssociations;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListCustomDomainAssociationsPaginator"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./ListEndpointAccessPaginator"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./ListNamespacesPaginator"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./ListRecoveryPointsPaginator"), exports);
|