@aws-sdk/client-dsql 3.705.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +294 -0
  3. package/dist-cjs/DSQL.js +31 -0
  4. package/dist-cjs/DSQLClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateClusterCommand.js +26 -0
  8. package/dist-cjs/commands/CreateMultiRegionClustersCommand.js +26 -0
  9. package/dist-cjs/commands/DeleteClusterCommand.js +26 -0
  10. package/dist-cjs/commands/DeleteMultiRegionClustersCommand.js +26 -0
  11. package/dist-cjs/commands/GetClusterCommand.js +26 -0
  12. package/dist-cjs/commands/ListClustersCommand.js +26 -0
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  14. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  15. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  16. package/dist-cjs/commands/UpdateClusterCommand.js +26 -0
  17. package/dist-cjs/commands/index.js +13 -0
  18. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  19. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  20. package/dist-cjs/endpoint/ruleset.js +7 -0
  21. package/dist-cjs/extensionConfiguration.js +2 -0
  22. package/dist-cjs/index.js +12 -0
  23. package/dist-cjs/models/DSQLServiceException.js +12 -0
  24. package/dist-cjs/models/index.js +4 -0
  25. package/dist-cjs/models/models_0.js +128 -0
  26. package/dist-cjs/pagination/Interfaces.js +2 -0
  27. package/dist-cjs/pagination/ListClustersPaginator.js +7 -0
  28. package/dist-cjs/pagination/index.js +5 -0
  29. package/dist-cjs/protocols/Aws_restJson1.js +467 -0
  30. package/dist-cjs/runtimeConfig.browser.js +39 -0
  31. package/dist-cjs/runtimeConfig.js +50 -0
  32. package/dist-cjs/runtimeConfig.native.js +15 -0
  33. package/dist-cjs/runtimeConfig.shared.js +34 -0
  34. package/dist-cjs/runtimeExtensions.js +25 -0
  35. package/dist-cjs/waiters/index.js +5 -0
  36. package/dist-cjs/waiters/waitForClusterActive.js +36 -0
  37. package/dist-cjs/waiters/waitForClusterNotExists.js +30 -0
  38. package/dist-es/DSQL.js +27 -0
  39. package/dist-es/DSQLClient.js +46 -0
  40. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  41. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  42. package/dist-es/commands/CreateClusterCommand.js +22 -0
  43. package/dist-es/commands/CreateMultiRegionClustersCommand.js +22 -0
  44. package/dist-es/commands/DeleteClusterCommand.js +22 -0
  45. package/dist-es/commands/DeleteMultiRegionClustersCommand.js +22 -0
  46. package/dist-es/commands/GetClusterCommand.js +22 -0
  47. package/dist-es/commands/ListClustersCommand.js +22 -0
  48. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  49. package/dist-es/commands/TagResourceCommand.js +22 -0
  50. package/dist-es/commands/UntagResourceCommand.js +22 -0
  51. package/dist-es/commands/UpdateClusterCommand.js +22 -0
  52. package/dist-es/commands/index.js +10 -0
  53. package/dist-es/endpoint/EndpointParameters.js +12 -0
  54. package/dist-es/endpoint/endpointResolver.js +14 -0
  55. package/dist-es/endpoint/ruleset.js +4 -0
  56. package/dist-es/extensionConfiguration.js +1 -0
  57. package/dist-es/index.js +7 -0
  58. package/dist-es/models/DSQLServiceException.js +8 -0
  59. package/dist-es/models/index.js +1 -0
  60. package/dist-es/models/models_0.js +118 -0
  61. package/dist-es/pagination/Interfaces.js +1 -0
  62. package/dist-es/pagination/ListClustersPaginator.js +4 -0
  63. package/dist-es/pagination/index.js +2 -0
  64. package/dist-es/protocols/Aws_restJson1.js +444 -0
  65. package/dist-es/runtimeConfig.browser.js +34 -0
  66. package/dist-es/runtimeConfig.js +45 -0
  67. package/dist-es/runtimeConfig.native.js +11 -0
  68. package/dist-es/runtimeConfig.shared.js +30 -0
  69. package/dist-es/runtimeExtensions.js +21 -0
  70. package/dist-es/waiters/index.js +2 -0
  71. package/dist-es/waiters/waitForClusterActive.js +31 -0
  72. package/dist-es/waiters/waitForClusterNotExists.js +25 -0
  73. package/dist-types/DSQL.d.ts +91 -0
  74. package/dist-types/DSQLClient.d.ts +188 -0
  75. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  76. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  77. package/dist-types/commands/CreateClusterCommand.d.ts +98 -0
  78. package/dist-types/commands/CreateMultiRegionClustersCommand.d.ts +107 -0
  79. package/dist-types/commands/DeleteClusterCommand.d.ts +95 -0
  80. package/dist-types/commands/DeleteMultiRegionClustersCommand.d.ts +91 -0
  81. package/dist-types/commands/GetClusterCommand.d.ts +95 -0
  82. package/dist-types/commands/ListClustersCommand.d.ts +94 -0
  83. package/dist-types/commands/ListTagsForResourceCommand.d.ts +89 -0
  84. package/dist-types/commands/TagResourceCommand.d.ts +91 -0
  85. package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
  86. package/dist-types/commands/UpdateClusterCommand.d.ts +100 -0
  87. package/dist-types/commands/index.d.ts +10 -0
  88. package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
  89. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  90. package/dist-types/endpoint/ruleset.d.ts +2 -0
  91. package/dist-types/extensionConfiguration.d.ts +9 -0
  92. package/dist-types/index.d.ts +24 -0
  93. package/dist-types/models/DSQLServiceException.d.ts +14 -0
  94. package/dist-types/models/index.d.ts +1 -0
  95. package/dist-types/models/models_0.d.ts +624 -0
  96. package/dist-types/pagination/Interfaces.d.ts +8 -0
  97. package/dist-types/pagination/ListClustersPaginator.d.ts +7 -0
  98. package/dist-types/pagination/index.d.ts +2 -0
  99. package/dist-types/protocols/Aws_restJson1.d.ts +92 -0
  100. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  101. package/dist-types/runtimeConfig.d.ts +48 -0
  102. package/dist-types/runtimeConfig.native.d.ts +47 -0
  103. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  104. package/dist-types/runtimeExtensions.d.ts +17 -0
  105. package/dist-types/ts3.4/DSQL.d.ts +177 -0
  106. package/dist-types/ts3.4/DSQLClient.d.ts +178 -0
  107. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  108. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  109. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +47 -0
  110. package/dist-types/ts3.4/commands/CreateMultiRegionClustersCommand.d.ts +51 -0
  111. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +47 -0
  112. package/dist-types/ts3.4/commands/DeleteMultiRegionClustersCommand.d.ts +47 -0
  113. package/dist-types/ts3.4/commands/GetClusterCommand.d.ts +47 -0
  114. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +47 -0
  115. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  116. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
  117. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
  118. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +47 -0
  119. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  120. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  121. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  122. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  123. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  124. package/dist-types/ts3.4/index.d.ts +10 -0
  125. package/dist-types/ts3.4/models/DSQLServiceException.d.ts +9 -0
  126. package/dist-types/ts3.4/models/index.d.ts +1 -0
  127. package/dist-types/ts3.4/models/models_0.d.ts +181 -0
  128. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  129. package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +11 -0
  130. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  131. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +125 -0
  132. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  133. package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
  134. package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
  135. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  136. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  137. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  138. package/dist-types/ts3.4/waiters/waitForClusterActive.d.ts +11 -0
  139. package/dist-types/ts3.4/waiters/waitForClusterNotExists.d.ts +11 -0
  140. package/dist-types/waiters/index.d.ts +2 -0
  141. package/dist-types/waiters/waitForClusterActive.d.ts +14 -0
  142. package/dist-types/waiters/waitForClusterNotExists.d.ts +14 -0
  143. package/package.json +104 -0
