@aws-sdk/client-redshift-serverless 3.477.0 → 3.481.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/commands/ConvertRecoveryPointToSnapshotCommand.js +18 -41
- package/dist-cjs/commands/CreateCustomDomainAssociationCommand.js +18 -41
- package/dist-cjs/commands/CreateEndpointAccessCommand.js +18 -41
- package/dist-cjs/commands/CreateNamespaceCommand.js +18 -41
- package/dist-cjs/commands/CreateScheduledActionCommand.js +18 -41
- package/dist-cjs/commands/CreateSnapshotCommand.js +18 -41
- package/dist-cjs/commands/CreateSnapshotCopyConfigurationCommand.js +18 -41
- package/dist-cjs/commands/CreateUsageLimitCommand.js +18 -41
- package/dist-cjs/commands/CreateWorkgroupCommand.js +18 -41
- package/dist-cjs/commands/DeleteCustomDomainAssociationCommand.js +18 -41
- package/dist-cjs/commands/DeleteEndpointAccessCommand.js +18 -41
- package/dist-cjs/commands/DeleteNamespaceCommand.js +18 -41
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteScheduledActionCommand.js +18 -41
- package/dist-cjs/commands/DeleteSnapshotCommand.js +18 -41
- package/dist-cjs/commands/DeleteSnapshotCopyConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DeleteUsageLimitCommand.js +18 -41
- package/dist-cjs/commands/DeleteWorkgroupCommand.js +18 -41
- package/dist-cjs/commands/GetCredentialsCommand.js +18 -41
- package/dist-cjs/commands/GetCustomDomainAssociationCommand.js +18 -41
- package/dist-cjs/commands/GetEndpointAccessCommand.js +18 -41
- package/dist-cjs/commands/GetNamespaceCommand.js +18 -41
- package/dist-cjs/commands/GetRecoveryPointCommand.js +18 -41
- package/dist-cjs/commands/GetResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/GetScheduledActionCommand.js +18 -41
- package/dist-cjs/commands/GetSnapshotCommand.js +18 -41
- package/dist-cjs/commands/GetTableRestoreStatusCommand.js +18 -41
- package/dist-cjs/commands/GetUsageLimitCommand.js +18 -41
- package/dist-cjs/commands/GetWorkgroupCommand.js +18 -41
- package/dist-cjs/commands/ListCustomDomainAssociationsCommand.js +18 -41
- package/dist-cjs/commands/ListEndpointAccessCommand.js +18 -41
- package/dist-cjs/commands/ListNamespacesCommand.js +18 -41
- package/dist-cjs/commands/ListRecoveryPointsCommand.js +18 -41
- package/dist-cjs/commands/ListScheduledActionsCommand.js +18 -41
- package/dist-cjs/commands/ListSnapshotCopyConfigurationsCommand.js +18 -41
- package/dist-cjs/commands/ListSnapshotsCommand.js +18 -41
- package/dist-cjs/commands/ListTableRestoreStatusCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListUsageLimitsCommand.js +18 -41
- package/dist-cjs/commands/ListWorkgroupsCommand.js +18 -41
- package/dist-cjs/commands/PutResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/RestoreFromRecoveryPointCommand.js +18 -41
- package/dist-cjs/commands/RestoreFromSnapshotCommand.js +18 -41
- package/dist-cjs/commands/RestoreTableFromRecoveryPointCommand.js +18 -41
- package/dist-cjs/commands/RestoreTableFromSnapshotCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateCustomDomainAssociationCommand.js +18 -41
- package/dist-cjs/commands/UpdateEndpointAccessCommand.js +18 -41
- package/dist-cjs/commands/UpdateNamespaceCommand.js +18 -41
- package/dist-cjs/commands/UpdateScheduledActionCommand.js +18 -41
- package/dist-cjs/commands/UpdateSnapshotCommand.js +18 -41
- package/dist-cjs/commands/UpdateSnapshotCopyConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateUsageLimitCommand.js +18 -41
- package/dist-cjs/commands/UpdateWorkgroupCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListCustomDomainAssociationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEndpointAccessPaginator.js +2 -24
- package/dist-cjs/pagination/ListNamespacesPaginator.js +2 -24
- package/dist-cjs/pagination/ListRecoveryPointsPaginator.js +2 -24
- package/dist-cjs/pagination/ListScheduledActionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSnapshotCopyConfigurationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSnapshotsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTableRestoreStatusPaginator.js +2 -24
- package/dist-cjs/pagination/ListUsageLimitsPaginator.js +2 -24
- package/dist-cjs/pagination/ListWorkgroupsPaginator.js +2 -24
- package/dist-es/commands/ConvertRecoveryPointToSnapshotCommand.js +18 -41
- package/dist-es/commands/CreateCustomDomainAssociationCommand.js +18 -41
- package/dist-es/commands/CreateEndpointAccessCommand.js +18 -41
- package/dist-es/commands/CreateNamespaceCommand.js +18 -41
- package/dist-es/commands/CreateScheduledActionCommand.js +18 -41
- package/dist-es/commands/CreateSnapshotCommand.js +18 -41
- package/dist-es/commands/CreateSnapshotCopyConfigurationCommand.js +18 -41
- package/dist-es/commands/CreateUsageLimitCommand.js +18 -41
- package/dist-es/commands/CreateWorkgroupCommand.js +18 -41
- package/dist-es/commands/DeleteCustomDomainAssociationCommand.js +18 -41
- package/dist-es/commands/DeleteEndpointAccessCommand.js +18 -41
- package/dist-es/commands/DeleteNamespaceCommand.js +18 -41
- package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-es/commands/DeleteScheduledActionCommand.js +18 -41
- package/dist-es/commands/DeleteSnapshotCommand.js +18 -41
- package/dist-es/commands/DeleteSnapshotCopyConfigurationCommand.js +18 -41
- package/dist-es/commands/DeleteUsageLimitCommand.js +18 -41
- package/dist-es/commands/DeleteWorkgroupCommand.js +18 -41
- package/dist-es/commands/GetCredentialsCommand.js +18 -41
- package/dist-es/commands/GetCustomDomainAssociationCommand.js +18 -41
- package/dist-es/commands/GetEndpointAccessCommand.js +18 -41
- package/dist-es/commands/GetNamespaceCommand.js +18 -41
- package/dist-es/commands/GetRecoveryPointCommand.js +18 -41
- package/dist-es/commands/GetResourcePolicyCommand.js +18 -41
- package/dist-es/commands/GetScheduledActionCommand.js +18 -41
- package/dist-es/commands/GetSnapshotCommand.js +18 -41
- package/dist-es/commands/GetTableRestoreStatusCommand.js +18 -41
- package/dist-es/commands/GetUsageLimitCommand.js +18 -41
- package/dist-es/commands/GetWorkgroupCommand.js +18 -41
- package/dist-es/commands/ListCustomDomainAssociationsCommand.js +18 -41
- package/dist-es/commands/ListEndpointAccessCommand.js +18 -41
- package/dist-es/commands/ListNamespacesCommand.js +18 -41
- package/dist-es/commands/ListRecoveryPointsCommand.js +18 -41
- package/dist-es/commands/ListScheduledActionsCommand.js +18 -41
- package/dist-es/commands/ListSnapshotCopyConfigurationsCommand.js +18 -41
- package/dist-es/commands/ListSnapshotsCommand.js +18 -41
- package/dist-es/commands/ListTableRestoreStatusCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListUsageLimitsCommand.js +18 -41
- package/dist-es/commands/ListWorkgroupsCommand.js +18 -41
- package/dist-es/commands/PutResourcePolicyCommand.js +18 -41
- package/dist-es/commands/RestoreFromRecoveryPointCommand.js +18 -41
- package/dist-es/commands/RestoreFromSnapshotCommand.js +18 -41
- package/dist-es/commands/RestoreTableFromRecoveryPointCommand.js +18 -41
- package/dist-es/commands/RestoreTableFromSnapshotCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateCustomDomainAssociationCommand.js +18 -41
- package/dist-es/commands/UpdateEndpointAccessCommand.js +18 -41
- package/dist-es/commands/UpdateNamespaceCommand.js +18 -41
- package/dist-es/commands/UpdateScheduledActionCommand.js +18 -41
- package/dist-es/commands/UpdateSnapshotCommand.js +18 -41
- package/dist-es/commands/UpdateSnapshotCopyConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateUsageLimitCommand.js +18 -41
- package/dist-es/commands/UpdateWorkgroupCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListCustomDomainAssociationsPaginator.js +2 -23
- package/dist-es/pagination/ListEndpointAccessPaginator.js +2 -23
- package/dist-es/pagination/ListNamespacesPaginator.js +2 -23
- package/dist-es/pagination/ListRecoveryPointsPaginator.js +2 -23
- package/dist-es/pagination/ListScheduledActionsPaginator.js +2 -23
- package/dist-es/pagination/ListSnapshotCopyConfigurationsPaginator.js +2 -23
- package/dist-es/pagination/ListSnapshotsPaginator.js +2 -23
- package/dist-es/pagination/ListTableRestoreStatusPaginator.js +2 -23
- package/dist-es/pagination/ListUsageLimitsPaginator.js +2 -23
- package/dist-es/pagination/ListWorkgroupsPaginator.js +2 -23
- package/dist-types/commands/ConvertRecoveryPointToSnapshotCommand.d.ts +6 -21
- package/dist-types/commands/CreateCustomDomainAssociationCommand.d.ts +6 -21
- package/dist-types/commands/CreateEndpointAccessCommand.d.ts +6 -21
- package/dist-types/commands/CreateNamespaceCommand.d.ts +6 -21
- package/dist-types/commands/CreateScheduledActionCommand.d.ts +6 -21
- package/dist-types/commands/CreateSnapshotCommand.d.ts +6 -21
- package/dist-types/commands/CreateSnapshotCopyConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/CreateUsageLimitCommand.d.ts +6 -21
- package/dist-types/commands/CreateWorkgroupCommand.d.ts +6 -21
- package/dist-types/commands/DeleteCustomDomainAssociationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +6 -21
- package/dist-types/commands/DeleteNamespaceCommand.d.ts +6 -21
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSnapshotCopyConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteUsageLimitCommand.d.ts +6 -21
- package/dist-types/commands/DeleteWorkgroupCommand.d.ts +6 -21
- package/dist-types/commands/GetCredentialsCommand.d.ts +6 -21
- package/dist-types/commands/GetCustomDomainAssociationCommand.d.ts +6 -21
- package/dist-types/commands/GetEndpointAccessCommand.d.ts +6 -21
- package/dist-types/commands/GetNamespaceCommand.d.ts +6 -21
- package/dist-types/commands/GetRecoveryPointCommand.d.ts +6 -21
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetScheduledActionCommand.d.ts +6 -21
- package/dist-types/commands/GetSnapshotCommand.d.ts +6 -21
- package/dist-types/commands/GetTableRestoreStatusCommand.d.ts +6 -21
- package/dist-types/commands/GetUsageLimitCommand.d.ts +6 -21
- package/dist-types/commands/GetWorkgroupCommand.d.ts +6 -21
- package/dist-types/commands/ListCustomDomainAssociationsCommand.d.ts +6 -21
- package/dist-types/commands/ListEndpointAccessCommand.d.ts +6 -21
- package/dist-types/commands/ListNamespacesCommand.d.ts +6 -21
- package/dist-types/commands/ListRecoveryPointsCommand.d.ts +6 -21
- package/dist-types/commands/ListScheduledActionsCommand.d.ts +6 -21
- package/dist-types/commands/ListSnapshotCopyConfigurationsCommand.d.ts +6 -21
- package/dist-types/commands/ListSnapshotsCommand.d.ts +6 -21
- package/dist-types/commands/ListTableRestoreStatusCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListUsageLimitsCommand.d.ts +6 -21
- package/dist-types/commands/ListWorkgroupsCommand.d.ts +6 -21
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/RestoreFromRecoveryPointCommand.d.ts +6 -21
- package/dist-types/commands/RestoreFromSnapshotCommand.d.ts +6 -21
- package/dist-types/commands/RestoreTableFromRecoveryPointCommand.d.ts +6 -21
- package/dist-types/commands/RestoreTableFromSnapshotCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateCustomDomainAssociationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateEndpointAccessCommand.d.ts +6 -21
- package/dist-types/commands/UpdateNamespaceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateScheduledActionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateSnapshotCommand.d.ts +6 -21
- package/dist-types/commands/UpdateSnapshotCopyConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateUsageLimitCommand.d.ts +6 -21
- package/dist-types/commands/UpdateWorkgroupCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListCustomDomainAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEndpointAccessPaginator.d.ts +1 -1
- package/dist-types/pagination/ListNamespacesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRecoveryPointsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListScheduledActionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSnapshotCopyConfigurationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSnapshotsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTableRestoreStatusPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUsageLimitsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkgroupsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/ConvertRecoveryPointToSnapshotCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateCustomDomainAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateEndpointAccessCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateNamespaceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateScheduledActionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateSnapshotCopyConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateUsageLimitCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateWorkgroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteCustomDomainAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteEndpointAccessCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteNamespaceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteScheduledActionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteSnapshotCopyConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteUsageLimitCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteWorkgroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetCredentialsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetCustomDomainAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetEndpointAccessCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetNamespaceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetRecoveryPointCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetScheduledActionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetSnapshotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetTableRestoreStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetUsageLimitCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetWorkgroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListCustomDomainAssociationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListEndpointAccessCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListNamespacesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRecoveryPointsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListScheduledActionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListSnapshotCopyConfigurationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListSnapshotsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTableRestoreStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListUsageLimitsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListWorkgroupsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RestoreFromRecoveryPointCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RestoreFromSnapshotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RestoreTableFromRecoveryPointCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RestoreTableFromSnapshotCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateCustomDomainAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateEndpointAccessCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateNamespaceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateScheduledActionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateSnapshotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateSnapshotCopyConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateUsageLimitCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateWorkgroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListCustomDomainAssociationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEndpointAccessPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListNamespacesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRecoveryPointsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListScheduledActionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSnapshotCopyConfigurationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSnapshotsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTableRestoreStatusPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListUsageLimitsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWorkgroupsPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateWorkgroupCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "RedshiftServerlessClient";
|
|
29
|
-
const commandName = "UpdateWorkgroupCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "RedshiftServerless",
|
|
38
|
-
operation: "UpdateWorkgroup",
|
|
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_UpdateWorkgroupCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateWorkgroupCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateWorkgroupCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("RedshiftServerless", "UpdateWorkgroup", {})
|
|
22
|
+
.n("RedshiftServerlessClient", "UpdateWorkgroupCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateWorkgroupCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateWorkgroupCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateWorkgroupCommand = UpdateWorkgroupCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCustomDomainAssociations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListCustomDomainAssociationsCommand_1 = require("../commands/ListCustomDomainAssociationsCommand");
|
|
5
6
|
const RedshiftServerlessClient_1 = require("../RedshiftServerlessClient");
|
|
6
|
-
|
|
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;
|
|
7
|
+
exports.paginateListCustomDomainAssociations = (0, core_1.createPaginator)(RedshiftServerlessClient_1.RedshiftServerlessClient, ListCustomDomainAssociationsCommand_1.ListCustomDomainAssociationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEndpointAccess = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListEndpointAccessCommand_1 = require("../commands/ListEndpointAccessCommand");
|
|
5
6
|
const RedshiftServerlessClient_1 = require("../RedshiftServerlessClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListEndpointAccessCommand_1.ListEndpointAccessCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListEndpointAccess(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.paginateListEndpointAccess = paginateListEndpointAccess;
|
|
7
|
+
exports.paginateListEndpointAccess = (0, core_1.createPaginator)(RedshiftServerlessClient_1.RedshiftServerlessClient, ListEndpointAccessCommand_1.ListEndpointAccessCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListNamespaces = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListNamespacesCommand_1 = require("../commands/ListNamespacesCommand");
|
|
5
6
|
const RedshiftServerlessClient_1 = require("../RedshiftServerlessClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListNamespacesCommand_1.ListNamespacesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListNamespaces(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.paginateListNamespaces = paginateListNamespaces;
|
|
7
|
+
exports.paginateListNamespaces = (0, core_1.createPaginator)(RedshiftServerlessClient_1.RedshiftServerlessClient, ListNamespacesCommand_1.ListNamespacesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRecoveryPoints = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListRecoveryPointsCommand_1 = require("../commands/ListRecoveryPointsCommand");
|
|
5
6
|
const RedshiftServerlessClient_1 = require("../RedshiftServerlessClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListRecoveryPointsCommand_1.ListRecoveryPointsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListRecoveryPoints(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.paginateListRecoveryPoints = paginateListRecoveryPoints;
|
|
7
|
+
exports.paginateListRecoveryPoints = (0, core_1.createPaginator)(RedshiftServerlessClient_1.RedshiftServerlessClient, ListRecoveryPointsCommand_1.ListRecoveryPointsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListScheduledActions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListScheduledActionsCommand_1 = require("../commands/ListScheduledActionsCommand");
|
|
5
6
|
const RedshiftServerlessClient_1 = require("../RedshiftServerlessClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListScheduledActionsCommand_1.ListScheduledActionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListScheduledActions(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.paginateListScheduledActions = paginateListScheduledActions;
|
|
7
|
+
exports.paginateListScheduledActions = (0, core_1.createPaginator)(RedshiftServerlessClient_1.RedshiftServerlessClient, ListScheduledActionsCommand_1.ListScheduledActionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSnapshotCopyConfigurations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListSnapshotCopyConfigurationsCommand_1 = require("../commands/ListSnapshotCopyConfigurationsCommand");
|
|
5
6
|
const RedshiftServerlessClient_1 = require("../RedshiftServerlessClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSnapshotCopyConfigurationsCommand_1.ListSnapshotCopyConfigurationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSnapshotCopyConfigurations(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.paginateListSnapshotCopyConfigurations = paginateListSnapshotCopyConfigurations;
|
|
7
|
+
exports.paginateListSnapshotCopyConfigurations = (0, core_1.createPaginator)(RedshiftServerlessClient_1.RedshiftServerlessClient, ListSnapshotCopyConfigurationsCommand_1.ListSnapshotCopyConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSnapshots = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListSnapshotsCommand_1 = require("../commands/ListSnapshotsCommand");
|
|
5
6
|
const RedshiftServerlessClient_1 = require("../RedshiftServerlessClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSnapshotsCommand_1.ListSnapshotsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSnapshots(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.paginateListSnapshots = paginateListSnapshots;
|
|
7
|
+
exports.paginateListSnapshots = (0, core_1.createPaginator)(RedshiftServerlessClient_1.RedshiftServerlessClient, ListSnapshotsCommand_1.ListSnapshotsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTableRestoreStatus = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTableRestoreStatusCommand_1 = require("../commands/ListTableRestoreStatusCommand");
|
|
5
6
|
const RedshiftServerlessClient_1 = require("../RedshiftServerlessClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTableRestoreStatusCommand_1.ListTableRestoreStatusCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTableRestoreStatus(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.paginateListTableRestoreStatus = paginateListTableRestoreStatus;
|
|
7
|
+
exports.paginateListTableRestoreStatus = (0, core_1.createPaginator)(RedshiftServerlessClient_1.RedshiftServerlessClient, ListTableRestoreStatusCommand_1.ListTableRestoreStatusCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListUsageLimits = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListUsageLimitsCommand_1 = require("../commands/ListUsageLimitsCommand");
|
|
5
6
|
const RedshiftServerlessClient_1 = require("../RedshiftServerlessClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListUsageLimitsCommand_1.ListUsageLimitsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListUsageLimits(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.paginateListUsageLimits = paginateListUsageLimits;
|
|
7
|
+
exports.paginateListUsageLimits = (0, core_1.createPaginator)(RedshiftServerlessClient_1.RedshiftServerlessClient, ListUsageLimitsCommand_1.ListUsageLimitsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListWorkgroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListWorkgroupsCommand_1 = require("../commands/ListWorkgroupsCommand");
|
|
5
6
|
const RedshiftServerlessClient_1 = require("../RedshiftServerlessClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListWorkgroupsCommand_1.ListWorkgroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListWorkgroups(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.paginateListWorkgroups = paginateListWorkgroups;
|
|
7
|
+
exports.paginateListWorkgroups = (0, core_1.createPaginator)(RedshiftServerlessClient_1.RedshiftServerlessClient, ListWorkgroupsCommand_1.ListWorkgroupsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ConvertRecoveryPointToSnapshotCommand, se_ConvertRecoveryPointToSnapshotCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ConvertRecoveryPointToSnapshotCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "RedshiftServerlessClient";
|
|
26
|
-
const commandName = "ConvertRecoveryPointToSnapshotCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "RedshiftServerless",
|
|
35
|
-
operation: "ConvertRecoveryPointToSnapshot",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ConvertRecoveryPointToSnapshotCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ConvertRecoveryPointToSnapshotCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ConvertRecoveryPointToSnapshotCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("RedshiftServerless", "ConvertRecoveryPointToSnapshot", {})
|
|
19
|
+
.n("RedshiftServerlessClient", "ConvertRecoveryPointToSnapshotCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ConvertRecoveryPointToSnapshotCommand)
|
|
22
|
+
.de(de_ConvertRecoveryPointToSnapshotCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateCustomDomainAssociationCommand, se_CreateCustomDomainAssociationCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateCustomDomainAssociationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "RedshiftServerlessClient";
|
|
26
|
-
const commandName = "CreateCustomDomainAssociationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "RedshiftServerless",
|
|
35
|
-
operation: "CreateCustomDomainAssociation",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateCustomDomainAssociationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateCustomDomainAssociationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateCustomDomainAssociationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("RedshiftServerless", "CreateCustomDomainAssociation", {})
|
|
19
|
+
.n("RedshiftServerlessClient", "CreateCustomDomainAssociationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateCustomDomainAssociationCommand)
|
|
22
|
+
.de(de_CreateCustomDomainAssociationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateEndpointAccessCommand, se_CreateEndpointAccessCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateEndpointAccessCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "RedshiftServerlessClient";
|
|
26
|
-
const commandName = "CreateEndpointAccessCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "RedshiftServerless",
|
|
35
|
-
operation: "CreateEndpointAccess",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateEndpointAccessCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateEndpointAccessCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateEndpointAccessCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("RedshiftServerless", "CreateEndpointAccess", {})
|
|
19
|
+
.n("RedshiftServerlessClient", "CreateEndpointAccessCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateEndpointAccessCommand)
|
|
22
|
+
.de(de_CreateEndpointAccessCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|