@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,1960 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { RedshiftServerlessServiceException as __BaseException } from "./RedshiftServerlessServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
+
*/
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
code?: string;
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>An array of key-value pairs to set for advanced control over Amazon Redshift Serverless.</p>
|
|
17
|
+
*/
|
|
18
|
+
export interface ConfigParameter {
|
|
19
|
+
/**
|
|
20
|
+
* <p>The key of the parameter. The
|
|
21
|
+
* options are <code>datestyle</code>, <code>enable_user_activity_logging</code>,
|
|
22
|
+
* <code>query_group</code>, <code>search_path</code>, and <code>max_query_execution_time</code>.</p>
|
|
23
|
+
*/
|
|
24
|
+
parameterKey?: string;
|
|
25
|
+
/**
|
|
26
|
+
* <p>The value of the parameter to set.</p>
|
|
27
|
+
*/
|
|
28
|
+
parameterValue?: string;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace ConfigParameter {
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
const filterSensitiveLog: (obj: ConfigParameter) => any;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* <p>The submitted action has conflicts.</p>
|
|
38
|
+
*/
|
|
39
|
+
export declare class ConflictException extends __BaseException {
|
|
40
|
+
readonly name: "ConflictException";
|
|
41
|
+
readonly $fault: "client";
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
46
|
+
}
|
|
47
|
+
export interface ConvertRecoveryPointToSnapshotRequest {
|
|
48
|
+
/**
|
|
49
|
+
* <p>The unique identifier of the recovery point.</p>
|
|
50
|
+
*/
|
|
51
|
+
recoveryPointId: string | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* <p>The name of the snapshot.</p>
|
|
54
|
+
*/
|
|
55
|
+
snapshotName: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* <p>How long to retain the snapshot.</p>
|
|
58
|
+
*/
|
|
59
|
+
retentionPeriod?: number;
|
|
60
|
+
}
|
|
61
|
+
export declare namespace ConvertRecoveryPointToSnapshotRequest {
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
const filterSensitiveLog: (obj: ConvertRecoveryPointToSnapshotRequest) => any;
|
|
66
|
+
}
|
|
67
|
+
export declare enum SnapshotStatus {
|
|
68
|
+
AVAILABLE = "AVAILABLE",
|
|
69
|
+
CANCELLED = "CANCELLED",
|
|
70
|
+
COPYING = "COPYING",
|
|
71
|
+
CREATING = "CREATING",
|
|
72
|
+
DELETED = "DELETED",
|
|
73
|
+
FAILED = "FAILED"
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* <p>A snapshot object that contains databases.</p>
|
|
77
|
+
*/
|
|
78
|
+
export interface Snapshot {
|
|
79
|
+
/**
|
|
80
|
+
* <p>The name of the namepsace.</p>
|
|
81
|
+
*/
|
|
82
|
+
namespaceName?: string;
|
|
83
|
+
/**
|
|
84
|
+
* <p>The Amazon Resource Name (ARN) of the namespace the snapshot was created from.</p>
|
|
85
|
+
*/
|
|
86
|
+
namespaceArn?: string;
|
|
87
|
+
/**
|
|
88
|
+
* <p>The name of the snapshot.</p>
|
|
89
|
+
*/
|
|
90
|
+
snapshotName?: string;
|
|
91
|
+
/**
|
|
92
|
+
* <p>The timestamp of when the snapshot was created.</p>
|
|
93
|
+
*/
|
|
94
|
+
snapshotCreateTime?: Date;
|
|
95
|
+
/**
|
|
96
|
+
* <p>The username of the database within a snapshot.</p>
|
|
97
|
+
*/
|
|
98
|
+
adminUsername?: string;
|
|
99
|
+
/**
|
|
100
|
+
* <p>The status of the snapshot.</p>
|
|
101
|
+
*/
|
|
102
|
+
status?: SnapshotStatus | string;
|
|
103
|
+
/**
|
|
104
|
+
* <p>The unique identifier of the KMS key used to encrypt the snapshot.</p>
|
|
105
|
+
*/
|
|
106
|
+
kmsKeyId?: string;
|
|
107
|
+
/**
|
|
108
|
+
* <p>The owner Amazon Web Services; account of the snapshot.</p>
|
|
109
|
+
*/
|
|
110
|
+
ownerAccount?: string;
|
|
111
|
+
/**
|
|
112
|
+
* <p>The total size, in megabytes, of how big the snapshot is.</p>
|
|
113
|
+
*/
|
|
114
|
+
totalBackupSizeInMegaBytes?: number;
|
|
115
|
+
/**
|
|
116
|
+
* <p>The size of the incremental backup in megabytes.</p>
|
|
117
|
+
*/
|
|
118
|
+
actualIncrementalBackupSizeInMegaBytes?: number;
|
|
119
|
+
/**
|
|
120
|
+
* <p>The size in megabytes of the data that has been backed up to a snapshot.</p>
|
|
121
|
+
*/
|
|
122
|
+
backupProgressInMegaBytes?: number;
|
|
123
|
+
/**
|
|
124
|
+
* <p>The rate at which data is backed up into a snapshot in megabytes per second.</p>
|
|
125
|
+
*/
|
|
126
|
+
currentBackupRateInMegaBytesPerSecond?: number;
|
|
127
|
+
/**
|
|
128
|
+
* <p>The estimated amount of seconds until the snapshot completes backup.</p>
|
|
129
|
+
*/
|
|
130
|
+
estimatedSecondsToCompletion?: number;
|
|
131
|
+
/**
|
|
132
|
+
* <p>The amount of time it took to back up data into a snapshot.</p>
|
|
133
|
+
*/
|
|
134
|
+
elapsedTimeInSeconds?: number;
|
|
135
|
+
/**
|
|
136
|
+
* <p>The period of time, in days, of how long the snapshot is retained.</p>
|
|
137
|
+
*/
|
|
138
|
+
snapshotRetentionPeriod?: number;
|
|
139
|
+
/**
|
|
140
|
+
* <p>The amount of days until the snapshot is deleted.</p>
|
|
141
|
+
*/
|
|
142
|
+
snapshotRemainingDays?: number;
|
|
143
|
+
/**
|
|
144
|
+
* <p>The timestamp of when data within the snapshot started getting retained.</p>
|
|
145
|
+
*/
|
|
146
|
+
snapshotRetentionStartTime?: Date;
|
|
147
|
+
/**
|
|
148
|
+
* <p>The Amazon Resource Name (ARN) of the snapshot.</p>
|
|
149
|
+
*/
|
|
150
|
+
snapshotArn?: string;
|
|
151
|
+
/**
|
|
152
|
+
* <p>All of the Amazon Web Services accounts that have access to
|
|
153
|
+
* restore a snapshot to a namespace.</p>
|
|
154
|
+
*/
|
|
155
|
+
accountsWithRestoreAccess?: string[];
|
|
156
|
+
/**
|
|
157
|
+
* <p>All of the Amazon Web Services accounts that have access to restore a snapshot to a provisioned cluster.</p>
|
|
158
|
+
*/
|
|
159
|
+
accountsWithProvisionedRestoreAccess?: string[];
|
|
160
|
+
}
|
|
161
|
+
export declare namespace Snapshot {
|
|
162
|
+
/**
|
|
163
|
+
* @internal
|
|
164
|
+
*/
|
|
165
|
+
const filterSensitiveLog: (obj: Snapshot) => any;
|
|
166
|
+
}
|
|
167
|
+
export interface ConvertRecoveryPointToSnapshotResponse {
|
|
168
|
+
/**
|
|
169
|
+
* <p>The snapshot converted from the recovery point.</p>
|
|
170
|
+
*/
|
|
171
|
+
snapshot?: Snapshot;
|
|
172
|
+
}
|
|
173
|
+
export declare namespace ConvertRecoveryPointToSnapshotResponse {
|
|
174
|
+
/**
|
|
175
|
+
* @internal
|
|
176
|
+
*/
|
|
177
|
+
const filterSensitiveLog: (obj: ConvertRecoveryPointToSnapshotResponse) => any;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
181
|
+
*/
|
|
182
|
+
export declare class InternalServerException extends __BaseException {
|
|
183
|
+
readonly name: "InternalServerException";
|
|
184
|
+
readonly $fault: "server";
|
|
185
|
+
$retryable: {};
|
|
186
|
+
/**
|
|
187
|
+
* @internal
|
|
188
|
+
*/
|
|
189
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* <p>The resource could not be found.</p>
|
|
193
|
+
*/
|
|
194
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
195
|
+
readonly name: "ResourceNotFoundException";
|
|
196
|
+
readonly $fault: "client";
|
|
197
|
+
/**
|
|
198
|
+
* <p>The name of the resource that could not be found.</p>
|
|
199
|
+
*/
|
|
200
|
+
resourceName?: string;
|
|
201
|
+
/**
|
|
202
|
+
* @internal
|
|
203
|
+
*/
|
|
204
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* <p>The service limit was exceeded.</p>
|
|
208
|
+
*/
|
|
209
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
210
|
+
readonly name: "ServiceQuotaExceededException";
|
|
211
|
+
readonly $fault: "client";
|
|
212
|
+
/**
|
|
213
|
+
* @internal
|
|
214
|
+
*/
|
|
215
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* <p>The input failed to satisfy the constraints specified by an AWS service.</p>
|
|
219
|
+
*/
|
|
220
|
+
export declare class ValidationException extends __BaseException {
|
|
221
|
+
readonly name: "ValidationException";
|
|
222
|
+
readonly $fault: "client";
|
|
223
|
+
/**
|
|
224
|
+
* @internal
|
|
225
|
+
*/
|
|
226
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
227
|
+
}
|
|
228
|
+
export interface CreateEndpointAccessRequest {
|
|
229
|
+
/**
|
|
230
|
+
* <p>The name of the VPC endpoint. An endpoint name must contain 1-30 characters.
|
|
231
|
+
* Valid characters are A-Z, a-z, 0-9, and hyphen(-). The first character must be a letter.
|
|
232
|
+
* The name can't contain two consecutive hyphens or end with a hyphen.</p>
|
|
233
|
+
*/
|
|
234
|
+
endpointName: string | undefined;
|
|
235
|
+
/**
|
|
236
|
+
* <p>The unique identifers of subnets from which
|
|
237
|
+
* Amazon Redshift Serverless chooses one to deploy a VPC endpoint.</p>
|
|
238
|
+
*/
|
|
239
|
+
subnetIds: string[] | undefined;
|
|
240
|
+
/**
|
|
241
|
+
* <p>The name of the workgroup to associate with the VPC endpoint.</p>
|
|
242
|
+
*/
|
|
243
|
+
workgroupName: string | undefined;
|
|
244
|
+
/**
|
|
245
|
+
* <p>The unique identifiers of the security group that defines the ports,
|
|
246
|
+
* protocols, and sources for inbound traffic that you are authorizing into your endpoint.</p>
|
|
247
|
+
*/
|
|
248
|
+
vpcSecurityGroupIds?: string[];
|
|
249
|
+
}
|
|
250
|
+
export declare namespace CreateEndpointAccessRequest {
|
|
251
|
+
/**
|
|
252
|
+
* @internal
|
|
253
|
+
*/
|
|
254
|
+
const filterSensitiveLog: (obj: CreateEndpointAccessRequest) => any;
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* <p>Contains information about a network interface
|
|
258
|
+
* in an Amazon Redshift Serverless managed VPC endpoint.
|
|
259
|
+
* </p>
|
|
260
|
+
*/
|
|
261
|
+
export interface NetworkInterface {
|
|
262
|
+
/**
|
|
263
|
+
* <p>The unique identifier of the network interface.</p>
|
|
264
|
+
*/
|
|
265
|
+
networkInterfaceId?: string;
|
|
266
|
+
/**
|
|
267
|
+
* <p>The unique identifier of the subnet.</p>
|
|
268
|
+
*/
|
|
269
|
+
subnetId?: string;
|
|
270
|
+
/**
|
|
271
|
+
* <p>The IPv4 address of the network interface within the subnet.</p>
|
|
272
|
+
*/
|
|
273
|
+
privateIpAddress?: string;
|
|
274
|
+
/**
|
|
275
|
+
* <p>The availability Zone.</p>
|
|
276
|
+
*/
|
|
277
|
+
availabilityZone?: string;
|
|
278
|
+
}
|
|
279
|
+
export declare namespace NetworkInterface {
|
|
280
|
+
/**
|
|
281
|
+
* @internal
|
|
282
|
+
*/
|
|
283
|
+
const filterSensitiveLog: (obj: NetworkInterface) => any;
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* <p>The connection endpoint for connecting to Amazon Redshift Serverless through the proxy.</p>
|
|
287
|
+
*/
|
|
288
|
+
export interface VpcEndpoint {
|
|
289
|
+
/**
|
|
290
|
+
* <p>The connection endpoint ID for connecting to Amazon Redshift Serverless.</p>
|
|
291
|
+
*/
|
|
292
|
+
vpcEndpointId?: string;
|
|
293
|
+
/**
|
|
294
|
+
* <p>The VPC identifier that the endpoint is associated with.</p>
|
|
295
|
+
*/
|
|
296
|
+
vpcId?: string;
|
|
297
|
+
/**
|
|
298
|
+
* <p>One or more network interfaces of the endpoint. Also known as an interface endpoint.</p>
|
|
299
|
+
*/
|
|
300
|
+
networkInterfaces?: NetworkInterface[];
|
|
301
|
+
}
|
|
302
|
+
export declare namespace VpcEndpoint {
|
|
303
|
+
/**
|
|
304
|
+
* @internal
|
|
305
|
+
*/
|
|
306
|
+
const filterSensitiveLog: (obj: VpcEndpoint) => any;
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* <p>Describes the members of a VPC security group.</p>
|
|
310
|
+
*/
|
|
311
|
+
export interface VpcSecurityGroupMembership {
|
|
312
|
+
/**
|
|
313
|
+
* <p>The unique identifier of the VPC security group.</p>
|
|
314
|
+
*/
|
|
315
|
+
vpcSecurityGroupId?: string;
|
|
316
|
+
/**
|
|
317
|
+
* <p>The status of the VPC security group.</p>
|
|
318
|
+
*/
|
|
319
|
+
status?: string;
|
|
320
|
+
}
|
|
321
|
+
export declare namespace VpcSecurityGroupMembership {
|
|
322
|
+
/**
|
|
323
|
+
* @internal
|
|
324
|
+
*/
|
|
325
|
+
const filterSensitiveLog: (obj: VpcSecurityGroupMembership) => any;
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* <p>Information about an Amazon Redshift Serverless VPC endpoint.</p>
|
|
329
|
+
*/
|
|
330
|
+
export interface EndpointAccess {
|
|
331
|
+
/**
|
|
332
|
+
* <p>The name of the VPC endpoint.</p>
|
|
333
|
+
*/
|
|
334
|
+
endpointName?: string;
|
|
335
|
+
/**
|
|
336
|
+
* <p>The status of the VPC endpoint.</p>
|
|
337
|
+
*/
|
|
338
|
+
endpointStatus?: string;
|
|
339
|
+
/**
|
|
340
|
+
* <p>The name of the workgroup associated with the endpoint.</p>
|
|
341
|
+
*/
|
|
342
|
+
workgroupName?: string;
|
|
343
|
+
/**
|
|
344
|
+
* <p>The time that the endpoint was created.</p>
|
|
345
|
+
*/
|
|
346
|
+
endpointCreateTime?: Date;
|
|
347
|
+
/**
|
|
348
|
+
* <p>The port number on which Amazon Redshift Serverless accepts incoming connections.</p>
|
|
349
|
+
*/
|
|
350
|
+
port?: number;
|
|
351
|
+
/**
|
|
352
|
+
* <p>The DNS address of the endpoint.</p>
|
|
353
|
+
*/
|
|
354
|
+
address?: string;
|
|
355
|
+
/**
|
|
356
|
+
* <p>The unique identifier of subnets
|
|
357
|
+
* where Amazon Redshift Serverless choose to deploy the VPC endpoint.</p>
|
|
358
|
+
*/
|
|
359
|
+
subnetIds?: string[];
|
|
360
|
+
/**
|
|
361
|
+
* <p>The security groups associated with the endpoint.</p>
|
|
362
|
+
*/
|
|
363
|
+
vpcSecurityGroups?: VpcSecurityGroupMembership[];
|
|
364
|
+
/**
|
|
365
|
+
* <p>The connection endpoint for connecting to Amazon Redshift Serverless.</p>
|
|
366
|
+
*/
|
|
367
|
+
vpcEndpoint?: VpcEndpoint;
|
|
368
|
+
/**
|
|
369
|
+
* <p>The Amazon Resource Name (ARN) of the VPC endpoint.</p>
|
|
370
|
+
*/
|
|
371
|
+
endpointArn?: string;
|
|
372
|
+
}
|
|
373
|
+
export declare namespace EndpointAccess {
|
|
374
|
+
/**
|
|
375
|
+
* @internal
|
|
376
|
+
*/
|
|
377
|
+
const filterSensitiveLog: (obj: EndpointAccess) => any;
|
|
378
|
+
}
|
|
379
|
+
export interface CreateEndpointAccessResponse {
|
|
380
|
+
/**
|
|
381
|
+
* <p>The created VPC endpoint.</p>
|
|
382
|
+
*/
|
|
383
|
+
endpoint?: EndpointAccess;
|
|
384
|
+
}
|
|
385
|
+
export declare namespace CreateEndpointAccessResponse {
|
|
386
|
+
/**
|
|
387
|
+
* @internal
|
|
388
|
+
*/
|
|
389
|
+
const filterSensitiveLog: (obj: CreateEndpointAccessResponse) => any;
|
|
390
|
+
}
|
|
391
|
+
export declare enum LogExport {
|
|
392
|
+
CONNECTION_LOG = "connectionlog",
|
|
393
|
+
USER_ACTIVITY_LOG = "useractivitylog",
|
|
394
|
+
USER_LOG = "userlog"
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
* <p>A map of key-value pairs.</p>
|
|
398
|
+
*/
|
|
399
|
+
export interface Tag {
|
|
400
|
+
/**
|
|
401
|
+
* <p>The key to use in the tag.</p>
|
|
402
|
+
*/
|
|
403
|
+
key: string | undefined;
|
|
404
|
+
/**
|
|
405
|
+
* <p>The value of the tag.</p>
|
|
406
|
+
*/
|
|
407
|
+
value: string | undefined;
|
|
408
|
+
}
|
|
409
|
+
export declare namespace Tag {
|
|
410
|
+
/**
|
|
411
|
+
* @internal
|
|
412
|
+
*/
|
|
413
|
+
const filterSensitiveLog: (obj: Tag) => any;
|
|
414
|
+
}
|
|
415
|
+
export interface CreateNamespaceRequest {
|
|
416
|
+
/**
|
|
417
|
+
* <p>The name of the namespace.</p>
|
|
418
|
+
*/
|
|
419
|
+
namespaceName: string | undefined;
|
|
420
|
+
/**
|
|
421
|
+
* <p>The username of the administrator for the first database created in the namespace.</p>
|
|
422
|
+
*/
|
|
423
|
+
adminUsername?: string;
|
|
424
|
+
/**
|
|
425
|
+
* <p>The password of the administrator for the first database created in the namespace.</p>
|
|
426
|
+
*/
|
|
427
|
+
adminUserPassword?: string;
|
|
428
|
+
/**
|
|
429
|
+
* <p>The name of the first database created in the namespace.</p>
|
|
430
|
+
*/
|
|
431
|
+
dbName?: string;
|
|
432
|
+
/**
|
|
433
|
+
* <p>The ID of the Amazon Web Services Key Management Service key used to encrypt your data.</p>
|
|
434
|
+
*/
|
|
435
|
+
kmsKeyId?: string;
|
|
436
|
+
/**
|
|
437
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.</p>
|
|
438
|
+
*/
|
|
439
|
+
defaultIamRoleArn?: string;
|
|
440
|
+
/**
|
|
441
|
+
* <p>A list of IAM roles to associate with the namespace.</p>
|
|
442
|
+
*/
|
|
443
|
+
iamRoles?: string[];
|
|
444
|
+
/**
|
|
445
|
+
* <p>The types of logs the namespace can export.
|
|
446
|
+
* Available export types are <code>userlog</code>, <code>connectionlog</code>, and <code>useractivitylog</code>.</p>
|
|
447
|
+
*/
|
|
448
|
+
logExports?: (LogExport | string)[];
|
|
449
|
+
/**
|
|
450
|
+
* <p>A list of tag instances.</p>
|
|
451
|
+
*/
|
|
452
|
+
tags?: Tag[];
|
|
453
|
+
}
|
|
454
|
+
export declare namespace CreateNamespaceRequest {
|
|
455
|
+
/**
|
|
456
|
+
* @internal
|
|
457
|
+
*/
|
|
458
|
+
const filterSensitiveLog: (obj: CreateNamespaceRequest) => any;
|
|
459
|
+
}
|
|
460
|
+
export declare enum NamespaceStatus {
|
|
461
|
+
AVAILABLE = "AVAILABLE",
|
|
462
|
+
DELETING = "DELETING",
|
|
463
|
+
MODIFYING = "MODIFYING"
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* <p>A collection of database objects and users.</p>
|
|
467
|
+
*/
|
|
468
|
+
export interface Namespace {
|
|
469
|
+
/**
|
|
470
|
+
* <p>The Amazon Resource Name (ARN) associated with a namespace.</p>
|
|
471
|
+
*/
|
|
472
|
+
namespaceArn?: string;
|
|
473
|
+
/**
|
|
474
|
+
* <p>The unique identifier of a namespace.</p>
|
|
475
|
+
*/
|
|
476
|
+
namespaceId?: string;
|
|
477
|
+
/**
|
|
478
|
+
* <p>The name of the namespace.
|
|
479
|
+
* Must be between 3-64 alphanumeric characters in lowercase,
|
|
480
|
+
* and it cannot be a reserved word. A list of reserved words can be found
|
|
481
|
+
* in <a href="https://docs.aws.amazon.com/redshift/latest/dg/r_pg_keywords.html">Reserved Words</a> in the Amazon Redshift Database Developer Guide.</p>
|
|
482
|
+
*/
|
|
483
|
+
namespaceName?: string;
|
|
484
|
+
/**
|
|
485
|
+
* <p>The username of the administrator for the first database created in the namespace.</p>
|
|
486
|
+
*/
|
|
487
|
+
adminUsername?: string;
|
|
488
|
+
/**
|
|
489
|
+
* <p>The name of the first database created in the namespace.</p>
|
|
490
|
+
*/
|
|
491
|
+
dbName?: string;
|
|
492
|
+
/**
|
|
493
|
+
* <p>The ID of the Amazon Web Services Key Management Service key used to encrypt your data.</p>
|
|
494
|
+
*/
|
|
495
|
+
kmsKeyId?: string;
|
|
496
|
+
/**
|
|
497
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.</p>
|
|
498
|
+
*/
|
|
499
|
+
defaultIamRoleArn?: string;
|
|
500
|
+
/**
|
|
501
|
+
* <p>A list of IAM roles to associate with the namespace.</p>
|
|
502
|
+
*/
|
|
503
|
+
iamRoles?: string[];
|
|
504
|
+
/**
|
|
505
|
+
* <p>The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.</p>
|
|
506
|
+
*/
|
|
507
|
+
logExports?: (LogExport | string)[];
|
|
508
|
+
/**
|
|
509
|
+
* <p>The status of the namespace.</p>
|
|
510
|
+
*/
|
|
511
|
+
status?: NamespaceStatus | string;
|
|
512
|
+
/**
|
|
513
|
+
* <p>The date of when the namespace was created.</p>
|
|
514
|
+
*/
|
|
515
|
+
creationDate?: Date;
|
|
516
|
+
}
|
|
517
|
+
export declare namespace Namespace {
|
|
518
|
+
/**
|
|
519
|
+
* @internal
|
|
520
|
+
*/
|
|
521
|
+
const filterSensitiveLog: (obj: Namespace) => any;
|
|
522
|
+
}
|
|
523
|
+
export interface CreateNamespaceResponse {
|
|
524
|
+
/**
|
|
525
|
+
* <p>The created namespace object.</p>
|
|
526
|
+
*/
|
|
527
|
+
namespace?: Namespace;
|
|
528
|
+
}
|
|
529
|
+
export declare namespace CreateNamespaceResponse {
|
|
530
|
+
/**
|
|
531
|
+
* @internal
|
|
532
|
+
*/
|
|
533
|
+
const filterSensitiveLog: (obj: CreateNamespaceResponse) => any;
|
|
534
|
+
}
|
|
535
|
+
/**
|
|
536
|
+
* <p>The request exceeded the number of tags allowed for a resource.</p>
|
|
537
|
+
*/
|
|
538
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
539
|
+
readonly name: "TooManyTagsException";
|
|
540
|
+
readonly $fault: "client";
|
|
541
|
+
/**
|
|
542
|
+
* <p>The name of the resource that exceeded the number of tags allowed for a resource.</p>
|
|
543
|
+
*/
|
|
544
|
+
resourceName?: string;
|
|
545
|
+
/**
|
|
546
|
+
* @internal
|
|
547
|
+
*/
|
|
548
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
549
|
+
}
|
|
550
|
+
export interface CreateSnapshotRequest {
|
|
551
|
+
/**
|
|
552
|
+
* <p>The namespace to create a snapshot for.</p>
|
|
553
|
+
*/
|
|
554
|
+
namespaceName: string | undefined;
|
|
555
|
+
/**
|
|
556
|
+
* <p>The name of the snapshot.</p>
|
|
557
|
+
*/
|
|
558
|
+
snapshotName: string | undefined;
|
|
559
|
+
/**
|
|
560
|
+
* <p>How long to retain the created snapshot.</p>
|
|
561
|
+
*/
|
|
562
|
+
retentionPeriod?: number;
|
|
563
|
+
}
|
|
564
|
+
export declare namespace CreateSnapshotRequest {
|
|
565
|
+
/**
|
|
566
|
+
* @internal
|
|
567
|
+
*/
|
|
568
|
+
const filterSensitiveLog: (obj: CreateSnapshotRequest) => any;
|
|
569
|
+
}
|
|
570
|
+
export interface CreateSnapshotResponse {
|
|
571
|
+
/**
|
|
572
|
+
* <p>The created snapshot object.</p>
|
|
573
|
+
*/
|
|
574
|
+
snapshot?: Snapshot;
|
|
575
|
+
}
|
|
576
|
+
export declare namespace CreateSnapshotResponse {
|
|
577
|
+
/**
|
|
578
|
+
* @internal
|
|
579
|
+
*/
|
|
580
|
+
const filterSensitiveLog: (obj: CreateSnapshotResponse) => any;
|
|
581
|
+
}
|
|
582
|
+
export declare enum UsageLimitBreachAction {
|
|
583
|
+
DEACTIVATE = "deactivate",
|
|
584
|
+
EMIT_METRIC = "emit-metric",
|
|
585
|
+
LOG = "log"
|
|
586
|
+
}
|
|
587
|
+
export declare enum UsageLimitPeriod {
|
|
588
|
+
DAILY = "daily",
|
|
589
|
+
MONTHLY = "monthly",
|
|
590
|
+
WEEKLY = "weekly"
|
|
591
|
+
}
|
|
592
|
+
export declare enum UsageLimitUsageType {
|
|
593
|
+
CROSS_REGION_DATASHARING = "cross-region-datasharing",
|
|
594
|
+
SERVERLESS_COMPUTE = "serverless-compute"
|
|
595
|
+
}
|
|
596
|
+
export interface CreateUsageLimitRequest {
|
|
597
|
+
/**
|
|
598
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for.</p>
|
|
599
|
+
*/
|
|
600
|
+
resourceArn: string | undefined;
|
|
601
|
+
/**
|
|
602
|
+
* <p>The type of Amazon Redshift Serverless usage to create a usage limit for.</p>
|
|
603
|
+
*/
|
|
604
|
+
usageType: UsageLimitUsageType | string | undefined;
|
|
605
|
+
/**
|
|
606
|
+
* <p>The limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data
|
|
607
|
+
* transferred between Regions in cross-account sharing. The value must be a positive number.</p>
|
|
608
|
+
*/
|
|
609
|
+
amount: number | undefined;
|
|
610
|
+
/**
|
|
611
|
+
* <p>The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.</p>
|
|
612
|
+
*/
|
|
613
|
+
period?: UsageLimitPeriod | string;
|
|
614
|
+
/**
|
|
615
|
+
* <p>The action that Amazon Redshift Serverless takes when the limit is reached. The default is log.</p>
|
|
616
|
+
*/
|
|
617
|
+
breachAction?: UsageLimitBreachAction | string;
|
|
618
|
+
}
|
|
619
|
+
export declare namespace CreateUsageLimitRequest {
|
|
620
|
+
/**
|
|
621
|
+
* @internal
|
|
622
|
+
*/
|
|
623
|
+
const filterSensitiveLog: (obj: CreateUsageLimitRequest) => any;
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* <p>The usage limit object.</p>
|
|
627
|
+
*/
|
|
628
|
+
export interface UsageLimit {
|
|
629
|
+
/**
|
|
630
|
+
* <p>The identifier of the usage limit.</p>
|
|
631
|
+
*/
|
|
632
|
+
usageLimitId?: string;
|
|
633
|
+
/**
|
|
634
|
+
* <p>The Amazon Resource Name of the resource associated with the usage limit.</p>
|
|
635
|
+
*/
|
|
636
|
+
usageLimitArn?: string;
|
|
637
|
+
/**
|
|
638
|
+
* <p>The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource.</p>
|
|
639
|
+
*/
|
|
640
|
+
resourceArn?: string;
|
|
641
|
+
/**
|
|
642
|
+
* <p>The Amazon Redshift Serverless feature to limit.</p>
|
|
643
|
+
*/
|
|
644
|
+
usageType?: UsageLimitUsageType | string;
|
|
645
|
+
/**
|
|
646
|
+
* <p>The limit amount. If time-based, this amount is in RPUs consumed per hour. If data-based, this amount is in terabytes (TB). The value must be a positive number.</p>
|
|
647
|
+
*/
|
|
648
|
+
amount?: number;
|
|
649
|
+
/**
|
|
650
|
+
* <p>The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.</p>
|
|
651
|
+
*/
|
|
652
|
+
period?: UsageLimitPeriod | string;
|
|
653
|
+
/**
|
|
654
|
+
* <p>The action that Amazon Redshift Serverless takes when the limit is reached.</p>
|
|
655
|
+
*/
|
|
656
|
+
breachAction?: UsageLimitBreachAction | string;
|
|
657
|
+
}
|
|
658
|
+
export declare namespace UsageLimit {
|
|
659
|
+
/**
|
|
660
|
+
* @internal
|
|
661
|
+
*/
|
|
662
|
+
const filterSensitiveLog: (obj: UsageLimit) => any;
|
|
663
|
+
}
|
|
664
|
+
export interface CreateUsageLimitResponse {
|
|
665
|
+
/**
|
|
666
|
+
* <p>The returned usage limit object.</p>
|
|
667
|
+
*/
|
|
668
|
+
usageLimit?: UsageLimit;
|
|
669
|
+
}
|
|
670
|
+
export declare namespace CreateUsageLimitResponse {
|
|
671
|
+
/**
|
|
672
|
+
* @internal
|
|
673
|
+
*/
|
|
674
|
+
const filterSensitiveLog: (obj: CreateUsageLimitResponse) => any;
|
|
675
|
+
}
|
|
676
|
+
export interface CreateWorkgroupRequest {
|
|
677
|
+
/**
|
|
678
|
+
* <p>The name of the created workgroup.</p>
|
|
679
|
+
*/
|
|
680
|
+
workgroupName: string | undefined;
|
|
681
|
+
/**
|
|
682
|
+
* <p>The name of the namespace to associate with the workgroup.</p>
|
|
683
|
+
*/
|
|
684
|
+
namespaceName: string | undefined;
|
|
685
|
+
/**
|
|
686
|
+
* <p>The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).</p>
|
|
687
|
+
*/
|
|
688
|
+
baseCapacity?: number;
|
|
689
|
+
/**
|
|
690
|
+
* <p>The value that specifies whether to turn on enhanced virtual
|
|
691
|
+
* private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.</p>
|
|
692
|
+
*/
|
|
693
|
+
enhancedVpcRouting?: boolean;
|
|
694
|
+
/**
|
|
695
|
+
* <p>An array of parameters to set for more control over a serverless database. The
|
|
696
|
+
* options are <code>datestyle</code>, <code>enable_user_activity_logging</code>,
|
|
697
|
+
* <code>query_group</code>, <code>search_path</code>, and <code>max_query_execution_time</code>.</p>
|
|
698
|
+
*/
|
|
699
|
+
configParameters?: ConfigParameter[];
|
|
700
|
+
/**
|
|
701
|
+
* <p>An array of security group IDs to associate with the workgroup.</p>
|
|
702
|
+
*/
|
|
703
|
+
securityGroupIds?: string[];
|
|
704
|
+
/**
|
|
705
|
+
* <p>An array of VPC subnet IDs to associate with the workgroup.</p>
|
|
706
|
+
*/
|
|
707
|
+
subnetIds?: string[];
|
|
708
|
+
/**
|
|
709
|
+
* <p>A value that specifies whether the workgroup can be accessed from a public network.</p>
|
|
710
|
+
*/
|
|
711
|
+
publiclyAccessible?: boolean;
|
|
712
|
+
/**
|
|
713
|
+
* <p>A array of tag instances.</p>
|
|
714
|
+
*/
|
|
715
|
+
tags?: Tag[];
|
|
716
|
+
}
|
|
717
|
+
export declare namespace CreateWorkgroupRequest {
|
|
718
|
+
/**
|
|
719
|
+
* @internal
|
|
720
|
+
*/
|
|
721
|
+
const filterSensitiveLog: (obj: CreateWorkgroupRequest) => any;
|
|
722
|
+
}
|
|
723
|
+
/**
|
|
724
|
+
* <p>The VPC endpoint object.</p>
|
|
725
|
+
*/
|
|
726
|
+
export interface Endpoint {
|
|
727
|
+
/**
|
|
728
|
+
* <p>The DNS address of the VPC endpoint.</p>
|
|
729
|
+
*/
|
|
730
|
+
address?: string;
|
|
731
|
+
/**
|
|
732
|
+
* <p>The port that Amazon Redshift Serverless listens on.</p>
|
|
733
|
+
*/
|
|
734
|
+
port?: number;
|
|
735
|
+
/**
|
|
736
|
+
* <p>An array of <code>VpcEndpoint</code> objects.</p>
|
|
737
|
+
*/
|
|
738
|
+
vpcEndpoints?: VpcEndpoint[];
|
|
739
|
+
}
|
|
740
|
+
export declare namespace Endpoint {
|
|
741
|
+
/**
|
|
742
|
+
* @internal
|
|
743
|
+
*/
|
|
744
|
+
const filterSensitiveLog: (obj: Endpoint) => any;
|
|
745
|
+
}
|
|
746
|
+
export declare enum WorkgroupStatus {
|
|
747
|
+
AVAILABLE = "AVAILABLE",
|
|
748
|
+
CREATING = "CREATING",
|
|
749
|
+
DELETING = "DELETING",
|
|
750
|
+
MODIFYING = "MODIFYING"
|
|
751
|
+
}
|
|
752
|
+
/**
|
|
753
|
+
* <p>The collection of computing resources from which an endpoint is created.</p>
|
|
754
|
+
*/
|
|
755
|
+
export interface Workgroup {
|
|
756
|
+
/**
|
|
757
|
+
* <p>The unique identifier of the workgroup.</p>
|
|
758
|
+
*/
|
|
759
|
+
workgroupId?: string;
|
|
760
|
+
/**
|
|
761
|
+
* <p>The Amazon Resource Name (ARN) that links to the workgroup.</p>
|
|
762
|
+
*/
|
|
763
|
+
workgroupArn?: string;
|
|
764
|
+
/**
|
|
765
|
+
* <p>The name of the workgroup.</p>
|
|
766
|
+
*/
|
|
767
|
+
workgroupName?: string;
|
|
768
|
+
/**
|
|
769
|
+
* <p>The namespace the workgroup is associated with.</p>
|
|
770
|
+
*/
|
|
771
|
+
namespaceName?: string;
|
|
772
|
+
/**
|
|
773
|
+
* <p>The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).</p>
|
|
774
|
+
*/
|
|
775
|
+
baseCapacity?: number;
|
|
776
|
+
/**
|
|
777
|
+
* <p>The value that specifies whether to enable enhanced virtual
|
|
778
|
+
* private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.</p>
|
|
779
|
+
*/
|
|
780
|
+
enhancedVpcRouting?: boolean;
|
|
781
|
+
/**
|
|
782
|
+
* <p>An array of parameters to set for finer control over a database. The
|
|
783
|
+
* options are <code>datestyle</code>, <code>enable_user_activity_logging</code>,
|
|
784
|
+
* <code>query_group</code>, <code>search_path</code>, and <code>max_query_execution_time</code>.</p>
|
|
785
|
+
*/
|
|
786
|
+
configParameters?: ConfigParameter[];
|
|
787
|
+
/**
|
|
788
|
+
* <p>An array of security group IDs to associate with the workgroup.</p>
|
|
789
|
+
*/
|
|
790
|
+
securityGroupIds?: string[];
|
|
791
|
+
/**
|
|
792
|
+
* <p>An array of subnet IDs the workgroup is associated with.</p>
|
|
793
|
+
*/
|
|
794
|
+
subnetIds?: string[];
|
|
795
|
+
/**
|
|
796
|
+
* <p>The status of the workgroup.</p>
|
|
797
|
+
*/
|
|
798
|
+
status?: WorkgroupStatus | string;
|
|
799
|
+
/**
|
|
800
|
+
* <p>The endpoint that is created from the workgroup.</p>
|
|
801
|
+
*/
|
|
802
|
+
endpoint?: Endpoint;
|
|
803
|
+
/**
|
|
804
|
+
* <p>A value that specifies whether the workgroup
|
|
805
|
+
* can be accessible from a public network</p>
|
|
806
|
+
*/
|
|
807
|
+
publiclyAccessible?: boolean;
|
|
808
|
+
/**
|
|
809
|
+
* <p>The creation date of the workgroup.</p>
|
|
810
|
+
*/
|
|
811
|
+
creationDate?: Date;
|
|
812
|
+
}
|
|
813
|
+
export declare namespace Workgroup {
|
|
814
|
+
/**
|
|
815
|
+
* @internal
|
|
816
|
+
*/
|
|
817
|
+
const filterSensitiveLog: (obj: Workgroup) => any;
|
|
818
|
+
}
|
|
819
|
+
export interface CreateWorkgroupResponse {
|
|
820
|
+
/**
|
|
821
|
+
* <p>The created workgroup object.</p>
|
|
822
|
+
*/
|
|
823
|
+
workgroup?: Workgroup;
|
|
824
|
+
}
|
|
825
|
+
export declare namespace CreateWorkgroupResponse {
|
|
826
|
+
/**
|
|
827
|
+
* @internal
|
|
828
|
+
*/
|
|
829
|
+
const filterSensitiveLog: (obj: CreateWorkgroupResponse) => any;
|
|
830
|
+
}
|
|
831
|
+
/**
|
|
832
|
+
* <p>There is an insufficient capacity to perform the action.</p>
|
|
833
|
+
*/
|
|
834
|
+
export declare class InsufficientCapacityException extends __BaseException {
|
|
835
|
+
readonly name: "InsufficientCapacityException";
|
|
836
|
+
readonly $fault: "client";
|
|
837
|
+
$retryable: {};
|
|
838
|
+
/**
|
|
839
|
+
* @internal
|
|
840
|
+
*/
|
|
841
|
+
constructor(opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>);
|
|
842
|
+
}
|
|
843
|
+
export interface DeleteEndpointAccessRequest {
|
|
844
|
+
/**
|
|
845
|
+
* <p>The name of the VPC endpoint to delete.</p>
|
|
846
|
+
*/
|
|
847
|
+
endpointName: string | undefined;
|
|
848
|
+
}
|
|
849
|
+
export declare namespace DeleteEndpointAccessRequest {
|
|
850
|
+
/**
|
|
851
|
+
* @internal
|
|
852
|
+
*/
|
|
853
|
+
const filterSensitiveLog: (obj: DeleteEndpointAccessRequest) => any;
|
|
854
|
+
}
|
|
855
|
+
export interface DeleteEndpointAccessResponse {
|
|
856
|
+
/**
|
|
857
|
+
* <p>The deleted VPC endpoint.</p>
|
|
858
|
+
*/
|
|
859
|
+
endpoint?: EndpointAccess;
|
|
860
|
+
}
|
|
861
|
+
export declare namespace DeleteEndpointAccessResponse {
|
|
862
|
+
/**
|
|
863
|
+
* @internal
|
|
864
|
+
*/
|
|
865
|
+
const filterSensitiveLog: (obj: DeleteEndpointAccessResponse) => any;
|
|
866
|
+
}
|
|
867
|
+
export interface GetEndpointAccessRequest {
|
|
868
|
+
/**
|
|
869
|
+
* <p>The name of the VPC endpoint to return information for.</p>
|
|
870
|
+
*/
|
|
871
|
+
endpointName: string | undefined;
|
|
872
|
+
}
|
|
873
|
+
export declare namespace GetEndpointAccessRequest {
|
|
874
|
+
/**
|
|
875
|
+
* @internal
|
|
876
|
+
*/
|
|
877
|
+
const filterSensitiveLog: (obj: GetEndpointAccessRequest) => any;
|
|
878
|
+
}
|
|
879
|
+
export interface GetEndpointAccessResponse {
|
|
880
|
+
/**
|
|
881
|
+
* <p>The returned VPC endpoint.</p>
|
|
882
|
+
*/
|
|
883
|
+
endpoint?: EndpointAccess;
|
|
884
|
+
}
|
|
885
|
+
export declare namespace GetEndpointAccessResponse {
|
|
886
|
+
/**
|
|
887
|
+
* @internal
|
|
888
|
+
*/
|
|
889
|
+
const filterSensitiveLog: (obj: GetEndpointAccessResponse) => any;
|
|
890
|
+
}
|
|
891
|
+
export interface ListEndpointAccessRequest {
|
|
892
|
+
/**
|
|
893
|
+
* <p>If your initial <code>ListEndpointAccess</code> operation returns a <code>nextToken</code>,
|
|
894
|
+
* you can include the returned <code>nextToken</code> in subsequent <code>ListEndpointAccess</code> operations,
|
|
895
|
+
* which returns results in the next page.</p>
|
|
896
|
+
*/
|
|
897
|
+
nextToken?: string;
|
|
898
|
+
/**
|
|
899
|
+
* <p>An optional parameter that specifies the maximum number of results to return.
|
|
900
|
+
* You can use <code>nextToken</code> to get the next page of results.</p>
|
|
901
|
+
*/
|
|
902
|
+
maxResults?: number;
|
|
903
|
+
/**
|
|
904
|
+
* <p>The name of the workgroup associated with the VPC endpoint to return.</p>
|
|
905
|
+
*/
|
|
906
|
+
workgroupName?: string;
|
|
907
|
+
/**
|
|
908
|
+
* <p>The unique identifier of the virtual private cloud with access to Amazon Redshift Serverless.</p>
|
|
909
|
+
*/
|
|
910
|
+
vpcId?: string;
|
|
911
|
+
}
|
|
912
|
+
export declare namespace ListEndpointAccessRequest {
|
|
913
|
+
/**
|
|
914
|
+
* @internal
|
|
915
|
+
*/
|
|
916
|
+
const filterSensitiveLog: (obj: ListEndpointAccessRequest) => any;
|
|
917
|
+
}
|
|
918
|
+
export interface ListEndpointAccessResponse {
|
|
919
|
+
/**
|
|
920
|
+
* <p>When <code>nextToken</code> is returned, there are more results available.
|
|
921
|
+
* The value of <code>nextToken</code> is a unique pagination token for each page.
|
|
922
|
+
* Make the call again using the returned token to retrieve the next page.</p>
|
|
923
|
+
*/
|
|
924
|
+
nextToken?: string;
|
|
925
|
+
/**
|
|
926
|
+
* <p>The returned VPC endpoints.</p>
|
|
927
|
+
*/
|
|
928
|
+
endpoints: EndpointAccess[] | undefined;
|
|
929
|
+
}
|
|
930
|
+
export declare namespace ListEndpointAccessResponse {
|
|
931
|
+
/**
|
|
932
|
+
* @internal
|
|
933
|
+
*/
|
|
934
|
+
const filterSensitiveLog: (obj: ListEndpointAccessResponse) => any;
|
|
935
|
+
}
|
|
936
|
+
export interface UpdateEndpointAccessRequest {
|
|
937
|
+
/**
|
|
938
|
+
* <p>The name of the VPC endpoint to update.</p>
|
|
939
|
+
*/
|
|
940
|
+
endpointName: string | undefined;
|
|
941
|
+
/**
|
|
942
|
+
* <p>The list of VPC security groups associated with the endpoint after the endpoint is modified.</p>
|
|
943
|
+
*/
|
|
944
|
+
vpcSecurityGroupIds?: string[];
|
|
945
|
+
}
|
|
946
|
+
export declare namespace UpdateEndpointAccessRequest {
|
|
947
|
+
/**
|
|
948
|
+
* @internal
|
|
949
|
+
*/
|
|
950
|
+
const filterSensitiveLog: (obj: UpdateEndpointAccessRequest) => any;
|
|
951
|
+
}
|
|
952
|
+
export interface UpdateEndpointAccessResponse {
|
|
953
|
+
/**
|
|
954
|
+
* <p>The updated VPC endpoint.</p>
|
|
955
|
+
*/
|
|
956
|
+
endpoint?: EndpointAccess;
|
|
957
|
+
}
|
|
958
|
+
export declare namespace UpdateEndpointAccessResponse {
|
|
959
|
+
/**
|
|
960
|
+
* @internal
|
|
961
|
+
*/
|
|
962
|
+
const filterSensitiveLog: (obj: UpdateEndpointAccessResponse) => any;
|
|
963
|
+
}
|
|
964
|
+
export interface DeleteNamespaceRequest {
|
|
965
|
+
/**
|
|
966
|
+
* <p>The name of the namespace to delete.</p>
|
|
967
|
+
*/
|
|
968
|
+
namespaceName: string | undefined;
|
|
969
|
+
/**
|
|
970
|
+
* <p>The name of the snapshot to be created before the namespace is deleted.</p>
|
|
971
|
+
*/
|
|
972
|
+
finalSnapshotName?: string;
|
|
973
|
+
/**
|
|
974
|
+
* <p>How long to retain the final snapshot.</p>
|
|
975
|
+
*/
|
|
976
|
+
finalSnapshotRetentionPeriod?: number;
|
|
977
|
+
}
|
|
978
|
+
export declare namespace DeleteNamespaceRequest {
|
|
979
|
+
/**
|
|
980
|
+
* @internal
|
|
981
|
+
*/
|
|
982
|
+
const filterSensitiveLog: (obj: DeleteNamespaceRequest) => any;
|
|
983
|
+
}
|
|
984
|
+
export interface DeleteNamespaceResponse {
|
|
985
|
+
/**
|
|
986
|
+
* <p>The deleted namespace object.</p>
|
|
987
|
+
*/
|
|
988
|
+
namespace: Namespace | undefined;
|
|
989
|
+
}
|
|
990
|
+
export declare namespace DeleteNamespaceResponse {
|
|
991
|
+
/**
|
|
992
|
+
* @internal
|
|
993
|
+
*/
|
|
994
|
+
const filterSensitiveLog: (obj: DeleteNamespaceResponse) => any;
|
|
995
|
+
}
|
|
996
|
+
export interface DeleteResourcePolicyRequest {
|
|
997
|
+
/**
|
|
998
|
+
* <p>The Amazon Resource Name (ARN) of the policy to delete.</p>
|
|
999
|
+
*/
|
|
1000
|
+
resourceArn: string | undefined;
|
|
1001
|
+
}
|
|
1002
|
+
export declare namespace DeleteResourcePolicyRequest {
|
|
1003
|
+
/**
|
|
1004
|
+
* @internal
|
|
1005
|
+
*/
|
|
1006
|
+
const filterSensitiveLog: (obj: DeleteResourcePolicyRequest) => any;
|
|
1007
|
+
}
|
|
1008
|
+
export interface DeleteResourcePolicyResponse {
|
|
1009
|
+
}
|
|
1010
|
+
export declare namespace DeleteResourcePolicyResponse {
|
|
1011
|
+
/**
|
|
1012
|
+
* @internal
|
|
1013
|
+
*/
|
|
1014
|
+
const filterSensitiveLog: (obj: DeleteResourcePolicyResponse) => any;
|
|
1015
|
+
}
|
|
1016
|
+
export interface DeleteSnapshotRequest {
|
|
1017
|
+
/**
|
|
1018
|
+
* <p>The name of the snapshot to be deleted.</p>
|
|
1019
|
+
*/
|
|
1020
|
+
snapshotName: string | undefined;
|
|
1021
|
+
}
|
|
1022
|
+
export declare namespace DeleteSnapshotRequest {
|
|
1023
|
+
/**
|
|
1024
|
+
* @internal
|
|
1025
|
+
*/
|
|
1026
|
+
const filterSensitiveLog: (obj: DeleteSnapshotRequest) => any;
|
|
1027
|
+
}
|
|
1028
|
+
export interface DeleteSnapshotResponse {
|
|
1029
|
+
/**
|
|
1030
|
+
* <p>The deleted snapshot object.</p>
|
|
1031
|
+
*/
|
|
1032
|
+
snapshot?: Snapshot;
|
|
1033
|
+
}
|
|
1034
|
+
export declare namespace DeleteSnapshotResponse {
|
|
1035
|
+
/**
|
|
1036
|
+
* @internal
|
|
1037
|
+
*/
|
|
1038
|
+
const filterSensitiveLog: (obj: DeleteSnapshotResponse) => any;
|
|
1039
|
+
}
|
|
1040
|
+
export interface DeleteUsageLimitRequest {
|
|
1041
|
+
/**
|
|
1042
|
+
* <p>The unique identifier of the usage limit to delete.</p>
|
|
1043
|
+
*/
|
|
1044
|
+
usageLimitId: string | undefined;
|
|
1045
|
+
}
|
|
1046
|
+
export declare namespace DeleteUsageLimitRequest {
|
|
1047
|
+
/**
|
|
1048
|
+
* @internal
|
|
1049
|
+
*/
|
|
1050
|
+
const filterSensitiveLog: (obj: DeleteUsageLimitRequest) => any;
|
|
1051
|
+
}
|
|
1052
|
+
export interface DeleteUsageLimitResponse {
|
|
1053
|
+
/**
|
|
1054
|
+
* <p>The deleted usage limit object.</p>
|
|
1055
|
+
*/
|
|
1056
|
+
usageLimit?: UsageLimit;
|
|
1057
|
+
}
|
|
1058
|
+
export declare namespace DeleteUsageLimitResponse {
|
|
1059
|
+
/**
|
|
1060
|
+
* @internal
|
|
1061
|
+
*/
|
|
1062
|
+
const filterSensitiveLog: (obj: DeleteUsageLimitResponse) => any;
|
|
1063
|
+
}
|
|
1064
|
+
export interface DeleteWorkgroupRequest {
|
|
1065
|
+
/**
|
|
1066
|
+
* <p>The name of the workgroup to be deleted.</p>
|
|
1067
|
+
*/
|
|
1068
|
+
workgroupName: string | undefined;
|
|
1069
|
+
}
|
|
1070
|
+
export declare namespace DeleteWorkgroupRequest {
|
|
1071
|
+
/**
|
|
1072
|
+
* @internal
|
|
1073
|
+
*/
|
|
1074
|
+
const filterSensitiveLog: (obj: DeleteWorkgroupRequest) => any;
|
|
1075
|
+
}
|
|
1076
|
+
export interface DeleteWorkgroupResponse {
|
|
1077
|
+
/**
|
|
1078
|
+
* <p>The deleted workgroup object.</p>
|
|
1079
|
+
*/
|
|
1080
|
+
workgroup: Workgroup | undefined;
|
|
1081
|
+
}
|
|
1082
|
+
export declare namespace DeleteWorkgroupResponse {
|
|
1083
|
+
/**
|
|
1084
|
+
* @internal
|
|
1085
|
+
*/
|
|
1086
|
+
const filterSensitiveLog: (obj: DeleteWorkgroupResponse) => any;
|
|
1087
|
+
}
|
|
1088
|
+
export interface GetCredentialsRequest {
|
|
1089
|
+
/**
|
|
1090
|
+
* <p>The name of the workgroup associated with the database.</p>
|
|
1091
|
+
*/
|
|
1092
|
+
workgroupName: string | undefined;
|
|
1093
|
+
/**
|
|
1094
|
+
* <p>The name of the database to get temporary authorization to log on to.</p>
|
|
1095
|
+
* <p>Constraints:</p>
|
|
1096
|
+
* <ul>
|
|
1097
|
+
* <li>
|
|
1098
|
+
* <p>Must be 1 to 64 alphanumeric characters or hyphens.</p>
|
|
1099
|
+
* </li>
|
|
1100
|
+
* <li>
|
|
1101
|
+
* <p>Must contain only lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.</p>
|
|
1102
|
+
* </li>
|
|
1103
|
+
* <li>
|
|
1104
|
+
* <p>The first character must be a letter.</p>
|
|
1105
|
+
* </li>
|
|
1106
|
+
* <li>
|
|
1107
|
+
* <p>Must not contain a colon ( : ) or slash ( / ).</p>
|
|
1108
|
+
* </li>
|
|
1109
|
+
* <li>
|
|
1110
|
+
* <p>Cannot be a reserved word. A list of reserved words can be found
|
|
1111
|
+
* in <a href="https://docs.aws.amazon.com/redshift/latest/dg/r_pg_keywords.html">Reserved Words </a>
|
|
1112
|
+
* in the Amazon Redshift Database Developer Guide</p>
|
|
1113
|
+
* </li>
|
|
1114
|
+
* </ul>
|
|
1115
|
+
*/
|
|
1116
|
+
dbName?: string;
|
|
1117
|
+
/**
|
|
1118
|
+
* <p>The number of seconds until the returned temporary password expires.
|
|
1119
|
+
* The minimum is 900 seconds, and the maximum is 3600 seconds.</p>
|
|
1120
|
+
*/
|
|
1121
|
+
durationSeconds?: number;
|
|
1122
|
+
}
|
|
1123
|
+
export declare namespace GetCredentialsRequest {
|
|
1124
|
+
/**
|
|
1125
|
+
* @internal
|
|
1126
|
+
*/
|
|
1127
|
+
const filterSensitiveLog: (obj: GetCredentialsRequest) => any;
|
|
1128
|
+
}
|
|
1129
|
+
export interface GetCredentialsResponse {
|
|
1130
|
+
/**
|
|
1131
|
+
* <p>A database user name that is authorized to log on to the database <code>DbName</code>
|
|
1132
|
+
* using the password <code>DbPassword</code>. If the specified <code>DbUser</code> exists in the database,
|
|
1133
|
+
* the new user name has the same database privileges as the the user named in
|
|
1134
|
+
* <code>DbUser</code>. By default, the user is added to PUBLIC.</p>
|
|
1135
|
+
*/
|
|
1136
|
+
dbUser?: string;
|
|
1137
|
+
/**
|
|
1138
|
+
* <p>A temporary password that authorizes the user name returned by
|
|
1139
|
+
* <code>DbUser</code> to log on to the database <code>DbName</code>.</p>
|
|
1140
|
+
*/
|
|
1141
|
+
dbPassword?: string;
|
|
1142
|
+
/**
|
|
1143
|
+
* <p>The date and time the password in <code>DbPassword</code> expires.</p>
|
|
1144
|
+
*/
|
|
1145
|
+
expiration?: Date;
|
|
1146
|
+
/**
|
|
1147
|
+
* <p>The date and time of when the <code>DbUser</code> and <code>DbPassword</code>
|
|
1148
|
+
* authorization refreshes.</p>
|
|
1149
|
+
*/
|
|
1150
|
+
nextRefreshTime?: Date;
|
|
1151
|
+
}
|
|
1152
|
+
export declare namespace GetCredentialsResponse {
|
|
1153
|
+
/**
|
|
1154
|
+
* @internal
|
|
1155
|
+
*/
|
|
1156
|
+
const filterSensitiveLog: (obj: GetCredentialsResponse) => any;
|
|
1157
|
+
}
|
|
1158
|
+
export interface GetNamespaceRequest {
|
|
1159
|
+
/**
|
|
1160
|
+
* <p>The name of the namespace to retrieve information for.</p>
|
|
1161
|
+
*/
|
|
1162
|
+
namespaceName: string | undefined;
|
|
1163
|
+
}
|
|
1164
|
+
export declare namespace GetNamespaceRequest {
|
|
1165
|
+
/**
|
|
1166
|
+
* @internal
|
|
1167
|
+
*/
|
|
1168
|
+
const filterSensitiveLog: (obj: GetNamespaceRequest) => any;
|
|
1169
|
+
}
|
|
1170
|
+
export interface GetNamespaceResponse {
|
|
1171
|
+
/**
|
|
1172
|
+
* <p>The returned namespace object.</p>
|
|
1173
|
+
*/
|
|
1174
|
+
namespace: Namespace | undefined;
|
|
1175
|
+
}
|
|
1176
|
+
export declare namespace GetNamespaceResponse {
|
|
1177
|
+
/**
|
|
1178
|
+
* @internal
|
|
1179
|
+
*/
|
|
1180
|
+
const filterSensitiveLog: (obj: GetNamespaceResponse) => any;
|
|
1181
|
+
}
|
|
1182
|
+
export interface GetRecoveryPointRequest {
|
|
1183
|
+
/**
|
|
1184
|
+
* <p>The unique identifier of the recovery point to return information for.</p>
|
|
1185
|
+
*/
|
|
1186
|
+
recoveryPointId: string | undefined;
|
|
1187
|
+
}
|
|
1188
|
+
export declare namespace GetRecoveryPointRequest {
|
|
1189
|
+
/**
|
|
1190
|
+
* @internal
|
|
1191
|
+
*/
|
|
1192
|
+
const filterSensitiveLog: (obj: GetRecoveryPointRequest) => any;
|
|
1193
|
+
}
|
|
1194
|
+
/**
|
|
1195
|
+
* <p>The automatically created recovery point of a namespace.
|
|
1196
|
+
* Recovery points are created every 30 minutes and kept for 24 hours.</p>
|
|
1197
|
+
*/
|
|
1198
|
+
export interface RecoveryPoint {
|
|
1199
|
+
/**
|
|
1200
|
+
* <p>The unique identifier of the recovery point.</p>
|
|
1201
|
+
*/
|
|
1202
|
+
recoveryPointId?: string;
|
|
1203
|
+
/**
|
|
1204
|
+
* <p>The time the recovery point is created.</p>
|
|
1205
|
+
*/
|
|
1206
|
+
recoveryPointCreateTime?: Date;
|
|
1207
|
+
/**
|
|
1208
|
+
* <p>The total size of the data in the recovery point in megabytes.</p>
|
|
1209
|
+
*/
|
|
1210
|
+
totalSizeInMegaBytes?: number;
|
|
1211
|
+
/**
|
|
1212
|
+
* <p>The name of the namespace the recovery point is associated with.</p>
|
|
1213
|
+
*/
|
|
1214
|
+
namespaceName?: string;
|
|
1215
|
+
/**
|
|
1216
|
+
* <p>The name of the workgroup the recovery point is associated with.</p>
|
|
1217
|
+
*/
|
|
1218
|
+
workgroupName?: string;
|
|
1219
|
+
}
|
|
1220
|
+
export declare namespace RecoveryPoint {
|
|
1221
|
+
/**
|
|
1222
|
+
* @internal
|
|
1223
|
+
*/
|
|
1224
|
+
const filterSensitiveLog: (obj: RecoveryPoint) => any;
|
|
1225
|
+
}
|
|
1226
|
+
export interface GetRecoveryPointResponse {
|
|
1227
|
+
/**
|
|
1228
|
+
* <p>The returned recovery point object.</p>
|
|
1229
|
+
*/
|
|
1230
|
+
recoveryPoint?: RecoveryPoint;
|
|
1231
|
+
}
|
|
1232
|
+
export declare namespace GetRecoveryPointResponse {
|
|
1233
|
+
/**
|
|
1234
|
+
* @internal
|
|
1235
|
+
*/
|
|
1236
|
+
const filterSensitiveLog: (obj: GetRecoveryPointResponse) => any;
|
|
1237
|
+
}
|
|
1238
|
+
export interface GetResourcePolicyRequest {
|
|
1239
|
+
/**
|
|
1240
|
+
* <p>The Amazon Resource Name (ARN) of the resource to return.</p>
|
|
1241
|
+
*/
|
|
1242
|
+
resourceArn: string | undefined;
|
|
1243
|
+
}
|
|
1244
|
+
export declare namespace GetResourcePolicyRequest {
|
|
1245
|
+
/**
|
|
1246
|
+
* @internal
|
|
1247
|
+
*/
|
|
1248
|
+
const filterSensitiveLog: (obj: GetResourcePolicyRequest) => any;
|
|
1249
|
+
}
|
|
1250
|
+
/**
|
|
1251
|
+
* <p>The resource policy object. Currently, you can use policies to share snapshots across Amazon Web Services accounts.</p>
|
|
1252
|
+
*/
|
|
1253
|
+
export interface ResourcePolicy {
|
|
1254
|
+
/**
|
|
1255
|
+
* <p>The Amazon Resource Name (ARN) of the policy.</p>
|
|
1256
|
+
*/
|
|
1257
|
+
resourceArn?: string;
|
|
1258
|
+
/**
|
|
1259
|
+
* <p>The resource policy.</p>
|
|
1260
|
+
*/
|
|
1261
|
+
policy?: string;
|
|
1262
|
+
}
|
|
1263
|
+
export declare namespace ResourcePolicy {
|
|
1264
|
+
/**
|
|
1265
|
+
* @internal
|
|
1266
|
+
*/
|
|
1267
|
+
const filterSensitiveLog: (obj: ResourcePolicy) => any;
|
|
1268
|
+
}
|
|
1269
|
+
export interface GetResourcePolicyResponse {
|
|
1270
|
+
/**
|
|
1271
|
+
* <p>The returned resource policy.</p>
|
|
1272
|
+
*/
|
|
1273
|
+
resourcePolicy?: ResourcePolicy;
|
|
1274
|
+
}
|
|
1275
|
+
export declare namespace GetResourcePolicyResponse {
|
|
1276
|
+
/**
|
|
1277
|
+
* @internal
|
|
1278
|
+
*/
|
|
1279
|
+
const filterSensitiveLog: (obj: GetResourcePolicyResponse) => any;
|
|
1280
|
+
}
|
|
1281
|
+
export interface GetSnapshotRequest {
|
|
1282
|
+
/**
|
|
1283
|
+
* <p>The name of the snapshot to return.</p>
|
|
1284
|
+
*/
|
|
1285
|
+
snapshotName?: string;
|
|
1286
|
+
/**
|
|
1287
|
+
* <p>The owner Amazon Web Services account of a snapshot shared with another user.</p>
|
|
1288
|
+
*/
|
|
1289
|
+
ownerAccount?: string;
|
|
1290
|
+
/**
|
|
1291
|
+
* <p>The Amazon Resource Name (ARN) of the snapshot to return.</p>
|
|
1292
|
+
*/
|
|
1293
|
+
snapshotArn?: string;
|
|
1294
|
+
}
|
|
1295
|
+
export declare namespace GetSnapshotRequest {
|
|
1296
|
+
/**
|
|
1297
|
+
* @internal
|
|
1298
|
+
*/
|
|
1299
|
+
const filterSensitiveLog: (obj: GetSnapshotRequest) => any;
|
|
1300
|
+
}
|
|
1301
|
+
export interface GetSnapshotResponse {
|
|
1302
|
+
/**
|
|
1303
|
+
* <p>The returned snapshot object.</p>
|
|
1304
|
+
*/
|
|
1305
|
+
snapshot?: Snapshot;
|
|
1306
|
+
}
|
|
1307
|
+
export declare namespace GetSnapshotResponse {
|
|
1308
|
+
/**
|
|
1309
|
+
* @internal
|
|
1310
|
+
*/
|
|
1311
|
+
const filterSensitiveLog: (obj: GetSnapshotResponse) => any;
|
|
1312
|
+
}
|
|
1313
|
+
export interface GetUsageLimitRequest {
|
|
1314
|
+
/**
|
|
1315
|
+
* <p>The unique identifier of the usage limit to return information for.</p>
|
|
1316
|
+
*/
|
|
1317
|
+
usageLimitId: string | undefined;
|
|
1318
|
+
}
|
|
1319
|
+
export declare namespace GetUsageLimitRequest {
|
|
1320
|
+
/**
|
|
1321
|
+
* @internal
|
|
1322
|
+
*/
|
|
1323
|
+
const filterSensitiveLog: (obj: GetUsageLimitRequest) => any;
|
|
1324
|
+
}
|
|
1325
|
+
export interface GetUsageLimitResponse {
|
|
1326
|
+
/**
|
|
1327
|
+
* <p>The returned usage limit object.</p>
|
|
1328
|
+
*/
|
|
1329
|
+
usageLimit?: UsageLimit;
|
|
1330
|
+
}
|
|
1331
|
+
export declare namespace GetUsageLimitResponse {
|
|
1332
|
+
/**
|
|
1333
|
+
* @internal
|
|
1334
|
+
*/
|
|
1335
|
+
const filterSensitiveLog: (obj: GetUsageLimitResponse) => any;
|
|
1336
|
+
}
|
|
1337
|
+
export interface GetWorkgroupRequest {
|
|
1338
|
+
/**
|
|
1339
|
+
* <p>The name of the workgroup to return information for.</p>
|
|
1340
|
+
*/
|
|
1341
|
+
workgroupName: string | undefined;
|
|
1342
|
+
}
|
|
1343
|
+
export declare namespace GetWorkgroupRequest {
|
|
1344
|
+
/**
|
|
1345
|
+
* @internal
|
|
1346
|
+
*/
|
|
1347
|
+
const filterSensitiveLog: (obj: GetWorkgroupRequest) => any;
|
|
1348
|
+
}
|
|
1349
|
+
export interface GetWorkgroupResponse {
|
|
1350
|
+
/**
|
|
1351
|
+
* <p>The returned workgroup object.</p>
|
|
1352
|
+
*/
|
|
1353
|
+
workgroup: Workgroup | undefined;
|
|
1354
|
+
}
|
|
1355
|
+
export declare namespace GetWorkgroupResponse {
|
|
1356
|
+
/**
|
|
1357
|
+
* @internal
|
|
1358
|
+
*/
|
|
1359
|
+
const filterSensitiveLog: (obj: GetWorkgroupResponse) => any;
|
|
1360
|
+
}
|
|
1361
|
+
/**
|
|
1362
|
+
* <p>The provided pagination token is invalid.</p>
|
|
1363
|
+
*/
|
|
1364
|
+
export declare class InvalidPaginationException extends __BaseException {
|
|
1365
|
+
readonly name: "InvalidPaginationException";
|
|
1366
|
+
readonly $fault: "client";
|
|
1367
|
+
/**
|
|
1368
|
+
* @internal
|
|
1369
|
+
*/
|
|
1370
|
+
constructor(opts: __ExceptionOptionType<InvalidPaginationException, __BaseException>);
|
|
1371
|
+
}
|
|
1372
|
+
export interface ListNamespacesRequest {
|
|
1373
|
+
/**
|
|
1374
|
+
* <p>If your initial <code>ListNamespaces</code> operation returns a <code>nextToken</code>,
|
|
1375
|
+
* you can include the returned <code>nextToken</code> in subsequent <code>ListNamespaces</code> operations,
|
|
1376
|
+
* which returns results in the next page.</p>
|
|
1377
|
+
*/
|
|
1378
|
+
nextToken?: string;
|
|
1379
|
+
/**
|
|
1380
|
+
* <p>An optional parameter that specifies the maximum number of results to return.
|
|
1381
|
+
* You can use <code>nextToken</code> to get the next page of results.</p>
|
|
1382
|
+
*/
|
|
1383
|
+
maxResults?: number;
|
|
1384
|
+
}
|
|
1385
|
+
export declare namespace ListNamespacesRequest {
|
|
1386
|
+
/**
|
|
1387
|
+
* @internal
|
|
1388
|
+
*/
|
|
1389
|
+
const filterSensitiveLog: (obj: ListNamespacesRequest) => any;
|
|
1390
|
+
}
|
|
1391
|
+
export interface ListNamespacesResponse {
|
|
1392
|
+
/**
|
|
1393
|
+
* <p>When <code>nextToken</code> is returned, there are more results available.
|
|
1394
|
+
* The value of <code>nextToken</code> is a unique pagination token for each page.
|
|
1395
|
+
* Make the call again using the returned token to retrieve the next page.</p>
|
|
1396
|
+
*/
|
|
1397
|
+
nextToken?: string;
|
|
1398
|
+
/**
|
|
1399
|
+
* <p>The list of returned namespaces.</p>
|
|
1400
|
+
*/
|
|
1401
|
+
namespaces: Namespace[] | undefined;
|
|
1402
|
+
}
|
|
1403
|
+
export declare namespace ListNamespacesResponse {
|
|
1404
|
+
/**
|
|
1405
|
+
* @internal
|
|
1406
|
+
*/
|
|
1407
|
+
const filterSensitiveLog: (obj: ListNamespacesResponse) => any;
|
|
1408
|
+
}
|
|
1409
|
+
export interface ListRecoveryPointsRequest {
|
|
1410
|
+
/**
|
|
1411
|
+
* <p>If your initial <code>ListRecoveryPoints</code> operation returns a <code>nextToken</code>,
|
|
1412
|
+
* you can include the returned <code>nextToken</code> in subsequent <code>ListRecoveryPoints</code> operations,
|
|
1413
|
+
* which returns results in the next page.</p>
|
|
1414
|
+
*/
|
|
1415
|
+
nextToken?: string;
|
|
1416
|
+
/**
|
|
1417
|
+
* <p>An optional parameter that specifies the maximum number of results to return.
|
|
1418
|
+
* You can use <code>nextToken</code> to get the next page of results.</p>
|
|
1419
|
+
*/
|
|
1420
|
+
maxResults?: number;
|
|
1421
|
+
/**
|
|
1422
|
+
* <p>The time when the recovery point's creation was initiated.</p>
|
|
1423
|
+
*/
|
|
1424
|
+
startTime?: Date;
|
|
1425
|
+
/**
|
|
1426
|
+
* <p>The time when creation of the recovery point finished.</p>
|
|
1427
|
+
*/
|
|
1428
|
+
endTime?: Date;
|
|
1429
|
+
/**
|
|
1430
|
+
* <p>The name of the namespace to list recovery points for.</p>
|
|
1431
|
+
*/
|
|
1432
|
+
namespaceName?: string;
|
|
1433
|
+
}
|
|
1434
|
+
export declare namespace ListRecoveryPointsRequest {
|
|
1435
|
+
/**
|
|
1436
|
+
* @internal
|
|
1437
|
+
*/
|
|
1438
|
+
const filterSensitiveLog: (obj: ListRecoveryPointsRequest) => any;
|
|
1439
|
+
}
|
|
1440
|
+
export interface ListRecoveryPointsResponse {
|
|
1441
|
+
/**
|
|
1442
|
+
* <p>The returned recovery point objects.</p>
|
|
1443
|
+
*/
|
|
1444
|
+
recoveryPoints?: RecoveryPoint[];
|
|
1445
|
+
/**
|
|
1446
|
+
* <p>If <code>nextToken</code> is returned, there are more results available.
|
|
1447
|
+
* The value of <code>nextToken</code> is a unique pagination token for each page.
|
|
1448
|
+
* Make the call again using the returned token to retrieve the next page.</p>
|
|
1449
|
+
*/
|
|
1450
|
+
nextToken?: string;
|
|
1451
|
+
}
|
|
1452
|
+
export declare namespace ListRecoveryPointsResponse {
|
|
1453
|
+
/**
|
|
1454
|
+
* @internal
|
|
1455
|
+
*/
|
|
1456
|
+
const filterSensitiveLog: (obj: ListRecoveryPointsResponse) => any;
|
|
1457
|
+
}
|
|
1458
|
+
export interface ListSnapshotsRequest {
|
|
1459
|
+
/**
|
|
1460
|
+
* <p>If <code>nextToken</code> is returned, there are more results available.
|
|
1461
|
+
* The value of <code>nextToken</code> is a unique pagination token for each page.
|
|
1462
|
+
* Make the call again using the returned token to retrieve the next page.</p>
|
|
1463
|
+
*/
|
|
1464
|
+
nextToken?: string;
|
|
1465
|
+
/**
|
|
1466
|
+
* <p>An optional parameter that specifies the maximum number of results to return.
|
|
1467
|
+
* You can use <code>nextToken</code> to get the next page of results.</p>
|
|
1468
|
+
*/
|
|
1469
|
+
maxResults?: number;
|
|
1470
|
+
/**
|
|
1471
|
+
* <p>The namespace from which to list all snapshots.</p>
|
|
1472
|
+
*/
|
|
1473
|
+
namespaceName?: string;
|
|
1474
|
+
/**
|
|
1475
|
+
* <p>The Amazon Resource Name (ARN) of the namespace from which to list all snapshots.</p>
|
|
1476
|
+
*/
|
|
1477
|
+
namespaceArn?: string;
|
|
1478
|
+
/**
|
|
1479
|
+
* <p>The owner Amazon Web Services account of the snapshot.</p>
|
|
1480
|
+
*/
|
|
1481
|
+
ownerAccount?: string;
|
|
1482
|
+
/**
|
|
1483
|
+
* <p>The time when the creation of the snapshot was initiated.</p>
|
|
1484
|
+
*/
|
|
1485
|
+
startTime?: Date;
|
|
1486
|
+
/**
|
|
1487
|
+
* <p>The timestamp showing when the snapshot creation finished.</p>
|
|
1488
|
+
*/
|
|
1489
|
+
endTime?: Date;
|
|
1490
|
+
}
|
|
1491
|
+
export declare namespace ListSnapshotsRequest {
|
|
1492
|
+
/**
|
|
1493
|
+
* @internal
|
|
1494
|
+
*/
|
|
1495
|
+
const filterSensitiveLog: (obj: ListSnapshotsRequest) => any;
|
|
1496
|
+
}
|
|
1497
|
+
export interface ListSnapshotsResponse {
|
|
1498
|
+
/**
|
|
1499
|
+
* <p>If <code>nextToken</code> is returned, there are more results available.
|
|
1500
|
+
* The value of <code>nextToken</code> is a unique pagination token for each page.
|
|
1501
|
+
* Make the call again using the returned token to retrieve the next page.</p>
|
|
1502
|
+
*/
|
|
1503
|
+
nextToken?: string;
|
|
1504
|
+
/**
|
|
1505
|
+
* <p>All of the returned snapshot objects.</p>
|
|
1506
|
+
*/
|
|
1507
|
+
snapshots?: Snapshot[];
|
|
1508
|
+
}
|
|
1509
|
+
export declare namespace ListSnapshotsResponse {
|
|
1510
|
+
/**
|
|
1511
|
+
* @internal
|
|
1512
|
+
*/
|
|
1513
|
+
const filterSensitiveLog: (obj: ListSnapshotsResponse) => any;
|
|
1514
|
+
}
|
|
1515
|
+
export interface ListTagsForResourceRequest {
|
|
1516
|
+
/**
|
|
1517
|
+
* <p>The Amazon Resource Name (ARN) of the resource to list tags for.</p>
|
|
1518
|
+
*/
|
|
1519
|
+
resourceArn: string | undefined;
|
|
1520
|
+
}
|
|
1521
|
+
export declare namespace ListTagsForResourceRequest {
|
|
1522
|
+
/**
|
|
1523
|
+
* @internal
|
|
1524
|
+
*/
|
|
1525
|
+
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
1526
|
+
}
|
|
1527
|
+
export interface ListTagsForResourceResponse {
|
|
1528
|
+
/**
|
|
1529
|
+
* <p>A map of the key-value pairs assigned to the resource.</p>
|
|
1530
|
+
*/
|
|
1531
|
+
tags?: Tag[];
|
|
1532
|
+
}
|
|
1533
|
+
export declare namespace ListTagsForResourceResponse {
|
|
1534
|
+
/**
|
|
1535
|
+
* @internal
|
|
1536
|
+
*/
|
|
1537
|
+
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
1538
|
+
}
|
|
1539
|
+
/**
|
|
1540
|
+
* <p>The request was denied due to request throttling.</p>
|
|
1541
|
+
*/
|
|
1542
|
+
export declare class ThrottlingException extends __BaseException {
|
|
1543
|
+
readonly name: "ThrottlingException";
|
|
1544
|
+
readonly $fault: "client";
|
|
1545
|
+
$retryable: {};
|
|
1546
|
+
code?: string;
|
|
1547
|
+
/**
|
|
1548
|
+
* @internal
|
|
1549
|
+
*/
|
|
1550
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
1551
|
+
}
|
|
1552
|
+
export interface ListUsageLimitsRequest {
|
|
1553
|
+
/**
|
|
1554
|
+
* <p>The Amazon Resource Name (ARN) associated with the resource whose usage limits you want to list.</p>
|
|
1555
|
+
*/
|
|
1556
|
+
resourceArn?: string;
|
|
1557
|
+
/**
|
|
1558
|
+
* <p>The Amazon Redshift Serverless feature whose limits you want to see.</p>
|
|
1559
|
+
*/
|
|
1560
|
+
usageType?: UsageLimitUsageType | string;
|
|
1561
|
+
/**
|
|
1562
|
+
* <p>If your initial <code>ListUsageLimits</code> operation returns a <code>nextToken</code>,
|
|
1563
|
+
* you can include the returned <code>nextToken</code> in subsequent <code>ListUsageLimits</code> operations,
|
|
1564
|
+
* which returns results in the next page.
|
|
1565
|
+
* </p>
|
|
1566
|
+
*/
|
|
1567
|
+
nextToken?: string;
|
|
1568
|
+
/**
|
|
1569
|
+
* <p>An optional parameter that specifies the maximum number of results to return.
|
|
1570
|
+
* You can use <code>nextToken</code> to get the next page of results. The default is 100.</p>
|
|
1571
|
+
*/
|
|
1572
|
+
maxResults?: number;
|
|
1573
|
+
}
|
|
1574
|
+
export declare namespace ListUsageLimitsRequest {
|
|
1575
|
+
/**
|
|
1576
|
+
* @internal
|
|
1577
|
+
*/
|
|
1578
|
+
const filterSensitiveLog: (obj: ListUsageLimitsRequest) => any;
|
|
1579
|
+
}
|
|
1580
|
+
export interface ListUsageLimitsResponse {
|
|
1581
|
+
/**
|
|
1582
|
+
* <p>An array of returned usage limit objects.</p>
|
|
1583
|
+
*/
|
|
1584
|
+
usageLimits?: UsageLimit[];
|
|
1585
|
+
/**
|
|
1586
|
+
* <p>When <code>nextToken</code> is returned, there are more results available.
|
|
1587
|
+
* The value of <code>nextToken</code> is a unique pagination token for each page.
|
|
1588
|
+
* Make the call again using the returned token to retrieve the next page.</p>
|
|
1589
|
+
*/
|
|
1590
|
+
nextToken?: string;
|
|
1591
|
+
}
|
|
1592
|
+
export declare namespace ListUsageLimitsResponse {
|
|
1593
|
+
/**
|
|
1594
|
+
* @internal
|
|
1595
|
+
*/
|
|
1596
|
+
const filterSensitiveLog: (obj: ListUsageLimitsResponse) => any;
|
|
1597
|
+
}
|
|
1598
|
+
export interface ListWorkgroupsRequest {
|
|
1599
|
+
/**
|
|
1600
|
+
* <p>If your initial ListWorkgroups operation returns a <code>nextToken</code>,
|
|
1601
|
+
* you can include the returned <code>nextToken</code> in subsequent ListNamespaces operations,
|
|
1602
|
+
* which returns results in the next page.</p>
|
|
1603
|
+
*/
|
|
1604
|
+
nextToken?: string;
|
|
1605
|
+
/**
|
|
1606
|
+
* <p>An optional parameter that specifies the maximum number of results to return.
|
|
1607
|
+
* You can use <code>nextToken</code> to get the next page of results.</p>
|
|
1608
|
+
*/
|
|
1609
|
+
maxResults?: number;
|
|
1610
|
+
}
|
|
1611
|
+
export declare namespace ListWorkgroupsRequest {
|
|
1612
|
+
/**
|
|
1613
|
+
* @internal
|
|
1614
|
+
*/
|
|
1615
|
+
const filterSensitiveLog: (obj: ListWorkgroupsRequest) => any;
|
|
1616
|
+
}
|
|
1617
|
+
export interface ListWorkgroupsResponse {
|
|
1618
|
+
/**
|
|
1619
|
+
* <p>
|
|
1620
|
+
* If <code>nextToken</code> is returned, there are more results available.
|
|
1621
|
+
* The value of <code>nextToken</code> is a unique pagination token for each page.
|
|
1622
|
+
* To retrieve the next page, make the call again using the returned token.</p>
|
|
1623
|
+
*/
|
|
1624
|
+
nextToken?: string;
|
|
1625
|
+
/**
|
|
1626
|
+
* <p>The returned array of workgroups.</p>
|
|
1627
|
+
*/
|
|
1628
|
+
workgroups: Workgroup[] | undefined;
|
|
1629
|
+
}
|
|
1630
|
+
export declare namespace ListWorkgroupsResponse {
|
|
1631
|
+
/**
|
|
1632
|
+
* @internal
|
|
1633
|
+
*/
|
|
1634
|
+
const filterSensitiveLog: (obj: ListWorkgroupsResponse) => any;
|
|
1635
|
+
}
|
|
1636
|
+
export interface UpdateNamespaceRequest {
|
|
1637
|
+
/**
|
|
1638
|
+
* <p>The name of the namespace.</p>
|
|
1639
|
+
*/
|
|
1640
|
+
namespaceName: string | undefined;
|
|
1641
|
+
/**
|
|
1642
|
+
* <p>The password of the administrator for the first database created in the namespace.</p>
|
|
1643
|
+
*/
|
|
1644
|
+
adminUserPassword?: string;
|
|
1645
|
+
/**
|
|
1646
|
+
* <p>The username of the administrator for the first database created in the namespace.</p>
|
|
1647
|
+
*/
|
|
1648
|
+
adminUsername?: string;
|
|
1649
|
+
/**
|
|
1650
|
+
* <p>The ID of the Amazon Web Services Key Management Service key used to encrypt your data.</p>
|
|
1651
|
+
*/
|
|
1652
|
+
kmsKeyId?: string;
|
|
1653
|
+
/**
|
|
1654
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.</p>
|
|
1655
|
+
*/
|
|
1656
|
+
defaultIamRoleArn?: string;
|
|
1657
|
+
/**
|
|
1658
|
+
* <p>A list of IAM roles to associate with the namespace.</p>
|
|
1659
|
+
*/
|
|
1660
|
+
iamRoles?: string[];
|
|
1661
|
+
/**
|
|
1662
|
+
* <p>The types of logs the namespace can export. The export types are <code>userlog</code>, <code>connectionlog</code>, and <code>useractivitylog</code>.</p>
|
|
1663
|
+
*/
|
|
1664
|
+
logExports?: (LogExport | string)[];
|
|
1665
|
+
}
|
|
1666
|
+
export declare namespace UpdateNamespaceRequest {
|
|
1667
|
+
/**
|
|
1668
|
+
* @internal
|
|
1669
|
+
*/
|
|
1670
|
+
const filterSensitiveLog: (obj: UpdateNamespaceRequest) => any;
|
|
1671
|
+
}
|
|
1672
|
+
export interface UpdateNamespaceResponse {
|
|
1673
|
+
/**
|
|
1674
|
+
* <p>A list of tag instances.</p>
|
|
1675
|
+
*/
|
|
1676
|
+
namespace: Namespace | undefined;
|
|
1677
|
+
}
|
|
1678
|
+
export declare namespace UpdateNamespaceResponse {
|
|
1679
|
+
/**
|
|
1680
|
+
* @internal
|
|
1681
|
+
*/
|
|
1682
|
+
const filterSensitiveLog: (obj: UpdateNamespaceResponse) => any;
|
|
1683
|
+
}
|
|
1684
|
+
export interface PutResourcePolicyRequest {
|
|
1685
|
+
/**
|
|
1686
|
+
* <p>The Amazon Resource Name (ARN) of the account to create or update a resource policy for.</p>
|
|
1687
|
+
*/
|
|
1688
|
+
resourceArn: string | undefined;
|
|
1689
|
+
/**
|
|
1690
|
+
* <p>The policy to create or update. For example, the following policy grants a user authorization to restore a snapshot.</p>
|
|
1691
|
+
* <p>
|
|
1692
|
+
* <code>"{\"Version\": \"2012-10-17\", \"Statement\" :
|
|
1693
|
+
* [{ \"Sid\": \"AllowUserRestoreFromSnapshot\", \"Principal\":{\"AWS\":
|
|
1694
|
+
* [\"739247239426\"]}, \"Action\": [\"redshift-serverless:RestoreFromSnapshot\"]
|
|
1695
|
+
* , \"Effect\": \"Allow\" }]}"</code>
|
|
1696
|
+
* </p>
|
|
1697
|
+
*/
|
|
1698
|
+
policy: string | undefined;
|
|
1699
|
+
}
|
|
1700
|
+
export declare namespace PutResourcePolicyRequest {
|
|
1701
|
+
/**
|
|
1702
|
+
* @internal
|
|
1703
|
+
*/
|
|
1704
|
+
const filterSensitiveLog: (obj: PutResourcePolicyRequest) => any;
|
|
1705
|
+
}
|
|
1706
|
+
export interface PutResourcePolicyResponse {
|
|
1707
|
+
/**
|
|
1708
|
+
* <p>The policy that was created or updated.</p>
|
|
1709
|
+
*/
|
|
1710
|
+
resourcePolicy?: ResourcePolicy;
|
|
1711
|
+
}
|
|
1712
|
+
export declare namespace PutResourcePolicyResponse {
|
|
1713
|
+
/**
|
|
1714
|
+
* @internal
|
|
1715
|
+
*/
|
|
1716
|
+
const filterSensitiveLog: (obj: PutResourcePolicyResponse) => any;
|
|
1717
|
+
}
|
|
1718
|
+
export interface RestoreFromRecoveryPointRequest {
|
|
1719
|
+
/**
|
|
1720
|
+
* <p>The unique identifier of the recovery point to restore from.</p>
|
|
1721
|
+
*/
|
|
1722
|
+
recoveryPointId: string | undefined;
|
|
1723
|
+
/**
|
|
1724
|
+
* <p>The name of the namespace to restore data into.</p>
|
|
1725
|
+
*/
|
|
1726
|
+
namespaceName: string | undefined;
|
|
1727
|
+
/**
|
|
1728
|
+
* <p>The name of the workgroup used to restore data.</p>
|
|
1729
|
+
*/
|
|
1730
|
+
workgroupName: string | undefined;
|
|
1731
|
+
}
|
|
1732
|
+
export declare namespace RestoreFromRecoveryPointRequest {
|
|
1733
|
+
/**
|
|
1734
|
+
* @internal
|
|
1735
|
+
*/
|
|
1736
|
+
const filterSensitiveLog: (obj: RestoreFromRecoveryPointRequest) => any;
|
|
1737
|
+
}
|
|
1738
|
+
export interface RestoreFromRecoveryPointResponse {
|
|
1739
|
+
/**
|
|
1740
|
+
* <p>The unique identifier of the recovery point used for the restore.</p>
|
|
1741
|
+
*/
|
|
1742
|
+
recoveryPointId?: string;
|
|
1743
|
+
/**
|
|
1744
|
+
* <p>The namespace that data was restored into.</p>
|
|
1745
|
+
*/
|
|
1746
|
+
namespace?: Namespace;
|
|
1747
|
+
}
|
|
1748
|
+
export declare namespace RestoreFromRecoveryPointResponse {
|
|
1749
|
+
/**
|
|
1750
|
+
* @internal
|
|
1751
|
+
*/
|
|
1752
|
+
const filterSensitiveLog: (obj: RestoreFromRecoveryPointResponse) => any;
|
|
1753
|
+
}
|
|
1754
|
+
export interface RestoreFromSnapshotRequest {
|
|
1755
|
+
/**
|
|
1756
|
+
* <p>The name of the namespace to restore the snapshot to.</p>
|
|
1757
|
+
*/
|
|
1758
|
+
namespaceName: string | undefined;
|
|
1759
|
+
/**
|
|
1760
|
+
* <p>The name of the workgroup used to restore the snapshot.</p>
|
|
1761
|
+
*/
|
|
1762
|
+
workgroupName: string | undefined;
|
|
1763
|
+
/**
|
|
1764
|
+
* <p>The name of the snapshot to restore from.</p>
|
|
1765
|
+
*/
|
|
1766
|
+
snapshotName?: string;
|
|
1767
|
+
/**
|
|
1768
|
+
* <p>The Amazon Resource Name (ARN) of the snapshot to restore from.</p>
|
|
1769
|
+
*/
|
|
1770
|
+
snapshotArn?: string;
|
|
1771
|
+
/**
|
|
1772
|
+
* <p>The Amazon Web Services account that owns the snapshot.</p>
|
|
1773
|
+
*/
|
|
1774
|
+
ownerAccount?: string;
|
|
1775
|
+
}
|
|
1776
|
+
export declare namespace RestoreFromSnapshotRequest {
|
|
1777
|
+
/**
|
|
1778
|
+
* @internal
|
|
1779
|
+
*/
|
|
1780
|
+
const filterSensitiveLog: (obj: RestoreFromSnapshotRequest) => any;
|
|
1781
|
+
}
|
|
1782
|
+
export interface RestoreFromSnapshotResponse {
|
|
1783
|
+
/**
|
|
1784
|
+
* <p>The name of the snapshot used to restore the namespace.</p>
|
|
1785
|
+
*/
|
|
1786
|
+
snapshotName?: string;
|
|
1787
|
+
/**
|
|
1788
|
+
* <p>The owner Amazon Web Services; account of the snapshot that was restored.</p>
|
|
1789
|
+
*/
|
|
1790
|
+
ownerAccount?: string;
|
|
1791
|
+
/**
|
|
1792
|
+
* <p>A collection of database objects and users.</p>
|
|
1793
|
+
*/
|
|
1794
|
+
namespace?: Namespace;
|
|
1795
|
+
}
|
|
1796
|
+
export declare namespace RestoreFromSnapshotResponse {
|
|
1797
|
+
/**
|
|
1798
|
+
* @internal
|
|
1799
|
+
*/
|
|
1800
|
+
const filterSensitiveLog: (obj: RestoreFromSnapshotResponse) => any;
|
|
1801
|
+
}
|
|
1802
|
+
export interface UpdateSnapshotRequest {
|
|
1803
|
+
/**
|
|
1804
|
+
* <p>The name of the snapshot.</p>
|
|
1805
|
+
*/
|
|
1806
|
+
snapshotName: string | undefined;
|
|
1807
|
+
/**
|
|
1808
|
+
* <p>The new retention period of the snapshot.</p>
|
|
1809
|
+
*/
|
|
1810
|
+
retentionPeriod?: number;
|
|
1811
|
+
}
|
|
1812
|
+
export declare namespace UpdateSnapshotRequest {
|
|
1813
|
+
/**
|
|
1814
|
+
* @internal
|
|
1815
|
+
*/
|
|
1816
|
+
const filterSensitiveLog: (obj: UpdateSnapshotRequest) => any;
|
|
1817
|
+
}
|
|
1818
|
+
export interface UpdateSnapshotResponse {
|
|
1819
|
+
/**
|
|
1820
|
+
* <p>The updated snapshot object.</p>
|
|
1821
|
+
*/
|
|
1822
|
+
snapshot?: Snapshot;
|
|
1823
|
+
}
|
|
1824
|
+
export declare namespace UpdateSnapshotResponse {
|
|
1825
|
+
/**
|
|
1826
|
+
* @internal
|
|
1827
|
+
*/
|
|
1828
|
+
const filterSensitiveLog: (obj: UpdateSnapshotResponse) => any;
|
|
1829
|
+
}
|
|
1830
|
+
export interface TagResourceRequest {
|
|
1831
|
+
/**
|
|
1832
|
+
* <p>The Amazon Resource Name (ARN) of the resource to tag.</p>
|
|
1833
|
+
*/
|
|
1834
|
+
resourceArn: string | undefined;
|
|
1835
|
+
/**
|
|
1836
|
+
* <p>The map of the key-value pairs used to tag the resource.</p>
|
|
1837
|
+
*/
|
|
1838
|
+
tags: Tag[] | undefined;
|
|
1839
|
+
}
|
|
1840
|
+
export declare namespace TagResourceRequest {
|
|
1841
|
+
/**
|
|
1842
|
+
* @internal
|
|
1843
|
+
*/
|
|
1844
|
+
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
1845
|
+
}
|
|
1846
|
+
export interface TagResourceResponse {
|
|
1847
|
+
}
|
|
1848
|
+
export declare namespace TagResourceResponse {
|
|
1849
|
+
/**
|
|
1850
|
+
* @internal
|
|
1851
|
+
*/
|
|
1852
|
+
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
1853
|
+
}
|
|
1854
|
+
export interface UntagResourceRequest {
|
|
1855
|
+
/**
|
|
1856
|
+
* <p>The Amazon Resource Name (ARN) of the resource to remove tags from.</p>
|
|
1857
|
+
*/
|
|
1858
|
+
resourceArn: string | undefined;
|
|
1859
|
+
/**
|
|
1860
|
+
* <p>The tag or set of tags to remove from the resource.</p>
|
|
1861
|
+
*/
|
|
1862
|
+
tagKeys: string[] | undefined;
|
|
1863
|
+
}
|
|
1864
|
+
export declare namespace UntagResourceRequest {
|
|
1865
|
+
/**
|
|
1866
|
+
* @internal
|
|
1867
|
+
*/
|
|
1868
|
+
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
1869
|
+
}
|
|
1870
|
+
export interface UntagResourceResponse {
|
|
1871
|
+
}
|
|
1872
|
+
export declare namespace UntagResourceResponse {
|
|
1873
|
+
/**
|
|
1874
|
+
* @internal
|
|
1875
|
+
*/
|
|
1876
|
+
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
1877
|
+
}
|
|
1878
|
+
export interface UpdateUsageLimitRequest {
|
|
1879
|
+
/**
|
|
1880
|
+
* <p>The identifier of the usage limit to update.</p>
|
|
1881
|
+
*/
|
|
1882
|
+
usageLimitId: string | undefined;
|
|
1883
|
+
/**
|
|
1884
|
+
* <p>The new limit amount. For more information about this parameter.</p>
|
|
1885
|
+
*/
|
|
1886
|
+
amount?: number;
|
|
1887
|
+
/**
|
|
1888
|
+
* <p>The new action that Amazon Redshift Serverless takes when the limit is reached.</p>
|
|
1889
|
+
*/
|
|
1890
|
+
breachAction?: UsageLimitBreachAction | string;
|
|
1891
|
+
}
|
|
1892
|
+
export declare namespace UpdateUsageLimitRequest {
|
|
1893
|
+
/**
|
|
1894
|
+
* @internal
|
|
1895
|
+
*/
|
|
1896
|
+
const filterSensitiveLog: (obj: UpdateUsageLimitRequest) => any;
|
|
1897
|
+
}
|
|
1898
|
+
export interface UpdateUsageLimitResponse {
|
|
1899
|
+
/**
|
|
1900
|
+
* <p>The updated usage limit object.</p>
|
|
1901
|
+
*/
|
|
1902
|
+
usageLimit?: UsageLimit;
|
|
1903
|
+
}
|
|
1904
|
+
export declare namespace UpdateUsageLimitResponse {
|
|
1905
|
+
/**
|
|
1906
|
+
* @internal
|
|
1907
|
+
*/
|
|
1908
|
+
const filterSensitiveLog: (obj: UpdateUsageLimitResponse) => any;
|
|
1909
|
+
}
|
|
1910
|
+
export interface UpdateWorkgroupRequest {
|
|
1911
|
+
/**
|
|
1912
|
+
* <p>The name of the workgroup to update.</p>
|
|
1913
|
+
*/
|
|
1914
|
+
workgroupName: string | undefined;
|
|
1915
|
+
/**
|
|
1916
|
+
* <p>The new base data warehouse capacity in Redshift Processing Units (RPUs).</p>
|
|
1917
|
+
*/
|
|
1918
|
+
baseCapacity?: number;
|
|
1919
|
+
/**
|
|
1920
|
+
* <p>The value that specifies whether to turn on enhanced virtual
|
|
1921
|
+
* private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.</p>
|
|
1922
|
+
*/
|
|
1923
|
+
enhancedVpcRouting?: boolean;
|
|
1924
|
+
/**
|
|
1925
|
+
* <p>An array of parameters to set for advanced control over a database. The
|
|
1926
|
+
* options are <code>datestyle</code>, <code>enable_user_activity_logging</code>,
|
|
1927
|
+
* <code>query_group</code>, <code>search_path</code>, and <code>max_query_execution_time</code>.</p>
|
|
1928
|
+
*/
|
|
1929
|
+
configParameters?: ConfigParameter[];
|
|
1930
|
+
/**
|
|
1931
|
+
* <p>A value that specifies whether the workgroup can be accessible from a public network.</p>
|
|
1932
|
+
*/
|
|
1933
|
+
publiclyAccessible?: boolean;
|
|
1934
|
+
/**
|
|
1935
|
+
* <p>An array of VPC subnet IDs to associate with the workgroup.</p>
|
|
1936
|
+
*/
|
|
1937
|
+
subnetIds?: string[];
|
|
1938
|
+
/**
|
|
1939
|
+
* <p>An array of security group IDs to associate with the workgroup.</p>
|
|
1940
|
+
*/
|
|
1941
|
+
securityGroupIds?: string[];
|
|
1942
|
+
}
|
|
1943
|
+
export declare namespace UpdateWorkgroupRequest {
|
|
1944
|
+
/**
|
|
1945
|
+
* @internal
|
|
1946
|
+
*/
|
|
1947
|
+
const filterSensitiveLog: (obj: UpdateWorkgroupRequest) => any;
|
|
1948
|
+
}
|
|
1949
|
+
export interface UpdateWorkgroupResponse {
|
|
1950
|
+
/**
|
|
1951
|
+
* <p>The updated workgroup object.</p>
|
|
1952
|
+
*/
|
|
1953
|
+
workgroup: Workgroup | undefined;
|
|
1954
|
+
}
|
|
1955
|
+
export declare namespace UpdateWorkgroupResponse {
|
|
1956
|
+
/**
|
|
1957
|
+
* @internal
|
|
1958
|
+
*/
|
|
1959
|
+
const filterSensitiveLog: (obj: UpdateWorkgroupResponse) => any;
|
|
1960
|
+
}
|