@aws-sdk/client-dsql 3.927.0 → 3.929.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 (50) hide show
  1. package/README.md +1 -6
  2. package/dist-cjs/index.js +497 -596
  3. package/dist-cjs/runtimeConfig.shared.js +2 -0
  4. package/dist-es/DSQLClient.js +2 -0
  5. package/dist-es/commands/CreateClusterCommand.js +3 -9
  6. package/dist-es/commands/DeleteClusterCommand.js +3 -9
  7. package/dist-es/commands/DeleteClusterPolicyCommand.js +3 -9
  8. package/dist-es/commands/GetClusterCommand.js +3 -9
  9. package/dist-es/commands/GetClusterPolicyCommand.js +3 -9
  10. package/dist-es/commands/GetVpcEndpointServiceNameCommand.js +3 -9
  11. package/dist-es/commands/ListClustersCommand.js +3 -9
  12. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  13. package/dist-es/commands/PutClusterPolicyCommand.js +3 -9
  14. package/dist-es/commands/TagResourceCommand.js +3 -9
  15. package/dist-es/commands/UntagResourceCommand.js +3 -9
  16. package/dist-es/commands/UpdateClusterCommand.js +3 -9
  17. package/dist-es/runtimeConfig.shared.js +2 -0
  18. package/dist-es/schemas/schemas_0.js +463 -0
  19. package/dist-types/DSQL.d.ts +1 -6
  20. package/dist-types/DSQLClient.d.ts +11 -7
  21. package/dist-types/commands/CreateClusterCommand.d.ts +3 -67
  22. package/dist-types/commands/DeleteClusterCommand.d.ts +1 -2
  23. package/dist-types/commands/DeleteClusterPolicyCommand.d.ts +1 -2
  24. package/dist-types/commands/GetClusterCommand.d.ts +2 -2
  25. package/dist-types/commands/GetClusterPolicyCommand.d.ts +1 -2
  26. package/dist-types/commands/GetVpcEndpointServiceNameCommand.d.ts +1 -2
  27. package/dist-types/commands/ListClustersCommand.d.ts +1 -2
  28. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -2
  29. package/dist-types/commands/PutClusterPolicyCommand.d.ts +1 -2
  30. package/dist-types/commands/TagResourceCommand.d.ts +1 -2
  31. package/dist-types/commands/UntagResourceCommand.d.ts +1 -2
  32. package/dist-types/commands/UpdateClusterCommand.d.ts +2 -91
  33. package/dist-types/index.d.ts +1 -6
  34. package/dist-types/models/models_0.d.ts +22 -38
  35. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  36. package/dist-types/runtimeConfig.d.ts +1 -0
  37. package/dist-types/runtimeConfig.native.d.ts +1 -0
  38. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  39. package/dist-types/schemas/schemas_0.d.ts +53 -0
  40. package/dist-types/ts3.4/DSQLClient.d.ts +4 -0
  41. package/dist-types/ts3.4/models/models_0.d.ts +2 -0
  42. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  43. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  46. package/dist-types/ts3.4/schemas/schemas_0.d.ts +58 -0
  47. package/package.json +5 -6
  48. package/dist-es/protocols/Aws_restJson1.js +0 -502
  49. package/dist-types/protocols/Aws_restJson1.d.ts +0 -110
  50. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -149
