@aws-sdk/client-cloudcontrol 3.52.0 → 3.54.1

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.
@@ -1,9 +1,12 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { CloudControlServiceException as __BaseException } from "./CloudControlServiceException";
2
3
 
3
- export interface AlreadyExistsException extends __SmithyException, $MetadataBearer {
4
- name: "AlreadyExistsException";
5
- $fault: "client";
4
+ export declare class AlreadyExistsException extends __BaseException {
5
+ readonly name: "AlreadyExistsException";
6
+ readonly $fault: "client";
6
7
  Message?: string;
8
+
9
+ constructor(opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>);
7
10
  }
8
11
  export interface CancelResourceRequestInput {
9
12
 
@@ -79,28 +82,36 @@ export declare namespace CancelResourceRequestOutput {
79
82
  const filterSensitiveLog: (obj: CancelResourceRequestOutput) => any;
80
83
  }
81
84
 
82
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
83
- name: "ConcurrentModificationException";
84
- $fault: "server";
85
+ export declare class ConcurrentModificationException extends __BaseException {
86
+ readonly name: "ConcurrentModificationException";
87
+ readonly $fault: "server";
85
88
  Message?: string;
89
+
90
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
86
91
  }
87
92
 
88
- export interface RequestTokenNotFoundException extends __SmithyException, $MetadataBearer {
89
- name: "RequestTokenNotFoundException";
90
- $fault: "client";
93
+ export declare class RequestTokenNotFoundException extends __BaseException {
94
+ readonly name: "RequestTokenNotFoundException";
95
+ readonly $fault: "client";
91
96
  Message?: string;
97
+
98
+ constructor(opts: __ExceptionOptionType<RequestTokenNotFoundException, __BaseException>);
92
99
  }
93
100
 
94
- export interface ClientTokenConflictException extends __SmithyException, $MetadataBearer {
95
- name: "ClientTokenConflictException";
96
- $fault: "client";
101
+ export declare class ClientTokenConflictException extends __BaseException {
102
+ readonly name: "ClientTokenConflictException";
103
+ readonly $fault: "client";
97
104
  Message?: string;
105
+
106
+ constructor(opts: __ExceptionOptionType<ClientTokenConflictException, __BaseException>);
98
107
  }
99
108
 
100
- export interface ConcurrentOperationException extends __SmithyException, $MetadataBearer {
101
- name: "ConcurrentOperationException";
102
- $fault: "client";
109
+ export declare class ConcurrentOperationException extends __BaseException {
110
+ readonly name: "ConcurrentOperationException";
111
+ readonly $fault: "client";
103
112
  Message?: string;
113
+
114
+ constructor(opts: __ExceptionOptionType<ConcurrentOperationException, __BaseException>);
104
115
  }
105
116
  export interface CreateResourceInput {
106
117
 
@@ -127,100 +138,132 @@ export declare namespace CreateResourceOutput {
127
138
  const filterSensitiveLog: (obj: CreateResourceOutput) => any;
128
139
  }
129
140
 
130
- export interface GeneralServiceException extends __SmithyException, $MetadataBearer {
131
- name: "GeneralServiceException";
132
- $fault: "client";
141
+ export declare class GeneralServiceException extends __BaseException {
142
+ readonly name: "GeneralServiceException";
143
+ readonly $fault: "client";
133
144
  Message?: string;
145
+
146
+ constructor(opts: __ExceptionOptionType<GeneralServiceException, __BaseException>);
134
147
  }
135
148
 
136
- export interface HandlerFailureException extends __SmithyException, $MetadataBearer {
137
- name: "HandlerFailureException";
138
- $fault: "server";
149
+ export declare class HandlerFailureException extends __BaseException {
150
+ readonly name: "HandlerFailureException";
151
+ readonly $fault: "server";
139
152
  Message?: string;
153
+
154
+ constructor(opts: __ExceptionOptionType<HandlerFailureException, __BaseException>);
140
155
  }
141
156
 
142
- export interface HandlerInternalFailureException extends __SmithyException, $MetadataBearer {
143
- name: "HandlerInternalFailureException";
144
- $fault: "server";
157
+ export declare class HandlerInternalFailureException extends __BaseException {
158
+ readonly name: "HandlerInternalFailureException";
159
+ readonly $fault: "server";
145
160
  Message?: string;
161
+
162
+ constructor(opts: __ExceptionOptionType<HandlerInternalFailureException, __BaseException>);
146
163
  }
147
164
 
148
- export interface InvalidCredentialsException extends __SmithyException, $MetadataBearer {
149
- name: "InvalidCredentialsException";
150
- $fault: "client";
165
+ export declare class InvalidCredentialsException extends __BaseException {
166
+ readonly name: "InvalidCredentialsException";
167
+ readonly $fault: "client";
151
168
  Message?: string;
169
+
170
+ constructor(opts: __ExceptionOptionType<InvalidCredentialsException, __BaseException>);
152
171
  }
153
172
 
154
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
155
- name: "InvalidRequestException";
156
- $fault: "client";
173
+ export declare class InvalidRequestException extends __BaseException {
174
+ readonly name: "InvalidRequestException";
175
+ readonly $fault: "client";
157
176
  Message?: string;
177
+
178
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
158
179
  }
159
180
 
160
- export interface NetworkFailureException extends __SmithyException, $MetadataBearer {
161
- name: "NetworkFailureException";
162
- $fault: "server";
181
+ export declare class NetworkFailureException extends __BaseException {
182
+ readonly name: "NetworkFailureException";
183
+ readonly $fault: "server";
163
184
  Message?: string;
185
+
186
+ constructor(opts: __ExceptionOptionType<NetworkFailureException, __BaseException>);
164
187
  }
165
188
 
166
- export interface NotStabilizedException extends __SmithyException, $MetadataBearer {
167
- name: "NotStabilizedException";
168
- $fault: "client";
189
+ export declare class NotStabilizedException extends __BaseException {
190
+ readonly name: "NotStabilizedException";
191
+ readonly $fault: "client";
169
192
  Message?: string;
193
+
194
+ constructor(opts: __ExceptionOptionType<NotStabilizedException, __BaseException>);
170
195
  }
171
196
 
172
- export interface NotUpdatableException extends __SmithyException, $MetadataBearer {
173
- name: "NotUpdatableException";
174
- $fault: "client";
197
+ export declare class NotUpdatableException extends __BaseException {
198
+ readonly name: "NotUpdatableException";
199
+ readonly $fault: "client";
175
200
  Message?: string;
201
+
202
+ constructor(opts: __ExceptionOptionType<NotUpdatableException, __BaseException>);
176
203
  }
177
204
 
178
- export interface PrivateTypeException extends __SmithyException, $MetadataBearer {
179
- name: "PrivateTypeException";
180
- $fault: "client";
205
+ export declare class PrivateTypeException extends __BaseException {
206
+ readonly name: "PrivateTypeException";
207
+ readonly $fault: "client";
181
208
  Message?: string;
209
+
210
+ constructor(opts: __ExceptionOptionType<PrivateTypeException, __BaseException>);
182
211
  }
183
212
 
184
- export interface ResourceConflictException extends __SmithyException, $MetadataBearer {
185
- name: "ResourceConflictException";
186
- $fault: "client";
213
+ export declare class ResourceConflictException extends __BaseException {
214
+ readonly name: "ResourceConflictException";
215
+ readonly $fault: "client";
187
216
  Message?: string;
217
+
218
+ constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
188
219
  }
189
220
 
190
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
191
- name: "ResourceNotFoundException";
192
- $fault: "client";
221
+ export declare class ResourceNotFoundException extends __BaseException {
222
+ readonly name: "ResourceNotFoundException";
223
+ readonly $fault: "client";
193
224
  Message?: string;
225
+
226
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
194
227
  }
195
228
 
196
- export interface ServiceInternalErrorException extends __SmithyException, $MetadataBearer {
197
- name: "ServiceInternalErrorException";
198
- $fault: "server";
229
+ export declare class ServiceInternalErrorException extends __BaseException {
230
+ readonly name: "ServiceInternalErrorException";
231
+ readonly $fault: "server";
199
232
  Message?: string;
233
+
234
+ constructor(opts: __ExceptionOptionType<ServiceInternalErrorException, __BaseException>);
200
235
  }
201
236
 
202
- export interface ServiceLimitExceededException extends __SmithyException, $MetadataBearer {
203
- name: "ServiceLimitExceededException";
204
- $fault: "client";
237
+ export declare class ServiceLimitExceededException extends __BaseException {
238
+ readonly name: "ServiceLimitExceededException";
239
+ readonly $fault: "client";
205
240
  Message?: string;
241
+
242
+ constructor(opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>);
206
243
  }
207
244
 
208
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
209
- name: "ThrottlingException";
210
- $fault: "client";
245
+ export declare class ThrottlingException extends __BaseException {
246
+ readonly name: "ThrottlingException";
247
+ readonly $fault: "client";
211
248
  Message?: string;
249
+
250
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
212
251
  }
213
252
 
214
- export interface TypeNotFoundException extends __SmithyException, $MetadataBearer {
215
- name: "TypeNotFoundException";
216
- $fault: "client";
253
+ export declare class TypeNotFoundException extends __BaseException {
254
+ readonly name: "TypeNotFoundException";
255
+ readonly $fault: "client";
217
256
  Message?: string;
257
+
258
+ constructor(opts: __ExceptionOptionType<TypeNotFoundException, __BaseException>);
218
259
  }
219
260
 
220
- export interface UnsupportedActionException extends __SmithyException, $MetadataBearer {
221
- name: "UnsupportedActionException";
222
- $fault: "client";
261
+ export declare class UnsupportedActionException extends __BaseException {
262
+ readonly name: "UnsupportedActionException";
263
+ readonly $fault: "client";
223
264
  Message?: string;
265
+
266
+ constructor(opts: __ExceptionOptionType<UnsupportedActionException, __BaseException>);
224
267
  }
225
268
  export interface DeleteResourceInput {
226
269
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CloudControlClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CloudControlClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CloudControlClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudcontrol",
3
3
  "description": "AWS SDK for JavaScript Cloudcontrol Client for Node.js, Browser and React Native",
4
- "version": "3.52.0",
4
+ "version": "3.54.1",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,37 +18,37 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.54.1",
22
+ "@aws-sdk/config-resolver": "3.54.1",
23
+ "@aws-sdk/credential-provider-node": "3.54.1",
24
+ "@aws-sdk/fetch-http-handler": "3.54.1",
25
+ "@aws-sdk/hash-node": "3.54.1",
26
+ "@aws-sdk/invalid-dependency": "3.54.1",
27
+ "@aws-sdk/middleware-content-length": "3.54.1",
28
+ "@aws-sdk/middleware-host-header": "3.54.1",
29
+ "@aws-sdk/middleware-logger": "3.54.1",
30
+ "@aws-sdk/middleware-retry": "3.54.1",
31
+ "@aws-sdk/middleware-serde": "3.54.1",
32
+ "@aws-sdk/middleware-signing": "3.54.1",
33
+ "@aws-sdk/middleware-stack": "3.54.1",
34
+ "@aws-sdk/middleware-user-agent": "3.54.1",
35
+ "@aws-sdk/node-config-provider": "3.54.1",
36
+ "@aws-sdk/node-http-handler": "3.54.1",
37
+ "@aws-sdk/protocol-http": "3.54.1",
38
+ "@aws-sdk/smithy-client": "3.54.1",
39
+ "@aws-sdk/types": "3.54.1",
40
+ "@aws-sdk/url-parser": "3.54.1",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.52.0",
44
- "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.54.0",
44
+ "@aws-sdk/util-body-length-node": "3.54.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.54.1",
46
+ "@aws-sdk/util-defaults-mode-node": "3.54.1",
47
+ "@aws-sdk/util-user-agent-browser": "3.54.1",
48
+ "@aws-sdk/util-user-agent-node": "3.54.1",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
- "@aws-sdk/util-waiter": "3.52.0",
51
+ "@aws-sdk/util-waiter": "3.54.1",
52
52
  "tslib": "^2.3.0",
53
53
  "uuid": "^8.3.2"
54
54
  },