@aws-sdk/client-dsql 3.1045.0 → 3.1046.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/README.md +28 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +202 -56
- package/dist-cjs/models/DSQLServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-cjs/schemas/schemas_0.js +109 -5
- package/dist-es/DSQL.js +15 -1
- package/dist-es/DSQLClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/CreateClusterCommand.js +2 -2
- package/dist-es/commands/CreateStreamCommand.js +16 -0
- package/dist-es/commands/DeleteClusterCommand.js +2 -2
- package/dist-es/commands/DeleteClusterPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteStreamCommand.js +16 -0
- package/dist-es/commands/GetClusterCommand.js +2 -2
- package/dist-es/commands/GetClusterPolicyCommand.js +2 -2
- package/dist-es/commands/GetStreamCommand.js +16 -0
- package/dist-es/commands/GetVpcEndpointServiceNameCommand.js +2 -2
- package/dist-es/commands/ListClustersCommand.js +2 -2
- package/dist-es/commands/ListStreamsCommand.js +16 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/PutClusterPolicyCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateClusterCommand.js +2 -2
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/DSQLServiceException.js +1 -1
- package/dist-es/models/enums.js +24 -0
- package/dist-es/pagination/ListStreamsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-es/schemas/schemas_0.js +107 -4
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForClusterActive.js +1 -1
- package/dist-es/waiters/waitForClusterNotExists.js +1 -1
- package/dist-es/waiters/waitForStreamActive.js +31 -0
- package/dist-es/waiters/waitForStreamNotExists.js +25 -0
- package/dist-types/DSQL.d.ts +48 -1
- package/dist-types/DSQLClient.d.ts +11 -7
- package/dist-types/commands/CreateClusterCommand.d.ts +6 -4
- package/dist-types/commands/CreateStreamCommand.d.ts +115 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +6 -4
- package/dist-types/commands/DeleteClusterPolicyCommand.d.ts +6 -4
- package/dist-types/commands/DeleteStreamCommand.d.ts +100 -0
- package/dist-types/commands/GetClusterCommand.d.ts +6 -4
- package/dist-types/commands/GetClusterPolicyCommand.d.ts +6 -4
- package/dist-types/commands/GetStreamCommand.d.ts +111 -0
- package/dist-types/commands/GetVpcEndpointServiceNameCommand.d.ts +6 -4
- package/dist-types/commands/ListClustersCommand.d.ts +6 -4
- package/dist-types/commands/ListStreamsCommand.d.ts +102 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/PutClusterPolicyCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateClusterCommand.d.ts +6 -4
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/DSQLServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +56 -0
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +330 -1
- package/dist-types/pagination/ListStreamsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/schemas/schemas_0.d.ts +17 -1
- package/dist-types/ts3.4/DSQL.d.ts +94 -1
- package/dist-types/ts3.4/DSQLClient.d.ts +32 -14
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateStreamCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteClusterPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteStreamCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/GetClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetClusterPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetStreamCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/GetVpcEndpointServiceNameCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutClusterPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/DSQLServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +30 -0
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +95 -1
- package/dist-types/ts3.4/pagination/ListStreamsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +17 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForClusterActive.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForClusterNotExists.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForStreamActive.d.ts +15 -0
- package/dist-types/ts3.4/waiters/waitForStreamNotExists.d.ts +16 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForClusterActive.d.ts +1 -1
- package/dist-types/waiters/waitForClusterNotExists.d.ts +1 -1
- package/dist-types/waiters/waitForStreamActive.d.ts +15 -0
- package/dist-types/waiters/waitForStreamNotExists.d.ts +16 -0
- package/package.json +13 -35
package/dist-types/DSQL.d.ts
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
import { type WaiterResult } from "@smithy/core/client";
|
|
1
2
|
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
2
|
-
import type { WaiterResult } from "@smithy/util-waiter";
|
|
3
3
|
import { type CreateClusterCommandInput, type CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
4
|
+
import { type CreateStreamCommandInput, type CreateStreamCommandOutput } from "./commands/CreateStreamCommand";
|
|
4
5
|
import { type DeleteClusterCommandInput, type DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
5
6
|
import { type DeleteClusterPolicyCommandInput, type DeleteClusterPolicyCommandOutput } from "./commands/DeleteClusterPolicyCommand";
|
|
7
|
+
import { type DeleteStreamCommandInput, type DeleteStreamCommandOutput } from "./commands/DeleteStreamCommand";
|
|
6
8
|
import { type GetClusterCommandInput, type GetClusterCommandOutput } from "./commands/GetClusterCommand";
|
|
7
9
|
import { type GetClusterPolicyCommandInput, type GetClusterPolicyCommandOutput } from "./commands/GetClusterPolicyCommand";
|
|
10
|
+
import { type GetStreamCommandInput, type GetStreamCommandOutput } from "./commands/GetStreamCommand";
|
|
8
11
|
import { type GetVpcEndpointServiceNameCommandInput, type GetVpcEndpointServiceNameCommandOutput } from "./commands/GetVpcEndpointServiceNameCommand";
|
|
9
12
|
import { type ListClustersCommandInput, type ListClustersCommandOutput } from "./commands/ListClustersCommand";
|
|
13
|
+
import { type ListStreamsCommandInput, type ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
|
|
10
14
|
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
11
15
|
import { type PutClusterPolicyCommandInput, type PutClusterPolicyCommandOutput } from "./commands/PutClusterPolicyCommand";
|
|
12
16
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
@@ -22,6 +26,12 @@ export interface DSQL {
|
|
|
22
26
|
createCluster(args: CreateClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateClusterCommandOutput>;
|
|
23
27
|
createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
24
28
|
createCluster(args: CreateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
29
|
+
/**
|
|
30
|
+
* @see {@link CreateStreamCommand}
|
|
31
|
+
*/
|
|
32
|
+
createStream(args: CreateStreamCommandInput, options?: __HttpHandlerOptions): Promise<CreateStreamCommandOutput>;
|
|
33
|
+
createStream(args: CreateStreamCommandInput, cb: (err: any, data?: CreateStreamCommandOutput) => void): void;
|
|
34
|
+
createStream(args: CreateStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStreamCommandOutput) => void): void;
|
|
25
35
|
/**
|
|
26
36
|
* @see {@link DeleteClusterCommand}
|
|
27
37
|
*/
|
|
@@ -34,6 +44,12 @@ export interface DSQL {
|
|
|
34
44
|
deleteClusterPolicy(args: DeleteClusterPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteClusterPolicyCommandOutput>;
|
|
35
45
|
deleteClusterPolicy(args: DeleteClusterPolicyCommandInput, cb: (err: any, data?: DeleteClusterPolicyCommandOutput) => void): void;
|
|
36
46
|
deleteClusterPolicy(args: DeleteClusterPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterPolicyCommandOutput) => void): void;
|
|
47
|
+
/**
|
|
48
|
+
* @see {@link DeleteStreamCommand}
|
|
49
|
+
*/
|
|
50
|
+
deleteStream(args: DeleteStreamCommandInput, options?: __HttpHandlerOptions): Promise<DeleteStreamCommandOutput>;
|
|
51
|
+
deleteStream(args: DeleteStreamCommandInput, cb: (err: any, data?: DeleteStreamCommandOutput) => void): void;
|
|
52
|
+
deleteStream(args: DeleteStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteStreamCommandOutput) => void): void;
|
|
37
53
|
/**
|
|
38
54
|
* @see {@link GetClusterCommand}
|
|
39
55
|
*/
|
|
@@ -46,6 +62,12 @@ export interface DSQL {
|
|
|
46
62
|
getClusterPolicy(args: GetClusterPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetClusterPolicyCommandOutput>;
|
|
47
63
|
getClusterPolicy(args: GetClusterPolicyCommandInput, cb: (err: any, data?: GetClusterPolicyCommandOutput) => void): void;
|
|
48
64
|
getClusterPolicy(args: GetClusterPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetClusterPolicyCommandOutput) => void): void;
|
|
65
|
+
/**
|
|
66
|
+
* @see {@link GetStreamCommand}
|
|
67
|
+
*/
|
|
68
|
+
getStream(args: GetStreamCommandInput, options?: __HttpHandlerOptions): Promise<GetStreamCommandOutput>;
|
|
69
|
+
getStream(args: GetStreamCommandInput, cb: (err: any, data?: GetStreamCommandOutput) => void): void;
|
|
70
|
+
getStream(args: GetStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStreamCommandOutput) => void): void;
|
|
49
71
|
/**
|
|
50
72
|
* @see {@link GetVpcEndpointServiceNameCommand}
|
|
51
73
|
*/
|
|
@@ -59,6 +81,12 @@ export interface DSQL {
|
|
|
59
81
|
listClusters(args: ListClustersCommandInput, options?: __HttpHandlerOptions): Promise<ListClustersCommandOutput>;
|
|
60
82
|
listClusters(args: ListClustersCommandInput, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
|
|
61
83
|
listClusters(args: ListClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
|
|
84
|
+
/**
|
|
85
|
+
* @see {@link ListStreamsCommand}
|
|
86
|
+
*/
|
|
87
|
+
listStreams(args: ListStreamsCommandInput, options?: __HttpHandlerOptions): Promise<ListStreamsCommandOutput>;
|
|
88
|
+
listStreams(args: ListStreamsCommandInput, cb: (err: any, data?: ListStreamsCommandOutput) => void): void;
|
|
89
|
+
listStreams(args: ListStreamsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStreamsCommandOutput) => void): void;
|
|
62
90
|
/**
|
|
63
91
|
* @see {@link ListTagsForResourceCommand}
|
|
64
92
|
*/
|
|
@@ -96,6 +124,13 @@ export interface DSQL {
|
|
|
96
124
|
* @returns AsyncIterable of {@link ListClustersCommandOutput}.
|
|
97
125
|
*/
|
|
98
126
|
paginateListClusters(args?: ListClustersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListClustersCommandOutput>;
|
|
127
|
+
/**
|
|
128
|
+
* @see {@link ListStreamsCommand}
|
|
129
|
+
* @param args - command input.
|
|
130
|
+
* @param paginationConfig - optional pagination config.
|
|
131
|
+
* @returns AsyncIterable of {@link ListStreamsCommandOutput}.
|
|
132
|
+
*/
|
|
133
|
+
paginateListStreams(args: ListStreamsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListStreamsCommandOutput>;
|
|
99
134
|
/**
|
|
100
135
|
* @see {@link GetClusterCommand}
|
|
101
136
|
* @param args - command input.
|
|
@@ -108,6 +143,18 @@ export interface DSQL {
|
|
|
108
143
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
109
144
|
*/
|
|
110
145
|
waitUntilClusterNotExists(args: GetClusterCommandInput, waiterConfig: number | Omit<WaiterConfiguration<DSQL>, "client">): Promise<WaiterResult<ResourceNotFoundException>>;
|
|
146
|
+
/**
|
|
147
|
+
* @see {@link GetStreamCommand}
|
|
148
|
+
* @param args - command input.
|
|
149
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
150
|
+
*/
|
|
151
|
+
waitUntilStreamActive(args: GetStreamCommandInput, waiterConfig: number | Omit<WaiterConfiguration<DSQL>, "client">): Promise<WaiterResult<GetStreamCommandOutput>>;
|
|
152
|
+
/**
|
|
153
|
+
* @see {@link GetStreamCommand}
|
|
154
|
+
* @param args - command input.
|
|
155
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
156
|
+
*/
|
|
157
|
+
waitUntilStreamNotExists(args: GetStreamCommandInput, waiterConfig: number | Omit<WaiterConfiguration<DSQL>, "client">): Promise<WaiterResult<ResourceNotFoundException>>;
|
|
111
158
|
}
|
|
112
159
|
/**
|
|
113
160
|
* <p>This is an interface reference for Amazon Aurora DSQL. It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Aurora DSQL.</p> <p>Amazon Aurora DSQL is a serverless, distributed SQL database suitable for workloads of any size. is available in both single-Region and multi-Region configurations, so your clusters and databases are always available even if an Availability Zone or an Amazon Web Services Region are unavailable. lets you focus on using your data to acquire new insights for your business and customers.</p>
|
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
2
|
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
-
import { type
|
|
4
|
-
import { type
|
|
5
|
-
import { type
|
|
6
|
-
import type
|
|
7
|
-
import { type
|
|
3
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
4
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
5
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
6
|
+
import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
7
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
8
8
|
import type { 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, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import type { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
11
|
+
import type { CreateStreamCommandInput, CreateStreamCommandOutput } from "./commands/CreateStreamCommand";
|
|
11
12
|
import type { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
12
13
|
import type { DeleteClusterPolicyCommandInput, DeleteClusterPolicyCommandOutput } from "./commands/DeleteClusterPolicyCommand";
|
|
14
|
+
import type { DeleteStreamCommandInput, DeleteStreamCommandOutput } from "./commands/DeleteStreamCommand";
|
|
13
15
|
import type { GetClusterCommandInput, GetClusterCommandOutput } from "./commands/GetClusterCommand";
|
|
14
16
|
import type { GetClusterPolicyCommandInput, GetClusterPolicyCommandOutput } from "./commands/GetClusterPolicyCommand";
|
|
17
|
+
import type { GetStreamCommandInput, GetStreamCommandOutput } from "./commands/GetStreamCommand";
|
|
15
18
|
import type { GetVpcEndpointServiceNameCommandInput, GetVpcEndpointServiceNameCommandOutput } from "./commands/GetVpcEndpointServiceNameCommand";
|
|
16
19
|
import type { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/ListClustersCommand";
|
|
20
|
+
import type { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
|
|
17
21
|
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
18
22
|
import type { PutClusterPolicyCommandInput, PutClusterPolicyCommandOutput } from "./commands/PutClusterPolicyCommand";
|
|
19
23
|
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
@@ -25,11 +29,11 @@ export { __Client };
|
|
|
25
29
|
/**
|
|
26
30
|
* @public
|
|
27
31
|
*/
|
|
28
|
-
export type ServiceInputTypes = CreateClusterCommandInput | DeleteClusterCommandInput | DeleteClusterPolicyCommandInput | GetClusterCommandInput | GetClusterPolicyCommandInput | GetVpcEndpointServiceNameCommandInput | ListClustersCommandInput | ListTagsForResourceCommandInput | PutClusterPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateClusterCommandInput;
|
|
32
|
+
export type ServiceInputTypes = CreateClusterCommandInput | CreateStreamCommandInput | DeleteClusterCommandInput | DeleteClusterPolicyCommandInput | DeleteStreamCommandInput | GetClusterCommandInput | GetClusterPolicyCommandInput | GetStreamCommandInput | GetVpcEndpointServiceNameCommandInput | ListClustersCommandInput | ListStreamsCommandInput | ListTagsForResourceCommandInput | PutClusterPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateClusterCommandInput;
|
|
29
33
|
/**
|
|
30
34
|
* @public
|
|
31
35
|
*/
|
|
32
|
-
export type ServiceOutputTypes = CreateClusterCommandOutput | DeleteClusterCommandOutput | DeleteClusterPolicyCommandOutput | GetClusterCommandOutput | GetClusterPolicyCommandOutput | GetVpcEndpointServiceNameCommandOutput | ListClustersCommandOutput | ListTagsForResourceCommandOutput | PutClusterPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateClusterCommandOutput;
|
|
36
|
+
export type ServiceOutputTypes = CreateClusterCommandOutput | CreateStreamCommandOutput | DeleteClusterCommandOutput | DeleteClusterPolicyCommandOutput | DeleteStreamCommandOutput | GetClusterCommandOutput | GetClusterPolicyCommandOutput | GetStreamCommandOutput | GetVpcEndpointServiceNameCommandOutput | ListClustersCommandOutput | ListStreamsCommandOutput | ListTagsForResourceCommandOutput | PutClusterPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateClusterCommandOutput;
|
|
33
37
|
/**
|
|
34
38
|
* @public
|
|
35
39
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
4
|
import type { CreateClusterInput, CreateClusterOutput } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface CreateClusterCommandInput extends CreateClusterInput {
|
|
|
22
22
|
export interface CreateClusterCommandOutput extends CreateClusterOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateClusterCommand_base: {
|
|
25
|
-
new (input: CreateClusterCommandInput): import("@smithy/
|
|
26
|
-
new (...[input]: [] | [CreateClusterCommandInput]): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateClusterCommandInput): import("@smithy/core/client").CommandImpl<CreateClusterCommandInput, CreateClusterCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [CreateClusterCommandInput]): import("@smithy/core/client").CommandImpl<CreateClusterCommandInput, CreateClusterCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>The CreateCluster API allows you to create both single-Region clusters and multi-Region clusters. With the addition of the <i>multiRegionProperties</i> parameter, you can create a cluster with witness Region support and establish peer relationships with clusters in other Regions during creation.</p> <note> <p>Creating multi-Region clusters requires additional IAM permissions beyond those needed for single-Region clusters, as detailed in the <b>Required permissions</b> section below.</p> </note> <p> <b>Required permissions</b> </p> <dl> <dt>dsql:CreateCluster</dt> <dd> <p>Required to create a cluster.</p> <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/*</code> </p> </dd> <dt>dsql:TagResource</dt> <dd> <p>Permission to add tags to a resource.</p> <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/*</code> </p> </dd> <dt>dsql:PutMultiRegionProperties</dt> <dd> <p>Permission to configure multi-Region properties for a cluster.</p> <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/*</code> </p> </dd> <dt>dsql:AddPeerCluster</dt> <dd> <p>When specifying <code>multiRegionProperties.clusters</code>, permission to add peer clusters.</p> <p>Resources:</p> <ul> <li> <p>Local cluster: <code>arn:aws:dsql:region:account-id:cluster/*</code> </p> </li> <li> <p>Each peer cluster: exact ARN of each specified peer cluster</p> </li> </ul> </dd> <dt>dsql:PutWitnessRegion</dt> <dd> <p>When specifying <code>multiRegionProperties.witnessRegion</code>, permission to set a witness Region. This permission is checked both in the cluster Region and in the witness Region.</p> <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/*</code> </p> <p>Condition Keys: <code>dsql:WitnessRegion</code> (matching the specified witness region)</p> </dd> </dl> <important> <ul> <li> <p>The witness Region specified in <code>multiRegionProperties.witnessRegion</code> cannot be the same as the cluster's Region.</p> </li> </ul> </important>
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
+
import type { CreateStreamInput, CreateStreamOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateStreamCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateStreamCommandInput extends CreateStreamInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateStreamCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateStreamCommandOutput extends CreateStreamOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateStreamCommand_base: {
|
|
25
|
+
new (input: CreateStreamCommandInput): import("@smithy/core/client").CommandImpl<CreateStreamCommandInput, CreateStreamCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateStreamCommandInput): import("@smithy/core/client").CommandImpl<CreateStreamCommandInput, CreateStreamCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Creates a new change data capture (CDC) stream for a cluster. The stream captures database changes and delivers them to the specified target destination.</p> <p> <b>Required permissions</b> </p> <dl> <dt>dsql:CreateStream</dt> <dd> <p>Permission to create a new stream.</p> <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/cluster-id</code> </p> </dd> <dt>iam:PassRole</dt> <dd> <p>Permission to pass the IAM role specified in the target definition to the service.</p> <p>Resources: ARN of the IAM role specified in <code>targetDefinition.kinesis.roleArn</code> </p> </dd> <dt>kms:Decrypt</dt> <dd> <p>Required when the cluster uses a customer managed KMS key (CMK). Permission to decrypt data using the cluster's CMK.</p> <p>Resources: ARN of the KMS key used by the cluster</p> </dd> </dl>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { DSQLClient, CreateStreamCommand } from "@aws-sdk/client-dsql"; // ES Modules import
|
|
37
|
+
* // const { DSQLClient, CreateStreamCommand } = require("@aws-sdk/client-dsql"); // CommonJS import
|
|
38
|
+
* // import type { DSQLClientConfig } from "@aws-sdk/client-dsql";
|
|
39
|
+
* const config = {}; // type is DSQLClientConfig
|
|
40
|
+
* const client = new DSQLClient(config);
|
|
41
|
+
* const input = { // CreateStreamInput
|
|
42
|
+
* clusterIdentifier: "STRING_VALUE", // required
|
|
43
|
+
* targetDefinition: { // TargetDefinition Union: only one key present
|
|
44
|
+
* kinesis: { // KinesisTargetDefinition
|
|
45
|
+
* streamArn: "STRING_VALUE", // required
|
|
46
|
+
* roleArn: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* ordering: "UNORDERED", // required
|
|
50
|
+
* format: "JSON", // required
|
|
51
|
+
* tags: { // TagMap
|
|
52
|
+
* "<keys>": "STRING_VALUE",
|
|
53
|
+
* },
|
|
54
|
+
* clientToken: "STRING_VALUE",
|
|
55
|
+
* };
|
|
56
|
+
* const command = new CreateStreamCommand(input);
|
|
57
|
+
* const response = await client.send(command);
|
|
58
|
+
* // { // CreateStreamOutput
|
|
59
|
+
* // clusterIdentifier: "STRING_VALUE", // required
|
|
60
|
+
* // streamIdentifier: "STRING_VALUE", // required
|
|
61
|
+
* // arn: "STRING_VALUE", // required
|
|
62
|
+
* // status: "CREATING" || "ACTIVE" || "DELETING" || "DELETED" || "FAILED" || "IMPAIRED", // required
|
|
63
|
+
* // creationTime: new Date("TIMESTAMP"), // required
|
|
64
|
+
* // ordering: "UNORDERED", // required
|
|
65
|
+
* // format: "JSON", // required
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param CreateStreamCommandInput - {@link CreateStreamCommandInput}
|
|
71
|
+
* @returns {@link CreateStreamCommandOutput}
|
|
72
|
+
* @see {@link CreateStreamCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link CreateStreamCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link DSQLClientResolvedConfig | config} for DSQLClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ConflictException} (client fault)
|
|
77
|
+
* <p>The submitted action has conflicts.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
80
|
+
* <p>The resource could not be found.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
83
|
+
* <p>The service limit was exceeded.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ValidationException} (client fault)
|
|
86
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
89
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link InternalServerException} (server fault)
|
|
92
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
95
|
+
* <p>The request was denied due to request throttling.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link DSQLServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
99
|
+
*
|
|
100
|
+
*
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export declare class CreateStreamCommand extends CreateStreamCommand_base {
|
|
104
|
+
/** @internal type navigation helper, not in runtime. */
|
|
105
|
+
protected static __types: {
|
|
106
|
+
api: {
|
|
107
|
+
input: CreateStreamInput;
|
|
108
|
+
output: CreateStreamOutput;
|
|
109
|
+
};
|
|
110
|
+
sdk: {
|
|
111
|
+
input: CreateStreamCommandInput;
|
|
112
|
+
output: CreateStreamCommandOutput;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
4
|
import type { DeleteClusterInput, DeleteClusterOutput } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface DeleteClusterCommandInput extends DeleteClusterInput {
|
|
|
22
22
|
export interface DeleteClusterCommandOutput extends DeleteClusterOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteClusterCommand_base: {
|
|
25
|
-
new (input: DeleteClusterCommandInput): import("@smithy/
|
|
26
|
-
new (input: DeleteClusterCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DeleteClusterCommandInput): import("@smithy/core/client").CommandImpl<DeleteClusterCommandInput, DeleteClusterCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteClusterCommandInput): import("@smithy/core/client").CommandImpl<DeleteClusterCommandInput, DeleteClusterCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Deletes a cluster in Amazon Aurora DSQL.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
4
|
import type { DeleteClusterPolicyInput, DeleteClusterPolicyOutput } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface DeleteClusterPolicyCommandInput extends DeleteClusterPolicyInpu
|
|
|
22
22
|
export interface DeleteClusterPolicyCommandOutput extends DeleteClusterPolicyOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteClusterPolicyCommand_base: {
|
|
25
|
-
new (input: DeleteClusterPolicyCommandInput): import("@smithy/
|
|
26
|
-
new (input: DeleteClusterPolicyCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DeleteClusterPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteClusterPolicyCommandInput, DeleteClusterPolicyCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteClusterPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteClusterPolicyCommandInput, DeleteClusterPolicyCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Deletes the resource-based policy attached to a cluster. This removes all access permissions defined by the policy, reverting to default access controls.</p>
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
+
import type { DeleteStreamInput, DeleteStreamOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteStreamCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteStreamCommandInput extends DeleteStreamInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteStreamCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteStreamCommandOutput extends DeleteStreamOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteStreamCommand_base: {
|
|
25
|
+
new (input: DeleteStreamCommandInput): import("@smithy/core/client").CommandImpl<DeleteStreamCommandInput, DeleteStreamCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteStreamCommandInput): import("@smithy/core/client").CommandImpl<DeleteStreamCommandInput, DeleteStreamCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Deletes a stream from a cluster.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { DSQLClient, DeleteStreamCommand } from "@aws-sdk/client-dsql"; // ES Modules import
|
|
37
|
+
* // const { DSQLClient, DeleteStreamCommand } = require("@aws-sdk/client-dsql"); // CommonJS import
|
|
38
|
+
* // import type { DSQLClientConfig } from "@aws-sdk/client-dsql";
|
|
39
|
+
* const config = {}; // type is DSQLClientConfig
|
|
40
|
+
* const client = new DSQLClient(config);
|
|
41
|
+
* const input = { // DeleteStreamInput
|
|
42
|
+
* clusterIdentifier: "STRING_VALUE", // required
|
|
43
|
+
* streamIdentifier: "STRING_VALUE", // required
|
|
44
|
+
* clientToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new DeleteStreamCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // DeleteStreamOutput
|
|
49
|
+
* // clusterIdentifier: "STRING_VALUE", // required
|
|
50
|
+
* // streamIdentifier: "STRING_VALUE", // required
|
|
51
|
+
* // arn: "STRING_VALUE", // required
|
|
52
|
+
* // status: "CREATING" || "ACTIVE" || "DELETING" || "DELETED" || "FAILED" || "IMPAIRED", // required
|
|
53
|
+
* // creationTime: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param DeleteStreamCommandInput - {@link DeleteStreamCommandInput}
|
|
59
|
+
* @returns {@link DeleteStreamCommandOutput}
|
|
60
|
+
* @see {@link DeleteStreamCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link DeleteStreamCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link DSQLClientResolvedConfig | config} for DSQLClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ConflictException} (client fault)
|
|
65
|
+
* <p>The submitted action has conflicts.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The resource could not be found.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>The request was denied due to request throttling.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link DSQLServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class DeleteStreamCommand extends DeleteStreamCommand_base {
|
|
89
|
+
/** @internal type navigation helper, not in runtime. */
|
|
90
|
+
protected static __types: {
|
|
91
|
+
api: {
|
|
92
|
+
input: DeleteStreamInput;
|
|
93
|
+
output: DeleteStreamOutput;
|
|
94
|
+
};
|
|
95
|
+
sdk: {
|
|
96
|
+
input: DeleteStreamCommandInput;
|
|
97
|
+
output: DeleteStreamCommandOutput;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
4
|
import type { GetClusterInput, GetClusterOutput } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetClusterCommandInput extends GetClusterInput {
|
|
|
22
22
|
export interface GetClusterCommandOutput extends GetClusterOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetClusterCommand_base: {
|
|
25
|
-
new (input: GetClusterCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetClusterCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetClusterCommandInput): import("@smithy/core/client").CommandImpl<GetClusterCommandInput, GetClusterCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetClusterCommandInput): import("@smithy/core/client").CommandImpl<GetClusterCommandInput, GetClusterCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves information about a cluster.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
4
|
import type { GetClusterPolicyInput, GetClusterPolicyOutput } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetClusterPolicyCommandInput extends GetClusterPolicyInput {
|
|
|
22
22
|
export interface GetClusterPolicyCommandOutput extends GetClusterPolicyOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetClusterPolicyCommand_base: {
|
|
25
|
-
new (input: GetClusterPolicyCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetClusterPolicyCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetClusterPolicyCommandInput): import("@smithy/core/client").CommandImpl<GetClusterPolicyCommandInput, GetClusterPolicyCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetClusterPolicyCommandInput): import("@smithy/core/client").CommandImpl<GetClusterPolicyCommandInput, GetClusterPolicyCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves the resource-based policy document attached to a cluster. This policy defines the access permissions and conditions for the cluster.</p>
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
+
import type { GetStreamInput, GetStreamOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetStreamCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetStreamCommandInput extends GetStreamInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetStreamCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetStreamCommandOutput extends GetStreamOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetStreamCommand_base: {
|
|
25
|
+
new (input: GetStreamCommandInput): import("@smithy/core/client").CommandImpl<GetStreamCommandInput, GetStreamCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetStreamCommandInput): import("@smithy/core/client").CommandImpl<GetStreamCommandInput, GetStreamCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Retrieves information about a stream.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { DSQLClient, GetStreamCommand } from "@aws-sdk/client-dsql"; // ES Modules import
|
|
37
|
+
* // const { DSQLClient, GetStreamCommand } = require("@aws-sdk/client-dsql"); // CommonJS import
|
|
38
|
+
* // import type { DSQLClientConfig } from "@aws-sdk/client-dsql";
|
|
39
|
+
* const config = {}; // type is DSQLClientConfig
|
|
40
|
+
* const client = new DSQLClient(config);
|
|
41
|
+
* const input = { // GetStreamInput
|
|
42
|
+
* clusterIdentifier: "STRING_VALUE", // required
|
|
43
|
+
* streamIdentifier: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new GetStreamCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // GetStreamOutput
|
|
48
|
+
* // clusterIdentifier: "STRING_VALUE", // required
|
|
49
|
+
* // streamIdentifier: "STRING_VALUE", // required
|
|
50
|
+
* // arn: "STRING_VALUE", // required
|
|
51
|
+
* // status: "CREATING" || "ACTIVE" || "DELETING" || "DELETED" || "FAILED" || "IMPAIRED", // required
|
|
52
|
+
* // creationTime: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // ordering: "UNORDERED", // required
|
|
54
|
+
* // format: "JSON", // required
|
|
55
|
+
* // targetDefinition: { // TargetDefinition Union: only one key present
|
|
56
|
+
* // kinesis: { // KinesisTargetDefinition
|
|
57
|
+
* // streamArn: "STRING_VALUE", // required
|
|
58
|
+
* // roleArn: "STRING_VALUE", // required
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
61
|
+
* // statusReason: { // StatusReason
|
|
62
|
+
* // error: "KINESIS_THROUGHPUT_EXCEEDED" || "KINESIS_STREAM_NOT_FOUND" || "ROLE_ACCESS_DENIED" || "KINESIS_ACCESS_DENIED" || "KINESIS_KMS_ACCESS_DENIED" || "KINESIS_OVERSIZE_RECORD" || "CLUSTER_CMK_INACCESSIBLE" || "INTERNAL_ERROR", // required
|
|
63
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
64
|
+
* // },
|
|
65
|
+
* // tags: { // TagMap
|
|
66
|
+
* // "<keys>": "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @param GetStreamCommandInput - {@link GetStreamCommandInput}
|
|
73
|
+
* @returns {@link GetStreamCommandOutput}
|
|
74
|
+
* @see {@link GetStreamCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link GetStreamCommandOutput} for command's `response` shape.
|
|
76
|
+
* @see {@link DSQLClientResolvedConfig | config} for DSQLClient's `config` shape.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>The resource could not be found.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
82
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link InternalServerException} (server fault)
|
|
85
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
88
|
+
* <p>The request was denied due to request throttling.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ValidationException} (client fault)
|
|
91
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link DSQLServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
95
|
+
*
|
|
96
|
+
*
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export declare class GetStreamCommand extends GetStreamCommand_base {
|
|
100
|
+
/** @internal type navigation helper, not in runtime. */
|
|
101
|
+
protected static __types: {
|
|
102
|
+
api: {
|
|
103
|
+
input: GetStreamInput;
|
|
104
|
+
output: GetStreamOutput;
|
|
105
|
+
};
|
|
106
|
+
sdk: {
|
|
107
|
+
input: GetStreamCommandInput;
|
|
108
|
+
output: GetStreamCommandOutput;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
4
|
import type { GetVpcEndpointServiceNameInput, GetVpcEndpointServiceNameOutput } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetVpcEndpointServiceNameCommandInput extends GetVpcEndpointSer
|
|
|
22
22
|
export interface GetVpcEndpointServiceNameCommandOutput extends GetVpcEndpointServiceNameOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetVpcEndpointServiceNameCommand_base: {
|
|
25
|
-
new (input: GetVpcEndpointServiceNameCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetVpcEndpointServiceNameCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetVpcEndpointServiceNameCommandInput): import("@smithy/core/client").CommandImpl<GetVpcEndpointServiceNameCommandInput, GetVpcEndpointServiceNameCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetVpcEndpointServiceNameCommandInput): import("@smithy/core/client").CommandImpl<GetVpcEndpointServiceNameCommandInput, GetVpcEndpointServiceNameCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves the VPC endpoint service name.</p>
|