@@ -62,8 +62,7 @@ declare const ListTagsForResourceCommand_base: {
62
62
  * <p>You do not have sufficient access to perform this action.</p>
63
63
  *
64
64
  * @throws {@link InternalServerException} (server fault)
65
- * <p>The request processing has failed because of an unknown error, exception or
66
- * failure.</p>
65
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
67
66
  *
68
67
  * @throws {@link ThrottlingException} (client fault)
69
68
  * <p>The request was denied due to request throttling.</p>
@@ -70,8 +70,7 @@ declare const PutClusterPolicyCommand_base: {
70
70
  * <p>You do not have sufficient access to perform this action.</p>
71
71
  *
72
72
  * @throws {@link InternalServerException} (server fault)
73
- * <p>The request processing has failed because of an unknown error, exception or
74
- * failure.</p>
73
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
75
74
  *
76
75
  * @throws {@link ThrottlingException} (client fault)
77
76
  * <p>The request was denied due to request throttling.</p>
@@ -64,8 +64,7 @@ declare const TagResourceCommand_base: {
64
64
  * <p>You do not have sufficient access to perform this action.</p>
65
65
  *
66
66
  * @throws {@link InternalServerException} (server fault)
67
- * <p>The request processing has failed because of an unknown error, exception or
68
- * failure.</p>
67
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
69
68
  *
70
69
  * @throws {@link ThrottlingException} (client fault)
71
70
  * <p>The request was denied due to request throttling.</p>
@@ -61,8 +61,7 @@ declare const UntagResourceCommand_base: {
61
61
  * <p>You do not have sufficient access to perform this action.</p>
62
62
  *
63
63
  * @throws {@link InternalServerException} (server fault)
64
- * <p>The request processing has failed because of an unknown error, exception or
65
- * failure.</p>
64
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
66
65
  *
67
66
  * @throws {@link ThrottlingException} (client fault)
68
67
  * <p>The request was denied due to request throttling.</p>
@@ -27,95 +27,7 @@ declare const UpdateClusterCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <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>
31
- * <note>
32
- * <p>Note that updating multi-Region clusters requires additional IAM permissions
33
- * beyond those needed for standard cluster updates, as detailed in the Permissions
34
- * section.</p>
35
- * </note>
36
- * <p>
37
- * <b>Required permissions</b>
38
- * </p>
39
- * <dl>
40
- * <dt>dsql:UpdateCluster</dt>
41
- * <dd>
42
- * <p>Permission to update a DSQL cluster.</p>
43
- * <p>Resources: <code>arn:aws:dsql:<i>region</i>:<i>account-id</i>:cluster/<i>cluster-id</i>
44
- * </code>
45
- * </p>
46
- * </dd>
47
- * </dl>
48
- * <dl>
49
- * <dt>dsql:PutMultiRegionProperties</dt>
50
- * <dd>
51
- * <p>Permission to configure multi-Region properties for a cluster.</p>
52
- * <p>Resources: <code>arn:aws:dsql:<i>region</i>:<i>account-id</i>:cluster/<i>cluster-id</i>
53
- * </code>
54
- * </p>
55
- * </dd>
56
- * </dl>
57
- * <dl>
58
- * <dt>dsql:GetCluster</dt>
59
- * <dd>
60
- * <p>Permission to retrieve cluster information.</p>
61
- * <p>Resources: <code>arn:aws:dsql:<i>region</i>:<i>account-id</i>:cluster/<i>cluster-id</i>
62
- * </code>
63
- * </p>
64
- * </dd>
65
- * <dt>dsql:AddPeerCluster</dt>
66
- * <dd>
67
- * <p>Permission to add peer clusters.</p>
68
- * <p>Resources:</p>
69
- * <ul>
70
- * <li>
71
- * <p>Local cluster: <code>arn:aws:dsql:<i>region</i>:<i>account-id</i>:cluster/<i>cluster-id</i>
72
- * </code>
73
- * </p>
74
- * </li>
75
- * <li>
76
- * <p>Each peer cluster: exact ARN of each specified peer cluster</p>
77
- * </li>
78
- * </ul>
79
- * </dd>
80
- * <dt>dsql:RemovePeerCluster</dt>
81
- * <dd>
82
- * <p>Permission to remove peer clusters. The <i>dsql:RemovePeerCluster</i> permission
83
- * uses a wildcard ARN pattern to simplify permission management during updates.</p>
84
- * <p>Resources:
85
- * <code>arn:aws:dsql:*:<i>account-id</i>:cluster/*</code>
86
- * </p>
87
- * </dd>
88
- * </dl>
89
- * <dl>
90
- * <dt>dsql:PutWitnessRegion</dt>
91
- * <dd>
92
- * <p>Permission to set a witness Region.</p>
93
- * <p>Resources: <code>arn:aws:dsql:<i>region</i>:<i>account-id</i>:cluster/<i>cluster-id</i>
94
- * </code>
95
- * </p>
96
- * <p>Condition Keys: dsql:WitnessRegion (matching the specified witness
97
- * Region)</p>
98
- * <p>
99
- * <b>This permission is checked both in the cluster Region and in the witness
100
- * Region.</b>
101
- * </p>
102
- * </dd>
103
- * </dl>
104
- * <important>
105
- * <ul>
106
- * <li>
107
- * <p>The witness region specified in
108
- * <code>multiRegionProperties.witnessRegion</code> cannot be the same as the
109
- * cluster's Region.</p>
110
- * </li>
111
- * <li>
112
- * <p>When updating clusters with peer relationships, permissions are checked for both adding and removing peers.</p>
113
- * </li>
114
- * <li>
115
- * <p>The <code>dsql:RemovePeerCluster</code> permission uses a wildcard ARN pattern to simplify permission management during updates.</p>
116
- * </li>
117
- * </ul>
118
- * </important>
30
+ * <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>
119
31
  * @example
120
32
  * Use a bare-bones client and the command you need to make an API call.
121
33
  * ```javascript
@@ -166,8 +78,7 @@ declare const UpdateClusterCommand_base: {
166
78
  * <p>You do not have sufficient access to perform this action.</p>
167
79
  *
168
80
  * @throws {@link InternalServerException} (server fault)
169
- * <p>The request processing has failed because of an unknown error, exception or
170
- * failure.</p>
81
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
171
82
  *
172
83
  * @throws {@link ThrottlingException} (client fault)
173
84
  * <p>The request was denied due to request throttling.</p>
@@ -1,10 +1,5 @@
1
1
  /**
2
- * <p>This is an interface reference for Amazon Aurora DSQL. It contains documentation for one of the
3
- * programming or command line interfaces you can use to manage Amazon Aurora DSQL.</p>
4
- * <p>Amazon Aurora DSQL is a serverless, distributed SQL database suitable for workloads of any size.
5
- * is available in both single-Region and multi-Region configurations, so your
6
- * 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
7
- * acquire new insights for your business and customers.</p>
2
+ * <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>
8
3
  *
9
4
  * @packageDocumentation
10
5
  */
@@ -60,12 +60,12 @@ export declare class ConflictException extends __BaseException {
60
60
  */
61
61
  export interface MultiRegionProperties {
62
62
  /**
63
- * <p>The Region that serves as the witness region for a multi-Region cluster. The witness Region helps maintain cluster consistency and quorum.</p>
63
+ * <p>The Region that serves as the witness region for a multi-Region cluster. The witness Region helps maintain cluster consistency and quorum.</p>
64
64
  * @public
65
65
  */
66
66
  witnessRegion?: string | undefined;
67
67
  /**
68
- * <p>The set of peered clusters that form the multi-Region cluster configuration. Each peered cluster represents a database instance in a different Region.</p>
68
+ * <p>The set of peered clusters that form the multi-Region cluster configuration. Each peered cluster represents a database instance in a different Region.</p>
69
69
  * @public
70
70
  */
71
71
  clusters?: string[] | undefined;
@@ -75,8 +75,7 @@ export interface MultiRegionProperties {
75
75
  */
76
76
  export interface CreateClusterInput {
77
77
  /**
78
- * <p>If enabled, you can't delete your cluster. You must first disable this property before
79
- * you can delete your cluster.</p>
78
+ * <p>If enabled, you can't delete your cluster. You must first disable this property before you can delete your cluster.</p>
80
79
  * @public
81
80
  */
82
81
  deletionProtectionEnabled?: boolean | undefined;
@@ -91,13 +90,7 @@ export interface CreateClusterInput {
91
90
  */
92
91
  tags?: Record<string, string> | undefined;
93
92
  /**
94
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
95
- * request. Idempotency ensures that an API request completes only once. With an idempotent
96
- * request, if the original request completes successfully, the subsequent retries with the
97
- * same client token return the result from the original successful request and they have no
98
- * additional effect.</p>
99
- * <p>If you don't specify a client token, the Amazon Web Services SDK automatically generates
100
- * one.</p>
93
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect.</p> <p>If you don't specify a client token, the Amazon Web Services SDK automatically generates one.</p>
101
94
  * @public
102
95
  */
103
96
  clientToken?: string | undefined;
@@ -185,7 +178,7 @@ export interface CreateClusterOutput {
185
178
  */
186
179
  status: ClusterStatus | undefined;
187
180
  /**
188
- * <p>The time of when created the cluster.</p>
181
+ * <p>The time of when created the cluster.</p>
189
182
  * @public
190
183
  */
191
184
  creationTime: Date | undefined;
@@ -204,10 +197,14 @@ export interface CreateClusterOutput {
204
197
  * @public
205
198
  */
206
199
  deletionProtectionEnabled: boolean | undefined;
200
+ /**
201
+ * <p>The connection endpoint for the created cluster.</p>
202
+ * @public
203
+ */
204
+ endpoint?: string | undefined;
207
205
  }
208
206
  /**
209
- * <p>The request processing has failed because of an unknown error, exception or
210
- * failure.</p>
207
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
211
208
  * @public
212
209
  */
213
210
  export declare class InternalServerException extends __BaseException {
@@ -287,8 +284,7 @@ export declare class ThrottlingException extends __BaseException {
287
284
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
288
285
  }
289
286
  /**
290
- * <p>Stores information about a field passed inside a request that resulted in an validation
291
- * error.</p>
287
+ * <p>Stores information about a field passed inside a request that resulted in an validation error.</p>
292
288
  * @public
293
289
  */
294
290
  export interface ValidationExceptionField {
@@ -350,13 +346,7 @@ export interface DeleteClusterInput {
350
346
  */
351
347
  identifier: string | undefined;
352
348
  /**
353
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
354
- * request. Idempotency ensures that an API request completes only once. With an idempotent
355
- * request, if the original request completes successfully. The subsequent retries with the
356
- * same client token return the result from the original successful request and they have no
357
- * additional effect.</p>
358
- * <p>If you don't specify a client token, the Amazon Web Services SDK automatically generates
359
- * one.</p>
349
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully. The subsequent retries with the same client token return the result from the original successful request and they have no additional effect.</p> <p>If you don't specify a client token, the Amazon Web Services SDK automatically generates one.</p>
360
350
  * @public
361
351
  */
362
352
  clientToken?: string | undefined;
@@ -494,6 +484,11 @@ export interface GetClusterOutput {
494
484
  * @public
495
485
  */
496
486
  encryptionDetails?: EncryptionDetails | undefined;
487
+ /**
488
+ * <p>The connection endpoint for the cluster.</p>
489
+ * @public
490
+ */
491
+ endpoint?: string | undefined;
497
492
  }
498
493
  /**
499
494
  * @public
@@ -545,15 +540,12 @@ export interface GetVpcEndpointServiceNameOutput {
545
540
  */
546
541
  export interface ListClustersInput {
547
542
  /**
548
- * <p>An optional parameter that specifies the maximum number of results to return. You can
549
- * use nextToken to display the next page of results.</p>
543
+ * <p>An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.</p>
550
544
  * @public
551
545
  */
552
546
  maxResults?: number | undefined;
553
547
  /**
554
- * <p>If your initial ListClusters operation returns a nextToken, you can include the returned
555
- * nextToken in following ListClusters operations, which returns results in the next
556
- * page.</p>
548
+ * <p>If your initial ListClusters operation returns a nextToken, you can include the returned nextToken in following ListClusters operations, which returns results in the next page.</p>
557
549
  * @public
558
550
  */
559
551
  nextToken?: string | undefined;
@@ -579,9 +571,7 @@ export interface ClusterSummary {
579
571
  */
580
572
  export interface ListClustersOutput {
581
573
  /**
582
- * <p>If nextToken is returned, there are more results available. The value of nextToken is a
583
- * unique pagination token for each page. To retrieve the next page, make the call again using
584
- * the returned token.</p>
574
+ * <p>If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token.</p>
585
575
  * @public
586
576
  */
587
577
  nextToken?: string | undefined;
@@ -651,13 +641,7 @@ export interface UpdateClusterInput {
651
641
  */
652
642
  kmsEncryptionKey?: string | undefined;
653
643
  /**
654
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
655
- * request. Idempotency ensures that an API request completes only once. With an idempotent
656
- * request, if the original request completes successfully. The subsequent retries with the
657
- * same client token return the result from the original successful request and they have no
658
- * additional effect.</p>
659
- * <p>If you don't specify a client token, the Amazon Web Services SDK automatically generates
660
- * one.</p>
644
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully. The subsequent retries with the same client token return the result from the original successful request and they have no additional effect.</p> <p>If you don't specify a client token, the Amazon Web Services SDK automatically generates one.</p>
661
645
  * @public
662
646
  */
663
647
  clientToken?: string | undefined;
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
29
29
  profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
34
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
31
31
  profile?: string;
32
32
  logger: import("@smithy/types").Logger;
33
33
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
34
35
  customUserAgent?: string | import("@smithy/types").UserAgent;
35
36
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
37
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
30
31
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent;
32
33
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DSQLHttpAuthSchemeProvider;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
17
18
  serviceId: string;
18
19
  urlParser: import("@smithy/types").UrlParser;
19
20
  utf8Decoder: import("@smithy/types").Decoder;
@@ -0,0 +1,53 @@
1
+ import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var AccessDeniedException: StaticErrorSchema;
3
+ export declare var ClusterSummary: StaticStructureSchema;
4
+ export declare var ConflictException: StaticErrorSchema;
5
+ export declare var CreateClusterInput: StaticStructureSchema;
6
+ export declare var CreateClusterOutput: StaticStructureSchema;
7
+ export declare var DeleteClusterInput: StaticStructureSchema;
8
+ export declare var DeleteClusterOutput: StaticStructureSchema;
9
+ export declare var DeleteClusterPolicyInput: StaticStructureSchema;
10
+ export declare var DeleteClusterPolicyOutput: StaticStructureSchema;
11
+ export declare var EncryptionDetails: StaticStructureSchema;
12
+ export declare var GetClusterInput: StaticStructureSchema;
13
+ export declare var GetClusterOutput: StaticStructureSchema;
14
+ export declare var GetClusterPolicyInput: StaticStructureSchema;
15
+ export declare var GetClusterPolicyOutput: StaticStructureSchema;
16
+ export declare var GetVpcEndpointServiceNameInput: StaticStructureSchema;
17
+ export declare var GetVpcEndpointServiceNameOutput: StaticStructureSchema;
18
+ export declare var InternalServerException: StaticErrorSchema;
19
+ export declare var ListClustersInput: StaticStructureSchema;
20
+ export declare var ListClustersOutput: StaticStructureSchema;
21
+ export declare var ListTagsForResourceInput: StaticStructureSchema;
22
+ export declare var ListTagsForResourceOutput: StaticStructureSchema;
23
+ export declare var MultiRegionProperties: StaticStructureSchema;
24
+ export declare var PutClusterPolicyInput: StaticStructureSchema;
25
+ export declare var PutClusterPolicyOutput: StaticStructureSchema;
26
+ export declare var ResourceNotFoundException: StaticErrorSchema;
27
+ export declare var ServiceQuotaExceededException: StaticErrorSchema;
28
+ export declare var TagResourceInput: StaticStructureSchema;
29
+ export declare var ThrottlingException: StaticErrorSchema;
30
+ export declare var UntagResourceInput: StaticStructureSchema;
31
+ export declare var UpdateClusterInput: StaticStructureSchema;
32
+ export declare var UpdateClusterOutput: StaticStructureSchema;
33
+ export declare var ValidationException: StaticErrorSchema;
34
+ export declare var ValidationExceptionField: StaticStructureSchema;
35
+ export declare var __Unit: "unit";
36
+ export declare var DSQLServiceException: StaticErrorSchema;
37
+ export declare var ClusterArnList: number;
38
+ export declare var ClusterList: StaticListSchema;
39
+ export declare var TagKeyList: number;
40
+ export declare var ValidationExceptionFieldList: StaticListSchema;
41
+ export declare var TagMap: number;
42
+ export declare var CreateCluster: StaticOperationSchema;
43
+ export declare var DeleteCluster: StaticOperationSchema;
44
+ export declare var DeleteClusterPolicy: StaticOperationSchema;
45
+ export declare var GetCluster: StaticOperationSchema;
46
+ export declare var GetClusterPolicy: StaticOperationSchema;
47
+ export declare var GetVpcEndpointServiceName: StaticOperationSchema;
48
+ export declare var ListClusters: StaticOperationSchema;
49
+ export declare var ListTagsForResource: StaticOperationSchema;
50
+ export declare var PutClusterPolicy: StaticOperationSchema;
51
+ export declare var TagResource: StaticOperationSchema;
52
+ export declare var UntagResource: StaticOperationSchema;
53
+ export declare var UpdateCluster: StaticOperationSchema;
@@ -30,10 +30,13 @@ import {
30
30
  BodyLengthCalculator as __BodyLengthCalculator,
31
31
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
32
  ChecksumConstructor as __ChecksumConstructor,
33
+ ClientProtocol,
33
34
  Decoder as __Decoder,
34
35
  Encoder as __Encoder,
35
36
  HashConstructor as __HashConstructor,
36
37
  HttpHandlerOptions as __HttpHandlerOptions,
38
+ HttpRequest,
39
+ HttpResponse,
37
40
  Logger as __Logger,
38
41
  Provider as __Provider,
39
42
  Provider,
@@ -150,6 +153,7 @@ export interface ClientDefaults
150
153
  retryMode?: string | __Provider<string>;
151
154
  logger?: __Logger;
152
155
  extensions?: RuntimeExtension[];
156
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
153
157
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
154
158
  }
155
159
  export type DSQLClientConfigType = Partial<
@@ -67,6 +67,7 @@ export interface CreateClusterOutput {
67
67
  multiRegionProperties?: MultiRegionProperties | undefined;
68
68
  encryptionDetails?: EncryptionDetails | undefined;
69
69
  deletionProtectionEnabled: boolean | undefined;
70
+ endpoint?: string | undefined;
70
71
  }
71
72
  export declare class InternalServerException extends __BaseException {
72
73
  readonly name: "InternalServerException";
@@ -162,6 +163,7 @@ export interface GetClusterOutput {
162
163
  multiRegionProperties?: MultiRegionProperties | undefined;
163
164
  tags?: Record<string, string> | undefined;
164
165
  encryptionDetails?: EncryptionDetails | undefined;
166
+ endpoint?: string | undefined;
165
167
  }
166
168
  export interface GetClusterPolicyInput {
167
169
  identifier: string | undefined;
@@ -37,6 +37,10 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
37
37
  profile?: string;
38
38
  logger: import("@smithy/types").Logger;
39
39
  extensions: import("./runtimeExtensions").RuntimeExtension[];
40
+ protocol: import("@smithy/types").ClientProtocol<
41
+ import("@smithy/types").HttpRequest,
42
+ import("@smithy/types").HttpResponse
43
+ >;
40
44
  customUserAgent?: string | import("@smithy/types").UserAgent;
41
45
  userAgentAppId?:
42
46
  | string
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
38
38
  profile?: string;
39
39
  logger: import("@smithy/types").Logger;
40
40
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ protocol: import("@smithy/types").ClientProtocol<
42
+ import("@smithy/types").HttpRequest,
43
+ import("@smithy/types").HttpResponse
44
+ >;
41
45
  customUserAgent?: string | import("@smithy/types").UserAgent;
42
46
  retryStrategy?:
43
47
  | import("@smithy/types").RetryStrategy
@@ -36,6 +36,10 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
36
36
  retryMode: string | import("@smithy/types").Provider<string>;
37
37
  logger: import("@smithy/types").Logger;
38
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
39
+ protocol: import("@smithy/types").ClientProtocol<
40
+ import("@smithy/types").HttpRequest,
41
+ import("@smithy/types").HttpResponse
42
+ >;
39
43
  defaultsMode:
40
44
  | import("@smithy/smithy-client").DefaultsMode
41
45
  | import("@smithy/types").Provider<
@@ -14,6 +14,10 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DSQLHttpAuthSchemeProvider;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<
18
+ import("@smithy/types").HttpRequest,
19
+ import("@smithy/types").HttpResponse
20
+ >;
17
21
  serviceId: string;
18
22
  urlParser: import("@smithy/types").UrlParser;
19
23
  utf8Decoder: import("@smithy/types").Decoder;
@@ -0,0 +1,58 @@
1
+ import {
2
+ StaticErrorSchema,
3
+ StaticListSchema,
4
+ StaticOperationSchema,
5
+ StaticStructureSchema,
6
+ } from "@smithy/types";
7
+ export declare var AccessDeniedException: StaticErrorSchema;
8
+ export declare var ClusterSummary: StaticStructureSchema;
9
+ export declare var ConflictException: StaticErrorSchema;
10
+ export declare var CreateClusterInput: StaticStructureSchema;
11
+ export declare var CreateClusterOutput: StaticStructureSchema;
12
+ export declare var DeleteClusterInput: StaticStructureSchema;
13
+ export declare var DeleteClusterOutput: StaticStructureSchema;
14
+ export declare var DeleteClusterPolicyInput: StaticStructureSchema;
15
+ export declare var DeleteClusterPolicyOutput: StaticStructureSchema;
16
+ export declare var EncryptionDetails: StaticStructureSchema;
17
+ export declare var GetClusterInput: StaticStructureSchema;
18
+ export declare var GetClusterOutput: StaticStructureSchema;
19
+ export declare var GetClusterPolicyInput: StaticStructureSchema;
20
+ export declare var GetClusterPolicyOutput: StaticStructureSchema;
21
+ export declare var GetVpcEndpointServiceNameInput: StaticStructureSchema;
22
+ export declare var GetVpcEndpointServiceNameOutput: StaticStructureSchema;
23
+ export declare var InternalServerException: StaticErrorSchema;
24
+ export declare var ListClustersInput: StaticStructureSchema;
25
+ export declare var ListClustersOutput: StaticStructureSchema;
26
+ export declare var ListTagsForResourceInput: StaticStructureSchema;
27
+ export declare var ListTagsForResourceOutput: StaticStructureSchema;
28
+ export declare var MultiRegionProperties: StaticStructureSchema;
29
+ export declare var PutClusterPolicyInput: StaticStructureSchema;
30
+ export declare var PutClusterPolicyOutput: StaticStructureSchema;
31
+ export declare var ResourceNotFoundException: StaticErrorSchema;
32
+ export declare var ServiceQuotaExceededException: StaticErrorSchema;
33
+ export declare var TagResourceInput: StaticStructureSchema;
34
+ export declare var ThrottlingException: StaticErrorSchema;
35
+ export declare var UntagResourceInput: StaticStructureSchema;
36
+ export declare var UpdateClusterInput: StaticStructureSchema;
37
+ export declare var UpdateClusterOutput: StaticStructureSchema;
38
+ export declare var ValidationException: StaticErrorSchema;
39
+ export declare var ValidationExceptionField: StaticStructureSchema;
40
+ export declare var __Unit: "unit";
41
+ export declare var DSQLServiceException: StaticErrorSchema;
42
+ export declare var ClusterArnList: number;
43
+ export declare var ClusterList: StaticListSchema;
44
+ export declare var TagKeyList: number;
45
+ export declare var ValidationExceptionFieldList: StaticListSchema;
46
+ export declare var TagMap: number;
47
+ export declare var CreateCluster: StaticOperationSchema;
48
+ export declare var DeleteCluster: StaticOperationSchema;
49
+ export declare var DeleteClusterPolicy: StaticOperationSchema;
50
+ export declare var GetCluster: StaticOperationSchema;
51
+ export declare var GetClusterPolicy: StaticOperationSchema;
52
+ export declare var GetVpcEndpointServiceName: StaticOperationSchema;
53
+ export declare var ListClusters: StaticOperationSchema;
54
+ export declare var ListTagsForResource: StaticOperationSchema;
55
+ export declare var PutClusterPolicy: StaticOperationSchema;
56
+ export declare var TagResource: StaticOperationSchema;
57
+ export declare var UntagResource: StaticOperationSchema;
58
+ export declare var UpdateCluster: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-dsql",
3
3
  "description": "AWS SDK for JavaScript Dsql Client for Node.js, Browser and React Native",
4
- "version": "3.927.0",
4
+ "version": "3.929.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-dsql",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.927.0",
24
- "@aws-sdk/credential-provider-node": "3.927.0",
23
+ "@aws-sdk/core": "3.928.0",
24
+ "@aws-sdk/credential-provider-node": "3.929.0",
25
25
  "@aws-sdk/middleware-host-header": "3.922.0",
26
26
  "@aws-sdk/middleware-logger": "3.922.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.927.0",
28
+ "@aws-sdk/middleware-user-agent": "3.928.0",
29
29
  "@aws-sdk/region-config-resolver": "3.925.0",
30
30
  "@aws-sdk/types": "3.922.0",
31
31
  "@aws-sdk/util-endpoints": "3.922.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.927.0",
33
+ "@aws-sdk/util-user-agent-node": "3.928.0",
34
34
  "@smithy/config-resolver": "^4.4.2",
35
35
  "@smithy/core": "^3.17.2",
36
36
  "@smithy/fetch-http-handler": "^5.3.5",
@@ -57,7 +57,6 @@
57
57
  "@smithy/util-retry": "^4.2.4",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
59
  "@smithy/util-waiter": "^4.2.4",
60
- "@smithy/uuid": "^1.1.0",
61
60
  "tslib": "^2.6.2"
62
61
  },
63
62
  "devDependencies": {