@aws-sdk/client-redshift-serverless 3.107.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/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +225 -0
- package/dist-cjs/RedshiftServerless.js +562 -0
- package/dist-cjs/RedshiftServerlessClient.js +37 -0
- package/dist-cjs/commands/ConvertRecoveryPointToSnapshotCommand.js +36 -0
- package/dist-cjs/commands/CreateEndpointAccessCommand.js +36 -0
- package/dist-cjs/commands/CreateNamespaceCommand.js +36 -0
- package/dist-cjs/commands/CreateSnapshotCommand.js +36 -0
- package/dist-cjs/commands/CreateUsageLimitCommand.js +36 -0
- package/dist-cjs/commands/CreateWorkgroupCommand.js +36 -0
- package/dist-cjs/commands/DeleteEndpointAccessCommand.js +36 -0
- package/dist-cjs/commands/DeleteNamespaceCommand.js +36 -0
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +36 -0
- package/dist-cjs/commands/DeleteSnapshotCommand.js +36 -0
- package/dist-cjs/commands/DeleteUsageLimitCommand.js +36 -0
- package/dist-cjs/commands/DeleteWorkgroupCommand.js +36 -0
- package/dist-cjs/commands/GetCredentialsCommand.js +36 -0
- package/dist-cjs/commands/GetEndpointAccessCommand.js +36 -0
- package/dist-cjs/commands/GetNamespaceCommand.js +36 -0
- package/dist-cjs/commands/GetRecoveryPointCommand.js +36 -0
- package/dist-cjs/commands/GetResourcePolicyCommand.js +36 -0
- package/dist-cjs/commands/GetSnapshotCommand.js +36 -0
- package/dist-cjs/commands/GetUsageLimitCommand.js +36 -0
- package/dist-cjs/commands/GetWorkgroupCommand.js +36 -0
- package/dist-cjs/commands/ListEndpointAccessCommand.js +36 -0
- package/dist-cjs/commands/ListNamespacesCommand.js +36 -0
- package/dist-cjs/commands/ListRecoveryPointsCommand.js +36 -0
- package/dist-cjs/commands/ListSnapshotsCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/ListUsageLimitsCommand.js +36 -0
- package/dist-cjs/commands/ListWorkgroupsCommand.js +36 -0
- package/dist-cjs/commands/PutResourcePolicyCommand.js +36 -0
- package/dist-cjs/commands/RestoreFromRecoveryPointCommand.js +36 -0
- package/dist-cjs/commands/RestoreFromSnapshotCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateEndpointAccessCommand.js +36 -0
- package/dist-cjs/commands/UpdateNamespaceCommand.js +36 -0
- package/dist-cjs/commands/UpdateSnapshotCommand.js +36 -0
- package/dist-cjs/commands/UpdateUsageLimitCommand.js +36 -0
- package/dist-cjs/commands/UpdateWorkgroupCommand.js +36 -0
- package/dist-cjs/commands/index.js +40 -0
- package/dist-cjs/endpoints.js +131 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/RedshiftServerlessServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +725 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListEndpointAccessPaginator.js +36 -0
- package/dist-cjs/pagination/ListNamespacesPaginator.js +36 -0
- package/dist-cjs/pagination/ListRecoveryPointsPaginator.js +36 -0
- package/dist-cjs/pagination/ListSnapshotsPaginator.js +36 -0
- package/dist-cjs/pagination/ListUsageLimitsPaginator.js +36 -0
- package/dist-cjs/pagination/ListWorkgroupsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +10 -0
- package/dist-cjs/protocols/Aws_json1_1.js +3265 -0
- package/dist-cjs/runtimeConfig.browser.js +45 -0
- package/dist-cjs/runtimeConfig.js +52 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/RedshiftServerless.js +565 -0
- package/dist-es/RedshiftServerlessClient.js +39 -0
- package/dist-es/commands/ConvertRecoveryPointToSnapshotCommand.js +39 -0
- package/dist-es/commands/CreateEndpointAccessCommand.js +39 -0
- package/dist-es/commands/CreateNamespaceCommand.js +39 -0
- package/dist-es/commands/CreateSnapshotCommand.js +39 -0
- package/dist-es/commands/CreateUsageLimitCommand.js +39 -0
- package/dist-es/commands/CreateWorkgroupCommand.js +39 -0
- package/dist-es/commands/DeleteEndpointAccessCommand.js +39 -0
- package/dist-es/commands/DeleteNamespaceCommand.js +39 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +39 -0
- package/dist-es/commands/DeleteSnapshotCommand.js +39 -0
- package/dist-es/commands/DeleteUsageLimitCommand.js +39 -0
- package/dist-es/commands/DeleteWorkgroupCommand.js +39 -0
- package/dist-es/commands/GetCredentialsCommand.js +39 -0
- package/dist-es/commands/GetEndpointAccessCommand.js +39 -0
- package/dist-es/commands/GetNamespaceCommand.js +39 -0
- package/dist-es/commands/GetRecoveryPointCommand.js +39 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +39 -0
- package/dist-es/commands/GetSnapshotCommand.js +39 -0
- package/dist-es/commands/GetUsageLimitCommand.js +39 -0
- package/dist-es/commands/GetWorkgroupCommand.js +39 -0
- package/dist-es/commands/ListEndpointAccessCommand.js +39 -0
- package/dist-es/commands/ListNamespacesCommand.js +39 -0
- package/dist-es/commands/ListRecoveryPointsCommand.js +39 -0
- package/dist-es/commands/ListSnapshotsCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/ListUsageLimitsCommand.js +39 -0
- package/dist-es/commands/ListWorkgroupsCommand.js +39 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +39 -0
- package/dist-es/commands/RestoreFromRecoveryPointCommand.js +39 -0
- package/dist-es/commands/RestoreFromSnapshotCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateEndpointAccessCommand.js +39 -0
- package/dist-es/commands/UpdateNamespaceCommand.js +39 -0
- package/dist-es/commands/UpdateSnapshotCommand.js +39 -0
- package/dist-es/commands/UpdateUsageLimitCommand.js +39 -0
- package/dist-es/commands/UpdateWorkgroupCommand.js +39 -0
- package/dist-es/commands/index.js +37 -0
- package/dist-es/endpoints.js +127 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/RedshiftServerlessServiceException.js +12 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +523 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListEndpointAccessPaginator.js +75 -0
- package/dist-es/pagination/ListNamespacesPaginator.js +75 -0
- package/dist-es/pagination/ListRecoveryPointsPaginator.js +75 -0
- package/dist-es/pagination/ListSnapshotsPaginator.js +75 -0
- package/dist-es/pagination/ListUsageLimitsPaginator.js +75 -0
- package/dist-es/pagination/ListWorkgroupsPaginator.js +75 -0
- package/dist-es/pagination/index.js +7 -0
- package/dist-es/protocols/Aws_json1_1.js +3784 -0
- package/dist-es/runtimeConfig.browser.js +26 -0
- package/dist-es/runtimeConfig.js +30 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/RedshiftServerless.d.ts +302 -0
- package/dist-types/RedshiftServerlessClient.d.ts +198 -0
- package/dist-types/commands/ConvertRecoveryPointToSnapshotCommand.d.ts +36 -0
- package/dist-types/commands/CreateEndpointAccessCommand.d.ts +35 -0
- package/dist-types/commands/CreateNamespaceCommand.d.ts +35 -0
- package/dist-types/commands/CreateSnapshotCommand.d.ts +38 -0
- package/dist-types/commands/CreateUsageLimitCommand.d.ts +36 -0
- package/dist-types/commands/CreateWorkgroupCommand.d.ts +35 -0
- package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +35 -0
- package/dist-types/commands/DeleteNamespaceCommand.d.ts +36 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +35 -0
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +35 -0
- package/dist-types/commands/DeleteUsageLimitCommand.d.ts +35 -0
- package/dist-types/commands/DeleteWorkgroupCommand.d.ts +35 -0
- package/dist-types/commands/GetCredentialsCommand.d.ts +48 -0
- package/dist-types/commands/GetEndpointAccessCommand.d.ts +35 -0
- package/dist-types/commands/GetNamespaceCommand.d.ts +35 -0
- package/dist-types/commands/GetRecoveryPointCommand.d.ts +35 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +35 -0
- package/dist-types/commands/GetSnapshotCommand.d.ts +35 -0
- package/dist-types/commands/GetUsageLimitCommand.d.ts +35 -0
- package/dist-types/commands/GetWorkgroupCommand.d.ts +35 -0
- package/dist-types/commands/ListEndpointAccessCommand.d.ts +35 -0
- package/dist-types/commands/ListNamespacesCommand.d.ts +35 -0
- package/dist-types/commands/ListRecoveryPointsCommand.d.ts +35 -0
- package/dist-types/commands/ListSnapshotsCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/ListUsageLimitsCommand.d.ts +35 -0
- package/dist-types/commands/ListWorkgroupsCommand.d.ts +35 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +35 -0
- package/dist-types/commands/RestoreFromRecoveryPointCommand.d.ts +35 -0
- package/dist-types/commands/RestoreFromSnapshotCommand.d.ts +35 -0
- package/dist-types/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateEndpointAccessCommand.d.ts +35 -0
- package/dist-types/commands/UpdateNamespaceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateSnapshotCommand.d.ts +35 -0
- package/dist-types/commands/UpdateUsageLimitCommand.d.ts +35 -0
- package/dist-types/commands/UpdateWorkgroupCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +37 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/RedshiftServerlessServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1960 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListEndpointAccessPaginator.d.ts +4 -0
- package/dist-types/pagination/ListNamespacesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListRecoveryPointsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSnapshotsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListUsageLimitsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListWorkgroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +7 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +113 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/dist-types/runtimeConfig.d.ts +40 -0
- package/dist-types/runtimeConfig.native.d.ts +39 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/RedshiftServerless.d.ts +190 -0
- package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +110 -0
- package/dist-types/ts3.4/commands/ConvertRecoveryPointToSnapshotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateEndpointAccessCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateNamespaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateUsageLimitCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateWorkgroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteEndpointAccessCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteNamespaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteUsageLimitCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteWorkgroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCredentialsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetEndpointAccessCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetNamespaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRecoveryPointCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSnapshotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUsageLimitCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetWorkgroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEndpointAccessCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListNamespacesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRecoveryPointsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListSnapshotsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListUsageLimitsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListWorkgroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RestoreFromRecoveryPointCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RestoreFromSnapshotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateEndpointAccessCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateNamespaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSnapshotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateUsageLimitCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateWorkgroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +37 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/RedshiftServerlessServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1140 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListEndpointAccessPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListNamespacesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListRecoveryPointsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListSnapshotsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListUsageLimitsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListWorkgroupsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +113 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +94 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateSnapshotRequest, UpdateSnapshotResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1UpdateSnapshotCommand, serializeAws_json1_1UpdateSnapshotCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var UpdateSnapshotCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateSnapshotCommand, _super);
|
|
8
|
+
function UpdateSnapshotCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateSnapshotCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RedshiftServerlessClient";
|
|
18
|
+
var commandName = "UpdateSnapshotCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateSnapshotRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateSnapshotResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateSnapshotCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1UpdateSnapshotCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateSnapshotCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1UpdateSnapshotCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateSnapshotCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateSnapshotCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateUsageLimitRequest, UpdateUsageLimitResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1UpdateUsageLimitCommand, serializeAws_json1_1UpdateUsageLimitCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var UpdateUsageLimitCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateUsageLimitCommand, _super);
|
|
8
|
+
function UpdateUsageLimitCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateUsageLimitCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RedshiftServerlessClient";
|
|
18
|
+
var commandName = "UpdateUsageLimitCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateUsageLimitRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateUsageLimitResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateUsageLimitCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1UpdateUsageLimitCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateUsageLimitCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1UpdateUsageLimitCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateUsageLimitCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateUsageLimitCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateWorkgroupRequest, UpdateWorkgroupResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1UpdateWorkgroupCommand, serializeAws_json1_1UpdateWorkgroupCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var UpdateWorkgroupCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateWorkgroupCommand, _super);
|
|
8
|
+
function UpdateWorkgroupCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateWorkgroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RedshiftServerlessClient";
|
|
18
|
+
var commandName = "UpdateWorkgroupCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateWorkgroupRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateWorkgroupResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateWorkgroupCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1UpdateWorkgroupCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateWorkgroupCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1UpdateWorkgroupCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateWorkgroupCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateWorkgroupCommand };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export * from "./ConvertRecoveryPointToSnapshotCommand";
|
|
2
|
+
export * from "./CreateEndpointAccessCommand";
|
|
3
|
+
export * from "./CreateNamespaceCommand";
|
|
4
|
+
export * from "./CreateSnapshotCommand";
|
|
5
|
+
export * from "./CreateUsageLimitCommand";
|
|
6
|
+
export * from "./CreateWorkgroupCommand";
|
|
7
|
+
export * from "./DeleteEndpointAccessCommand";
|
|
8
|
+
export * from "./DeleteNamespaceCommand";
|
|
9
|
+
export * from "./DeleteResourcePolicyCommand";
|
|
10
|
+
export * from "./DeleteSnapshotCommand";
|
|
11
|
+
export * from "./DeleteUsageLimitCommand";
|
|
12
|
+
export * from "./DeleteWorkgroupCommand";
|
|
13
|
+
export * from "./GetCredentialsCommand";
|
|
14
|
+
export * from "./GetEndpointAccessCommand";
|
|
15
|
+
export * from "./GetNamespaceCommand";
|
|
16
|
+
export * from "./GetRecoveryPointCommand";
|
|
17
|
+
export * from "./GetResourcePolicyCommand";
|
|
18
|
+
export * from "./GetSnapshotCommand";
|
|
19
|
+
export * from "./GetUsageLimitCommand";
|
|
20
|
+
export * from "./GetWorkgroupCommand";
|
|
21
|
+
export * from "./ListEndpointAccessCommand";
|
|
22
|
+
export * from "./ListNamespacesCommand";
|
|
23
|
+
export * from "./ListRecoveryPointsCommand";
|
|
24
|
+
export * from "./ListSnapshotsCommand";
|
|
25
|
+
export * from "./ListTagsForResourceCommand";
|
|
26
|
+
export * from "./ListUsageLimitsCommand";
|
|
27
|
+
export * from "./ListWorkgroupsCommand";
|
|
28
|
+
export * from "./PutResourcePolicyCommand";
|
|
29
|
+
export * from "./RestoreFromRecoveryPointCommand";
|
|
30
|
+
export * from "./RestoreFromSnapshotCommand";
|
|
31
|
+
export * from "./TagResourceCommand";
|
|
32
|
+
export * from "./UntagResourceCommand";
|
|
33
|
+
export * from "./UpdateEndpointAccessCommand";
|
|
34
|
+
export * from "./UpdateNamespaceCommand";
|
|
35
|
+
export * from "./UpdateSnapshotCommand";
|
|
36
|
+
export * from "./UpdateUsageLimitCommand";
|
|
37
|
+
export * from "./UpdateWorkgroupCommand";
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
|
+
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
+
var regionHash = {};
|
|
4
|
+
var partitionHash = {
|
|
5
|
+
aws: {
|
|
6
|
+
regions: [
|
|
7
|
+
"af-south-1",
|
|
8
|
+
"ap-east-1",
|
|
9
|
+
"ap-northeast-1",
|
|
10
|
+
"ap-northeast-2",
|
|
11
|
+
"ap-northeast-3",
|
|
12
|
+
"ap-south-1",
|
|
13
|
+
"ap-southeast-1",
|
|
14
|
+
"ap-southeast-2",
|
|
15
|
+
"ap-southeast-3",
|
|
16
|
+
"ca-central-1",
|
|
17
|
+
"eu-central-1",
|
|
18
|
+
"eu-north-1",
|
|
19
|
+
"eu-south-1",
|
|
20
|
+
"eu-west-1",
|
|
21
|
+
"eu-west-2",
|
|
22
|
+
"eu-west-3",
|
|
23
|
+
"me-south-1",
|
|
24
|
+
"sa-east-1",
|
|
25
|
+
"us-east-1",
|
|
26
|
+
"us-east-2",
|
|
27
|
+
"us-west-1",
|
|
28
|
+
"us-west-2",
|
|
29
|
+
],
|
|
30
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
31
|
+
variants: [
|
|
32
|
+
{
|
|
33
|
+
hostname: "redshift-serverless.{region}.amazonaws.com",
|
|
34
|
+
tags: [],
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
hostname: "redshift-serverless-fips.{region}.amazonaws.com",
|
|
38
|
+
tags: ["fips"],
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
hostname: "redshift-serverless-fips.{region}.api.aws",
|
|
42
|
+
tags: ["dualstack", "fips"],
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
hostname: "redshift-serverless.{region}.api.aws",
|
|
46
|
+
tags: ["dualstack"],
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
},
|
|
50
|
+
"aws-cn": {
|
|
51
|
+
regions: ["cn-north-1", "cn-northwest-1"],
|
|
52
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
53
|
+
variants: [
|
|
54
|
+
{
|
|
55
|
+
hostname: "redshift-serverless.{region}.amazonaws.com.cn",
|
|
56
|
+
tags: [],
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
hostname: "redshift-serverless-fips.{region}.amazonaws.com.cn",
|
|
60
|
+
tags: ["fips"],
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
hostname: "redshift-serverless-fips.{region}.api.amazonwebservices.com.cn",
|
|
64
|
+
tags: ["dualstack", "fips"],
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
hostname: "redshift-serverless.{region}.api.amazonwebservices.com.cn",
|
|
68
|
+
tags: ["dualstack"],
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
},
|
|
72
|
+
"aws-iso": {
|
|
73
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
74
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
75
|
+
variants: [
|
|
76
|
+
{
|
|
77
|
+
hostname: "redshift-serverless.{region}.c2s.ic.gov",
|
|
78
|
+
tags: [],
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
hostname: "redshift-serverless-fips.{region}.c2s.ic.gov",
|
|
82
|
+
tags: ["fips"],
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
},
|
|
86
|
+
"aws-iso-b": {
|
|
87
|
+
regions: ["us-isob-east-1"],
|
|
88
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
89
|
+
variants: [
|
|
90
|
+
{
|
|
91
|
+
hostname: "redshift-serverless.{region}.sc2s.sgov.gov",
|
|
92
|
+
tags: [],
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
hostname: "redshift-serverless-fips.{region}.sc2s.sgov.gov",
|
|
96
|
+
tags: ["fips"],
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
},
|
|
100
|
+
"aws-us-gov": {
|
|
101
|
+
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
102
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
103
|
+
variants: [
|
|
104
|
+
{
|
|
105
|
+
hostname: "redshift-serverless.{region}.amazonaws.com",
|
|
106
|
+
tags: [],
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
hostname: "redshift-serverless-fips.{region}.amazonaws.com",
|
|
110
|
+
tags: ["fips"],
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
hostname: "redshift-serverless-fips.{region}.api.aws",
|
|
114
|
+
tags: ["dualstack", "fips"],
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
hostname: "redshift-serverless.{region}.api.aws",
|
|
118
|
+
tags: ["dualstack"],
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
},
|
|
122
|
+
};
|
|
123
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
124
|
+
return __generator(this, function (_a) {
|
|
125
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "redshift-serverless", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
126
|
+
});
|
|
127
|
+
}); };
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./RedshiftServerless";
|
|
2
|
+
export * from "./RedshiftServerlessClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|
|
6
|
+
export { RedshiftServerlessServiceException } from "./models/RedshiftServerlessServiceException";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
+
var RedshiftServerlessServiceException = (function (_super) {
|
|
4
|
+
__extends(RedshiftServerlessServiceException, _super);
|
|
5
|
+
function RedshiftServerlessServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, RedshiftServerlessServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return RedshiftServerlessServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { RedshiftServerlessServiceException };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|