@aws-sdk/client-docdb-elastic 3.1136.0 → 3.1138.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/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1135.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -383,10 +383,10 @@ const _tK = "tagKeys";
383
383
  const _tSN = "targetSnapshotName";
384
384
  const _vSGI = "vpcSecurityGroupIds";
385
385
  const n0 = "com.amazonaws.docdbelastic";
386
- const _s_registry = TypeRegistry.for(_s);
386
+ const _s_registry = new TypeRegistry(_s);
387
387
  var DocDBElasticServiceException$ = [-3, _s, "DocDBElasticServiceException", 0, [], []];
388
388
  _s_registry.registerError(DocDBElasticServiceException$, DocDBElasticServiceException);
389
- const n0_registry = TypeRegistry.for(n0);
389
+ const n0_registry = new TypeRegistry(n0);
390
390
  var AccessDeniedException$ = [-3, n0, _ADE,
391
391
  { [_e]: _c, [_hE]: 403 },
392
392
  [_m],
@@ -145,10 +145,10 @@ const n0 = "com.amazonaws.docdbelastic";
145
145
  import { TypeRegistry } from "@smithy/core/schema";
146
146
  import { DocDBElasticServiceException } from "../models/DocDBElasticServiceException";
147
147
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
148
- const _s_registry = TypeRegistry.for(_s);
148
+ const _s_registry = new TypeRegistry(_s);
149
149
  export var DocDBElasticServiceException$ = [-3, _s, "DocDBElasticServiceException", 0, [], []];
150
150
  _s_registry.registerError(DocDBElasticServiceException$, DocDBElasticServiceException);
151
- const n0_registry = TypeRegistry.for(n0);
151
+ const n0_registry = new TypeRegistry(n0);
152
152
  export var AccessDeniedException$ = [-3, n0, _ADE,
153
153
  { [_e]: _c, [_hE]: 403 },
154
154
  [_m],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type ApplyPendingMaintenanceActionCommandInput, type ApplyPendingMaintenanceActionCommandOutput } from "./commands/ApplyPendingMaintenanceActionCommand";
3
3
  import { type CopyClusterSnapshotCommandInput, type CopyClusterSnapshotCommandOutput } from "./commands/CopyClusterSnapshotCommand";
4
4
  import { type CreateClusterCommandInput, type CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
@@ -19,124 +19,130 @@ import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./c
19
19
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
20
20
  import { type UpdateClusterCommandInput, type UpdateClusterCommandOutput } from "./commands/UpdateClusterCommand";
21
21
  import { DocDBElasticClient } from "./DocDBElasticClient";
22
+ /**
23
+ * @public
24
+ */
25
+ export interface DocDBElasticRequestOptions extends __HttpHandlerOptions {
26
+ metricsRecorder?: __MetricsRecorder<unknown>;
27
+ }
22
28
  export interface DocDBElastic {
23
29
  /**
24
30
  * @see {@link ApplyPendingMaintenanceActionCommand}
25
31
  */
26
- applyPendingMaintenanceAction(args: ApplyPendingMaintenanceActionCommandInput, options?: __HttpHandlerOptions): Promise<ApplyPendingMaintenanceActionCommandOutput>;
32
+ applyPendingMaintenanceAction(args: ApplyPendingMaintenanceActionCommandInput, options?: DocDBElasticRequestOptions): Promise<ApplyPendingMaintenanceActionCommandOutput>;
27
33
  applyPendingMaintenanceAction(args: ApplyPendingMaintenanceActionCommandInput, cb: (err: any, data?: ApplyPendingMaintenanceActionCommandOutput) => void): void;
28
- applyPendingMaintenanceAction(args: ApplyPendingMaintenanceActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ApplyPendingMaintenanceActionCommandOutput) => void): void;
34
+ applyPendingMaintenanceAction(args: ApplyPendingMaintenanceActionCommandInput, options: DocDBElasticRequestOptions, cb: (err: any, data?: ApplyPendingMaintenanceActionCommandOutput) => void): void;
29
35
  /**
30
36
  * @see {@link CopyClusterSnapshotCommand}
31
37
  */
32
- copyClusterSnapshot(args: CopyClusterSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<CopyClusterSnapshotCommandOutput>;
38
+ copyClusterSnapshot(args: CopyClusterSnapshotCommandInput, options?: DocDBElasticRequestOptions): Promise<CopyClusterSnapshotCommandOutput>;
33
39
  copyClusterSnapshot(args: CopyClusterSnapshotCommandInput, cb: (err: any, data?: CopyClusterSnapshotCommandOutput) => void): void;
34
- copyClusterSnapshot(args: CopyClusterSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CopyClusterSnapshotCommandOutput) => void): void;
40
+ copyClusterSnapshot(args: CopyClusterSnapshotCommandInput, options: DocDBElasticRequestOptions, cb: (err: any, data?: CopyClusterSnapshotCommandOutput) => void): void;
35
41
  /**
36
42
  * @see {@link CreateClusterCommand}
37
43
  */
38
- createCluster(args: CreateClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateClusterCommandOutput>;
44
+ createCluster(args: CreateClusterCommandInput, options?: DocDBElasticRequestOptions): Promise<CreateClusterCommandOutput>;
39
45
  createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
40
- createCluster(args: CreateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
46
+ createCluster(args: CreateClusterCommandInput, options: DocDBElasticRequestOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
41
47
  /**
42
48
  * @see {@link CreateClusterSnapshotCommand}
43
49
  */
44
- createClusterSnapshot(args: CreateClusterSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<CreateClusterSnapshotCommandOutput>;
50
+ createClusterSnapshot(args: CreateClusterSnapshotCommandInput, options?: DocDBElasticRequestOptions): Promise<CreateClusterSnapshotCommandOutput>;
45
51
  createClusterSnapshot(args: CreateClusterSnapshotCommandInput, cb: (err: any, data?: CreateClusterSnapshotCommandOutput) => void): void;
46
- createClusterSnapshot(args: CreateClusterSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterSnapshotCommandOutput) => void): void;
52
+ createClusterSnapshot(args: CreateClusterSnapshotCommandInput, options: DocDBElasticRequestOptions, cb: (err: any, data?: CreateClusterSnapshotCommandOutput) => void): void;
47
53
  /**
48
54
  * @see {@link DeleteClusterCommand}
49
55
  */
50
- deleteCluster(args: DeleteClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteClusterCommandOutput>;
56
+ deleteCluster(args: DeleteClusterCommandInput, options?: DocDBElasticRequestOptions): Promise<DeleteClusterCommandOutput>;
51
57
  deleteCluster(args: DeleteClusterCommandInput, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
52
- deleteCluster(args: DeleteClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
58
+ deleteCluster(args: DeleteClusterCommandInput, options: DocDBElasticRequestOptions, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
53
59
  /**
54
60
  * @see {@link DeleteClusterSnapshotCommand}
55
61
  */
56
- deleteClusterSnapshot(args: DeleteClusterSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<DeleteClusterSnapshotCommandOutput>;
62
+ deleteClusterSnapshot(args: DeleteClusterSnapshotCommandInput, options?: DocDBElasticRequestOptions): Promise<DeleteClusterSnapshotCommandOutput>;
57
63
  deleteClusterSnapshot(args: DeleteClusterSnapshotCommandInput, cb: (err: any, data?: DeleteClusterSnapshotCommandOutput) => void): void;
58
- deleteClusterSnapshot(args: DeleteClusterSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterSnapshotCommandOutput) => void): void;
64
+ deleteClusterSnapshot(args: DeleteClusterSnapshotCommandInput, options: DocDBElasticRequestOptions, cb: (err: any, data?: DeleteClusterSnapshotCommandOutput) => void): void;
59
65
  /**
60
66
  * @see {@link GetClusterCommand}
61
67
  */
62
- getCluster(args: GetClusterCommandInput, options?: __HttpHandlerOptions): Promise<GetClusterCommandOutput>;
68
+ getCluster(args: GetClusterCommandInput, options?: DocDBElasticRequestOptions): Promise<GetClusterCommandOutput>;
63
69
  getCluster(args: GetClusterCommandInput, cb: (err: any, data?: GetClusterCommandOutput) => void): void;
64
- getCluster(args: GetClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetClusterCommandOutput) => void): void;
70
+ getCluster(args: GetClusterCommandInput, options: DocDBElasticRequestOptions, cb: (err: any, data?: GetClusterCommandOutput) => void): void;
65
71
  /**
66
72
  * @see {@link GetClusterSnapshotCommand}
67
73
  */
68
- getClusterSnapshot(args: GetClusterSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<GetClusterSnapshotCommandOutput>;
74
+ getClusterSnapshot(args: GetClusterSnapshotCommandInput, options?: DocDBElasticRequestOptions): Promise<GetClusterSnapshotCommandOutput>;
69
75
  getClusterSnapshot(args: GetClusterSnapshotCommandInput, cb: (err: any, data?: GetClusterSnapshotCommandOutput) => void): void;
70
- getClusterSnapshot(args: GetClusterSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetClusterSnapshotCommandOutput) => void): void;
76
+ getClusterSnapshot(args: GetClusterSnapshotCommandInput, options: DocDBElasticRequestOptions, cb: (err: any, data?: GetClusterSnapshotCommandOutput) => void): void;
71
77
  /**
72
78
  * @see {@link GetPendingMaintenanceActionCommand}
73
79
  */
74
- getPendingMaintenanceAction(args: GetPendingMaintenanceActionCommandInput, options?: __HttpHandlerOptions): Promise<GetPendingMaintenanceActionCommandOutput>;
80
+ getPendingMaintenanceAction(args: GetPendingMaintenanceActionCommandInput, options?: DocDBElasticRequestOptions): Promise<GetPendingMaintenanceActionCommandOutput>;
75
81
  getPendingMaintenanceAction(args: GetPendingMaintenanceActionCommandInput, cb: (err: any, data?: GetPendingMaintenanceActionCommandOutput) => void): void;
76
- getPendingMaintenanceAction(args: GetPendingMaintenanceActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPendingMaintenanceActionCommandOutput) => void): void;
82
+ getPendingMaintenanceAction(args: GetPendingMaintenanceActionCommandInput, options: DocDBElasticRequestOptions, cb: (err: any, data?: GetPendingMaintenanceActionCommandOutput) => void): void;
77
83
  /**
78
84
  * @see {@link ListClustersCommand}
79
85
  */
80
86
  listClusters(): Promise<ListClustersCommandOutput>;
81
- listClusters(args: ListClustersCommandInput, options?: __HttpHandlerOptions): Promise<ListClustersCommandOutput>;
87
+ listClusters(args: ListClustersCommandInput, options?: DocDBElasticRequestOptions): Promise<ListClustersCommandOutput>;
82
88
  listClusters(args: ListClustersCommandInput, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
83
- listClusters(args: ListClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
89
+ listClusters(args: ListClustersCommandInput, options: DocDBElasticRequestOptions, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
84
90
  /**
85
91
  * @see {@link ListClusterSnapshotsCommand}
86
92
  */
87
93
  listClusterSnapshots(): Promise<ListClusterSnapshotsCommandOutput>;
88
- listClusterSnapshots(args: ListClusterSnapshotsCommandInput, options?: __HttpHandlerOptions): Promise<ListClusterSnapshotsCommandOutput>;
94
+ listClusterSnapshots(args: ListClusterSnapshotsCommandInput, options?: DocDBElasticRequestOptions): Promise<ListClusterSnapshotsCommandOutput>;
89
95
  listClusterSnapshots(args: ListClusterSnapshotsCommandInput, cb: (err: any, data?: ListClusterSnapshotsCommandOutput) => void): void;
90
- listClusterSnapshots(args: ListClusterSnapshotsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListClusterSnapshotsCommandOutput) => void): void;
96
+ listClusterSnapshots(args: ListClusterSnapshotsCommandInput, options: DocDBElasticRequestOptions, cb: (err: any, data?: ListClusterSnapshotsCommandOutput) => void): void;
91
97
  /**
92
98
  * @see {@link ListPendingMaintenanceActionsCommand}
93
99
  */
94
100
  listPendingMaintenanceActions(): Promise<ListPendingMaintenanceActionsCommandOutput>;
95
- listPendingMaintenanceActions(args: ListPendingMaintenanceActionsCommandInput, options?: __HttpHandlerOptions): Promise<ListPendingMaintenanceActionsCommandOutput>;
101
+ listPendingMaintenanceActions(args: ListPendingMaintenanceActionsCommandInput, options?: DocDBElasticRequestOptions): Promise<ListPendingMaintenanceActionsCommandOutput>;
96
102
  listPendingMaintenanceActions(args: ListPendingMaintenanceActionsCommandInput, cb: (err: any, data?: ListPendingMaintenanceActionsCommandOutput) => void): void;
97
- listPendingMaintenanceActions(args: ListPendingMaintenanceActionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPendingMaintenanceActionsCommandOutput) => void): void;
103
+ listPendingMaintenanceActions(args: ListPendingMaintenanceActionsCommandInput, options: DocDBElasticRequestOptions, cb: (err: any, data?: ListPendingMaintenanceActionsCommandOutput) => void): void;
98
104
  /**
99
105
  * @see {@link ListTagsForResourceCommand}
100
106
  */
101
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
107
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: DocDBElasticRequestOptions): Promise<ListTagsForResourceCommandOutput>;
102
108
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
103
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
109
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: DocDBElasticRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
104
110
  /**
105
111
  * @see {@link RestoreClusterFromSnapshotCommand}
106
112
  */
107
- restoreClusterFromSnapshot(args: RestoreClusterFromSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<RestoreClusterFromSnapshotCommandOutput>;
113
+ restoreClusterFromSnapshot(args: RestoreClusterFromSnapshotCommandInput, options?: DocDBElasticRequestOptions): Promise<RestoreClusterFromSnapshotCommandOutput>;
108
114
  restoreClusterFromSnapshot(args: RestoreClusterFromSnapshotCommandInput, cb: (err: any, data?: RestoreClusterFromSnapshotCommandOutput) => void): void;
109
- restoreClusterFromSnapshot(args: RestoreClusterFromSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreClusterFromSnapshotCommandOutput) => void): void;
115
+ restoreClusterFromSnapshot(args: RestoreClusterFromSnapshotCommandInput, options: DocDBElasticRequestOptions, cb: (err: any, data?: RestoreClusterFromSnapshotCommandOutput) => void): void;
110
116
  /**
111
117
  * @see {@link StartClusterCommand}
112
118
  */
113
- startCluster(args: StartClusterCommandInput, options?: __HttpHandlerOptions): Promise<StartClusterCommandOutput>;
119
+ startCluster(args: StartClusterCommandInput, options?: DocDBElasticRequestOptions): Promise<StartClusterCommandOutput>;
114
120
  startCluster(args: StartClusterCommandInput, cb: (err: any, data?: StartClusterCommandOutput) => void): void;
115
- startCluster(args: StartClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartClusterCommandOutput) => void): void;
121
+ startCluster(args: StartClusterCommandInput, options: DocDBElasticRequestOptions, cb: (err: any, data?: StartClusterCommandOutput) => void): void;
116
122
  /**
117
123
  * @see {@link StopClusterCommand}
118
124
  */
119
- stopCluster(args: StopClusterCommandInput, options?: __HttpHandlerOptions): Promise<StopClusterCommandOutput>;
125
+ stopCluster(args: StopClusterCommandInput, options?: DocDBElasticRequestOptions): Promise<StopClusterCommandOutput>;
120
126
  stopCluster(args: StopClusterCommandInput, cb: (err: any, data?: StopClusterCommandOutput) => void): void;
121
- stopCluster(args: StopClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopClusterCommandOutput) => void): void;
127
+ stopCluster(args: StopClusterCommandInput, options: DocDBElasticRequestOptions, cb: (err: any, data?: StopClusterCommandOutput) => void): void;
122
128
  /**
123
129
  * @see {@link TagResourceCommand}
124
130
  */
125
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
131
+ tagResource(args: TagResourceCommandInput, options?: DocDBElasticRequestOptions): Promise<TagResourceCommandOutput>;
126
132
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
127
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
133
+ tagResource(args: TagResourceCommandInput, options: DocDBElasticRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
128
134
  /**
129
135
  * @see {@link UntagResourceCommand}
130
136
  */
131
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
137
+ untagResource(args: UntagResourceCommandInput, options?: DocDBElasticRequestOptions): Promise<UntagResourceCommandOutput>;
132
138
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
133
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
139
+ untagResource(args: UntagResourceCommandInput, options: DocDBElasticRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
134
140
  /**
135
141
  * @see {@link UpdateClusterCommand}
136
142
  */
137
- updateCluster(args: UpdateClusterCommandInput, options?: __HttpHandlerOptions): Promise<UpdateClusterCommandOutput>;
143
+ updateCluster(args: UpdateClusterCommandInput, options?: DocDBElasticRequestOptions): Promise<UpdateClusterCommandOutput>;
138
144
  updateCluster(args: UpdateClusterCommandInput, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void;
139
- updateCluster(args: UpdateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void;
145
+ updateCluster(args: UpdateClusterCommandInput, options: DocDBElasticRequestOptions, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void;
140
146
  /**
141
147
  * @see {@link ListClustersCommand}
142
148
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -71,10 +72,13 @@ import {
71
72
  UpdateClusterCommandOutput,
72
73
  } from "./commands/UpdateClusterCommand";
73
74
  import { DocDBElasticClient } from "./DocDBElasticClient";
75
+ export interface DocDBElasticRequestOptions extends __HttpHandlerOptions {
76
+ metricsRecorder?: __MetricsRecorder<unknown>;
77
+ }
74
78
  export interface DocDBElastic {
75
79
  applyPendingMaintenanceAction(
76
80
  args: ApplyPendingMaintenanceActionCommandInput,
77
- options?: __HttpHandlerOptions,
81
+ options?: DocDBElasticRequestOptions,
78
82
  ): Promise<ApplyPendingMaintenanceActionCommandOutput>;
79
83
  applyPendingMaintenanceAction(
80
84
  args: ApplyPendingMaintenanceActionCommandInput,
@@ -82,12 +86,12 @@ export interface DocDBElastic {
82
86
  ): void;
83
87
  applyPendingMaintenanceAction(
84
88
  args: ApplyPendingMaintenanceActionCommandInput,
85
- options: __HttpHandlerOptions,
89
+ options: DocDBElasticRequestOptions,
86
90
  cb: (err: any, data?: ApplyPendingMaintenanceActionCommandOutput) => void,
87
91
  ): void;
88
92
  copyClusterSnapshot(
89
93
  args: CopyClusterSnapshotCommandInput,
90
- options?: __HttpHandlerOptions,
94
+ options?: DocDBElasticRequestOptions,
91
95
  ): Promise<CopyClusterSnapshotCommandOutput>;
92
96
  copyClusterSnapshot(
93
97
  args: CopyClusterSnapshotCommandInput,
@@ -95,12 +99,12 @@ export interface DocDBElastic {
95
99
  ): void;
96
100
  copyClusterSnapshot(
97
101
  args: CopyClusterSnapshotCommandInput,
98
- options: __HttpHandlerOptions,
102
+ options: DocDBElasticRequestOptions,
99
103
  cb: (err: any, data?: CopyClusterSnapshotCommandOutput) => void,
100
104
  ): void;
101
105
  createCluster(
102
106
  args: CreateClusterCommandInput,
103
- options?: __HttpHandlerOptions,
107
+ options?: DocDBElasticRequestOptions,
104
108
  ): Promise<CreateClusterCommandOutput>;
105
109
  createCluster(
106
110
  args: CreateClusterCommandInput,
@@ -108,12 +112,12 @@ export interface DocDBElastic {
108
112
  ): void;
109
113
  createCluster(
110
114
  args: CreateClusterCommandInput,
111
- options: __HttpHandlerOptions,
115
+ options: DocDBElasticRequestOptions,
112
116
  cb: (err: any, data?: CreateClusterCommandOutput) => void,
113
117
  ): void;
114
118
  createClusterSnapshot(
115
119
  args: CreateClusterSnapshotCommandInput,
116
- options?: __HttpHandlerOptions,
120
+ options?: DocDBElasticRequestOptions,
117
121
  ): Promise<CreateClusterSnapshotCommandOutput>;
118
122
  createClusterSnapshot(
119
123
  args: CreateClusterSnapshotCommandInput,
@@ -121,12 +125,12 @@ export interface DocDBElastic {
121
125
  ): void;
122
126
  createClusterSnapshot(
123
127
  args: CreateClusterSnapshotCommandInput,
124
- options: __HttpHandlerOptions,
128
+ options: DocDBElasticRequestOptions,
125
129
  cb: (err: any, data?: CreateClusterSnapshotCommandOutput) => void,
126
130
  ): void;
127
131
  deleteCluster(
128
132
  args: DeleteClusterCommandInput,
129
- options?: __HttpHandlerOptions,
133
+ options?: DocDBElasticRequestOptions,
130
134
  ): Promise<DeleteClusterCommandOutput>;
131
135
  deleteCluster(
132
136
  args: DeleteClusterCommandInput,
@@ -134,12 +138,12 @@ export interface DocDBElastic {
134
138
  ): void;
135
139
  deleteCluster(
136
140
  args: DeleteClusterCommandInput,
137
- options: __HttpHandlerOptions,
141
+ options: DocDBElasticRequestOptions,
138
142
  cb: (err: any, data?: DeleteClusterCommandOutput) => void,
139
143
  ): void;
140
144
  deleteClusterSnapshot(
141
145
  args: DeleteClusterSnapshotCommandInput,
142
- options?: __HttpHandlerOptions,
146
+ options?: DocDBElasticRequestOptions,
143
147
  ): Promise<DeleteClusterSnapshotCommandOutput>;
144
148
  deleteClusterSnapshot(
145
149
  args: DeleteClusterSnapshotCommandInput,
@@ -147,12 +151,12 @@ export interface DocDBElastic {
147
151
  ): void;
148
152
  deleteClusterSnapshot(
149
153
  args: DeleteClusterSnapshotCommandInput,
150
- options: __HttpHandlerOptions,
154
+ options: DocDBElasticRequestOptions,
151
155
  cb: (err: any, data?: DeleteClusterSnapshotCommandOutput) => void,
152
156
  ): void;
153
157
  getCluster(
154
158
  args: GetClusterCommandInput,
155
- options?: __HttpHandlerOptions,
159
+ options?: DocDBElasticRequestOptions,
156
160
  ): Promise<GetClusterCommandOutput>;
157
161
  getCluster(
158
162
  args: GetClusterCommandInput,
@@ -160,12 +164,12 @@ export interface DocDBElastic {
160
164
  ): void;
161
165
  getCluster(
162
166
  args: GetClusterCommandInput,
163
- options: __HttpHandlerOptions,
167
+ options: DocDBElasticRequestOptions,
164
168
  cb: (err: any, data?: GetClusterCommandOutput) => void,
165
169
  ): void;
166
170
  getClusterSnapshot(
167
171
  args: GetClusterSnapshotCommandInput,
168
- options?: __HttpHandlerOptions,
172
+ options?: DocDBElasticRequestOptions,
169
173
  ): Promise<GetClusterSnapshotCommandOutput>;
170
174
  getClusterSnapshot(
171
175
  args: GetClusterSnapshotCommandInput,
@@ -173,12 +177,12 @@ export interface DocDBElastic {
173
177
  ): void;
174
178
  getClusterSnapshot(
175
179
  args: GetClusterSnapshotCommandInput,
176
- options: __HttpHandlerOptions,
180
+ options: DocDBElasticRequestOptions,
177
181
  cb: (err: any, data?: GetClusterSnapshotCommandOutput) => void,
178
182
  ): void;
179
183
  getPendingMaintenanceAction(
180
184
  args: GetPendingMaintenanceActionCommandInput,
181
- options?: __HttpHandlerOptions,
185
+ options?: DocDBElasticRequestOptions,
182
186
  ): Promise<GetPendingMaintenanceActionCommandOutput>;
183
187
  getPendingMaintenanceAction(
184
188
  args: GetPendingMaintenanceActionCommandInput,
@@ -186,13 +190,13 @@ export interface DocDBElastic {
186
190
  ): void;
187
191
  getPendingMaintenanceAction(
188
192
  args: GetPendingMaintenanceActionCommandInput,
189
- options: __HttpHandlerOptions,
193
+ options: DocDBElasticRequestOptions,
190
194
  cb: (err: any, data?: GetPendingMaintenanceActionCommandOutput) => void,
191
195
  ): void;
192
196
  listClusters(): Promise<ListClustersCommandOutput>;
193
197
  listClusters(
194
198
  args: ListClustersCommandInput,
195
- options?: __HttpHandlerOptions,
199
+ options?: DocDBElasticRequestOptions,
196
200
  ): Promise<ListClustersCommandOutput>;
197
201
  listClusters(
198
202
  args: ListClustersCommandInput,
@@ -200,13 +204,13 @@ export interface DocDBElastic {
200
204
  ): void;
201
205
  listClusters(
202
206
  args: ListClustersCommandInput,
203
- options: __HttpHandlerOptions,
207
+ options: DocDBElasticRequestOptions,
204
208
  cb: (err: any, data?: ListClustersCommandOutput) => void,
205
209
  ): void;
206
210
  listClusterSnapshots(): Promise<ListClusterSnapshotsCommandOutput>;
207
211
  listClusterSnapshots(
208
212
  args: ListClusterSnapshotsCommandInput,
209
- options?: __HttpHandlerOptions,
213
+ options?: DocDBElasticRequestOptions,
210
214
  ): Promise<ListClusterSnapshotsCommandOutput>;
211
215
  listClusterSnapshots(
212
216
  args: ListClusterSnapshotsCommandInput,
@@ -214,13 +218,13 @@ export interface DocDBElastic {
214
218
  ): void;
215
219
  listClusterSnapshots(
216
220
  args: ListClusterSnapshotsCommandInput,
217
- options: __HttpHandlerOptions,
221
+ options: DocDBElasticRequestOptions,
218
222
  cb: (err: any, data?: ListClusterSnapshotsCommandOutput) => void,
219
223
  ): void;
220
224
  listPendingMaintenanceActions(): Promise<ListPendingMaintenanceActionsCommandOutput>;
221
225
  listPendingMaintenanceActions(
222
226
  args: ListPendingMaintenanceActionsCommandInput,
223
- options?: __HttpHandlerOptions,
227
+ options?: DocDBElasticRequestOptions,
224
228
  ): Promise<ListPendingMaintenanceActionsCommandOutput>;
225
229
  listPendingMaintenanceActions(
226
230
  args: ListPendingMaintenanceActionsCommandInput,
@@ -228,12 +232,12 @@ export interface DocDBElastic {
228
232
  ): void;
229
233
  listPendingMaintenanceActions(
230
234
  args: ListPendingMaintenanceActionsCommandInput,
231
- options: __HttpHandlerOptions,
235
+ options: DocDBElasticRequestOptions,
232
236
  cb: (err: any, data?: ListPendingMaintenanceActionsCommandOutput) => void,
233
237
  ): void;
234
238
  listTagsForResource(
235
239
  args: ListTagsForResourceCommandInput,
236
- options?: __HttpHandlerOptions,
240
+ options?: DocDBElasticRequestOptions,
237
241
  ): Promise<ListTagsForResourceCommandOutput>;
238
242
  listTagsForResource(
239
243
  args: ListTagsForResourceCommandInput,
@@ -241,12 +245,12 @@ export interface DocDBElastic {
241
245
  ): void;
242
246
  listTagsForResource(
243
247
  args: ListTagsForResourceCommandInput,
244
- options: __HttpHandlerOptions,
248
+ options: DocDBElasticRequestOptions,
245
249
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
246
250
  ): void;
247
251
  restoreClusterFromSnapshot(
248
252
  args: RestoreClusterFromSnapshotCommandInput,
249
- options?: __HttpHandlerOptions,
253
+ options?: DocDBElasticRequestOptions,
250
254
  ): Promise<RestoreClusterFromSnapshotCommandOutput>;
251
255
  restoreClusterFromSnapshot(
252
256
  args: RestoreClusterFromSnapshotCommandInput,
@@ -254,12 +258,12 @@ export interface DocDBElastic {
254
258
  ): void;
255
259
  restoreClusterFromSnapshot(
256
260
  args: RestoreClusterFromSnapshotCommandInput,
257
- options: __HttpHandlerOptions,
261
+ options: DocDBElasticRequestOptions,
258
262
  cb: (err: any, data?: RestoreClusterFromSnapshotCommandOutput) => void,
259
263
  ): void;
260
264
  startCluster(
261
265
  args: StartClusterCommandInput,
262
- options?: __HttpHandlerOptions,
266
+ options?: DocDBElasticRequestOptions,
263
267
  ): Promise<StartClusterCommandOutput>;
264
268
  startCluster(
265
269
  args: StartClusterCommandInput,
@@ -267,12 +271,12 @@ export interface DocDBElastic {
267
271
  ): void;
268
272
  startCluster(
269
273
  args: StartClusterCommandInput,
270
- options: __HttpHandlerOptions,
274
+ options: DocDBElasticRequestOptions,
271
275
  cb: (err: any, data?: StartClusterCommandOutput) => void,
272
276
  ): void;
273
277
  stopCluster(
274
278
  args: StopClusterCommandInput,
275
- options?: __HttpHandlerOptions,
279
+ options?: DocDBElasticRequestOptions,
276
280
  ): Promise<StopClusterCommandOutput>;
277
281
  stopCluster(
278
282
  args: StopClusterCommandInput,
@@ -280,12 +284,12 @@ export interface DocDBElastic {
280
284
  ): void;
281
285
  stopCluster(
282
286
  args: StopClusterCommandInput,
283
- options: __HttpHandlerOptions,
287
+ options: DocDBElasticRequestOptions,
284
288
  cb: (err: any, data?: StopClusterCommandOutput) => void,
285
289
  ): void;
286
290
  tagResource(
287
291
  args: TagResourceCommandInput,
288
- options?: __HttpHandlerOptions,
292
+ options?: DocDBElasticRequestOptions,
289
293
  ): Promise<TagResourceCommandOutput>;
290
294
  tagResource(
291
295
  args: TagResourceCommandInput,
@@ -293,12 +297,12 @@ export interface DocDBElastic {
293
297
  ): void;
294
298
  tagResource(
295
299
  args: TagResourceCommandInput,
296
- options: __HttpHandlerOptions,
300
+ options: DocDBElasticRequestOptions,
297
301
  cb: (err: any, data?: TagResourceCommandOutput) => void,
298
302
  ): void;
299
303
  untagResource(
300
304
  args: UntagResourceCommandInput,
301
- options?: __HttpHandlerOptions,
305
+ options?: DocDBElasticRequestOptions,
302
306
  ): Promise<UntagResourceCommandOutput>;
303
307
  untagResource(
304
308
  args: UntagResourceCommandInput,
@@ -306,12 +310,12 @@ export interface DocDBElastic {
306
310
  ): void;
307
311
  untagResource(
308
312
  args: UntagResourceCommandInput,
309
- options: __HttpHandlerOptions,
313
+ options: DocDBElasticRequestOptions,
310
314
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
311
315
  ): void;
312
316
  updateCluster(
313
317
  args: UpdateClusterCommandInput,
314
- options?: __HttpHandlerOptions,
318
+ options?: DocDBElasticRequestOptions,
315
319
  ): Promise<UpdateClusterCommandOutput>;
316
320
  updateCluster(
317
321
  args: UpdateClusterCommandInput,
@@ -319,7 +323,7 @@ export interface DocDBElastic {
319
323
  ): void;
320
324
  updateCluster(
321
325
  args: UpdateClusterCommandInput,
322
- options: __HttpHandlerOptions,
326
+ options: DocDBElasticRequestOptions,
323
327
  cb: (err: any, data?: UpdateClusterCommandOutput) => void,
324
328
  ): void;
325
329
  paginateListClusters(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-docdb-elastic",
3
- "version": "3.1136.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Docdb Elastic Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-docdb-elastic",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {