@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,43 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsSdkSigV4AuthInputConfig,
|
|
3
|
+
AwsSdkSigV4AuthResolvedConfig,
|
|
4
|
+
AwsSdkSigV4PreviouslyResolved,
|
|
5
|
+
} from "@aws-sdk/core";
|
|
6
|
+
import {
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpAuthScheme,
|
|
9
|
+
HttpAuthSchemeParameters,
|
|
10
|
+
HttpAuthSchemeParametersProvider,
|
|
11
|
+
HttpAuthSchemeProvider,
|
|
12
|
+
} from "@smithy/types";
|
|
13
|
+
import { DSQLClientResolvedConfig } from "../DSQLClient";
|
|
14
|
+
export interface DSQLHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
15
|
+
region?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface DSQLHttpAuthSchemeParametersProvider
|
|
18
|
+
extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
DSQLClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
DSQLHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
24
|
+
export declare const defaultDSQLHttpAuthSchemeParametersProvider: (
|
|
25
|
+
config: DSQLClientResolvedConfig,
|
|
26
|
+
context: HandlerExecutionContext,
|
|
27
|
+
input: object
|
|
28
|
+
) => Promise<DSQLHttpAuthSchemeParameters>;
|
|
29
|
+
export interface DSQLHttpAuthSchemeProvider
|
|
30
|
+
extends HttpAuthSchemeProvider<DSQLHttpAuthSchemeParameters> {}
|
|
31
|
+
export declare const defaultDSQLHttpAuthSchemeProvider: DSQLHttpAuthSchemeProvider;
|
|
32
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
33
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
34
|
+
httpAuthSchemeProvider?: DSQLHttpAuthSchemeProvider;
|
|
35
|
+
}
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig
|
|
37
|
+
extends AwsSdkSigV4AuthResolvedConfig {
|
|
38
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
39
|
+
readonly httpAuthSchemeProvider: DSQLHttpAuthSchemeProvider;
|
|
40
|
+
}
|
|
41
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
43
|
+
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DSQLClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DSQLClient";
|
|
8
|
+
import { CreateClusterInput, CreateClusterOutput } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface CreateClusterCommandInput extends CreateClusterInput {}
|
|
12
|
+
export interface CreateClusterCommandOutput
|
|
13
|
+
extends CreateClusterOutput,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const CreateClusterCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: CreateClusterCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
CreateClusterCommandInput,
|
|
20
|
+
CreateClusterCommandOutput,
|
|
21
|
+
DSQLClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
...[input]: [] | [CreateClusterCommandInput]
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
CreateClusterCommandInput,
|
|
29
|
+
CreateClusterCommandOutput,
|
|
30
|
+
DSQLClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class CreateClusterCommand extends CreateClusterCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: CreateClusterInput;
|
|
40
|
+
output: CreateClusterOutput;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: CreateClusterCommandInput;
|
|
44
|
+
output: CreateClusterCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DSQLClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DSQLClient";
|
|
8
|
+
import {
|
|
9
|
+
CreateMultiRegionClustersInput,
|
|
10
|
+
CreateMultiRegionClustersOutput,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface CreateMultiRegionClustersCommandInput
|
|
15
|
+
extends CreateMultiRegionClustersInput {}
|
|
16
|
+
export interface CreateMultiRegionClustersCommandOutput
|
|
17
|
+
extends CreateMultiRegionClustersOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const CreateMultiRegionClustersCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: CreateMultiRegionClustersCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
CreateMultiRegionClustersCommandInput,
|
|
24
|
+
CreateMultiRegionClustersCommandOutput,
|
|
25
|
+
DSQLClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: CreateMultiRegionClustersCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
CreateMultiRegionClustersCommandInput,
|
|
33
|
+
CreateMultiRegionClustersCommandOutput,
|
|
34
|
+
DSQLClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class CreateMultiRegionClustersCommand extends CreateMultiRegionClustersCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: CreateMultiRegionClustersInput;
|
|
44
|
+
output: CreateMultiRegionClustersOutput;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: CreateMultiRegionClustersCommandInput;
|
|
48
|
+
output: CreateMultiRegionClustersCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DSQLClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DSQLClient";
|
|
8
|
+
import { DeleteClusterInput, DeleteClusterOutput } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface DeleteClusterCommandInput extends DeleteClusterInput {}
|
|
12
|
+
export interface DeleteClusterCommandOutput
|
|
13
|
+
extends DeleteClusterOutput,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const DeleteClusterCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: DeleteClusterCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
DeleteClusterCommandInput,
|
|
20
|
+
DeleteClusterCommandOutput,
|
|
21
|
+
DSQLClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
__0_0: DeleteClusterCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
DeleteClusterCommandInput,
|
|
29
|
+
DeleteClusterCommandOutput,
|
|
30
|
+
DSQLClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class DeleteClusterCommand extends DeleteClusterCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: DeleteClusterInput;
|
|
40
|
+
output: DeleteClusterOutput;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: DeleteClusterCommandInput;
|
|
44
|
+
output: DeleteClusterCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DSQLClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DSQLClient";
|
|
8
|
+
import { DeleteMultiRegionClustersInput } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface DeleteMultiRegionClustersCommandInput
|
|
12
|
+
extends DeleteMultiRegionClustersInput {}
|
|
13
|
+
export interface DeleteMultiRegionClustersCommandOutput
|
|
14
|
+
extends __MetadataBearer {}
|
|
15
|
+
declare const DeleteMultiRegionClustersCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: DeleteMultiRegionClustersCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
DeleteMultiRegionClustersCommandInput,
|
|
20
|
+
DeleteMultiRegionClustersCommandOutput,
|
|
21
|
+
DSQLClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
__0_0: DeleteMultiRegionClustersCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
DeleteMultiRegionClustersCommandInput,
|
|
29
|
+
DeleteMultiRegionClustersCommandOutput,
|
|
30
|
+
DSQLClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class DeleteMultiRegionClustersCommand extends DeleteMultiRegionClustersCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: DeleteMultiRegionClustersInput;
|
|
40
|
+
output: {};
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: DeleteMultiRegionClustersCommandInput;
|
|
44
|
+
output: DeleteMultiRegionClustersCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DSQLClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DSQLClient";
|
|
8
|
+
import { GetClusterInput, GetClusterOutput } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface GetClusterCommandInput extends GetClusterInput {}
|
|
12
|
+
export interface GetClusterCommandOutput
|
|
13
|
+
extends GetClusterOutput,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const GetClusterCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: GetClusterCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
GetClusterCommandInput,
|
|
20
|
+
GetClusterCommandOutput,
|
|
21
|
+
DSQLClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
__0_0: GetClusterCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
GetClusterCommandInput,
|
|
29
|
+
GetClusterCommandOutput,
|
|
30
|
+
DSQLClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class GetClusterCommand extends GetClusterCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: GetClusterInput;
|
|
40
|
+
output: GetClusterOutput;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: GetClusterCommandInput;
|
|
44
|
+
output: GetClusterCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DSQLClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DSQLClient";
|
|
8
|
+
import { ListClustersInput, ListClustersOutput } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface ListClustersCommandInput extends ListClustersInput {}
|
|
12
|
+
export interface ListClustersCommandOutput
|
|
13
|
+
extends ListClustersOutput,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const ListClustersCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: ListClustersCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
ListClustersCommandInput,
|
|
20
|
+
ListClustersCommandOutput,
|
|
21
|
+
DSQLClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
...[input]: [] | [ListClustersCommandInput]
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
ListClustersCommandInput,
|
|
29
|
+
ListClustersCommandOutput,
|
|
30
|
+
DSQLClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class ListClustersCommand extends ListClustersCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: ListClustersInput;
|
|
40
|
+
output: ListClustersOutput;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: ListClustersCommandInput;
|
|
44
|
+
output: ListClustersCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DSQLClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DSQLClient";
|
|
8
|
+
import {
|
|
9
|
+
ListTagsForResourceInput,
|
|
10
|
+
ListTagsForResourceOutput,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListTagsForResourceCommandInput
|
|
15
|
+
extends ListTagsForResourceInput {}
|
|
16
|
+
export interface ListTagsForResourceCommandOutput
|
|
17
|
+
extends ListTagsForResourceOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListTagsForResourceCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListTagsForResourceCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListTagsForResourceCommandInput,
|
|
24
|
+
ListTagsForResourceCommandOutput,
|
|
25
|
+
DSQLClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: ListTagsForResourceCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListTagsForResourceCommandInput,
|
|
33
|
+
ListTagsForResourceCommandOutput,
|
|
34
|
+
DSQLClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListTagsForResourceInput;
|
|
44
|
+
output: ListTagsForResourceOutput;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListTagsForResourceCommandInput;
|
|
48
|
+
output: ListTagsForResourceCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DSQLClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DSQLClient";
|
|
8
|
+
import { TagResourceInput } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface TagResourceCommandInput extends TagResourceInput {}
|
|
12
|
+
export interface TagResourceCommandOutput extends __MetadataBearer {}
|
|
13
|
+
declare const TagResourceCommand_base: {
|
|
14
|
+
new (
|
|
15
|
+
input: TagResourceCommandInput
|
|
16
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
17
|
+
TagResourceCommandInput,
|
|
18
|
+
TagResourceCommandOutput,
|
|
19
|
+
DSQLClientResolvedConfig,
|
|
20
|
+
ServiceInputTypes,
|
|
21
|
+
ServiceOutputTypes
|
|
22
|
+
>;
|
|
23
|
+
new (
|
|
24
|
+
__0_0: TagResourceCommandInput
|
|
25
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
26
|
+
TagResourceCommandInput,
|
|
27
|
+
TagResourceCommandOutput,
|
|
28
|
+
DSQLClientResolvedConfig,
|
|
29
|
+
ServiceInputTypes,
|
|
30
|
+
ServiceOutputTypes
|
|
31
|
+
>;
|
|
32
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
33
|
+
};
|
|
34
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
35
|
+
protected static __types: {
|
|
36
|
+
api: {
|
|
37
|
+
input: TagResourceInput;
|
|
38
|
+
output: {};
|
|
39
|
+
};
|
|
40
|
+
sdk: {
|
|
41
|
+
input: TagResourceCommandInput;
|
|
42
|
+
output: TagResourceCommandOutput;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DSQLClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DSQLClient";
|
|
8
|
+
import { UntagResourceInput } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface UntagResourceCommandInput extends UntagResourceInput {}
|
|
12
|
+
export interface UntagResourceCommandOutput extends __MetadataBearer {}
|
|
13
|
+
declare const UntagResourceCommand_base: {
|
|
14
|
+
new (
|
|
15
|
+
input: UntagResourceCommandInput
|
|
16
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
17
|
+
UntagResourceCommandInput,
|
|
18
|
+
UntagResourceCommandOutput,
|
|
19
|
+
DSQLClientResolvedConfig,
|
|
20
|
+
ServiceInputTypes,
|
|
21
|
+
ServiceOutputTypes
|
|
22
|
+
>;
|
|
23
|
+
new (
|
|
24
|
+
__0_0: UntagResourceCommandInput
|
|
25
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
26
|
+
UntagResourceCommandInput,
|
|
27
|
+
UntagResourceCommandOutput,
|
|
28
|
+
DSQLClientResolvedConfig,
|
|
29
|
+
ServiceInputTypes,
|
|
30
|
+
ServiceOutputTypes
|
|
31
|
+
>;
|
|
32
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
33
|
+
};
|
|
34
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
35
|
+
protected static __types: {
|
|
36
|
+
api: {
|
|
37
|
+
input: UntagResourceInput;
|
|
38
|
+
output: {};
|
|
39
|
+
};
|
|
40
|
+
sdk: {
|
|
41
|
+
input: UntagResourceCommandInput;
|
|
42
|
+
output: UntagResourceCommandOutput;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DSQLClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DSQLClient";
|
|
8
|
+
import { UpdateClusterInput, UpdateClusterOutput } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface UpdateClusterCommandInput extends UpdateClusterInput {}
|
|
12
|
+
export interface UpdateClusterCommandOutput
|
|
13
|
+
extends UpdateClusterOutput,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const UpdateClusterCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: UpdateClusterCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
UpdateClusterCommandInput,
|
|
20
|
+
UpdateClusterCommandOutput,
|
|
21
|
+
DSQLClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
__0_0: UpdateClusterCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
UpdateClusterCommandInput,
|
|
29
|
+
UpdateClusterCommandOutput,
|
|
30
|
+
DSQLClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class UpdateClusterCommand extends UpdateClusterCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: UpdateClusterInput;
|
|
40
|
+
output: UpdateClusterOutput;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: UpdateClusterCommandInput;
|
|
44
|
+
output: UpdateClusterCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./CreateClusterCommand";
|
|
2
|
+
export * from "./CreateMultiRegionClustersCommand";
|
|
3
|
+
export * from "./DeleteClusterCommand";
|
|
4
|
+
export * from "./DeleteMultiRegionClustersCommand";
|
|
5
|
+
export * from "./GetClusterCommand";
|
|
6
|
+
export * from "./ListClustersCommand";
|
|
7
|
+
export * from "./ListTagsForResourceCommand";
|
|
8
|
+
export * from "./TagResourceCommand";
|
|
9
|
+
export * from "./UntagResourceCommand";
|
|
10
|
+
export * from "./UpdateClusterCommand";
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters as __EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Provider,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export interface ClientInputEndpointParameters {
|
|
8
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
9
|
+
endpoint?:
|
|
10
|
+
| string
|
|
11
|
+
| Provider<string>
|
|
12
|
+
| Endpoint
|
|
13
|
+
| Provider<Endpoint>
|
|
14
|
+
| EndpointV2
|
|
15
|
+
| Provider<EndpointV2>;
|
|
16
|
+
region?: string | Provider<string>;
|
|
17
|
+
}
|
|
18
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
19
|
+
defaultSigningName: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
22
|
+
options: T & ClientInputEndpointParameters
|
|
23
|
+
) => T &
|
|
24
|
+
ClientInputEndpointParameters & {
|
|
25
|
+
defaultSigningName: string;
|
|
26
|
+
};
|
|
27
|
+
export declare const commonParams: {
|
|
28
|
+
readonly UseFIPS: {
|
|
29
|
+
readonly type: "builtInParams";
|
|
30
|
+
readonly name: "useFipsEndpoint";
|
|
31
|
+
};
|
|
32
|
+
readonly Endpoint: {
|
|
33
|
+
readonly type: "builtInParams";
|
|
34
|
+
readonly name: "endpoint";
|
|
35
|
+
};
|
|
36
|
+
readonly Region: {
|
|
37
|
+
readonly type: "builtInParams";
|
|
38
|
+
readonly name: "region";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
42
|
+
UseFIPS?: boolean;
|
|
43
|
+
Endpoint?: string;
|
|
44
|
+
Region?: string;
|
|
45
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
export interface DSQLExtensionConfiguration
|
|
6
|
+
extends HttpHandlerExtensionConfiguration,
|
|
7
|
+
DefaultExtensionConfiguration,
|
|
8
|
+
AwsRegionExtensionConfiguration,
|
|
9
|
+
HttpAuthExtensionConfiguration {}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./DSQLClient";
|
|
2
|
+
export * from "./DSQL";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { DSQLExtensionConfiguration } from "./extensionConfiguration";
|
|
6
|
+
export * from "./commands";
|
|
7
|
+
export * from "./pagination";
|
|
8
|
+
export * from "./waiters";
|
|
9
|
+
export * from "./models";
|
|
10
|
+
export { DSQLServiceException } from "./models/DSQLServiceException";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ServiceException as __ServiceException,
|
|
3
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
|
+
} from "@smithy/smithy-client";
|
|
5
|
+
export { __ServiceExceptionOptions };
|
|
6
|
+
export { __ServiceException };
|
|
7
|
+
export declare class DSQLServiceException extends __ServiceException {
|
|
8
|
+
constructor(options: __ServiceExceptionOptions);
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|