@@ -0,0 +1,95 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
4
+ import { DeleteClusterInput, DeleteClusterOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteClusterCommand}.
14
+ */
15
+ export interface DeleteClusterCommandInput extends DeleteClusterInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteClusterCommand}.
21
+ */
22
+ export interface DeleteClusterCommandOutput extends DeleteClusterOutput, __MetadataBearer {
23
+ }
24
+ declare const DeleteClusterCommand_base: {
25
+ new (input: DeleteClusterCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteClusterCommandInput, DeleteClusterCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteClusterCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteClusterCommandInput, DeleteClusterCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes a cluster in Amazon Aurora DSQL.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DSQLClient, DeleteClusterCommand } from "@aws-sdk/client-dsql"; // ES Modules import
35
+ * // const { DSQLClient, DeleteClusterCommand } = require("@aws-sdk/client-dsql"); // CommonJS import
36
+ * const client = new DSQLClient(config);
37
+ * const input = { // DeleteClusterInput
38
+ * identifier: "STRING_VALUE", // required
39
+ * clientToken: "STRING_VALUE",
40
+ * };
41
+ * const command = new DeleteClusterCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // DeleteClusterOutput
44
+ * // identifier: "STRING_VALUE", // required
45
+ * // arn: "STRING_VALUE", // required
46
+ * // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "DELETED" || "FAILED", // required
47
+ * // creationTime: new Date("TIMESTAMP"), // required
48
+ * // deletionProtectionEnabled: true || false, // required
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param DeleteClusterCommandInput - {@link DeleteClusterCommandInput}
54
+ * @returns {@link DeleteClusterCommandOutput}
55
+ * @see {@link DeleteClusterCommandInput} for command's `input` shape.
56
+ * @see {@link DeleteClusterCommandOutput} for command's `response` shape.
57
+ * @see {@link DSQLClientResolvedConfig | config} for DSQLClient's `config` shape.
58
+ *
59
+ * @throws {@link ConflictException} (client fault)
60
+ * <p>The submitted action has conflicts.</p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>The resource could not be found.</p>
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>You do not have sufficient access to perform this action.</p>
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p>The request processing has failed because of an unknown error,
70
+ * exception or failure.</p>
71
+ *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * <p>The request was denied due to request throttling.</p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
77
+ *
78
+ * @throws {@link DSQLServiceException}
79
+ * <p>Base exception class for all service exceptions from DSQL service.</p>
80
+ *
81
+ * @public
82
+ */
83
+ export declare class DeleteClusterCommand extends DeleteClusterCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: DeleteClusterInput;
88
+ output: DeleteClusterOutput;
89
+ };
90
+ sdk: {
91
+ input: DeleteClusterCommandInput;
92
+ output: DeleteClusterCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -0,0 +1,91 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
4
+ import { DeleteMultiRegionClustersInput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteMultiRegionClustersCommand}.
14
+ */
15
+ export interface DeleteMultiRegionClustersCommandInput extends DeleteMultiRegionClustersInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteMultiRegionClustersCommand}.
21
+ */
22
+ export interface DeleteMultiRegionClustersCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const DeleteMultiRegionClustersCommand_base: {
25
+ new (input: DeleteMultiRegionClustersCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMultiRegionClustersCommandInput, DeleteMultiRegionClustersCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteMultiRegionClustersCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMultiRegionClustersCommandInput, DeleteMultiRegionClustersCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes a multi-Region cluster in Amazon Aurora DSQL.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DSQLClient, DeleteMultiRegionClustersCommand } from "@aws-sdk/client-dsql"; // ES Modules import
35
+ * // const { DSQLClient, DeleteMultiRegionClustersCommand } = require("@aws-sdk/client-dsql"); // CommonJS import
36
+ * const client = new DSQLClient(config);
37
+ * const input = { // DeleteMultiRegionClustersInput
38
+ * linkedClusterArns: [ // ClusterArnList // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * clientToken: "STRING_VALUE",
42
+ * };
43
+ * const command = new DeleteMultiRegionClustersCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param DeleteMultiRegionClustersCommandInput - {@link DeleteMultiRegionClustersCommandInput}
50
+ * @returns {@link DeleteMultiRegionClustersCommandOutput}
51
+ * @see {@link DeleteMultiRegionClustersCommandInput} for command's `input` shape.
52
+ * @see {@link DeleteMultiRegionClustersCommandOutput} for command's `response` shape.
53
+ * @see {@link DSQLClientResolvedConfig | config} for DSQLClient's `config` shape.
54
+ *
55
+ * @throws {@link ConflictException} (client fault)
56
+ * <p>The submitted action has conflicts.</p>
57
+ *
58
+ * @throws {@link ResourceNotFoundException} (client fault)
59
+ * <p>The resource could not be found.</p>
60
+ *
61
+ * @throws {@link AccessDeniedException} (client fault)
62
+ * <p>You do not have sufficient access to perform this action.</p>
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p>The request processing has failed because of an unknown error,
66
+ * exception or failure.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>The request was denied due to request throttling.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
73
+ *
74
+ * @throws {@link DSQLServiceException}
75
+ * <p>Base exception class for all service exceptions from DSQL service.</p>
76
+ *
77
+ * @public
78
+ */
79
+ export declare class DeleteMultiRegionClustersCommand extends DeleteMultiRegionClustersCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: DeleteMultiRegionClustersInput;
84
+ output: {};
85
+ };
86
+ sdk: {
87
+ input: DeleteMultiRegionClustersCommandInput;
88
+ output: DeleteMultiRegionClustersCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -0,0 +1,95 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
4
+ import { GetClusterInput, GetClusterOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetClusterCommand}.
14
+ */
15
+ export interface GetClusterCommandInput extends GetClusterInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetClusterCommand}.
21
+ */
22
+ export interface GetClusterCommandOutput extends GetClusterOutput, __MetadataBearer {
23
+ }
24
+ declare const GetClusterCommand_base: {
25
+ new (input: GetClusterCommandInput): import("@smithy/smithy-client").CommandImpl<GetClusterCommandInput, GetClusterCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetClusterCommandInput): import("@smithy/smithy-client").CommandImpl<GetClusterCommandInput, GetClusterCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves information about a cluster.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DSQLClient, GetClusterCommand } from "@aws-sdk/client-dsql"; // ES Modules import
35
+ * // const { DSQLClient, GetClusterCommand } = require("@aws-sdk/client-dsql"); // CommonJS import
36
+ * const client = new DSQLClient(config);
37
+ * const input = { // GetClusterInput
38
+ * identifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetClusterCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetClusterOutput
43
+ * // identifier: "STRING_VALUE", // required
44
+ * // arn: "STRING_VALUE", // required
45
+ * // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "DELETED" || "FAILED", // required
46
+ * // creationTime: new Date("TIMESTAMP"), // required
47
+ * // deletionProtectionEnabled: true || false, // required
48
+ * // witnessRegion: "STRING_VALUE",
49
+ * // linkedClusterArns: [ // ClusterArnList
50
+ * // "STRING_VALUE",
51
+ * // ],
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param GetClusterCommandInput - {@link GetClusterCommandInput}
57
+ * @returns {@link GetClusterCommandOutput}
58
+ * @see {@link GetClusterCommandInput} for command's `input` shape.
59
+ * @see {@link GetClusterCommandOutput} for command's `response` shape.
60
+ * @see {@link DSQLClientResolvedConfig | config} for DSQLClient's `config` shape.
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>The resource could not be found.</p>
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>You do not have sufficient access to perform this action.</p>
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p>The request processing has failed because of an unknown error,
70
+ * exception or failure.</p>
71
+ *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * <p>The request was denied due to request throttling.</p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
77
+ *
78
+ * @throws {@link DSQLServiceException}
79
+ * <p>Base exception class for all service exceptions from DSQL service.</p>
80
+ *
81
+ * @public
82
+ */
83
+ export declare class GetClusterCommand extends GetClusterCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: GetClusterInput;
88
+ output: GetClusterOutput;
89
+ };
90
+ sdk: {
91
+ input: GetClusterCommandInput;
92
+ output: GetClusterCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -0,0 +1,94 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
4
+ import { ListClustersInput, ListClustersOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListClustersCommand}.
14
+ */
15
+ export interface ListClustersCommandInput extends ListClustersInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListClustersCommand}.
21
+ */
22
+ export interface ListClustersCommandOutput extends ListClustersOutput, __MetadataBearer {
23
+ }
24
+ declare const ListClustersCommand_base: {
25
+ new (input: ListClustersCommandInput): import("@smithy/smithy-client").CommandImpl<ListClustersCommandInput, ListClustersCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListClustersCommandInput]): import("@smithy/smithy-client").CommandImpl<ListClustersCommandInput, ListClustersCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves information about a list of clusters.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DSQLClient, ListClustersCommand } from "@aws-sdk/client-dsql"; // ES Modules import
35
+ * // const { DSQLClient, ListClustersCommand } = require("@aws-sdk/client-dsql"); // CommonJS import
36
+ * const client = new DSQLClient(config);
37
+ * const input = { // ListClustersInput
38
+ * maxResults: Number("int"),
39
+ * nextToken: "STRING_VALUE",
40
+ * };
41
+ * const command = new ListClustersCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListClustersOutput
44
+ * // nextToken: "STRING_VALUE",
45
+ * // clusters: [ // ClusterList // required
46
+ * // { // ClusterSummary
47
+ * // identifier: "STRING_VALUE", // required
48
+ * // arn: "STRING_VALUE", // required
49
+ * // },
50
+ * // ],
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param ListClustersCommandInput - {@link ListClustersCommandInput}
56
+ * @returns {@link ListClustersCommandOutput}
57
+ * @see {@link ListClustersCommandInput} for command's `input` shape.
58
+ * @see {@link ListClustersCommandOutput} for command's `response` shape.
59
+ * @see {@link DSQLClientResolvedConfig | config} for DSQLClient's `config` shape.
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>The resource could not be found.</p>
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>You do not have sufficient access to perform this action.</p>
66
+ *
67
+ * @throws {@link InternalServerException} (server fault)
68
+ * <p>The request processing has failed because of an unknown error,
69
+ * exception or failure.</p>
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * <p>The request was denied due to request throttling.</p>
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
76
+ *
77
+ * @throws {@link DSQLServiceException}
78
+ * <p>Base exception class for all service exceptions from DSQL service.</p>
79
+ *
80
+ * @public
81
+ */
82
+ export declare class ListClustersCommand extends ListClustersCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: ListClustersInput;
87
+ output: ListClustersOutput;
88
+ };
89
+ sdk: {
90
+ input: ListClustersCommandInput;
91
+ output: ListClustersCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -0,0 +1,89 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
4
+ import { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTagsForResourceCommand}.
14
+ */
15
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTagsForResourceCommand}.
21
+ */
22
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
23
+ }
24
+ declare const ListTagsForResourceCommand_base: {
25
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists all of the tags for a resource.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DSQLClient, ListTagsForResourceCommand } from "@aws-sdk/client-dsql"; // ES Modules import
35
+ * // const { DSQLClient, ListTagsForResourceCommand } = require("@aws-sdk/client-dsql"); // CommonJS import
36
+ * const client = new DSQLClient(config);
37
+ * const input = { // ListTagsForResourceInput
38
+ * resourceArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new ListTagsForResourceCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListTagsForResourceOutput
43
+ * // tags: { // TagMap
44
+ * // "<keys>": "STRING_VALUE",
45
+ * // },
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
51
+ * @returns {@link ListTagsForResourceCommandOutput}
52
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
53
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
54
+ * @see {@link DSQLClientResolvedConfig | config} for DSQLClient's `config` shape.
55
+ *
56
+ * @throws {@link ResourceNotFoundException} (client fault)
57
+ * <p>The resource could not be found.</p>
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * <p>You do not have sufficient access to perform this action.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>The request processing has failed because of an unknown error,
64
+ * exception or failure.</p>
65
+ *
66
+ * @throws {@link ThrottlingException} (client fault)
67
+ * <p>The request was denied due to request throttling.</p>
68
+ *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
71
+ *
72
+ * @throws {@link DSQLServiceException}
73
+ * <p>Base exception class for all service exceptions from DSQL service.</p>
74
+ *
75
+ * @public
76
+ */
77
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
78
+ /** @internal type navigation helper, not in runtime. */
79
+ protected static __types: {
80
+ api: {
81
+ input: ListTagsForResourceInput;
82
+ output: ListTagsForResourceOutput;
83
+ };
84
+ sdk: {
85
+ input: ListTagsForResourceCommandInput;
86
+ output: ListTagsForResourceCommandOutput;
87
+ };
88
+ };
89
+ }
@@ -0,0 +1,91 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
4
+ import { TagResourceInput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TagResourceCommand}.
14
+ */
15
+ export interface TagResourceCommandInput extends TagResourceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagResourceCommand}.
21
+ */
22
+ export interface TagResourceCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const TagResourceCommand_base: {
25
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Tags a resource with a map of key and value pairs.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DSQLClient, TagResourceCommand } from "@aws-sdk/client-dsql"; // ES Modules import
35
+ * // const { DSQLClient, TagResourceCommand } = require("@aws-sdk/client-dsql"); // CommonJS import
36
+ * const client = new DSQLClient(config);
37
+ * const input = { // TagResourceInput
38
+ * resourceArn: "STRING_VALUE", // required
39
+ * tags: { // TagMap // required
40
+ * "<keys>": "STRING_VALUE",
41
+ * },
42
+ * };
43
+ * const command = new TagResourceCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
50
+ * @returns {@link TagResourceCommandOutput}
51
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
52
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
53
+ * @see {@link DSQLClientResolvedConfig | config} for DSQLClient's `config` shape.
54
+ *
55
+ * @throws {@link ResourceNotFoundException} (client fault)
56
+ * <p>The resource could not be found.</p>
57
+ *
58
+ * @throws {@link ServiceQuotaExceededException} (client fault)
59
+ * <p>The service limit was exceeded.</p>
60
+ *
61
+ * @throws {@link AccessDeniedException} (client fault)
62
+ * <p>You do not have sufficient access to perform this action.</p>
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p>The request processing has failed because of an unknown error,
66
+ * exception or failure.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>The request was denied due to request throttling.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
73
+ *
74
+ * @throws {@link DSQLServiceException}
75
+ * <p>Base exception class for all service exceptions from DSQL service.</p>
76
+ *
77
+ * @public
78
+ */
79
+ export declare class TagResourceCommand extends TagResourceCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: TagResourceInput;
84
+ output: {};
85
+ };
86
+ sdk: {
87
+ input: TagResourceCommandInput;
88
+ output: TagResourceCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -0,0 +1,88 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
4
+ import { UntagResourceInput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UntagResourceCommand}.
14
+ */
15
+ export interface UntagResourceCommandInput extends UntagResourceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UntagResourceCommand}.
21
+ */
22
+ export interface UntagResourceCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const UntagResourceCommand_base: {
25
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Removes a tag from a resource.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DSQLClient, UntagResourceCommand } from "@aws-sdk/client-dsql"; // ES Modules import
35
+ * // const { DSQLClient, UntagResourceCommand } = require("@aws-sdk/client-dsql"); // CommonJS import
36
+ * const client = new DSQLClient(config);
37
+ * const input = { // UntagResourceInput
38
+ * resourceArn: "STRING_VALUE", // required
39
+ * tagKeys: [ // TagKeyList // required
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * };
43
+ * const command = new UntagResourceCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
50
+ * @returns {@link UntagResourceCommandOutput}
51
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
52
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
53
+ * @see {@link DSQLClientResolvedConfig | config} for DSQLClient's `config` shape.
54
+ *
55
+ * @throws {@link ResourceNotFoundException} (client fault)
56
+ * <p>The resource could not be found.</p>
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * <p>You do not have sufficient access to perform this action.</p>
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p>The request processing has failed because of an unknown error,
63
+ * exception or failure.</p>
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * <p>The request was denied due to request throttling.</p>
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ * <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
70
+ *
71
+ * @throws {@link DSQLServiceException}
72
+ * <p>Base exception class for all service exceptions from DSQL service.</p>
73
+ *
74
+ * @public
75
+ */
76
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: UntagResourceInput;
81
+ output: {};
82
+ };
83
+ sdk: {
84
+ input: UntagResourceCommandInput;
85
+ output: UntagResourceCommandOutput;
86
+ };
87
+ };
88
+ }