@aws-sdk/client-dsql 3.1045.0 → 3.1047.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
|
@@ -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 { ListClustersInput, ListClustersOutput } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface ListClustersCommandInput extends ListClustersInput {
|
|
|
22
22
|
export interface ListClustersCommandOutput extends ListClustersOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const ListClustersCommand_base: {
|
|
25
|
-
new (input: ListClustersCommandInput): import("@smithy/
|
|
26
|
-
new (...[input]: [] | [ListClustersCommandInput]): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: ListClustersCommandInput): import("@smithy/core/client").CommandImpl<ListClustersCommandInput, ListClustersCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListClustersCommandInput]): import("@smithy/core/client").CommandImpl<ListClustersCommandInput, ListClustersCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves information about a list of clusters.</p>
|
|
@@ -0,0 +1,102 @@
|
|
|
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 { ListStreamsInput, ListStreamsOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListStreamsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListStreamsCommandInput extends ListStreamsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListStreamsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListStreamsCommandOutput extends ListStreamsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListStreamsCommand_base: {
|
|
25
|
+
new (input: ListStreamsCommandInput): import("@smithy/core/client").CommandImpl<ListStreamsCommandInput, ListStreamsCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListStreamsCommandInput): import("@smithy/core/client").CommandImpl<ListStreamsCommandInput, ListStreamsCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Retrieves information about a list of streams for 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, ListStreamsCommand } from "@aws-sdk/client-dsql"; // ES Modules import
|
|
37
|
+
* // const { DSQLClient, ListStreamsCommand } = 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 = { // ListStreamsInput
|
|
42
|
+
* clusterIdentifier: "STRING_VALUE", // required
|
|
43
|
+
* maxResults: Number("int"),
|
|
44
|
+
* nextToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ListStreamsCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // ListStreamsOutput
|
|
49
|
+
* // nextToken: "STRING_VALUE",
|
|
50
|
+
* // streams: [ // StreamList // required
|
|
51
|
+
* // { // StreamSummary
|
|
52
|
+
* // clusterIdentifier: "STRING_VALUE", // required
|
|
53
|
+
* // streamIdentifier: "STRING_VALUE", // required
|
|
54
|
+
* // arn: "STRING_VALUE", // required
|
|
55
|
+
* // creationTime: new Date("TIMESTAMP"), // required
|
|
56
|
+
* // status: "CREATING" || "ACTIVE" || "DELETING" || "DELETED" || "FAILED" || "IMPAIRED", // required
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param ListStreamsCommandInput - {@link ListStreamsCommandInput}
|
|
64
|
+
* @returns {@link ListStreamsCommandOutput}
|
|
65
|
+
* @see {@link ListStreamsCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link ListStreamsCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link DSQLClientResolvedConfig | config} for DSQLClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p>The resource could not be found.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerException} (server fault)
|
|
76
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
+
* <p>The request was denied due to request throttling.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link DSQLServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class ListStreamsCommand extends ListStreamsCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: ListStreamsInput;
|
|
95
|
+
output: ListStreamsOutput;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: ListStreamsCommandInput;
|
|
99
|
+
output: ListStreamsCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -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 { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceInpu
|
|
|
22
22
|
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const ListTagsForResourceCommand_base: {
|
|
25
|
-
new (input: ListTagsForResourceCommandInput): import("@smithy/
|
|
26
|
-
new (input: ListTagsForResourceCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Lists all of the tags for a resource.</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 { PutClusterPolicyInput, PutClusterPolicyOutput } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface PutClusterPolicyCommandInput extends PutClusterPolicyInput {
|
|
|
22
22
|
export interface PutClusterPolicyCommandOutput extends PutClusterPolicyOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const PutClusterPolicyCommand_base: {
|
|
25
|
-
new (input: PutClusterPolicyCommandInput): import("@smithy/
|
|
26
|
-
new (input: PutClusterPolicyCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: PutClusterPolicyCommandInput): import("@smithy/core/client").CommandImpl<PutClusterPolicyCommandInput, PutClusterPolicyCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutClusterPolicyCommandInput): import("@smithy/core/client").CommandImpl<PutClusterPolicyCommandInput, PutClusterPolicyCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Attaches a resource-based policy to a cluster. This policy defines access permissions and conditions for the cluster, allowing you to control which principals can perform actions on the 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 { TagResourceInput } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface TagResourceCommandInput extends TagResourceInput {
|
|
|
22
22
|
export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const TagResourceCommand_base: {
|
|
25
|
-
new (input: TagResourceCommandInput): import("@smithy/
|
|
26
|
-
new (input: TagResourceCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Tags a resource with a map of key and value pairs.</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 { UntagResourceInput } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface UntagResourceCommandInput extends UntagResourceInput {
|
|
|
22
22
|
export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UntagResourceCommand_base: {
|
|
25
|
-
new (input: UntagResourceCommandInput): import("@smithy/
|
|
26
|
-
new (input: UntagResourceCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Removes a tag from a resource.</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 { UpdateClusterInput, UpdateClusterOutput } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface UpdateClusterCommandInput extends UpdateClusterInput {
|
|
|
22
22
|
export interface UpdateClusterCommandOutput extends UpdateClusterOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateClusterCommand_base: {
|
|
25
|
-
new (input: UpdateClusterCommandInput): import("@smithy/
|
|
26
|
-
new (input: UpdateClusterCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateClusterCommandInput): import("@smithy/core/client").CommandImpl<UpdateClusterCommandInput, UpdateClusterCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateClusterCommandInput): import("@smithy/core/client").CommandImpl<UpdateClusterCommandInput, UpdateClusterCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>The <i>UpdateCluster</i> API allows you to modify both single-Region and multi-Region cluster configurations. With the <i>multiRegionProperties</i> parameter, you can add or modify witness Region support and manage peer relationships with clusters in other Regions.</p> <note> <p>Note that updating multi-Region clusters requires additional IAM permissions beyond those needed for standard cluster updates, as detailed in the Permissions section.</p> </note> <p> <b>Required permissions</b> </p> <dl> <dt>dsql:UpdateCluster</dt> <dd> <p>Permission to update a DSQL cluster.</p> <p>Resources: <code>arn:aws:dsql:<i>region</i>:<i>account-id</i>:cluster/<i>cluster-id</i> </code> </p> </dd> </dl> <dl> <dt>dsql:PutMultiRegionProperties</dt> <dd> <p>Permission to configure multi-Region properties for a cluster.</p> <p>Resources: <code>arn:aws:dsql:<i>region</i>:<i>account-id</i>:cluster/<i>cluster-id</i> </code> </p> </dd> </dl> <dl> <dt>dsql:GetCluster</dt> <dd> <p>Permission to retrieve cluster information.</p> <p>Resources: <code>arn:aws:dsql:<i>region</i>:<i>account-id</i>:cluster/<i>cluster-id</i> </code> </p> </dd> <dt>dsql:AddPeerCluster</dt> <dd> <p>Permission to add peer clusters.</p> <p>Resources:</p> <ul> <li> <p>Local cluster: <code>arn:aws:dsql:<i>region</i>:<i>account-id</i>:cluster/<i>cluster-id</i> </code> </p> </li> <li> <p>Each peer cluster: exact ARN of each specified peer cluster</p> </li> </ul> </dd> <dt>dsql:RemovePeerCluster</dt> <dd> <p>Permission to remove peer clusters. The <i>dsql:RemovePeerCluster</i> permission uses a wildcard ARN pattern to simplify permission management during updates.</p> <p>Resources: <code>arn:aws:dsql:*:<i>account-id</i>:cluster/*</code> </p> </dd> </dl> <dl> <dt>dsql:PutWitnessRegion</dt> <dd> <p>Permission to set a witness Region.</p> <p>Resources: <code>arn:aws:dsql:<i>region</i>:<i>account-id</i>:cluster/<i>cluster-id</i> </code> </p> <p>Condition Keys: dsql:WitnessRegion (matching the specified witness Region)</p> <p> <b>This permission is checked both in the cluster Region and in the witness Region.</b> </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> <li> <p>When updating clusters with peer relationships, permissions are checked for both adding and removing peers.</p> </li> <li> <p>The <code>dsql:RemovePeerCluster</code> permission uses a wildcard ARN pattern to simplify permission management during updates.</p> </li> </ul> </important>
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
export * from "./CreateClusterCommand";
|
|
2
|
+
export * from "./CreateStreamCommand";
|
|
2
3
|
export * from "./DeleteClusterCommand";
|
|
3
4
|
export * from "./DeleteClusterPolicyCommand";
|
|
5
|
+
export * from "./DeleteStreamCommand";
|
|
4
6
|
export * from "./GetClusterCommand";
|
|
5
7
|
export * from "./GetClusterPolicyCommand";
|
|
8
|
+
export * from "./GetStreamCommand";
|
|
6
9
|
export * from "./GetVpcEndpointServiceNameCommand";
|
|
7
10
|
export * from "./ListClustersCommand";
|
|
11
|
+
export * from "./ListStreamsCommand";
|
|
8
12
|
export * from "./ListTagsForResourceCommand";
|
|
9
13
|
export * from "./PutClusterPolicyCommand";
|
|
10
14
|
export * from "./TagResourceCommand";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
2
|
export declare const bdd: BinaryDecisionDiagram;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import type { HttpHandlerExtensionConfiguration } from "@smithy/
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
3
3
|
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -59,3 +59,59 @@ export declare const ValidationExceptionReason: {
|
|
|
59
59
|
* @public
|
|
60
60
|
*/
|
|
61
61
|
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
* @enum
|
|
65
|
+
*/
|
|
66
|
+
export declare const StreamFormat: {
|
|
67
|
+
readonly JSON: "JSON";
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export type StreamFormat = (typeof StreamFormat)[keyof typeof StreamFormat];
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
* @enum
|
|
76
|
+
*/
|
|
77
|
+
export declare const StreamOrdering: {
|
|
78
|
+
readonly UNORDERED: "UNORDERED";
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export type StreamOrdering = (typeof StreamOrdering)[keyof typeof StreamOrdering];
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
* @enum
|
|
87
|
+
*/
|
|
88
|
+
export declare const StreamStatus: {
|
|
89
|
+
readonly ACTIVE: "ACTIVE";
|
|
90
|
+
readonly CREATING: "CREATING";
|
|
91
|
+
readonly DELETED: "DELETED";
|
|
92
|
+
readonly DELETING: "DELETING";
|
|
93
|
+
readonly FAILED: "FAILED";
|
|
94
|
+
readonly IMPAIRED: "IMPAIRED";
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export type StreamStatus = (typeof StreamStatus)[keyof typeof StreamStatus];
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
* @enum
|
|
103
|
+
*/
|
|
104
|
+
export declare const StreamFailureErrorCode: {
|
|
105
|
+
readonly CLUSTER_CMK_INACCESSIBLE: "CLUSTER_CMK_INACCESSIBLE";
|
|
106
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
107
|
+
readonly KINESIS_ACCESS_DENIED: "KINESIS_ACCESS_DENIED";
|
|
108
|
+
readonly KINESIS_KMS_ACCESS_DENIED: "KINESIS_KMS_ACCESS_DENIED";
|
|
109
|
+
readonly KINESIS_OVERSIZE_RECORD: "KINESIS_OVERSIZE_RECORD";
|
|
110
|
+
readonly KINESIS_STREAM_NOT_FOUND: "KINESIS_STREAM_NOT_FOUND";
|
|
111
|
+
readonly KINESIS_THROUGHPUT_EXCEEDED: "KINESIS_THROUGHPUT_EXCEEDED";
|
|
112
|
+
readonly ROLE_ACCESS_DENIED: "ROLE_ACCESS_DENIED";
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
export type StreamFailureErrorCode = (typeof StreamFailureErrorCode)[keyof typeof StreamFailureErrorCode];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { DSQLServiceException as __BaseException } from "./DSQLServiceException";
|
|
3
3
|
import type { ValidationExceptionReason } from "./enums";
|
|
4
4
|
import type { ValidationExceptionField } from "./models_0";
|