@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.
Files changed (143) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +294 -0
  3. package/dist-cjs/DSQL.js +31 -0
  4. package/dist-cjs/DSQLClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateClusterCommand.js +26 -0
  8. package/dist-cjs/commands/CreateMultiRegionClustersCommand.js +26 -0
  9. package/dist-cjs/commands/DeleteClusterCommand.js +26 -0
  10. package/dist-cjs/commands/DeleteMultiRegionClustersCommand.js +26 -0
  11. package/dist-cjs/commands/GetClusterCommand.js +26 -0
  12. package/dist-cjs/commands/ListClustersCommand.js +26 -0
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  14. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  15. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  16. package/dist-cjs/commands/UpdateClusterCommand.js +26 -0
  17. package/dist-cjs/commands/index.js +13 -0
  18. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  19. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  20. package/dist-cjs/endpoint/ruleset.js +7 -0
  21. package/dist-cjs/extensionConfiguration.js +2 -0
  22. package/dist-cjs/index.js +12 -0
  23. package/dist-cjs/models/DSQLServiceException.js +12 -0
  24. package/dist-cjs/models/index.js +4 -0
  25. package/dist-cjs/models/models_0.js +128 -0
  26. package/dist-cjs/pagination/Interfaces.js +2 -0
  27. package/dist-cjs/pagination/ListClustersPaginator.js +7 -0
  28. package/dist-cjs/pagination/index.js +5 -0
  29. package/dist-cjs/protocols/Aws_restJson1.js +467 -0
  30. package/dist-cjs/runtimeConfig.browser.js +39 -0
  31. package/dist-cjs/runtimeConfig.js +50 -0
  32. package/dist-cjs/runtimeConfig.native.js +15 -0
  33. package/dist-cjs/runtimeConfig.shared.js +34 -0
  34. package/dist-cjs/runtimeExtensions.js +25 -0
  35. package/dist-cjs/waiters/index.js +5 -0
  36. package/dist-cjs/waiters/waitForClusterActive.js +36 -0
  37. package/dist-cjs/waiters/waitForClusterNotExists.js +30 -0
  38. package/dist-es/DSQL.js +27 -0
  39. package/dist-es/DSQLClient.js +46 -0
  40. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  41. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  42. package/dist-es/commands/CreateClusterCommand.js +22 -0
  43. package/dist-es/commands/CreateMultiRegionClustersCommand.js +22 -0
  44. package/dist-es/commands/DeleteClusterCommand.js +22 -0
  45. package/dist-es/commands/DeleteMultiRegionClustersCommand.js +22 -0
  46. package/dist-es/commands/GetClusterCommand.js +22 -0
  47. package/dist-es/commands/ListClustersCommand.js +22 -0
  48. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  49. package/dist-es/commands/TagResourceCommand.js +22 -0
  50. package/dist-es/commands/UntagResourceCommand.js +22 -0
  51. package/dist-es/commands/UpdateClusterCommand.js +22 -0
  52. package/dist-es/commands/index.js +10 -0
  53. package/dist-es/endpoint/EndpointParameters.js +12 -0
  54. package/dist-es/endpoint/endpointResolver.js +14 -0
  55. package/dist-es/endpoint/ruleset.js +4 -0
  56. package/dist-es/extensionConfiguration.js +1 -0
  57. package/dist-es/index.js +7 -0
  58. package/dist-es/models/DSQLServiceException.js +8 -0
  59. package/dist-es/models/index.js +1 -0
  60. package/dist-es/models/models_0.js +118 -0
  61. package/dist-es/pagination/Interfaces.js +1 -0
  62. package/dist-es/pagination/ListClustersPaginator.js +4 -0
  63. package/dist-es/pagination/index.js +2 -0
  64. package/dist-es/protocols/Aws_restJson1.js +444 -0
  65. package/dist-es/runtimeConfig.browser.js +34 -0
  66. package/dist-es/runtimeConfig.js +45 -0
  67. package/dist-es/runtimeConfig.native.js +11 -0
  68. package/dist-es/runtimeConfig.shared.js +30 -0
  69. package/dist-es/runtimeExtensions.js +21 -0
  70. package/dist-es/waiters/index.js +2 -0
  71. package/dist-es/waiters/waitForClusterActive.js +31 -0
  72. package/dist-es/waiters/waitForClusterNotExists.js +25 -0
  73. package/dist-types/DSQL.d.ts +91 -0
  74. package/dist-types/DSQLClient.d.ts +188 -0
  75. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  76. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  77. package/dist-types/commands/CreateClusterCommand.d.ts +98 -0
  78. package/dist-types/commands/CreateMultiRegionClustersCommand.d.ts +107 -0
  79. package/dist-types/commands/DeleteClusterCommand.d.ts +95 -0
  80. package/dist-types/commands/DeleteMultiRegionClustersCommand.d.ts +91 -0
  81. package/dist-types/commands/GetClusterCommand.d.ts +95 -0
  82. package/dist-types/commands/ListClustersCommand.d.ts +94 -0
  83. package/dist-types/commands/ListTagsForResourceCommand.d.ts +89 -0
  84. package/dist-types/commands/TagResourceCommand.d.ts +91 -0
  85. package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
  86. package/dist-types/commands/UpdateClusterCommand.d.ts +100 -0
  87. package/dist-types/commands/index.d.ts +10 -0
  88. package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
  89. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  90. package/dist-types/endpoint/ruleset.d.ts +2 -0
  91. package/dist-types/extensionConfiguration.d.ts +9 -0
  92. package/dist-types/index.d.ts +24 -0
  93. package/dist-types/models/DSQLServiceException.d.ts +14 -0
  94. package/dist-types/models/index.d.ts +1 -0
  95. package/dist-types/models/models_0.d.ts +624 -0
  96. package/dist-types/pagination/Interfaces.d.ts +8 -0
  97. package/dist-types/pagination/ListClustersPaginator.d.ts +7 -0
  98. package/dist-types/pagination/index.d.ts +2 -0
  99. package/dist-types/protocols/Aws_restJson1.d.ts +92 -0
  100. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  101. package/dist-types/runtimeConfig.d.ts +48 -0
  102. package/dist-types/runtimeConfig.native.d.ts +47 -0
  103. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  104. package/dist-types/runtimeExtensions.d.ts +17 -0
  105. package/dist-types/ts3.4/DSQL.d.ts +177 -0
  106. package/dist-types/ts3.4/DSQLClient.d.ts +178 -0
  107. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  108. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  109. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +47 -0
  110. package/dist-types/ts3.4/commands/CreateMultiRegionClustersCommand.d.ts +51 -0
  111. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +47 -0
  112. package/dist-types/ts3.4/commands/DeleteMultiRegionClustersCommand.d.ts +47 -0
  113. package/dist-types/ts3.4/commands/GetClusterCommand.d.ts +47 -0
  114. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +47 -0
  115. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  116. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
  117. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
  118. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +47 -0
  119. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  120. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  121. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  122. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  123. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  124. package/dist-types/ts3.4/index.d.ts +10 -0
  125. package/dist-types/ts3.4/models/DSQLServiceException.d.ts +9 -0
  126. package/dist-types/ts3.4/models/index.d.ts +1 -0
  127. package/dist-types/ts3.4/models/models_0.d.ts +181 -0
  128. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  129. package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +11 -0
  130. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  131. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +125 -0
  132. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  133. package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
  134. package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
  135. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  136. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  137. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  138. package/dist-types/ts3.4/waiters/waitForClusterActive.d.ts +11 -0
  139. package/dist-types/ts3.4/waiters/waitForClusterNotExists.d.ts +11 -0
  140. package/dist-types/waiters/index.d.ts +2 -0
  141. package/dist-types/waiters/waitForClusterActive.d.ts +14 -0
  142. package/dist-types/waiters/waitForClusterNotExists.d.ts +14 -0
  143. package/package.json +104 -0
