@aws-sdk/client-migration-hub-refactor-spaces 3.52.0 → 3.53.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.
@@ -3,3 +3,4 @@ export * from "./MigrationHubRefactorSpacesClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { MigrationHubRefactorSpacesServiceException } from "./models/MigrationHubRefactorSpacesServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from MigrationHubRefactorSpaces service.
4
+ */
5
+ export declare class MigrationHubRefactorSpacesServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,11 +1,16 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { MigrationHubRefactorSpacesServiceException as __BaseException } from "./MigrationHubRefactorSpacesServiceException";
2
3
  /**
3
4
  * <p>The user does not have sufficient access to perform this action. </p>
4
5
  */
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
6
+ export declare class AccessDeniedException extends __BaseException {
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
8
9
  Message: string | undefined;
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
14
  }
10
15
  export declare enum ApiGatewayEndpointType {
11
16
  PRIVATE = "PRIVATE",
@@ -267,9 +272,9 @@ export declare namespace ApplicationSummary {
267
272
  /**
268
273
  * <p>Updating or deleting a resource can cause an inconsistent state.</p>
269
274
  */
270
- export interface ConflictException extends __SmithyException, $MetadataBearer {
271
- name: "ConflictException";
272
- $fault: "client";
275
+ export declare class ConflictException extends __BaseException {
276
+ readonly name: "ConflictException";
277
+ readonly $fault: "client";
273
278
  Message: string | undefined;
274
279
  /**
275
280
  * <p>The ID of the resource. </p>
@@ -279,6 +284,10 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
279
284
  * <p>The type of resource. </p>
280
285
  */
281
286
  ResourceType: string | undefined;
287
+ /**
288
+ * @internal
289
+ */
290
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
282
291
  }
283
292
  export interface CreateApplicationRequest {
284
293
  /**
@@ -391,17 +400,21 @@ export declare namespace CreateApplicationResponse {
391
400
  /**
392
401
  * <p>An unexpected error occurred while processing the request.</p>
393
402
  */
394
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
395
- name: "InternalServerException";
396
- $fault: "server";
403
+ export declare class InternalServerException extends __BaseException {
404
+ readonly name: "InternalServerException";
405
+ readonly $fault: "server";
397
406
  Message: string | undefined;
407
+ /**
408
+ * @internal
409
+ */
410
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
398
411
  }
399
412
  /**
400
413
  * <p>The request references a resource that does not exist. </p>
401
414
  */
402
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
403
- name: "ResourceNotFoundException";
404
- $fault: "client";
415
+ export declare class ResourceNotFoundException extends __BaseException {
416
+ readonly name: "ResourceNotFoundException";
417
+ readonly $fault: "client";
405
418
  Message: string | undefined;
406
419
  /**
407
420
  * <p>The ID of the resource. </p>
@@ -411,13 +424,17 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
411
424
  * <p>The type of resource. </p>
412
425
  */
413
426
  ResourceType: string | undefined;
427
+ /**
428
+ * @internal
429
+ */
430
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
414
431
  }
415
432
  /**
416
433
  * <p>The request would cause a service quota to be exceeded. </p>
417
434
  */
418
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
419
- name: "ServiceQuotaExceededException";
420
- $fault: "client";
435
+ export declare class ServiceQuotaExceededException extends __BaseException {
436
+ readonly name: "ServiceQuotaExceededException";
437
+ readonly $fault: "client";
421
438
  Message: string | undefined;
422
439
  /**
423
440
  * <p>The ID of the resource. </p>
@@ -437,13 +454,17 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
437
454
  * exception service code. </p>
438
455
  */
439
456
  ServiceCode: string | undefined;
457
+ /**
458
+ * @internal
459
+ */
460
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
440
461
  }
441
462
  /**
442
463
  * <p>Request was denied because the request was throttled. </p>
443
464
  */
444
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
445
- name: "ThrottlingException";
446
- $fault: "client";
465
+ export declare class ThrottlingException extends __BaseException {
466
+ readonly name: "ThrottlingException";
467
+ readonly $fault: "client";
447
468
  Message: string | undefined;
448
469
  /**
449
470
  * <p>Service quota requirement to identify originating quota. Reached throttling quota
@@ -459,14 +480,22 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
459
480
  * <p>The number of seconds to wait before retrying. </p>
460
481
  */
461
482
  RetryAfterSeconds?: number;
483
+ /**
484
+ * @internal
485
+ */
486
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
462
487
  }
463
488
  /**
464
489
  * <p>The input does not satisfy the constraints specified by an Amazon Web Service. </p>
465
490
  */
466
- export interface ValidationException extends __SmithyException, $MetadataBearer {
467
- name: "ValidationException";
468
- $fault: "client";
491
+ export declare class ValidationException extends __BaseException {
492
+ readonly name: "ValidationException";
493
+ readonly $fault: "client";
469
494
  Message: string | undefined;
495
+ /**
496
+ * @internal
497
+ */
498
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
470
499
  }
471
500
  export declare enum NetworkFabricType {
472
501
  TRANSIT_GATEWAY = "TRANSIT_GATEWAY"
@@ -1641,10 +1670,14 @@ export declare namespace GetServiceResponse {
1641
1670
  /**
1642
1671
  * <p>The resource policy is not valid.</p>
1643
1672
  */
1644
- export interface InvalidResourcePolicyException extends __SmithyException, $MetadataBearer {
1645
- name: "InvalidResourcePolicyException";
1646
- $fault: "client";
1673
+ export declare class InvalidResourcePolicyException extends __BaseException {
1674
+ readonly name: "InvalidResourcePolicyException";
1675
+ readonly $fault: "client";
1647
1676
  Message: string | undefined;
1677
+ /**
1678
+ * @internal
1679
+ */
1680
+ constructor(opts: __ExceptionOptionType<InvalidResourcePolicyException, __BaseException>);
1648
1681
  }
1649
1682
  /**
1650
1683
  * <p>The summary for the Lambda endpoint type. </p>
@@ -3,3 +3,4 @@ export * from "./MigrationHubRefactorSpacesClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { MigrationHubRefactorSpacesServiceException } from "./models/MigrationHubRefactorSpacesServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class MigrationHubRefactorSpacesServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -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 { MigrationHubRefactorSpacesServiceException as __BaseException } from "./MigrationHubRefactorSpacesServiceException";
2
3
 
3
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
4
- name: "AccessDeniedException";
5
- $fault: "client";
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
6
7
  Message: string | undefined;
8
+
9
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
7
10
  }
8
11
  export declare enum ApiGatewayEndpointType {
9
12
  PRIVATE = "PRIVATE",
@@ -166,14 +169,16 @@ export declare namespace ApplicationSummary {
166
169
  const filterSensitiveLog: (obj: ApplicationSummary) => any;
167
170
  }
168
171
 
169
- export interface ConflictException extends __SmithyException, $MetadataBearer {
170
- name: "ConflictException";
171
- $fault: "client";
172
+ export declare class ConflictException extends __BaseException {
173
+ readonly name: "ConflictException";
174
+ readonly $fault: "client";
172
175
  Message: string | undefined;
173
176
 
174
177
  ResourceId: string | undefined;
175
178
 
176
179
  ResourceType: string | undefined;
180
+
181
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
177
182
  }
178
183
  export interface CreateApplicationRequest {
179
184
 
@@ -232,25 +237,29 @@ export declare namespace CreateApplicationResponse {
232
237
  const filterSensitiveLog: (obj: CreateApplicationResponse) => any;
233
238
  }
234
239
 
235
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
236
- name: "InternalServerException";
237
- $fault: "server";
240
+ export declare class InternalServerException extends __BaseException {
241
+ readonly name: "InternalServerException";
242
+ readonly $fault: "server";
238
243
  Message: string | undefined;
244
+
245
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
239
246
  }
240
247
 
241
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
242
- name: "ResourceNotFoundException";
243
- $fault: "client";
248
+ export declare class ResourceNotFoundException extends __BaseException {
249
+ readonly name: "ResourceNotFoundException";
250
+ readonly $fault: "client";
244
251
  Message: string | undefined;
245
252
 
246
253
  ResourceId: string | undefined;
247
254
 
248
255
  ResourceType: string | undefined;
256
+
257
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
249
258
  }
250
259
 
251
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
252
- name: "ServiceQuotaExceededException";
253
- $fault: "client";
260
+ export declare class ServiceQuotaExceededException extends __BaseException {
261
+ readonly name: "ServiceQuotaExceededException";
262
+ readonly $fault: "client";
254
263
  Message: string | undefined;
255
264
 
256
265
  ResourceId: string | undefined;
@@ -260,11 +269,13 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
260
269
  QuotaCode?: string;
261
270
 
262
271
  ServiceCode: string | undefined;
272
+
273
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
263
274
  }
264
275
 
265
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
266
- name: "ThrottlingException";
267
- $fault: "client";
276
+ export declare class ThrottlingException extends __BaseException {
277
+ readonly name: "ThrottlingException";
278
+ readonly $fault: "client";
268
279
  Message: string | undefined;
269
280
 
270
281
  QuotaCode?: string;
@@ -272,12 +283,16 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
272
283
  ServiceCode?: string;
273
284
 
274
285
  RetryAfterSeconds?: number;
286
+
287
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
275
288
  }
276
289
 
277
- export interface ValidationException extends __SmithyException, $MetadataBearer {
278
- name: "ValidationException";
279
- $fault: "client";
290
+ export declare class ValidationException extends __BaseException {
291
+ readonly name: "ValidationException";
292
+ readonly $fault: "client";
280
293
  Message: string | undefined;
294
+
295
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
281
296
  }
282
297
  export declare enum NetworkFabricType {
283
298
  TRANSIT_GATEWAY = "TRANSIT_GATEWAY"
@@ -940,10 +955,12 @@ export declare namespace GetServiceResponse {
940
955
  const filterSensitiveLog: (obj: GetServiceResponse) => any;
941
956
  }
942
957
 
943
- export interface InvalidResourcePolicyException extends __SmithyException, $MetadataBearer {
944
- name: "InvalidResourcePolicyException";
945
- $fault: "client";
958
+ export declare class InvalidResourcePolicyException extends __BaseException {
959
+ readonly name: "InvalidResourcePolicyException";
960
+ readonly $fault: "client";
946
961
  Message: string | undefined;
962
+
963
+ constructor(opts: __ExceptionOptionType<InvalidResourcePolicyException, __BaseException>);
947
964
  }
948
965
 
949
966
  export interface LambdaEndpointSummary {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migration-hub-refactor-spaces",
3
3
  "description": "AWS SDK for JavaScript Migration Hub Refactor Spaces Client for Node.js, Browser and React Native",
4
- "version": "3.52.0",
4
+ "version": "3.53.0",
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,34 +18,34 @@
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.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
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",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0",