@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,91 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
3
|
+
import { CreateMultiRegionClustersCommandInput, CreateMultiRegionClustersCommandOutput } from "./commands/CreateMultiRegionClustersCommand";
|
|
4
|
+
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
5
|
+
import { DeleteMultiRegionClustersCommandInput, DeleteMultiRegionClustersCommandOutput } from "./commands/DeleteMultiRegionClustersCommand";
|
|
6
|
+
import { GetClusterCommandInput, GetClusterCommandOutput } from "./commands/GetClusterCommand";
|
|
7
|
+
import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/ListClustersCommand";
|
|
8
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
9
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
10
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
11
|
+
import { UpdateClusterCommandInput, UpdateClusterCommandOutput } from "./commands/UpdateClusterCommand";
|
|
12
|
+
import { DSQLClient } from "./DSQLClient";
|
|
13
|
+
export interface DSQL {
|
|
14
|
+
/**
|
|
15
|
+
* @see {@link CreateClusterCommand}
|
|
16
|
+
*/
|
|
17
|
+
createCluster(): Promise<CreateClusterCommandOutput>;
|
|
18
|
+
createCluster(args: CreateClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateClusterCommandOutput>;
|
|
19
|
+
createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
20
|
+
createCluster(args: CreateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
21
|
+
/**
|
|
22
|
+
* @see {@link CreateMultiRegionClustersCommand}
|
|
23
|
+
*/
|
|
24
|
+
createMultiRegionClusters(args: CreateMultiRegionClustersCommandInput, options?: __HttpHandlerOptions): Promise<CreateMultiRegionClustersCommandOutput>;
|
|
25
|
+
createMultiRegionClusters(args: CreateMultiRegionClustersCommandInput, cb: (err: any, data?: CreateMultiRegionClustersCommandOutput) => void): void;
|
|
26
|
+
createMultiRegionClusters(args: CreateMultiRegionClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMultiRegionClustersCommandOutput) => void): void;
|
|
27
|
+
/**
|
|
28
|
+
* @see {@link DeleteClusterCommand}
|
|
29
|
+
*/
|
|
30
|
+
deleteCluster(args: DeleteClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteClusterCommandOutput>;
|
|
31
|
+
deleteCluster(args: DeleteClusterCommandInput, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
32
|
+
deleteCluster(args: DeleteClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
33
|
+
/**
|
|
34
|
+
* @see {@link DeleteMultiRegionClustersCommand}
|
|
35
|
+
*/
|
|
36
|
+
deleteMultiRegionClusters(args: DeleteMultiRegionClustersCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMultiRegionClustersCommandOutput>;
|
|
37
|
+
deleteMultiRegionClusters(args: DeleteMultiRegionClustersCommandInput, cb: (err: any, data?: DeleteMultiRegionClustersCommandOutput) => void): void;
|
|
38
|
+
deleteMultiRegionClusters(args: DeleteMultiRegionClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMultiRegionClustersCommandOutput) => void): void;
|
|
39
|
+
/**
|
|
40
|
+
* @see {@link GetClusterCommand}
|
|
41
|
+
*/
|
|
42
|
+
getCluster(args: GetClusterCommandInput, options?: __HttpHandlerOptions): Promise<GetClusterCommandOutput>;
|
|
43
|
+
getCluster(args: GetClusterCommandInput, cb: (err: any, data?: GetClusterCommandOutput) => void): void;
|
|
44
|
+
getCluster(args: GetClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetClusterCommandOutput) => void): void;
|
|
45
|
+
/**
|
|
46
|
+
* @see {@link ListClustersCommand}
|
|
47
|
+
*/
|
|
48
|
+
listClusters(): Promise<ListClustersCommandOutput>;
|
|
49
|
+
listClusters(args: ListClustersCommandInput, options?: __HttpHandlerOptions): Promise<ListClustersCommandOutput>;
|
|
50
|
+
listClusters(args: ListClustersCommandInput, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
|
|
51
|
+
listClusters(args: ListClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
|
|
52
|
+
/**
|
|
53
|
+
* @see {@link ListTagsForResourceCommand}
|
|
54
|
+
*/
|
|
55
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
56
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
57
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
58
|
+
/**
|
|
59
|
+
* @see {@link TagResourceCommand}
|
|
60
|
+
*/
|
|
61
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
62
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
63
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
64
|
+
/**
|
|
65
|
+
* @see {@link UntagResourceCommand}
|
|
66
|
+
*/
|
|
67
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
68
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
69
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
70
|
+
/**
|
|
71
|
+
* @see {@link UpdateClusterCommand}
|
|
72
|
+
*/
|
|
73
|
+
updateCluster(args: UpdateClusterCommandInput, options?: __HttpHandlerOptions): Promise<UpdateClusterCommandOutput>;
|
|
74
|
+
updateCluster(args: UpdateClusterCommandInput, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void;
|
|
75
|
+
updateCluster(args: UpdateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* <p>This is an interface reference for Amazon Aurora DSQL.
|
|
79
|
+
* It contains documentation for one of the programming or
|
|
80
|
+
* command line interfaces you can use to manage Amazon Aurora DSQL.</p>
|
|
81
|
+
* <p>Amazon Aurora DSQL is a serverless, distributed SQL
|
|
82
|
+
* database suitable for workloads of any size. Aurora DSQL
|
|
83
|
+
* is available in both single-Region and multi-Region configurations,
|
|
84
|
+
* so your clusters and databases are always available even if an
|
|
85
|
+
* Availability Zone or an Amazon Web Services Region are unavailable. Aurora DSQL
|
|
86
|
+
* lets you focus on using your data to acquire new insights for your
|
|
87
|
+
* business and customers.</p>
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class DSQL extends DSQLClient implements DSQL {
|
|
91
|
+
}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
11
|
+
import { CreateMultiRegionClustersCommandInput, CreateMultiRegionClustersCommandOutput } from "./commands/CreateMultiRegionClustersCommand";
|
|
12
|
+
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
13
|
+
import { DeleteMultiRegionClustersCommandInput, DeleteMultiRegionClustersCommandOutput } from "./commands/DeleteMultiRegionClustersCommand";
|
|
14
|
+
import { GetClusterCommandInput, GetClusterCommandOutput } from "./commands/GetClusterCommand";
|
|
15
|
+
import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/ListClustersCommand";
|
|
16
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
17
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
18
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
19
|
+
import { UpdateClusterCommandInput, UpdateClusterCommandOutput } from "./commands/UpdateClusterCommand";
|
|
20
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
21
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
22
|
+
export { __Client };
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type ServiceInputTypes = CreateClusterCommandInput | CreateMultiRegionClustersCommandInput | DeleteClusterCommandInput | DeleteMultiRegionClustersCommandInput | GetClusterCommandInput | ListClustersCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateClusterCommandInput;
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
export type ServiceOutputTypes = CreateClusterCommandOutput | CreateMultiRegionClustersCommandOutput | DeleteClusterCommandOutput | DeleteMultiRegionClustersCommandOutput | GetClusterCommandOutput | ListClustersCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateClusterCommandOutput;
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
35
|
+
/**
|
|
36
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
37
|
+
*/
|
|
38
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
39
|
+
/**
|
|
40
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
41
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
42
|
+
* @internal
|
|
43
|
+
*/
|
|
44
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
45
|
+
/**
|
|
46
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
urlParser?: __UrlParser;
|
|
50
|
+
/**
|
|
51
|
+
* A function that can calculate the length of a request body.
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
55
|
+
/**
|
|
56
|
+
* A function that converts a stream into an array of bytes.
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
streamCollector?: __StreamCollector;
|
|
60
|
+
/**
|
|
61
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
base64Decoder?: __Decoder;
|
|
65
|
+
/**
|
|
66
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
base64Encoder?: __Encoder;
|
|
70
|
+
/**
|
|
71
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
utf8Decoder?: __Decoder;
|
|
75
|
+
/**
|
|
76
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
utf8Encoder?: __Encoder;
|
|
80
|
+
/**
|
|
81
|
+
* The runtime environment.
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
runtime?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
87
|
+
* trait of an operation.
|
|
88
|
+
*/
|
|
89
|
+
disableHostPrefix?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Unique service identifier.
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
serviceId?: string;
|
|
95
|
+
/**
|
|
96
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
97
|
+
*/
|
|
98
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
99
|
+
/**
|
|
100
|
+
* Enables FIPS compatible endpoints.
|
|
101
|
+
*/
|
|
102
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
103
|
+
/**
|
|
104
|
+
* The AWS region to which this client will send requests
|
|
105
|
+
*/
|
|
106
|
+
region?: string | __Provider<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
111
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
112
|
+
/**
|
|
113
|
+
* Default credentials provider; Not available in browser runtime.
|
|
114
|
+
* @deprecated
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
117
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
118
|
+
/**
|
|
119
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
120
|
+
*/
|
|
121
|
+
maxAttempts?: number | __Provider<number>;
|
|
122
|
+
/**
|
|
123
|
+
* Specifies which retry algorithm to use.
|
|
124
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
125
|
+
*
|
|
126
|
+
*/
|
|
127
|
+
retryMode?: string | __Provider<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Optional logger for logging debug/info/warn/error.
|
|
130
|
+
*/
|
|
131
|
+
logger?: __Logger;
|
|
132
|
+
/**
|
|
133
|
+
* Optional extensions
|
|
134
|
+
*/
|
|
135
|
+
extensions?: RuntimeExtension[];
|
|
136
|
+
/**
|
|
137
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
138
|
+
*/
|
|
139
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
export type DSQLClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
145
|
+
/**
|
|
146
|
+
* @public
|
|
147
|
+
*
|
|
148
|
+
* The configuration interface of DSQLClient class constructor that set the region, credentials and other options.
|
|
149
|
+
*/
|
|
150
|
+
export interface DSQLClientConfig extends DSQLClientConfigType {
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
export type DSQLClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
156
|
+
/**
|
|
157
|
+
* @public
|
|
158
|
+
*
|
|
159
|
+
* The resolved configuration interface of DSQLClient class. This is resolved and normalized from the {@link DSQLClientConfig | constructor configuration interface}.
|
|
160
|
+
*/
|
|
161
|
+
export interface DSQLClientResolvedConfig extends DSQLClientResolvedConfigType {
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* <p>This is an interface reference for Amazon Aurora DSQL.
|
|
165
|
+
* It contains documentation for one of the programming or
|
|
166
|
+
* command line interfaces you can use to manage Amazon Aurora DSQL.</p>
|
|
167
|
+
* <p>Amazon Aurora DSQL is a serverless, distributed SQL
|
|
168
|
+
* database suitable for workloads of any size. Aurora DSQL
|
|
169
|
+
* is available in both single-Region and multi-Region configurations,
|
|
170
|
+
* so your clusters and databases are always available even if an
|
|
171
|
+
* Availability Zone or an Amazon Web Services Region are unavailable. Aurora DSQL
|
|
172
|
+
* lets you focus on using your data to acquire new insights for your
|
|
173
|
+
* business and customers.</p>
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
export declare class DSQLClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, DSQLClientResolvedConfig> {
|
|
177
|
+
/**
|
|
178
|
+
* The resolved configuration of DSQLClient class. This is resolved and normalized from the {@link DSQLClientConfig | constructor configuration interface}.
|
|
179
|
+
*/
|
|
180
|
+
readonly config: DSQLClientResolvedConfig;
|
|
181
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<DSQLClientConfig>);
|
|
182
|
+
/**
|
|
183
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
184
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
185
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
186
|
+
*/
|
|
187
|
+
destroy(): void;
|
|
188
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import { DSQLHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: DSQLHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): DSQLHttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: DSQLHttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
|
|
3
|
+
import { DSQLClientResolvedConfig } from "../DSQLClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface DSQLHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface DSQLHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<DSQLClientResolvedConfig, HandlerExecutionContext, DSQLHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultDSQLHttpAuthSchemeParametersProvider: (config: DSQLClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<DSQLHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface DSQLHttpAuthSchemeProvider extends HttpAuthSchemeProvider<DSQLHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultDSQLHttpAuthSchemeProvider: DSQLHttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
|
+
/**
|
|
38
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
httpAuthSchemeProvider?: DSQLHttpAuthSchemeProvider;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
47
|
+
/**
|
|
48
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
52
|
+
/**
|
|
53
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
readonly httpAuthSchemeProvider: DSQLHttpAuthSchemeProvider;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
+
import { CreateClusterInput, CreateClusterOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateClusterCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateClusterCommandInput extends CreateClusterInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateClusterCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateClusterCommandOutput extends CreateClusterOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateClusterCommand_base: {
|
|
25
|
+
new (input: CreateClusterCommandInput): import("@smithy/smithy-client").CommandImpl<CreateClusterCommandInput, CreateClusterCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [CreateClusterCommandInput]): import("@smithy/smithy-client").CommandImpl<CreateClusterCommandInput, CreateClusterCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a cluster in Amazon Aurora DSQL.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DSQLClient, CreateClusterCommand } from "@aws-sdk/client-dsql"; // ES Modules import
|
|
35
|
+
* // const { DSQLClient, CreateClusterCommand } = require("@aws-sdk/client-dsql"); // CommonJS import
|
|
36
|
+
* const client = new DSQLClient(config);
|
|
37
|
+
* const input = { // CreateClusterInput
|
|
38
|
+
* deletionProtectionEnabled: true || false,
|
|
39
|
+
* tags: { // TagMap
|
|
40
|
+
* "<keys>": "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* clientToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new CreateClusterCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // CreateClusterOutput
|
|
47
|
+
* // identifier: "STRING_VALUE", // required
|
|
48
|
+
* // arn: "STRING_VALUE", // required
|
|
49
|
+
* // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "DELETED" || "FAILED", // required
|
|
50
|
+
* // creationTime: new Date("TIMESTAMP"), // required
|
|
51
|
+
* // deletionProtectionEnabled: true || false, // required
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param CreateClusterCommandInput - {@link CreateClusterCommandInput}
|
|
57
|
+
* @returns {@link CreateClusterCommandOutput}
|
|
58
|
+
* @see {@link CreateClusterCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link CreateClusterCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link DSQLClientResolvedConfig | config} for DSQLClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ConflictException} (client fault)
|
|
63
|
+
* <p>The submitted action has conflicts.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
66
|
+
* <p>The service limit was exceeded.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerException} (server fault)
|
|
72
|
+
* <p>The request processing has failed because of an unknown error,
|
|
73
|
+
* exception or failure.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* <p>The request was denied due to request throttling.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link DSQLServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class CreateClusterCommand extends CreateClusterCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: CreateClusterInput;
|
|
91
|
+
output: CreateClusterOutput;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: CreateClusterCommandInput;
|
|
95
|
+
output: CreateClusterCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
+
import { CreateMultiRegionClustersInput, CreateMultiRegionClustersOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateMultiRegionClustersCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateMultiRegionClustersCommandInput extends CreateMultiRegionClustersInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateMultiRegionClustersCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateMultiRegionClustersCommandOutput extends CreateMultiRegionClustersOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateMultiRegionClustersCommand_base: {
|
|
25
|
+
new (input: CreateMultiRegionClustersCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMultiRegionClustersCommandInput, CreateMultiRegionClustersCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateMultiRegionClustersCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMultiRegionClustersCommandInput, CreateMultiRegionClustersCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates multi-Region clusters in Amazon Aurora DSQL.
|
|
31
|
+
* Multi-Region clusters require a linked Region list, which is an array
|
|
32
|
+
* of the Regions in which you want to create linked clusters.
|
|
33
|
+
* Multi-Region clusters require a witness Region, which participates in quorum in failure scenarios.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { DSQLClient, CreateMultiRegionClustersCommand } from "@aws-sdk/client-dsql"; // ES Modules import
|
|
38
|
+
* // const { DSQLClient, CreateMultiRegionClustersCommand } = require("@aws-sdk/client-dsql"); // CommonJS import
|
|
39
|
+
* const client = new DSQLClient(config);
|
|
40
|
+
* const input = { // CreateMultiRegionClustersInput
|
|
41
|
+
* linkedRegionList: [ // RegionList // required
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* clusterProperties: { // ClusterPropertyMap
|
|
45
|
+
* "<keys>": { // LinkedClusterProperties
|
|
46
|
+
* deletionProtectionEnabled: true || false,
|
|
47
|
+
* tags: { // TagMap
|
|
48
|
+
* "<keys>": "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* witnessRegion: "STRING_VALUE", // required
|
|
53
|
+
* clientToken: "STRING_VALUE",
|
|
54
|
+
* };
|
|
55
|
+
* const command = new CreateMultiRegionClustersCommand(input);
|
|
56
|
+
* const response = await client.send(command);
|
|
57
|
+
* // { // CreateMultiRegionClustersOutput
|
|
58
|
+
* // linkedClusterArns: [ // ClusterArnList // required
|
|
59
|
+
* // "STRING_VALUE",
|
|
60
|
+
* // ],
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param CreateMultiRegionClustersCommandInput - {@link CreateMultiRegionClustersCommandInput}
|
|
66
|
+
* @returns {@link CreateMultiRegionClustersCommandOutput}
|
|
67
|
+
* @see {@link CreateMultiRegionClustersCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link CreateMultiRegionClustersCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link DSQLClientResolvedConfig | config} for DSQLClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ConflictException} (client fault)
|
|
72
|
+
* <p>The submitted action has conflicts.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
75
|
+
* <p>The service limit was exceeded.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
78
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InternalServerException} (server fault)
|
|
81
|
+
* <p>The request processing has failed because of an unknown error,
|
|
82
|
+
* exception or failure.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
85
|
+
* <p>The request was denied due to request throttling.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ValidationException} (client fault)
|
|
88
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link DSQLServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class CreateMultiRegionClustersCommand extends CreateMultiRegionClustersCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: CreateMultiRegionClustersInput;
|
|
100
|
+
output: CreateMultiRegionClustersOutput;
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: CreateMultiRegionClustersCommandInput;
|
|
104
|
+
output: CreateMultiRegionClustersCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|