@@ -0,0 +1,181 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { DSQLServiceException as __BaseException } from "./DSQLServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
+ );
9
+ }
10
+ export declare const ClusterStatus: {
11
+ readonly ACTIVE: "ACTIVE";
12
+ readonly CREATING: "CREATING";
13
+ readonly DELETED: "DELETED";
14
+ readonly DELETING: "DELETING";
15
+ readonly FAILED: "FAILED";
16
+ readonly UPDATING: "UPDATING";
17
+ };
18
+ export type ClusterStatus = (typeof ClusterStatus)[keyof typeof ClusterStatus];
19
+ export declare class ConflictException extends __BaseException {
20
+ readonly name: "ConflictException";
21
+ readonly $fault: "client";
22
+ resourceId?: string | undefined;
23
+ resourceType?: string | undefined;
24
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
25
+ }
26
+ export interface CreateClusterInput {
27
+ deletionProtectionEnabled?: boolean | undefined;
28
+ tags?: Record<string, string> | undefined;
29
+ clientToken?: string | undefined;
30
+ }
31
+ export interface CreateClusterOutput {
32
+ identifier: string | undefined;
33
+ arn: string | undefined;
34
+ status: ClusterStatus | undefined;
35
+ creationTime: Date | undefined;
36
+ deletionProtectionEnabled: boolean | undefined;
37
+ }
38
+ export declare class InternalServerException extends __BaseException {
39
+ readonly name: "InternalServerException";
40
+ readonly $fault: "server";
41
+ $retryable: {};
42
+ retryAfterSeconds?: number | undefined;
43
+ constructor(
44
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
45
+ );
46
+ }
47
+ export declare class ServiceQuotaExceededException extends __BaseException {
48
+ readonly name: "ServiceQuotaExceededException";
49
+ readonly $fault: "client";
50
+ resourceId: string | undefined;
51
+ resourceType: string | undefined;
52
+ serviceCode: string | undefined;
53
+ quotaCode: string | undefined;
54
+ constructor(
55
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
56
+ );
57
+ }
58
+ export declare class ThrottlingException extends __BaseException {
59
+ readonly name: "ThrottlingException";
60
+ readonly $fault: "client";
61
+ $retryable: {
62
+ throttling: boolean;
63
+ };
64
+ serviceCode?: string | undefined;
65
+ quotaCode?: string | undefined;
66
+ retryAfterSeconds?: number | undefined;
67
+ constructor(
68
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
69
+ );
70
+ }
71
+ export interface ValidationExceptionField {
72
+ name: string | undefined;
73
+ message: string | undefined;
74
+ }
75
+ export declare const ValidationExceptionReason: {
76
+ readonly CANNOT_PARSE: "cannotParse";
77
+ readonly DELETION_PROTECTION_ENABLED: "deletionProtectionEnabled";
78
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
79
+ readonly OTHER: "other";
80
+ readonly UNKNOWN_OPERATION: "unknownOperation";
81
+ };
82
+ export type ValidationExceptionReason =
83
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
84
+ export declare class ValidationException extends __BaseException {
85
+ readonly name: "ValidationException";
86
+ readonly $fault: "client";
87
+ reason: ValidationExceptionReason | undefined;
88
+ fieldList?: ValidationExceptionField[] | undefined;
89
+ constructor(
90
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
91
+ );
92
+ }
93
+ export interface LinkedClusterProperties {
94
+ deletionProtectionEnabled?: boolean | undefined;
95
+ tags?: Record<string, string> | undefined;
96
+ }
97
+ export interface CreateMultiRegionClustersInput {
98
+ linkedRegionList: string[] | undefined;
99
+ clusterProperties?: Record<string, LinkedClusterProperties> | undefined;
100
+ witnessRegion: string | undefined;
101
+ clientToken?: string | undefined;
102
+ }
103
+ export interface CreateMultiRegionClustersOutput {
104
+ linkedClusterArns: string[] | undefined;
105
+ }
106
+ export interface DeleteClusterInput {
107
+ identifier: string | undefined;
108
+ clientToken?: string | undefined;
109
+ }
110
+ export interface DeleteClusterOutput {
111
+ identifier: string | undefined;
112
+ arn: string | undefined;
113
+ status: ClusterStatus | undefined;
114
+ creationTime: Date | undefined;
115
+ deletionProtectionEnabled: boolean | undefined;
116
+ }
117
+ export declare class ResourceNotFoundException extends __BaseException {
118
+ readonly name: "ResourceNotFoundException";
119
+ readonly $fault: "client";
120
+ resourceId: string | undefined;
121
+ resourceType: string | undefined;
122
+ constructor(
123
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
124
+ );
125
+ }
126
+ export interface DeleteMultiRegionClustersInput {
127
+ linkedClusterArns: string[] | undefined;
128
+ clientToken?: string | undefined;
129
+ }
130
+ export interface GetClusterInput {
131
+ identifier: string | undefined;
132
+ }
133
+ export interface GetClusterOutput {
134
+ identifier: string | undefined;
135
+ arn: string | undefined;
136
+ status: ClusterStatus | undefined;
137
+ creationTime: Date | undefined;
138
+ deletionProtectionEnabled: boolean | undefined;
139
+ witnessRegion?: string | undefined;
140
+ linkedClusterArns?: string[] | undefined;
141
+ }
142
+ export interface ListClustersInput {
143
+ maxResults?: number | undefined;
144
+ nextToken?: string | undefined;
145
+ }
146
+ export interface ClusterSummary {
147
+ identifier: string | undefined;
148
+ arn: string | undefined;
149
+ }
150
+ export interface ListClustersOutput {
151
+ nextToken?: string | undefined;
152
+ clusters: ClusterSummary[] | undefined;
153
+ }
154
+ export interface UpdateClusterInput {
155
+ identifier: string | undefined;
156
+ deletionProtectionEnabled?: boolean | undefined;
157
+ clientToken?: string | undefined;
158
+ }
159
+ export interface UpdateClusterOutput {
160
+ identifier: string | undefined;
161
+ arn: string | undefined;
162
+ status: ClusterStatus | undefined;
163
+ creationTime: Date | undefined;
164
+ deletionProtectionEnabled: boolean | undefined;
165
+ witnessRegion?: string | undefined;
166
+ linkedClusterArns?: string[] | undefined;
167
+ }
168
+ export interface ListTagsForResourceInput {
169
+ resourceArn: string | undefined;
170
+ }
171
+ export interface ListTagsForResourceOutput {
172
+ tags?: Record<string, string> | undefined;
173
+ }
174
+ export interface TagResourceInput {
175
+ resourceArn: string | undefined;
176
+ tags: Record<string, string> | undefined;
177
+ }
178
+ export interface UntagResourceInput {
179
+ resourceArn: string | undefined;
180
+ tagKeys: string[] | undefined;
181
+ }
@@ -0,0 +1,5 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { DSQLClient } from "../DSQLClient";
3
+ export interface DSQLPaginationConfiguration extends PaginationConfiguration {
4
+ client: DSQLClient;
5
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListClustersCommandInput,
4
+ ListClustersCommandOutput,
5
+ } from "../commands/ListClustersCommand";
6
+ import { DSQLPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListClusters: (
8
+ config: DSQLPaginationConfiguration,
9
+ input: ListClustersCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListClustersCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListClustersPaginator";
@@ -0,0 +1,125 @@
1
+ import {
2
+ HttpRequest as __HttpRequest,
3
+ HttpResponse as __HttpResponse,
4
+ } from "@smithy/protocol-http";
5
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
6
+ import {
7
+ CreateClusterCommandInput,
8
+ CreateClusterCommandOutput,
9
+ } from "../commands/CreateClusterCommand";
10
+ import {
11
+ CreateMultiRegionClustersCommandInput,
12
+ CreateMultiRegionClustersCommandOutput,
13
+ } from "../commands/CreateMultiRegionClustersCommand";
14
+ import {
15
+ DeleteClusterCommandInput,
16
+ DeleteClusterCommandOutput,
17
+ } from "../commands/DeleteClusterCommand";
18
+ import {
19
+ DeleteMultiRegionClustersCommandInput,
20
+ DeleteMultiRegionClustersCommandOutput,
21
+ } from "../commands/DeleteMultiRegionClustersCommand";
22
+ import {
23
+ GetClusterCommandInput,
24
+ GetClusterCommandOutput,
25
+ } from "../commands/GetClusterCommand";
26
+ import {
27
+ ListClustersCommandInput,
28
+ ListClustersCommandOutput,
29
+ } from "../commands/ListClustersCommand";
30
+ import {
31
+ ListTagsForResourceCommandInput,
32
+ ListTagsForResourceCommandOutput,
33
+ } from "../commands/ListTagsForResourceCommand";
34
+ import {
35
+ TagResourceCommandInput,
36
+ TagResourceCommandOutput,
37
+ } from "../commands/TagResourceCommand";
38
+ import {
39
+ UntagResourceCommandInput,
40
+ UntagResourceCommandOutput,
41
+ } from "../commands/UntagResourceCommand";
42
+ import {
43
+ UpdateClusterCommandInput,
44
+ UpdateClusterCommandOutput,
45
+ } from "../commands/UpdateClusterCommand";
46
+ export declare const se_CreateClusterCommand: (
47
+ input: CreateClusterCommandInput,
48
+ context: __SerdeContext
49
+ ) => Promise<__HttpRequest>;
50
+ export declare const se_CreateMultiRegionClustersCommand: (
51
+ input: CreateMultiRegionClustersCommandInput,
52
+ context: __SerdeContext
53
+ ) => Promise<__HttpRequest>;
54
+ export declare const se_DeleteClusterCommand: (
55
+ input: DeleteClusterCommandInput,
56
+ context: __SerdeContext
57
+ ) => Promise<__HttpRequest>;
58
+ export declare const se_DeleteMultiRegionClustersCommand: (
59
+ input: DeleteMultiRegionClustersCommandInput,
60
+ context: __SerdeContext
61
+ ) => Promise<__HttpRequest>;
62
+ export declare const se_GetClusterCommand: (
63
+ input: GetClusterCommandInput,
64
+ context: __SerdeContext
65
+ ) => Promise<__HttpRequest>;
66
+ export declare const se_ListClustersCommand: (
67
+ input: ListClustersCommandInput,
68
+ context: __SerdeContext
69
+ ) => Promise<__HttpRequest>;
70
+ export declare const se_ListTagsForResourceCommand: (
71
+ input: ListTagsForResourceCommandInput,
72
+ context: __SerdeContext
73
+ ) => Promise<__HttpRequest>;
74
+ export declare const se_TagResourceCommand: (
75
+ input: TagResourceCommandInput,
76
+ context: __SerdeContext
77
+ ) => Promise<__HttpRequest>;
78
+ export declare const se_UntagResourceCommand: (
79
+ input: UntagResourceCommandInput,
80
+ context: __SerdeContext
81
+ ) => Promise<__HttpRequest>;
82
+ export declare const se_UpdateClusterCommand: (
83
+ input: UpdateClusterCommandInput,
84
+ context: __SerdeContext
85
+ ) => Promise<__HttpRequest>;
86
+ export declare const de_CreateClusterCommand: (
87
+ output: __HttpResponse,
88
+ context: __SerdeContext
89
+ ) => Promise<CreateClusterCommandOutput>;
90
+ export declare const de_CreateMultiRegionClustersCommand: (
91
+ output: __HttpResponse,
92
+ context: __SerdeContext
93
+ ) => Promise<CreateMultiRegionClustersCommandOutput>;
94
+ export declare const de_DeleteClusterCommand: (
95
+ output: __HttpResponse,
96
+ context: __SerdeContext
97
+ ) => Promise<DeleteClusterCommandOutput>;
98
+ export declare const de_DeleteMultiRegionClustersCommand: (
99
+ output: __HttpResponse,
100
+ context: __SerdeContext
101
+ ) => Promise<DeleteMultiRegionClustersCommandOutput>;
102
+ export declare const de_GetClusterCommand: (
103
+ output: __HttpResponse,
104
+ context: __SerdeContext
105
+ ) => Promise<GetClusterCommandOutput>;
106
+ export declare const de_ListClustersCommand: (
107
+ output: __HttpResponse,
108
+ context: __SerdeContext
109
+ ) => Promise<ListClustersCommandOutput>;
110
+ export declare const de_ListTagsForResourceCommand: (
111
+ output: __HttpResponse,
112
+ context: __SerdeContext
113
+ ) => Promise<ListTagsForResourceCommandOutput>;
114
+ export declare const de_TagResourceCommand: (
115
+ output: __HttpResponse,
116
+ context: __SerdeContext
117
+ ) => Promise<TagResourceCommandOutput>;
118
+ export declare const de_UntagResourceCommand: (
119
+ output: __HttpResponse,
120
+ context: __SerdeContext
121
+ ) => Promise<UntagResourceCommandOutput>;
122
+ export declare const de_UpdateClusterCommand: (
123
+ output: __HttpResponse,
124
+ context: __SerdeContext
125
+ ) => Promise<UpdateClusterCommandOutput>;
@@ -0,0 +1,93 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { DSQLClientConfig } from "./DSQLClient";
3
+ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
+ credentialDefaultProvider: (
10
+ input: any
11
+ ) => import("@smithy/types").AwsCredentialIdentityProvider;
12
+ defaultUserAgentProvider: (
13
+ config?:
14
+ | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
15
+ | undefined
16
+ ) => Promise<import("@smithy/types").UserAgent>;
17
+ maxAttempts: number | import("@smithy/types").Provider<number>;
18
+ region: string | import("@smithy/types").Provider<any>;
19
+ requestHandler:
20
+ | import("@smithy/protocol-http").HttpHandler<any>
21
+ | RequestHandler;
22
+ retryMode: string | import("@smithy/types").Provider<string>;
23
+ sha256: import("@smithy/types").HashConstructor;
24
+ streamCollector: import("@smithy/types").StreamCollector;
25
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
+ apiVersion: string;
28
+ cacheMiddleware?: boolean | undefined;
29
+ urlParser: import("@smithy/types").UrlParser;
30
+ base64Decoder: import("@smithy/types").Decoder;
31
+ base64Encoder: (_input: string | Uint8Array) => string;
32
+ utf8Decoder: import("@smithy/types").Decoder;
33
+ utf8Encoder: (input: string | Uint8Array) => string;
34
+ disableHostPrefix: boolean;
35
+ serviceId: string;
36
+ logger: import("@smithy/types").Logger;
37
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
38
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
39
+ userAgentAppId?:
40
+ | string
41
+ | import("@smithy/types").Provider<string | undefined>
42
+ | undefined;
43
+ retryStrategy?:
44
+ | import("@smithy/types").RetryStrategy
45
+ | import("@smithy/types").RetryStrategyV2
46
+ | undefined;
47
+ endpoint?:
48
+ | ((
49
+ | string
50
+ | import("@smithy/types").Endpoint
51
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
52
+ | import("@smithy/types").EndpointV2
53
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
54
+ ) &
55
+ (
56
+ | string
57
+ | import("@smithy/types").Provider<string>
58
+ | import("@smithy/types").Endpoint
59
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
60
+ | import("@smithy/types").EndpointV2
61
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
62
+ ))
63
+ | undefined;
64
+ endpointProvider: (
65
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
66
+ context?: {
67
+ logger?: import("@smithy/types").Logger | undefined;
68
+ }
69
+ ) => import("@smithy/types").EndpointV2;
70
+ tls?: boolean | undefined;
71
+ serviceConfiguredEndpoint?: undefined;
72
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
73
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DSQLHttpAuthSchemeProvider;
74
+ credentials?:
75
+ | import("@smithy/types").AwsCredentialIdentity
76
+ | import("@smithy/types").AwsCredentialIdentityProvider
77
+ | undefined;
78
+ signer?:
79
+ | import("@smithy/types").RequestSigner
80
+ | ((
81
+ authScheme?: import("@smithy/types").AuthScheme | undefined
82
+ ) => Promise<import("@smithy/types").RequestSigner>)
83
+ | undefined;
84
+ signingEscapePath?: boolean | undefined;
85
+ systemClockOffset?: number | undefined;
86
+ signingRegion?: string | undefined;
87
+ signerConstructor?:
88
+ | (new (
89
+ options: import("@smithy/signature-v4").SignatureV4Init &
90
+ import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ ) => import("@smithy/types").RequestSigner)
92
+ | undefined;
93
+ };
@@ -0,0 +1,94 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { DSQLClientConfig } from "./DSQLClient";
3
+ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
+ credentialDefaultProvider: (
10
+ init?:
11
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
+ | undefined
13
+ ) => import("@smithy/types").MemoizedProvider<
14
+ import("@smithy/types").AwsCredentialIdentity
15
+ >;
16
+ defaultUserAgentProvider: (
17
+ config?:
18
+ | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
19
+ | undefined
20
+ ) => Promise<import("@smithy/types").UserAgent>;
21
+ maxAttempts: number | import("@smithy/types").Provider<number>;
22
+ region: string | import("@smithy/types").Provider<string>;
23
+ requestHandler:
24
+ | RequestHandler
25
+ | import("@smithy/protocol-http").HttpHandler<any>;
26
+ retryMode: string | import("@smithy/types").Provider<string>;
27
+ sha256: import("@smithy/types").HashConstructor;
28
+ streamCollector: import("@smithy/types").StreamCollector;
29
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
31
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
32
+ apiVersion: string;
33
+ cacheMiddleware?: boolean | undefined;
34
+ urlParser: import("@smithy/types").UrlParser;
35
+ base64Decoder: import("@smithy/types").Decoder;
36
+ base64Encoder: (_input: string | Uint8Array) => string;
37
+ utf8Decoder: import("@smithy/types").Decoder;
38
+ utf8Encoder: (input: string | Uint8Array) => string;
39
+ disableHostPrefix: boolean;
40
+ serviceId: string;
41
+ logger: import("@smithy/types").Logger;
42
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
43
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
44
+ retryStrategy?:
45
+ | import("@smithy/types").RetryStrategy
46
+ | import("@smithy/types").RetryStrategyV2
47
+ | undefined;
48
+ endpoint?:
49
+ | ((
50
+ | string
51
+ | import("@smithy/types").Endpoint
52
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
53
+ | import("@smithy/types").EndpointV2
54
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ ) &
56
+ (
57
+ | string
58
+ | import("@smithy/types").Provider<string>
59
+ | import("@smithy/types").Endpoint
60
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
+ | import("@smithy/types").EndpointV2
62
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
63
+ ))
64
+ | undefined;
65
+ endpointProvider: (
66
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
67
+ context?: {
68
+ logger?: import("@smithy/types").Logger | undefined;
69
+ }
70
+ ) => import("@smithy/types").EndpointV2;
71
+ tls?: boolean | undefined;
72
+ serviceConfiguredEndpoint?: undefined;
73
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
74
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DSQLHttpAuthSchemeProvider;
75
+ credentials?:
76
+ | import("@smithy/types").AwsCredentialIdentity
77
+ | import("@smithy/types").AwsCredentialIdentityProvider
78
+ | undefined;
79
+ signer?:
80
+ | import("@smithy/types").RequestSigner
81
+ | ((
82
+ authScheme?: import("@smithy/types").AuthScheme | undefined
83
+ ) => Promise<import("@smithy/types").RequestSigner>)
84
+ | undefined;
85
+ signingEscapePath?: boolean | undefined;
86
+ systemClockOffset?: number | undefined;
87
+ signingRegion?: string | undefined;
88
+ signerConstructor?:
89
+ | (new (
90
+ options: import("@smithy/signature-v4").SignatureV4Init &
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit
92
+ ) => import("@smithy/types").RequestSigner)
93
+ | undefined;
94
+ };
@@ -0,0 +1,87 @@
1
+ import { DSQLClientConfig } from "./DSQLClient";
2
+ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
3
+ runtime: string;
4
+ sha256: import("@smithy/types").HashConstructor;
5
+ requestHandler:
6
+ | import("@smithy/types").NodeHttpHandlerOptions
7
+ | import("@smithy/types").FetchHttpHandlerOptions
8
+ | Record<string, unknown>
9
+ | import("@smithy/protocol-http").HttpHandler<any>
10
+ | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
+ apiVersion: string;
12
+ cacheMiddleware?: boolean | undefined;
13
+ urlParser: import("@smithy/types").UrlParser;
14
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
+ streamCollector: import("@smithy/types").StreamCollector;
16
+ base64Decoder: import("@smithy/types").Decoder;
17
+ base64Encoder: (_input: string | Uint8Array) => string;
18
+ utf8Decoder: import("@smithy/types").Decoder;
19
+ utf8Encoder: (input: string | Uint8Array) => string;
20
+ disableHostPrefix: boolean;
21
+ serviceId: string;
22
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
+ region: string | import("@smithy/types").Provider<any>;
25
+ defaultUserAgentProvider: (
26
+ config?:
27
+ | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
28
+ | undefined
29
+ ) => Promise<import("@smithy/types").UserAgent>;
30
+ credentialDefaultProvider: (
31
+ input: any
32
+ ) => import("@smithy/types").AwsCredentialIdentityProvider;
33
+ maxAttempts: number | import("@smithy/types").Provider<number>;
34
+ retryMode: string | import("@smithy/types").Provider<string>;
35
+ logger: import("@smithy/types").Logger;
36
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
37
+ defaultsMode:
38
+ | import("@smithy/smithy-client").DefaultsMode
39
+ | import("@smithy/types").Provider<
40
+ import("@smithy/smithy-client").DefaultsMode
41
+ >;
42
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
43
+ userAgentAppId?:
44
+ | string
45
+ | import("@smithy/types").Provider<string | undefined>
46
+ | undefined;
47
+ retryStrategy?:
48
+ | import("@smithy/types").RetryStrategy
49
+ | import("@smithy/types").RetryStrategyV2
50
+ | undefined;
51
+ endpoint?:
52
+ | string
53
+ | import("@smithy/types").Endpoint
54
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
55
+ | import("@smithy/types").EndpointV2
56
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ | undefined;
58
+ endpointProvider: (
59
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
60
+ context?: {
61
+ logger?: import("@smithy/types").Logger | undefined;
62
+ }
63
+ ) => import("@smithy/types").EndpointV2;
64
+ tls?: boolean | undefined;
65
+ serviceConfiguredEndpoint?: undefined;
66
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
67
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DSQLHttpAuthSchemeProvider;
68
+ credentials?:
69
+ | import("@smithy/types").AwsCredentialIdentity
70
+ | import("@smithy/types").AwsCredentialIdentityProvider
71
+ | undefined;
72
+ signer?:
73
+ | import("@smithy/types").RequestSigner
74
+ | ((
75
+ authScheme?: import("@smithy/types").AuthScheme | undefined
76
+ ) => Promise<import("@smithy/types").RequestSigner>)
77
+ | undefined;
78
+ signingEscapePath?: boolean | undefined;
79
+ systemClockOffset?: number | undefined;
80
+ signingRegion?: string | undefined;
81
+ signerConstructor?:
82
+ | (new (
83
+ options: import("@smithy/signature-v4").SignatureV4Init &
84
+ import("@smithy/signature-v4").SignatureV4CryptoInit
85
+ ) => import("@smithy/types").RequestSigner)
86
+ | undefined;
87
+ };
@@ -0,0 +1,21 @@
1
+ import { DSQLClientConfig } from "./DSQLClient";
2
+ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
3
+ apiVersion: string;
4
+ base64Decoder: import("@smithy/types").Decoder;
5
+ base64Encoder: (_input: string | Uint8Array) => string;
6
+ disableHostPrefix: boolean;
7
+ endpointProvider: (
8
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
9
+ context?: {
10
+ logger?: import("@smithy/types").Logger | undefined;
11
+ }
12
+ ) => import("@smithy/types").EndpointV2;
13
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
14
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DSQLHttpAuthSchemeProvider;
15
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
+ logger: import("@smithy/types").Logger;
17
+ serviceId: string;
18
+ urlParser: import("@smithy/types").UrlParser;
19
+ utf8Decoder: import("@smithy/types").Decoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
+ };
@@ -0,0 +1,11 @@
1
+ import { DSQLExtensionConfiguration } from "./extensionConfiguration";
2
+ export interface RuntimeExtension {
3
+ configure(extensionConfiguration: DSQLExtensionConfiguration): void;
4
+ }
5
+ export interface RuntimeExtensionsConfig {
6
+ extensions: RuntimeExtension[];
7
+ }
8
+ export declare const resolveRuntimeExtensions: (
9
+ runtimeConfig: any,
10
+ extensions: RuntimeExtension[]
11
+ ) => any;
@@ -0,0 +1,2 @@
1
+ export * from "./waitForClusterActive";
2
+ export * from "./waitForClusterNotExists";
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { GetClusterCommandInput } from "../commands/GetClusterCommand";
3
+ import { DSQLClient } from "../DSQLClient";
4
+ export declare const waitForClusterActive: (
5
+ params: WaiterConfiguration<DSQLClient>,
6
+ input: GetClusterCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilClusterActive: (
9
+ params: WaiterConfiguration<DSQLClient>,
10
+ input: GetClusterCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { GetClusterCommandInput } from "../commands/GetClusterCommand";
3
+ import { DSQLClient } from "../DSQLClient";
4
+ export declare const waitForClusterNotExists: (
5
+ params: WaiterConfiguration<DSQLClient>,
6
+ input: GetClusterCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilClusterNotExists: (
9
+ params: WaiterConfiguration<DSQLClient>,
10
+ input: GetClusterCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -0,0 +1,2 @@
1
+ export * from "./waitForClusterActive";
2
+ export * from "./waitForClusterNotExists";