@aws-sdk/client-migrationhubstrategy 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 "./MigrationHubStrategyClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { MigrationHubStrategyServiceException } from "./models/MigrationHubStrategyServiceException";
@@ -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 MigrationHubStrategy service.
4
+ */
5
+ export declare class MigrationHubStrategyServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,12 +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 { MigrationHubStrategyServiceException as __BaseException } from "./MigrationHubStrategyServiceException";
2
3
  /**
3
4
  * <p> The AWS user account does not have permission to perform the action. Check the
4
5
  * AWS Identity and Access Management (IAM) policy associated with this account.</p>
5
6
  */
6
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
7
- name: "AccessDeniedException";
8
- $fault: "client";
9
- message: string | undefined;
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
10
14
  }
11
15
  export declare enum AntipatternReportStatus {
12
16
  FAILED = "FAILED",
@@ -729,26 +733,35 @@ export declare namespace GetApplicationComponentDetailsResponse {
729
733
  /**
730
734
  * <p> The server experienced an internal error. Try again. </p>
731
735
  */
732
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
733
- name: "InternalServerException";
734
- $fault: "server";
735
- message?: string;
736
+ export declare class InternalServerException extends __BaseException {
737
+ readonly name: "InternalServerException";
738
+ readonly $fault: "server";
739
+ /**
740
+ * @internal
741
+ */
742
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
736
743
  }
737
744
  /**
738
745
  * <p> The specified ID in the request is not found. </p>
739
746
  */
740
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
741
- name: "ResourceNotFoundException";
742
- $fault: "client";
743
- message?: string;
747
+ export declare class ResourceNotFoundException extends __BaseException {
748
+ readonly name: "ResourceNotFoundException";
749
+ readonly $fault: "client";
750
+ /**
751
+ * @internal
752
+ */
753
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
744
754
  }
745
755
  /**
746
756
  * <p> The request was denied due to request throttling. </p>
747
757
  */
748
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
749
- name: "ThrottlingException";
750
- $fault: "client";
751
- message?: string;
758
+ export declare class ThrottlingException extends __BaseException {
759
+ readonly name: "ThrottlingException";
760
+ readonly $fault: "client";
761
+ /**
762
+ * @internal
763
+ */
764
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
752
765
  }
753
766
  export interface GetApplicationComponentStrategiesRequest {
754
767
  /**
@@ -920,10 +933,13 @@ export declare namespace GetImportFileTaskResponse {
920
933
  /**
921
934
  * <p> The request body isn't valid. </p>
922
935
  */
923
- export interface ValidationException extends __SmithyException, $MetadataBearer {
924
- name: "ValidationException";
925
- $fault: "client";
926
- message?: string;
936
+ export declare class ValidationException extends __BaseException {
937
+ readonly name: "ValidationException";
938
+ readonly $fault: "client";
939
+ /**
940
+ * @internal
941
+ */
942
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
927
943
  }
928
944
  export interface GetPortfolioPreferencesRequest {
929
945
  }
@@ -1644,10 +1660,13 @@ export declare namespace ListApplicationComponentsResponse {
1644
1660
  * Exception to indicate that the service-linked role (SLR) is locked.
1645
1661
  * </p>
1646
1662
  */
1647
- export interface ServiceLinkedRoleLockClientException extends __SmithyException, $MetadataBearer {
1648
- name: "ServiceLinkedRoleLockClientException";
1649
- $fault: "client";
1650
- message?: string;
1663
+ export declare class ServiceLinkedRoleLockClientException extends __BaseException {
1664
+ readonly name: "ServiceLinkedRoleLockClientException";
1665
+ readonly $fault: "client";
1666
+ /**
1667
+ * @internal
1668
+ */
1669
+ constructor(opts: __ExceptionOptionType<ServiceLinkedRoleLockClientException, __BaseException>);
1651
1670
  }
1652
1671
  export interface ListCollectorsRequest {
1653
1672
  /**
@@ -1899,10 +1918,13 @@ export declare namespace ListServersResponse {
1899
1918
  * Return when once the existing tasks are complete.
1900
1919
  * </p>
1901
1920
  */
1902
- export interface ConflictException extends __SmithyException, $MetadataBearer {
1903
- name: "ConflictException";
1904
- $fault: "client";
1905
- message: string | undefined;
1921
+ export declare class ConflictException extends __BaseException {
1922
+ readonly name: "ConflictException";
1923
+ readonly $fault: "client";
1924
+ /**
1925
+ * @internal
1926
+ */
1927
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
1906
1928
  }
1907
1929
  export interface PutPortfolioPreferencesRequest {
1908
1930
  /**
@@ -1936,10 +1958,13 @@ export declare namespace PutPortfolioPreferencesResponse {
1936
1958
  * <p> The AWS account has reached its quota of imports. Contact AWS Support to increase the
1937
1959
  * quota for this account. </p>
1938
1960
  */
1939
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
1940
- name: "ServiceQuotaExceededException";
1941
- $fault: "client";
1942
- message: string | undefined;
1961
+ export declare class ServiceQuotaExceededException extends __BaseException {
1962
+ readonly name: "ServiceQuotaExceededException";
1963
+ readonly $fault: "client";
1964
+ /**
1965
+ * @internal
1966
+ */
1967
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
1943
1968
  }
1944
1969
  export interface StartAssessmentRequest {
1945
1970
  /**
@@ -3,3 +3,4 @@ export * from "./MigrationHubStrategyClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { MigrationHubStrategyServiceException } from "./models/MigrationHubStrategyServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class MigrationHubStrategyServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,9 +1,11 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { MigrationHubStrategyServiceException as __BaseException } from "./MigrationHubStrategyServiceException";
2
3
 
3
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
4
- name: "AccessDeniedException";
5
- $fault: "client";
6
- message: string | undefined;
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
7
+
8
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
7
9
  }
8
10
  export declare enum AntipatternReportStatus {
9
11
  FAILED = "FAILED",
@@ -418,22 +420,25 @@ export declare namespace GetApplicationComponentDetailsResponse {
418
420
  const filterSensitiveLog: (obj: GetApplicationComponentDetailsResponse) => any;
419
421
  }
420
422
 
421
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
422
- name: "InternalServerException";
423
- $fault: "server";
424
- message?: string;
423
+ export declare class InternalServerException extends __BaseException {
424
+ readonly name: "InternalServerException";
425
+ readonly $fault: "server";
426
+
427
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
425
428
  }
426
429
 
427
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
428
- name: "ResourceNotFoundException";
429
- $fault: "client";
430
- message?: string;
430
+ export declare class ResourceNotFoundException extends __BaseException {
431
+ readonly name: "ResourceNotFoundException";
432
+ readonly $fault: "client";
433
+
434
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
431
435
  }
432
436
 
433
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
434
- name: "ThrottlingException";
435
- $fault: "client";
436
- message?: string;
437
+ export declare class ThrottlingException extends __BaseException {
438
+ readonly name: "ThrottlingException";
439
+ readonly $fault: "client";
440
+
441
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
437
442
  }
438
443
  export interface GetApplicationComponentStrategiesRequest {
439
444
 
@@ -537,10 +542,11 @@ export declare namespace GetImportFileTaskResponse {
537
542
  const filterSensitiveLog: (obj: GetImportFileTaskResponse) => any;
538
543
  }
539
544
 
540
- export interface ValidationException extends __SmithyException, $MetadataBearer {
541
- name: "ValidationException";
542
- $fault: "client";
543
- message?: string;
545
+ export declare class ValidationException extends __BaseException {
546
+ readonly name: "ValidationException";
547
+ readonly $fault: "client";
548
+
549
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
544
550
  }
545
551
  export interface GetPortfolioPreferencesRequest {
546
552
  }
@@ -942,10 +948,11 @@ export declare namespace ListApplicationComponentsResponse {
942
948
  const filterSensitiveLog: (obj: ListApplicationComponentsResponse) => any;
943
949
  }
944
950
 
945
- export interface ServiceLinkedRoleLockClientException extends __SmithyException, $MetadataBearer {
946
- name: "ServiceLinkedRoleLockClientException";
947
- $fault: "client";
948
- message?: string;
951
+ export declare class ServiceLinkedRoleLockClientException extends __BaseException {
952
+ readonly name: "ServiceLinkedRoleLockClientException";
953
+ readonly $fault: "client";
954
+
955
+ constructor(opts: __ExceptionOptionType<ServiceLinkedRoleLockClientException, __BaseException>);
949
956
  }
950
957
  export interface ListCollectorsRequest {
951
958
 
@@ -1077,10 +1084,11 @@ export declare namespace ListServersResponse {
1077
1084
  const filterSensitiveLog: (obj: ListServersResponse) => any;
1078
1085
  }
1079
1086
 
1080
- export interface ConflictException extends __SmithyException, $MetadataBearer {
1081
- name: "ConflictException";
1082
- $fault: "client";
1083
- message: string | undefined;
1087
+ export declare class ConflictException extends __BaseException {
1088
+ readonly name: "ConflictException";
1089
+ readonly $fault: "client";
1090
+
1091
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
1084
1092
  }
1085
1093
  export interface PutPortfolioPreferencesRequest {
1086
1094
 
@@ -1101,10 +1109,11 @@ export declare namespace PutPortfolioPreferencesResponse {
1101
1109
  const filterSensitiveLog: (obj: PutPortfolioPreferencesResponse) => any;
1102
1110
  }
1103
1111
 
1104
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
1105
- name: "ServiceQuotaExceededException";
1106
- $fault: "client";
1107
- message: string | undefined;
1112
+ export declare class ServiceQuotaExceededException extends __BaseException {
1113
+ readonly name: "ServiceQuotaExceededException";
1114
+ readonly $fault: "client";
1115
+
1116
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
1108
1117
  }
1109
1118
  export interface StartAssessmentRequest {
1110
1119
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migrationhubstrategy",
3
3
  "description": "AWS SDK for JavaScript Migrationhubstrategy 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"