@aws-sdk/client-redshift-serverless 3.461.0 → 3.463.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 +80 -0
- package/dist-cjs/RedshiftServerless.js +20 -0
- package/dist-cjs/commands/CreateScheduledActionCommand.js +51 -0
- package/dist-cjs/commands/CreateSnapshotCopyConfigurationCommand.js +51 -0
- package/dist-cjs/commands/DeleteScheduledActionCommand.js +51 -0
- package/dist-cjs/commands/DeleteSnapshotCopyConfigurationCommand.js +51 -0
- package/dist-cjs/commands/GetScheduledActionCommand.js +51 -0
- package/dist-cjs/commands/ListScheduledActionsCommand.js +51 -0
- package/dist-cjs/commands/ListSnapshotCopyConfigurationsCommand.js +51 -0
- package/dist-cjs/commands/RestoreTableFromRecoveryPointCommand.js +51 -0
- package/dist-cjs/commands/UpdateScheduledActionCommand.js +51 -0
- package/dist-cjs/commands/UpdateSnapshotCopyConfigurationCommand.js +51 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/models/models_0.js +23 -1
- package/dist-cjs/pagination/ListScheduledActionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListSnapshotCopyConfigurationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_1.js +596 -2
- package/dist-es/RedshiftServerless.js +20 -0
- package/dist-es/commands/CreateScheduledActionCommand.js +47 -0
- package/dist-es/commands/CreateSnapshotCopyConfigurationCommand.js +47 -0
- package/dist-es/commands/DeleteScheduledActionCommand.js +47 -0
- package/dist-es/commands/DeleteSnapshotCopyConfigurationCommand.js +47 -0
- package/dist-es/commands/GetScheduledActionCommand.js +47 -0
- package/dist-es/commands/ListScheduledActionsCommand.js +47 -0
- package/dist-es/commands/ListSnapshotCopyConfigurationsCommand.js +47 -0
- package/dist-es/commands/RestoreTableFromRecoveryPointCommand.js +47 -0
- package/dist-es/commands/UpdateScheduledActionCommand.js +47 -0
- package/dist-es/commands/UpdateSnapshotCopyConfigurationCommand.js +47 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +22 -0
- package/dist-es/pagination/ListScheduledActionsPaginator.js +25 -0
- package/dist-es/pagination/ListSnapshotCopyConfigurationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +574 -1
- package/dist-types/RedshiftServerless.d.ts +70 -0
- package/dist-types/RedshiftServerlessClient.d.ts +12 -2
- package/dist-types/commands/CreateEndpointAccessCommand.d.ts +1 -0
- package/dist-types/commands/CreateScheduledActionCommand.d.ts +138 -0
- package/dist-types/commands/CreateSnapshotCopyConfigurationCommand.d.ts +101 -0
- package/dist-types/commands/CreateWorkgroupCommand.d.ts +3 -0
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +111 -0
- package/dist-types/commands/DeleteSnapshotCopyConfigurationCommand.d.ts +95 -0
- package/dist-types/commands/DeleteWorkgroupCommand.d.ts +3 -0
- package/dist-types/commands/GetScheduledActionCommand.d.ts +111 -0
- package/dist-types/commands/GetTableRestoreStatusCommand.d.ts +1 -0
- package/dist-types/commands/GetWorkgroupCommand.d.ts +3 -0
- package/dist-types/commands/ListEndpointAccessCommand.d.ts +1 -0
- package/dist-types/commands/ListScheduledActionsCommand.d.ts +90 -0
- package/dist-types/commands/ListSnapshotCopyConfigurationsCommand.d.ts +100 -0
- package/dist-types/commands/ListTableRestoreStatusCommand.d.ts +1 -0
- package/dist-types/commands/ListWorkgroupsCommand.d.ts +4 -0
- package/dist-types/commands/RestoreTableFromRecoveryPointCommand.d.ts +111 -0
- package/dist-types/commands/RestoreTableFromSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/UpdateScheduledActionCommand.d.ts +136 -0
- package/dist-types/commands/UpdateSnapshotCopyConfigurationCommand.d.ts +96 -0
- package/dist-types/commands/UpdateWorkgroupCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +648 -8
- package/dist-types/pagination/ListScheduledActionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSnapshotCopyConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +90 -0
- package/dist-types/ts3.4/RedshiftServerless.d.ts +170 -0
- package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/CreateScheduledActionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateSnapshotCopyConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteScheduledActionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteSnapshotCopyConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetScheduledActionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListScheduledActionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListSnapshotCopyConfigurationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/RestoreTableFromRecoveryPointCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateScheduledActionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateSnapshotCopyConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +176 -0
- package/dist-types/ts3.4/pagination/ListScheduledActionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSnapshotCopyConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +120 -0
- package/package.json +2 -2
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RestoreTableFromRecoveryPointCommand = 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 RestoreTableFromRecoveryPointCommand 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, RestoreTableFromRecoveryPointCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "RedshiftServerlessClient";
|
|
29
|
+
const commandName = "RestoreTableFromRecoveryPointCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "RedshiftServerless",
|
|
38
|
+
operation: "RestoreTableFromRecoveryPoint",
|
|
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_RestoreTableFromRecoveryPointCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_json1_1_1.de_RestoreTableFromRecoveryPointCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.RestoreTableFromRecoveryPointCommand = RestoreTableFromRecoveryPointCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateScheduledActionCommand = 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 UpdateScheduledActionCommand 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, UpdateScheduledActionCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "RedshiftServerlessClient";
|
|
29
|
+
const commandName = "UpdateScheduledActionCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "RedshiftServerless",
|
|
38
|
+
operation: "UpdateScheduledAction",
|
|
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_UpdateScheduledActionCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_json1_1_1.de_UpdateScheduledActionCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.UpdateScheduledActionCommand = UpdateScheduledActionCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateSnapshotCopyConfigurationCommand = 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 UpdateSnapshotCopyConfigurationCommand 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, UpdateSnapshotCopyConfigurationCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "RedshiftServerlessClient";
|
|
29
|
+
const commandName = "UpdateSnapshotCopyConfigurationCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "RedshiftServerless",
|
|
38
|
+
operation: "UpdateSnapshotCopyConfiguration",
|
|
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_UpdateSnapshotCopyConfigurationCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_json1_1_1.de_UpdateSnapshotCopyConfigurationCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.UpdateSnapshotCopyConfigurationCommand = UpdateSnapshotCopyConfigurationCommand;
|
|
@@ -5,14 +5,18 @@ tslib_1.__exportStar(require("./ConvertRecoveryPointToSnapshotCommand"), exports
|
|
|
5
5
|
tslib_1.__exportStar(require("./CreateCustomDomainAssociationCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./CreateEndpointAccessCommand"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./CreateNamespaceCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CreateScheduledActionCommand"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./CreateSnapshotCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./CreateSnapshotCopyConfigurationCommand"), exports);
|
|
9
11
|
tslib_1.__exportStar(require("./CreateUsageLimitCommand"), exports);
|
|
10
12
|
tslib_1.__exportStar(require("./CreateWorkgroupCommand"), exports);
|
|
11
13
|
tslib_1.__exportStar(require("./DeleteCustomDomainAssociationCommand"), exports);
|
|
12
14
|
tslib_1.__exportStar(require("./DeleteEndpointAccessCommand"), exports);
|
|
13
15
|
tslib_1.__exportStar(require("./DeleteNamespaceCommand"), exports);
|
|
14
16
|
tslib_1.__exportStar(require("./DeleteResourcePolicyCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./DeleteScheduledActionCommand"), exports);
|
|
15
18
|
tslib_1.__exportStar(require("./DeleteSnapshotCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./DeleteSnapshotCopyConfigurationCommand"), exports);
|
|
16
20
|
tslib_1.__exportStar(require("./DeleteUsageLimitCommand"), exports);
|
|
17
21
|
tslib_1.__exportStar(require("./DeleteWorkgroupCommand"), exports);
|
|
18
22
|
tslib_1.__exportStar(require("./GetCredentialsCommand"), exports);
|
|
@@ -21,6 +25,7 @@ tslib_1.__exportStar(require("./GetEndpointAccessCommand"), exports);
|
|
|
21
25
|
tslib_1.__exportStar(require("./GetNamespaceCommand"), exports);
|
|
22
26
|
tslib_1.__exportStar(require("./GetRecoveryPointCommand"), exports);
|
|
23
27
|
tslib_1.__exportStar(require("./GetResourcePolicyCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./GetScheduledActionCommand"), exports);
|
|
24
29
|
tslib_1.__exportStar(require("./GetSnapshotCommand"), exports);
|
|
25
30
|
tslib_1.__exportStar(require("./GetTableRestoreStatusCommand"), exports);
|
|
26
31
|
tslib_1.__exportStar(require("./GetUsageLimitCommand"), exports);
|
|
@@ -29,6 +34,8 @@ tslib_1.__exportStar(require("./ListCustomDomainAssociationsCommand"), exports);
|
|
|
29
34
|
tslib_1.__exportStar(require("./ListEndpointAccessCommand"), exports);
|
|
30
35
|
tslib_1.__exportStar(require("./ListNamespacesCommand"), exports);
|
|
31
36
|
tslib_1.__exportStar(require("./ListRecoveryPointsCommand"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./ListScheduledActionsCommand"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./ListSnapshotCopyConfigurationsCommand"), exports);
|
|
32
39
|
tslib_1.__exportStar(require("./ListSnapshotsCommand"), exports);
|
|
33
40
|
tslib_1.__exportStar(require("./ListTableRestoreStatusCommand"), exports);
|
|
34
41
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
@@ -37,12 +44,15 @@ tslib_1.__exportStar(require("./ListWorkgroupsCommand"), exports);
|
|
|
37
44
|
tslib_1.__exportStar(require("./PutResourcePolicyCommand"), exports);
|
|
38
45
|
tslib_1.__exportStar(require("./RestoreFromRecoveryPointCommand"), exports);
|
|
39
46
|
tslib_1.__exportStar(require("./RestoreFromSnapshotCommand"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./RestoreTableFromRecoveryPointCommand"), exports);
|
|
40
48
|
tslib_1.__exportStar(require("./RestoreTableFromSnapshotCommand"), exports);
|
|
41
49
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
42
50
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
43
51
|
tslib_1.__exportStar(require("./UpdateCustomDomainAssociationCommand"), exports);
|
|
44
52
|
tslib_1.__exportStar(require("./UpdateEndpointAccessCommand"), exports);
|
|
45
53
|
tslib_1.__exportStar(require("./UpdateNamespaceCommand"), exports);
|
|
54
|
+
tslib_1.__exportStar(require("./UpdateScheduledActionCommand"), exports);
|
|
46
55
|
tslib_1.__exportStar(require("./UpdateSnapshotCommand"), exports);
|
|
56
|
+
tslib_1.__exportStar(require("./UpdateSnapshotCopyConfigurationCommand"), exports);
|
|
47
57
|
tslib_1.__exportStar(require("./UpdateUsageLimitCommand"), exports);
|
|
48
58
|
tslib_1.__exportStar(require("./UpdateWorkgroupCommand"), 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.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;
|
|
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.State = exports.TargetAction = exports.Schedule = 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 {
|
|
@@ -131,6 +131,28 @@ exports.NamespaceStatus = {
|
|
|
131
131
|
DELETING: "DELETING",
|
|
132
132
|
MODIFYING: "MODIFYING",
|
|
133
133
|
};
|
|
134
|
+
var Schedule;
|
|
135
|
+
(function (Schedule) {
|
|
136
|
+
Schedule.visit = (value, visitor) => {
|
|
137
|
+
if (value.at !== undefined)
|
|
138
|
+
return visitor.at(value.at);
|
|
139
|
+
if (value.cron !== undefined)
|
|
140
|
+
return visitor.cron(value.cron);
|
|
141
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
142
|
+
};
|
|
143
|
+
})(Schedule = exports.Schedule || (exports.Schedule = {}));
|
|
144
|
+
var TargetAction;
|
|
145
|
+
(function (TargetAction) {
|
|
146
|
+
TargetAction.visit = (value, visitor) => {
|
|
147
|
+
if (value.createSnapshot !== undefined)
|
|
148
|
+
return visitor.createSnapshot(value.createSnapshot);
|
|
149
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
150
|
+
};
|
|
151
|
+
})(TargetAction = exports.TargetAction || (exports.TargetAction = {}));
|
|
152
|
+
exports.State = {
|
|
153
|
+
ACTIVE: "ACTIVE",
|
|
154
|
+
DISABLED: "DISABLED",
|
|
155
|
+
};
|
|
134
156
|
exports.UsageLimitBreachAction = {
|
|
135
157
|
DEACTIVATE: "deactivate",
|
|
136
158
|
EMIT_METRIC: "emit-metric",
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListScheduledActions = void 0;
|
|
4
|
+
const ListScheduledActionsCommand_1 = require("../commands/ListScheduledActionsCommand");
|
|
5
|
+
const RedshiftServerlessClient_1 = require("../RedshiftServerlessClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
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;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListSnapshotCopyConfigurations = void 0;
|
|
4
|
+
const ListSnapshotCopyConfigurationsCommand_1 = require("../commands/ListSnapshotCopyConfigurationsCommand");
|
|
5
|
+
const RedshiftServerlessClient_1 = require("../RedshiftServerlessClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
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;
|
|
@@ -6,6 +6,8 @@ tslib_1.__exportStar(require("./ListCustomDomainAssociationsPaginator"), exports
|
|
|
6
6
|
tslib_1.__exportStar(require("./ListEndpointAccessPaginator"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./ListNamespacesPaginator"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./ListRecoveryPointsPaginator"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ListScheduledActionsPaginator"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListSnapshotCopyConfigurationsPaginator"), exports);
|
|
9
11
|
tslib_1.__exportStar(require("./ListSnapshotsPaginator"), exports);
|
|
10
12
|
tslib_1.__exportStar(require("./ListTableRestoreStatusPaginator"), exports);
|
|
11
13
|
tslib_1.__exportStar(require("./ListUsageLimitsPaginator"), exports);
|