@aws-sdk/client-dsql 3.705.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/LICENSE +201 -0
- package/README.md +294 -0
- package/dist-cjs/DSQL.js +31 -0
- package/dist-cjs/DSQLClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CreateClusterCommand.js +26 -0
- package/dist-cjs/commands/CreateMultiRegionClustersCommand.js +26 -0
- package/dist-cjs/commands/DeleteClusterCommand.js +26 -0
- package/dist-cjs/commands/DeleteMultiRegionClustersCommand.js +26 -0
- package/dist-cjs/commands/GetClusterCommand.js +26 -0
- package/dist-cjs/commands/ListClustersCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/UpdateClusterCommand.js +26 -0
- package/dist-cjs/commands/index.js +13 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/DSQLServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +128 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListClustersPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +467 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-cjs/waiters/index.js +5 -0
- package/dist-cjs/waiters/waitForClusterActive.js +36 -0
- package/dist-cjs/waiters/waitForClusterNotExists.js +30 -0
- package/dist-es/DSQL.js +27 -0
- package/dist-es/DSQLClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateClusterCommand.js +22 -0
- package/dist-es/commands/CreateMultiRegionClustersCommand.js +22 -0
- package/dist-es/commands/DeleteClusterCommand.js +22 -0
- package/dist-es/commands/DeleteMultiRegionClustersCommand.js +22 -0
- package/dist-es/commands/GetClusterCommand.js +22 -0
- package/dist-es/commands/ListClustersCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateClusterCommand.js +22 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/DSQLServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +118 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListClustersPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +444 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForClusterActive.js +31 -0
- package/dist-es/waiters/waitForClusterNotExists.js +25 -0
- package/dist-types/DSQL.d.ts +91 -0
- package/dist-types/DSQLClient.d.ts +188 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +98 -0
- package/dist-types/commands/CreateMultiRegionClustersCommand.d.ts +107 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +95 -0
- package/dist-types/commands/DeleteMultiRegionClustersCommand.d.ts +91 -0
- package/dist-types/commands/GetClusterCommand.d.ts +95 -0
- package/dist-types/commands/ListClustersCommand.d.ts +94 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +89 -0
- package/dist-types/commands/TagResourceCommand.d.ts +91 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +100 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +24 -0
- package/dist-types/models/DSQLServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +624 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListClustersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +92 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/DSQL.d.ts +177 -0
- package/dist-types/ts3.4/DSQLClient.d.ts +178 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateMultiRegionClustersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteMultiRegionClustersCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetClusterCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/DSQLServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +181 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +125 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForClusterActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForClusterNotExists.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForClusterActive.d.ts +14 -0
- package/dist-types/waiters/waitForClusterNotExists.d.ts +14 -0
- package/package.json +104 -0
|
@@ -0,0 +1,624 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { DSQLServiceException as __BaseException } from "./DSQLServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* @enum
|
|
18
|
+
*/
|
|
19
|
+
export declare const ClusterStatus: {
|
|
20
|
+
readonly ACTIVE: "ACTIVE";
|
|
21
|
+
readonly CREATING: "CREATING";
|
|
22
|
+
readonly DELETED: "DELETED";
|
|
23
|
+
readonly DELETING: "DELETING";
|
|
24
|
+
readonly FAILED: "FAILED";
|
|
25
|
+
readonly UPDATING: "UPDATING";
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
export type ClusterStatus = (typeof ClusterStatus)[keyof typeof ClusterStatus];
|
|
31
|
+
/**
|
|
32
|
+
* <p>The submitted action has conflicts.</p>
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export declare class ConflictException extends __BaseException {
|
|
36
|
+
readonly name: "ConflictException";
|
|
37
|
+
readonly $fault: "client";
|
|
38
|
+
/**
|
|
39
|
+
* <p>Resource Id</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
resourceId?: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* <p>Resource Type</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
resourceType?: string | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export interface CreateClusterInput {
|
|
57
|
+
/**
|
|
58
|
+
* <p>If enabled, you can't delete your cluster. You must first
|
|
59
|
+
* disable this property before you can delete your cluster.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
deletionProtectionEnabled?: boolean | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* <p>A map of key and value pairs to use to tag your cluster.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
tags?: Record<string, string> | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the
|
|
70
|
+
* idempotency of the request. Idempotency ensures that an API request completes
|
|
71
|
+
* only once. With an idempotent request, if the original request completes
|
|
72
|
+
* successfully, the subsequent retries with the same client token return the
|
|
73
|
+
* result from the original successful request and they
|
|
74
|
+
* have no additional effect.</p>
|
|
75
|
+
* <p>If you don't specify a client token, the Amazon Web Services SDK
|
|
76
|
+
* automatically generates one.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
clientToken?: string | undefined;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Output Mixin
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export interface CreateClusterOutput {
|
|
86
|
+
/**
|
|
87
|
+
* <p>The ID of the created cluster.</p>
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
identifier: string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* <p>The ARN of the created cluster.</p>
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
arn: string | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* <p>The status of the created cluster.</p>
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
status: ClusterStatus | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* <p>The time of when created the cluster.</p>
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
creationTime: Date | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* <p>Whether deletion protection is enabled on this cluster.</p>
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
deletionProtectionEnabled: boolean | undefined;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* <p>The request processing has failed because of an unknown error,
|
|
114
|
+
* exception or failure.</p>
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
export declare class InternalServerException extends __BaseException {
|
|
118
|
+
readonly name: "InternalServerException";
|
|
119
|
+
readonly $fault: "server";
|
|
120
|
+
$retryable: {};
|
|
121
|
+
/**
|
|
122
|
+
* <p>Retry after seconds.</p>
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
retryAfterSeconds?: number | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* @internal
|
|
128
|
+
*/
|
|
129
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* <p>The service limit was exceeded.</p>
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
136
|
+
readonly name: "ServiceQuotaExceededException";
|
|
137
|
+
readonly $fault: "client";
|
|
138
|
+
/**
|
|
139
|
+
* Identifier of the resource affected
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
resourceId: string | undefined;
|
|
143
|
+
/**
|
|
144
|
+
* Type of the resource affected
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
resourceType: string | undefined;
|
|
148
|
+
/**
|
|
149
|
+
* Service Quotas requirement to identify originating service
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
serviceCode: string | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* Service Quotas requirement to identify originating quota
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
quotaCode: string | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* @internal
|
|
160
|
+
*/
|
|
161
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* <p>The request was denied due to request throttling.</p>
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
export declare class ThrottlingException extends __BaseException {
|
|
168
|
+
readonly name: "ThrottlingException";
|
|
169
|
+
readonly $fault: "client";
|
|
170
|
+
$retryable: {
|
|
171
|
+
throttling: boolean;
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* Service Quotas requirement to identify originating service
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
serviceCode?: string | undefined;
|
|
178
|
+
/**
|
|
179
|
+
* Service Quotas requirement to identify originating quota
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
quotaCode?: string | undefined;
|
|
183
|
+
/**
|
|
184
|
+
* Advice to clients on when the call can be safely retried
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
retryAfterSeconds?: number | undefined;
|
|
188
|
+
/**
|
|
189
|
+
* @internal
|
|
190
|
+
*/
|
|
191
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* <p>Stores information about a field passed inside a
|
|
195
|
+
* request that resulted in an validation error.</p>
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
198
|
+
export interface ValidationExceptionField {
|
|
199
|
+
/**
|
|
200
|
+
* <p>The name of the field.</p>
|
|
201
|
+
* @public
|
|
202
|
+
*/
|
|
203
|
+
name: string | undefined;
|
|
204
|
+
/**
|
|
205
|
+
* <p>A message describing why this field failed validation.</p>
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
208
|
+
message: string | undefined;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* @public
|
|
212
|
+
* @enum
|
|
213
|
+
*/
|
|
214
|
+
export declare const ValidationExceptionReason: {
|
|
215
|
+
readonly CANNOT_PARSE: "cannotParse";
|
|
216
|
+
readonly DELETION_PROTECTION_ENABLED: "deletionProtectionEnabled";
|
|
217
|
+
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
218
|
+
readonly OTHER: "other";
|
|
219
|
+
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
220
|
+
};
|
|
221
|
+
/**
|
|
222
|
+
* @public
|
|
223
|
+
*/
|
|
224
|
+
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
225
|
+
/**
|
|
226
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
227
|
+
* @public
|
|
228
|
+
*/
|
|
229
|
+
export declare class ValidationException extends __BaseException {
|
|
230
|
+
readonly name: "ValidationException";
|
|
231
|
+
readonly $fault: "client";
|
|
232
|
+
/**
|
|
233
|
+
* Reason the request failed validation
|
|
234
|
+
* @public
|
|
235
|
+
*/
|
|
236
|
+
reason: ValidationExceptionReason | undefined;
|
|
237
|
+
/**
|
|
238
|
+
* List of fields that caused the error
|
|
239
|
+
* @public
|
|
240
|
+
*/
|
|
241
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
242
|
+
/**
|
|
243
|
+
* @internal
|
|
244
|
+
*/
|
|
245
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* <p>Properties of linked clusters.</p>
|
|
249
|
+
* @public
|
|
250
|
+
*/
|
|
251
|
+
export interface LinkedClusterProperties {
|
|
252
|
+
/**
|
|
253
|
+
* <p>Whether deletion protection is enabled.</p>
|
|
254
|
+
* @public
|
|
255
|
+
*/
|
|
256
|
+
deletionProtectionEnabled?: boolean | undefined;
|
|
257
|
+
/**
|
|
258
|
+
* <p>A map of key and value pairs the linked cluster is tagged with.</p>
|
|
259
|
+
* @public
|
|
260
|
+
*/
|
|
261
|
+
tags?: Record<string, string> | undefined;
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* @public
|
|
265
|
+
*/
|
|
266
|
+
export interface CreateMultiRegionClustersInput {
|
|
267
|
+
/**
|
|
268
|
+
* <p>An array of the Regions in which you want to create additional clusters.</p>
|
|
269
|
+
* @public
|
|
270
|
+
*/
|
|
271
|
+
linkedRegionList: string[] | undefined;
|
|
272
|
+
/**
|
|
273
|
+
* <p>A mapping of properties to use when creating linked clusters.</p>
|
|
274
|
+
* @public
|
|
275
|
+
*/
|
|
276
|
+
clusterProperties?: Record<string, LinkedClusterProperties> | undefined;
|
|
277
|
+
/**
|
|
278
|
+
* <p>The witness Region of multi-Region clusters.</p>
|
|
279
|
+
* @public
|
|
280
|
+
*/
|
|
281
|
+
witnessRegion: string | undefined;
|
|
282
|
+
/**
|
|
283
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the
|
|
284
|
+
* idempotency of the request. Idempotency ensures that an API request completes
|
|
285
|
+
* only once. With an idempotent request, if the original request completes
|
|
286
|
+
* successfully. The subsequent retries with the same client token return the
|
|
287
|
+
* result from the original successful request and they
|
|
288
|
+
* have no additional effect.</p>
|
|
289
|
+
* <p>If you don't specify a client token, the Amazon Web Services SDK
|
|
290
|
+
* automatically generates one.</p>
|
|
291
|
+
* @public
|
|
292
|
+
*/
|
|
293
|
+
clientToken?: string | undefined;
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* @public
|
|
297
|
+
*/
|
|
298
|
+
export interface CreateMultiRegionClustersOutput {
|
|
299
|
+
/**
|
|
300
|
+
* <p>An array that contains the ARNs of all linked clusters.</p>
|
|
301
|
+
* @public
|
|
302
|
+
*/
|
|
303
|
+
linkedClusterArns: string[] | undefined;
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* @public
|
|
307
|
+
*/
|
|
308
|
+
export interface DeleteClusterInput {
|
|
309
|
+
/**
|
|
310
|
+
* <p>The ID of the cluster to delete.</p>
|
|
311
|
+
* @public
|
|
312
|
+
*/
|
|
313
|
+
identifier: string | undefined;
|
|
314
|
+
/**
|
|
315
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the
|
|
316
|
+
* idempotency of the request. Idempotency ensures that an API request completes
|
|
317
|
+
* only once. With an idempotent request, if the original request completes
|
|
318
|
+
* successfully. The subsequent retries with the same client token return the
|
|
319
|
+
* result from the original successful request and they
|
|
320
|
+
* have no additional effect.</p>
|
|
321
|
+
* <p>If you don't specify a client token, the Amazon Web Services SDK
|
|
322
|
+
* automatically generates one.</p>
|
|
323
|
+
* @public
|
|
324
|
+
*/
|
|
325
|
+
clientToken?: string | undefined;
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Output Mixin
|
|
329
|
+
* @public
|
|
330
|
+
*/
|
|
331
|
+
export interface DeleteClusterOutput {
|
|
332
|
+
/**
|
|
333
|
+
* <p>The ID of the deleted cluster.</p>
|
|
334
|
+
* @public
|
|
335
|
+
*/
|
|
336
|
+
identifier: string | undefined;
|
|
337
|
+
/**
|
|
338
|
+
* <p>The ARN of the deleted cluster.</p>
|
|
339
|
+
* @public
|
|
340
|
+
*/
|
|
341
|
+
arn: string | undefined;
|
|
342
|
+
/**
|
|
343
|
+
* <p>The status of the cluster.</p>
|
|
344
|
+
* @public
|
|
345
|
+
*/
|
|
346
|
+
status: ClusterStatus | undefined;
|
|
347
|
+
/**
|
|
348
|
+
* <p>The time of when the cluster was created.</p>
|
|
349
|
+
* @public
|
|
350
|
+
*/
|
|
351
|
+
creationTime: Date | undefined;
|
|
352
|
+
/**
|
|
353
|
+
* <p>Specifies whether deletion protection was enabled on the cluster.</p>
|
|
354
|
+
* @public
|
|
355
|
+
*/
|
|
356
|
+
deletionProtectionEnabled: boolean | undefined;
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* <p>The resource could not be found.</p>
|
|
360
|
+
* @public
|
|
361
|
+
*/
|
|
362
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
363
|
+
readonly name: "ResourceNotFoundException";
|
|
364
|
+
readonly $fault: "client";
|
|
365
|
+
/**
|
|
366
|
+
* Hypothetical identifier of the resource which does not exist
|
|
367
|
+
* @public
|
|
368
|
+
*/
|
|
369
|
+
resourceId: string | undefined;
|
|
370
|
+
/**
|
|
371
|
+
* Hypothetical type of the resource which does not exist
|
|
372
|
+
* @public
|
|
373
|
+
*/
|
|
374
|
+
resourceType: string | undefined;
|
|
375
|
+
/**
|
|
376
|
+
* @internal
|
|
377
|
+
*/
|
|
378
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* @public
|
|
382
|
+
*/
|
|
383
|
+
export interface DeleteMultiRegionClustersInput {
|
|
384
|
+
/**
|
|
385
|
+
* <p>The ARNs of the clusters linked to the cluster you want to delete.
|
|
386
|
+
* also deletes these clusters as part of the operation.</p>
|
|
387
|
+
* @public
|
|
388
|
+
*/
|
|
389
|
+
linkedClusterArns: string[] | undefined;
|
|
390
|
+
/**
|
|
391
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the
|
|
392
|
+
* idempotency of the request. Idempotency ensures that an API request completes
|
|
393
|
+
* only once. With an idempotent request, if the original request completes
|
|
394
|
+
* successfully. The subsequent retries with the same client token return the
|
|
395
|
+
* result from the original successful request and they
|
|
396
|
+
* have no additional effect.</p>
|
|
397
|
+
* <p>If you don't specify a client token, the Amazon Web Services SDK
|
|
398
|
+
* automatically generates one.</p>
|
|
399
|
+
* @public
|
|
400
|
+
*/
|
|
401
|
+
clientToken?: string | undefined;
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
* @public
|
|
405
|
+
*/
|
|
406
|
+
export interface GetClusterInput {
|
|
407
|
+
/**
|
|
408
|
+
* <p>The ID of the cluster to retrieve.</p>
|
|
409
|
+
* @public
|
|
410
|
+
*/
|
|
411
|
+
identifier: string | undefined;
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* Output Mixin
|
|
415
|
+
* @public
|
|
416
|
+
*/
|
|
417
|
+
export interface GetClusterOutput {
|
|
418
|
+
/**
|
|
419
|
+
* <p>The ID of the retrieved cluster.</p>
|
|
420
|
+
* @public
|
|
421
|
+
*/
|
|
422
|
+
identifier: string | undefined;
|
|
423
|
+
/**
|
|
424
|
+
* <p>The ARN of the retrieved cluster.</p>
|
|
425
|
+
* @public
|
|
426
|
+
*/
|
|
427
|
+
arn: string | undefined;
|
|
428
|
+
/**
|
|
429
|
+
* <p>The status of the retrieved cluster.</p>
|
|
430
|
+
* @public
|
|
431
|
+
*/
|
|
432
|
+
status: ClusterStatus | undefined;
|
|
433
|
+
/**
|
|
434
|
+
* <p>The time of when the cluster was created.</p>
|
|
435
|
+
* @public
|
|
436
|
+
*/
|
|
437
|
+
creationTime: Date | undefined;
|
|
438
|
+
/**
|
|
439
|
+
* <p>Whether deletion protection is enabled in this cluster.</p>
|
|
440
|
+
* @public
|
|
441
|
+
*/
|
|
442
|
+
deletionProtectionEnabled: boolean | undefined;
|
|
443
|
+
/**
|
|
444
|
+
* <p>The witness Region of the cluster. Applicable only for
|
|
445
|
+
* multi-Region clusters.</p>
|
|
446
|
+
* @public
|
|
447
|
+
*/
|
|
448
|
+
witnessRegion?: string | undefined;
|
|
449
|
+
/**
|
|
450
|
+
* <p>The ARNs of the clusters linked to the retrieved cluster.</p>
|
|
451
|
+
* @public
|
|
452
|
+
*/
|
|
453
|
+
linkedClusterArns?: string[] | undefined;
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* @public
|
|
457
|
+
*/
|
|
458
|
+
export interface ListClustersInput {
|
|
459
|
+
/**
|
|
460
|
+
* <p>An optional parameter that specifies the maximum number of results to return.
|
|
461
|
+
* You can use nextToken to display the next page of results.</p>
|
|
462
|
+
* @public
|
|
463
|
+
*/
|
|
464
|
+
maxResults?: number | undefined;
|
|
465
|
+
/**
|
|
466
|
+
* <p>If your initial ListClusters operation returns a nextToken,
|
|
467
|
+
* you can include the returned nextToken in following ListClusters operations,
|
|
468
|
+
* which returns results in the next page.</p>
|
|
469
|
+
* @public
|
|
470
|
+
*/
|
|
471
|
+
nextToken?: string | undefined;
|
|
472
|
+
}
|
|
473
|
+
/**
|
|
474
|
+
* <p>A summary of the properties of a cluster.</p>
|
|
475
|
+
* @public
|
|
476
|
+
*/
|
|
477
|
+
export interface ClusterSummary {
|
|
478
|
+
/**
|
|
479
|
+
* <p>The ID of the cluster.</p>
|
|
480
|
+
* @public
|
|
481
|
+
*/
|
|
482
|
+
identifier: string | undefined;
|
|
483
|
+
/**
|
|
484
|
+
* <p>The ARN of the cluster.</p>
|
|
485
|
+
* @public
|
|
486
|
+
*/
|
|
487
|
+
arn: string | undefined;
|
|
488
|
+
}
|
|
489
|
+
/**
|
|
490
|
+
* @public
|
|
491
|
+
*/
|
|
492
|
+
export interface ListClustersOutput {
|
|
493
|
+
/**
|
|
494
|
+
* <p>If nextToken is returned, there are more results available. The value of
|
|
495
|
+
* nextToken is a unique pagination token for each page. To retrieve the
|
|
496
|
+
* next page, make the call again using the returned token.</p>
|
|
497
|
+
* @public
|
|
498
|
+
*/
|
|
499
|
+
nextToken?: string | undefined;
|
|
500
|
+
/**
|
|
501
|
+
* <p>An array of the returned clusters.</p>
|
|
502
|
+
* @public
|
|
503
|
+
*/
|
|
504
|
+
clusters: ClusterSummary[] | undefined;
|
|
505
|
+
}
|
|
506
|
+
/**
|
|
507
|
+
* @public
|
|
508
|
+
*/
|
|
509
|
+
export interface UpdateClusterInput {
|
|
510
|
+
/**
|
|
511
|
+
* <p>The ID of the cluster you want to update.</p>
|
|
512
|
+
* @public
|
|
513
|
+
*/
|
|
514
|
+
identifier: string | undefined;
|
|
515
|
+
/**
|
|
516
|
+
* <p>Specifies whether to enable deletion protection in your cluster.</p>
|
|
517
|
+
* @public
|
|
518
|
+
*/
|
|
519
|
+
deletionProtectionEnabled?: boolean | undefined;
|
|
520
|
+
/**
|
|
521
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the
|
|
522
|
+
* idempotency of the request. Idempotency ensures that an API request completes
|
|
523
|
+
* only once. With an idempotent request, if the original request completes
|
|
524
|
+
* successfully. The subsequent retries with the same client token return the
|
|
525
|
+
* result from the original successful request and they
|
|
526
|
+
* have no additional effect.</p>
|
|
527
|
+
* <p>If you don't specify a client token, the Amazon Web Services SDK
|
|
528
|
+
* automatically generates one.</p>
|
|
529
|
+
* @public
|
|
530
|
+
*/
|
|
531
|
+
clientToken?: string | undefined;
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* Output Mixin
|
|
535
|
+
* @public
|
|
536
|
+
*/
|
|
537
|
+
export interface UpdateClusterOutput {
|
|
538
|
+
/**
|
|
539
|
+
* <p>The ID of the cluster to update.</p>
|
|
540
|
+
* @public
|
|
541
|
+
*/
|
|
542
|
+
identifier: string | undefined;
|
|
543
|
+
/**
|
|
544
|
+
* <p>The ARN of the updated cluster.</p>
|
|
545
|
+
* @public
|
|
546
|
+
*/
|
|
547
|
+
arn: string | undefined;
|
|
548
|
+
/**
|
|
549
|
+
* <p>The status of the updated cluster.</p>
|
|
550
|
+
* @public
|
|
551
|
+
*/
|
|
552
|
+
status: ClusterStatus | undefined;
|
|
553
|
+
/**
|
|
554
|
+
* <p>The time of when the cluster was created.</p>
|
|
555
|
+
* @public
|
|
556
|
+
*/
|
|
557
|
+
creationTime: Date | undefined;
|
|
558
|
+
/**
|
|
559
|
+
* <p>Whether deletion protection is enabled for the updated cluster.</p>
|
|
560
|
+
* @public
|
|
561
|
+
*/
|
|
562
|
+
deletionProtectionEnabled: boolean | undefined;
|
|
563
|
+
/**
|
|
564
|
+
* <p>The Region that receives all data you write to linked clusters.</p>
|
|
565
|
+
* @public
|
|
566
|
+
*/
|
|
567
|
+
witnessRegion?: string | undefined;
|
|
568
|
+
/**
|
|
569
|
+
* <p>The ARNs of the clusters linked to the updated cluster. Applicable
|
|
570
|
+
* only for multi-Region clusters.</p>
|
|
571
|
+
* @public
|
|
572
|
+
*/
|
|
573
|
+
linkedClusterArns?: string[] | undefined;
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* @public
|
|
577
|
+
*/
|
|
578
|
+
export interface ListTagsForResourceInput {
|
|
579
|
+
/**
|
|
580
|
+
* <p>The ARN of the resource for which you want to list the tags.</p>
|
|
581
|
+
* @public
|
|
582
|
+
*/
|
|
583
|
+
resourceArn: string | undefined;
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* @public
|
|
587
|
+
*/
|
|
588
|
+
export interface ListTagsForResourceOutput {
|
|
589
|
+
/**
|
|
590
|
+
* <p>A map of key and value pairs that you used to tag your resource.</p>
|
|
591
|
+
* @public
|
|
592
|
+
*/
|
|
593
|
+
tags?: Record<string, string> | undefined;
|
|
594
|
+
}
|
|
595
|
+
/**
|
|
596
|
+
* @public
|
|
597
|
+
*/
|
|
598
|
+
export interface TagResourceInput {
|
|
599
|
+
/**
|
|
600
|
+
* <p>The ARN of the resource that you want to tag.</p>
|
|
601
|
+
* @public
|
|
602
|
+
*/
|
|
603
|
+
resourceArn: string | undefined;
|
|
604
|
+
/**
|
|
605
|
+
* <p>A map of key and value pairs to use to tag your resource.</p>
|
|
606
|
+
* @public
|
|
607
|
+
*/
|
|
608
|
+
tags: Record<string, string> | undefined;
|
|
609
|
+
}
|
|
610
|
+
/**
|
|
611
|
+
* @public
|
|
612
|
+
*/
|
|
613
|
+
export interface UntagResourceInput {
|
|
614
|
+
/**
|
|
615
|
+
* <p>The ARN of the resource from which to remove tags.</p>
|
|
616
|
+
* @public
|
|
617
|
+
*/
|
|
618
|
+
resourceArn: string | undefined;
|
|
619
|
+
/**
|
|
620
|
+
* <p>The array of keys of the tags that you want to remove.</p>
|
|
621
|
+
* @public
|
|
622
|
+
*/
|
|
623
|
+
tagKeys: string[] | undefined;
|
|
624
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListClustersCommandInput, ListClustersCommandOutput } from "../commands/ListClustersCommand";
|
|
3
|
+
import { DSQLPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListClusters: (config: DSQLPaginationConfiguration, input: ListClustersCommandInput, ...rest: any[]) => Paginator<ListClustersCommandOutput>;
|