@aws-sdk/client-migration-hub-refactor-spaces 3.933.0 → 3.935.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
@@ -131,55 +131,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends MigrationHubRe
131
131
  this.Message = opts.Message;
132
132
  }
133
133
  };
134
- const ApiGatewayEndpointType = {
135
- PRIVATE: "PRIVATE",
136
- REGIONAL: "REGIONAL",
137
- };
138
- const ApplicationState = {
139
- ACTIVE: "ACTIVE",
140
- CREATING: "CREATING",
141
- DELETING: "DELETING",
142
- FAILED: "FAILED",
143
- UPDATING: "UPDATING",
144
- };
145
- const ErrorCode = {
146
- INVALID_RESOURCE_STATE: "INVALID_RESOURCE_STATE",
147
- NOT_AUTHORIZED: "NOT_AUTHORIZED",
148
- REQUEST_LIMIT_EXCEEDED: "REQUEST_LIMIT_EXCEEDED",
149
- RESOURCE_CREATION_FAILURE: "RESOURCE_CREATION_FAILURE",
150
- RESOURCE_DELETION_FAILURE: "RESOURCE_DELETION_FAILURE",
151
- RESOURCE_IN_USE: "RESOURCE_IN_USE",
152
- RESOURCE_LIMIT_EXCEEDED: "RESOURCE_LIMIT_EXCEEDED",
153
- RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
154
- RESOURCE_RETRIEVAL_FAILURE: "RESOURCE_RETRIEVAL_FAILURE",
155
- RESOURCE_UPDATE_FAILURE: "RESOURCE_UPDATE_FAILURE",
156
- SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE: "SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE",
157
- STATE_TRANSITION_FAILURE: "STATE_TRANSITION_FAILURE",
158
- };
159
- const ErrorResourceType = {
160
- API_GATEWAY: "API_GATEWAY",
161
- APPLICATION: "APPLICATION",
162
- ENVIRONMENT: "ENVIRONMENT",
163
- IAM_ROLE: "IAM_ROLE",
164
- LAMBDA: "LAMBDA",
165
- LOAD_BALANCER_LISTENER: "LOAD_BALANCER_LISTENER",
166
- NLB: "NLB",
167
- RESOURCE_SHARE: "RESOURCE_SHARE",
168
- ROUTE: "ROUTE",
169
- ROUTE_TABLE: "ROUTE_TABLE",
170
- SECURITY_GROUP: "SECURITY_GROUP",
171
- SERVICE: "SERVICE",
172
- SUBNET: "SUBNET",
173
- TARGET_GROUP: "TARGET_GROUP",
174
- TRANSIT_GATEWAY: "TRANSIT_GATEWAY",
175
- TRANSIT_GATEWAY_ATTACHMENT: "TRANSIT_GATEWAY_ATTACHMENT",
176
- VPC: "VPC",
177
- VPC_ENDPOINT_SERVICE_CONFIGURATION: "VPC_ENDPOINT_SERVICE_CONFIGURATION",
178
- VPC_LINK: "VPC_LINK",
179
- };
180
- const ProxyType = {
181
- API_GATEWAY: "API_GATEWAY",
182
- };
183
134
  let ConflictException$1 = class ConflictException extends MigrationHubRefactorSpacesServiceException$1 {
184
135
  name = "ConflictException";
185
136
  $fault = "client";
@@ -286,51 +237,6 @@ let ValidationException$1 = class ValidationException extends MigrationHubRefact
286
237
  this.Message = opts.Message;
287
238
  }
288
239
  };
289
- const NetworkFabricType = {
290
- NONE: "NONE",
291
- TRANSIT_GATEWAY: "TRANSIT_GATEWAY",
292
- };
293
- const EnvironmentState = {
294
- ACTIVE: "ACTIVE",
295
- CREATING: "CREATING",
296
- DELETING: "DELETING",
297
- FAILED: "FAILED",
298
- };
299
- const RouteActivationState = {
300
- ACTIVE: "ACTIVE",
301
- INACTIVE: "INACTIVE",
302
- };
303
- const RouteType = {
304
- DEFAULT: "DEFAULT",
305
- URI_PATH: "URI_PATH",
306
- };
307
- const HttpMethod = {
308
- DELETE: "DELETE",
309
- GET: "GET",
310
- HEAD: "HEAD",
311
- OPTIONS: "OPTIONS",
312
- PATCH: "PATCH",
313
- POST: "POST",
314
- PUT: "PUT",
315
- };
316
- const RouteState = {
317
- ACTIVE: "ACTIVE",
318
- CREATING: "CREATING",
319
- DELETING: "DELETING",
320
- FAILED: "FAILED",
321
- INACTIVE: "INACTIVE",
322
- UPDATING: "UPDATING",
323
- };
324
- const ServiceEndpointType = {
325
- LAMBDA: "LAMBDA",
326
- URL: "URL",
327
- };
328
- const ServiceState = {
329
- ACTIVE: "ACTIVE",
330
- CREATING: "CREATING",
331
- DELETING: "DELETING",
332
- FAILED: "FAILED",
333
- };
334
240
  let InvalidResourcePolicyException$1 = class InvalidResourcePolicyException extends MigrationHubRefactorSpacesServiceException$1 {
335
241
  name = "InvalidResourcePolicyException";
336
242
  $fault = "client";
@@ -1762,8 +1668,6 @@ Object.defineProperty(exports, "__Client", {
1762
1668
  get: function () { return smithyClient.Client; }
1763
1669
  });
1764
1670
  exports.AccessDeniedException = AccessDeniedException$1;
1765
- exports.ApiGatewayEndpointType = ApiGatewayEndpointType;
1766
- exports.ApplicationState = ApplicationState;
1767
1671
  exports.ConflictException = ConflictException$1;
1768
1672
  exports.CreateApplicationCommand = CreateApplicationCommand;
1769
1673
  exports.CreateEnvironmentCommand = CreateEnvironmentCommand;
@@ -1774,15 +1678,11 @@ exports.DeleteEnvironmentCommand = DeleteEnvironmentCommand;
1774
1678
  exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
1775
1679
  exports.DeleteRouteCommand = DeleteRouteCommand;
1776
1680
  exports.DeleteServiceCommand = DeleteServiceCommand;
1777
- exports.EnvironmentState = EnvironmentState;
1778
- exports.ErrorCode = ErrorCode;
1779
- exports.ErrorResourceType = ErrorResourceType;
1780
1681
  exports.GetApplicationCommand = GetApplicationCommand;
1781
1682
  exports.GetEnvironmentCommand = GetEnvironmentCommand;
1782
1683
  exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
1783
1684
  exports.GetRouteCommand = GetRouteCommand;
1784
1685
  exports.GetServiceCommand = GetServiceCommand;
1785
- exports.HttpMethod = HttpMethod;
1786
1686
  exports.InternalServerException = InternalServerException$1;
1787
1687
  exports.InvalidResourcePolicyException = InvalidResourcePolicyException$1;
1788
1688
  exports.ListApplicationsCommand = ListApplicationsCommand;
@@ -1794,16 +1694,9 @@ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1794
1694
  exports.MigrationHubRefactorSpaces = MigrationHubRefactorSpaces;
1795
1695
  exports.MigrationHubRefactorSpacesClient = MigrationHubRefactorSpacesClient;
1796
1696
  exports.MigrationHubRefactorSpacesServiceException = MigrationHubRefactorSpacesServiceException$1;
1797
- exports.NetworkFabricType = NetworkFabricType;
1798
- exports.ProxyType = ProxyType;
1799
1697
  exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
1800
1698
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
1801
- exports.RouteActivationState = RouteActivationState;
1802
- exports.RouteState = RouteState;
1803
- exports.RouteType = RouteType;
1804
- exports.ServiceEndpointType = ServiceEndpointType;
1805
1699
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1806
- exports.ServiceState = ServiceState;
1807
1700
  exports.TagResourceCommand = TagResourceCommand;
1808
1701
  exports.ThrottlingException = ThrottlingException$1;
1809
1702
  exports.UntagResourceCommand = UntagResourceCommand;
package/dist-es/index.js CHANGED
@@ -2,5 +2,5 @@ export * from "./MigrationHubRefactorSpacesClient";
2
2
  export * from "./MigrationHubRefactorSpaces";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/errors";
6
6
  export { MigrationHubRefactorSpacesServiceException } from "./models/MigrationHubRefactorSpacesServiceException";
@@ -0,0 +1,135 @@
1
+ import { MigrationHubRefactorSpacesServiceException as __BaseException } from "./MigrationHubRefactorSpacesServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ Message;
6
+ constructor(opts) {
7
+ super({
8
+ name: "AccessDeniedException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class ConflictException extends __BaseException {
17
+ name = "ConflictException";
18
+ $fault = "client";
19
+ Message;
20
+ ResourceId;
21
+ ResourceType;
22
+ constructor(opts) {
23
+ super({
24
+ name: "ConflictException",
25
+ $fault: "client",
26
+ ...opts,
27
+ });
28
+ Object.setPrototypeOf(this, ConflictException.prototype);
29
+ this.Message = opts.Message;
30
+ this.ResourceId = opts.ResourceId;
31
+ this.ResourceType = opts.ResourceType;
32
+ }
33
+ }
34
+ export class InternalServerException extends __BaseException {
35
+ name = "InternalServerException";
36
+ $fault = "server";
37
+ Message;
38
+ constructor(opts) {
39
+ super({
40
+ name: "InternalServerException",
41
+ $fault: "server",
42
+ ...opts,
43
+ });
44
+ Object.setPrototypeOf(this, InternalServerException.prototype);
45
+ this.Message = opts.Message;
46
+ }
47
+ }
48
+ export class ResourceNotFoundException extends __BaseException {
49
+ name = "ResourceNotFoundException";
50
+ $fault = "client";
51
+ Message;
52
+ ResourceId;
53
+ ResourceType;
54
+ constructor(opts) {
55
+ super({
56
+ name: "ResourceNotFoundException",
57
+ $fault: "client",
58
+ ...opts,
59
+ });
60
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
61
+ this.Message = opts.Message;
62
+ this.ResourceId = opts.ResourceId;
63
+ this.ResourceType = opts.ResourceType;
64
+ }
65
+ }
66
+ export class ServiceQuotaExceededException extends __BaseException {
67
+ name = "ServiceQuotaExceededException";
68
+ $fault = "client";
69
+ Message;
70
+ ResourceId;
71
+ ResourceType;
72
+ QuotaCode;
73
+ ServiceCode;
74
+ constructor(opts) {
75
+ super({
76
+ name: "ServiceQuotaExceededException",
77
+ $fault: "client",
78
+ ...opts,
79
+ });
80
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
81
+ this.Message = opts.Message;
82
+ this.ResourceId = opts.ResourceId;
83
+ this.ResourceType = opts.ResourceType;
84
+ this.QuotaCode = opts.QuotaCode;
85
+ this.ServiceCode = opts.ServiceCode;
86
+ }
87
+ }
88
+ export class ThrottlingException extends __BaseException {
89
+ name = "ThrottlingException";
90
+ $fault = "client";
91
+ Message;
92
+ QuotaCode;
93
+ ServiceCode;
94
+ RetryAfterSeconds;
95
+ constructor(opts) {
96
+ super({
97
+ name: "ThrottlingException",
98
+ $fault: "client",
99
+ ...opts,
100
+ });
101
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
102
+ this.Message = opts.Message;
103
+ this.QuotaCode = opts.QuotaCode;
104
+ this.ServiceCode = opts.ServiceCode;
105
+ this.RetryAfterSeconds = opts.RetryAfterSeconds;
106
+ }
107
+ }
108
+ export class ValidationException extends __BaseException {
109
+ name = "ValidationException";
110
+ $fault = "client";
111
+ Message;
112
+ constructor(opts) {
113
+ super({
114
+ name: "ValidationException",
115
+ $fault: "client",
116
+ ...opts,
117
+ });
118
+ Object.setPrototypeOf(this, ValidationException.prototype);
119
+ this.Message = opts.Message;
120
+ }
121
+ }
122
+ export class InvalidResourcePolicyException extends __BaseException {
123
+ name = "InvalidResourcePolicyException";
124
+ $fault = "client";
125
+ Message;
126
+ constructor(opts) {
127
+ super({
128
+ name: "InvalidResourcePolicyException",
129
+ $fault: "client",
130
+ ...opts,
131
+ });
132
+ Object.setPrototypeOf(this, InvalidResourcePolicyException.prototype);
133
+ this.Message = opts.Message;
134
+ }
135
+ }
@@ -1,18 +1,3 @@
1
- import { MigrationHubRefactorSpacesServiceException as __BaseException } from "./MigrationHubRefactorSpacesServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- Message;
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
- this.Message = opts.Message;
14
- }
15
- }
16
1
  export const ApiGatewayEndpointType = {
17
2
  PRIVATE: "PRIVATE",
18
3
  REGIONAL: "REGIONAL",
@@ -62,112 +47,6 @@ export const ErrorResourceType = {
62
47
  export const ProxyType = {
63
48
  API_GATEWAY: "API_GATEWAY",
64
49
  };
65
- export class ConflictException extends __BaseException {
66
- name = "ConflictException";
67
- $fault = "client";
68
- Message;
69
- ResourceId;
70
- ResourceType;
71
- constructor(opts) {
72
- super({
73
- name: "ConflictException",
74
- $fault: "client",
75
- ...opts,
76
- });
77
- Object.setPrototypeOf(this, ConflictException.prototype);
78
- this.Message = opts.Message;
79
- this.ResourceId = opts.ResourceId;
80
- this.ResourceType = opts.ResourceType;
81
- }
82
- }
83
- export class InternalServerException extends __BaseException {
84
- name = "InternalServerException";
85
- $fault = "server";
86
- Message;
87
- constructor(opts) {
88
- super({
89
- name: "InternalServerException",
90
- $fault: "server",
91
- ...opts,
92
- });
93
- Object.setPrototypeOf(this, InternalServerException.prototype);
94
- this.Message = opts.Message;
95
- }
96
- }
97
- export class ResourceNotFoundException extends __BaseException {
98
- name = "ResourceNotFoundException";
99
- $fault = "client";
100
- Message;
101
- ResourceId;
102
- ResourceType;
103
- constructor(opts) {
104
- super({
105
- name: "ResourceNotFoundException",
106
- $fault: "client",
107
- ...opts,
108
- });
109
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
110
- this.Message = opts.Message;
111
- this.ResourceId = opts.ResourceId;
112
- this.ResourceType = opts.ResourceType;
113
- }
114
- }
115
- export class ServiceQuotaExceededException extends __BaseException {
116
- name = "ServiceQuotaExceededException";
117
- $fault = "client";
118
- Message;
119
- ResourceId;
120
- ResourceType;
121
- QuotaCode;
122
- ServiceCode;
123
- constructor(opts) {
124
- super({
125
- name: "ServiceQuotaExceededException",
126
- $fault: "client",
127
- ...opts,
128
- });
129
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
130
- this.Message = opts.Message;
131
- this.ResourceId = opts.ResourceId;
132
- this.ResourceType = opts.ResourceType;
133
- this.QuotaCode = opts.QuotaCode;
134
- this.ServiceCode = opts.ServiceCode;
135
- }
136
- }
137
- export class ThrottlingException extends __BaseException {
138
- name = "ThrottlingException";
139
- $fault = "client";
140
- Message;
141
- QuotaCode;
142
- ServiceCode;
143
- RetryAfterSeconds;
144
- constructor(opts) {
145
- super({
146
- name: "ThrottlingException",
147
- $fault: "client",
148
- ...opts,
149
- });
150
- Object.setPrototypeOf(this, ThrottlingException.prototype);
151
- this.Message = opts.Message;
152
- this.QuotaCode = opts.QuotaCode;
153
- this.ServiceCode = opts.ServiceCode;
154
- this.RetryAfterSeconds = opts.RetryAfterSeconds;
155
- }
156
- }
157
- export class ValidationException extends __BaseException {
158
- name = "ValidationException";
159
- $fault = "client";
160
- Message;
161
- constructor(opts) {
162
- super({
163
- name: "ValidationException",
164
- $fault: "client",
165
- ...opts,
166
- });
167
- Object.setPrototypeOf(this, ValidationException.prototype);
168
- this.Message = opts.Message;
169
- }
170
- }
171
50
  export const NetworkFabricType = {
172
51
  NONE: "NONE",
173
52
  TRANSIT_GATEWAY: "TRANSIT_GATEWAY",
@@ -213,17 +92,3 @@ export const ServiceState = {
213
92
  DELETING: "DELETING",
214
93
  FAILED: "FAILED",
215
94
  };
216
- export class InvalidResourcePolicyException extends __BaseException {
217
- name = "InvalidResourcePolicyException";
218
- $fault = "client";
219
- Message;
220
- constructor(opts) {
221
- super({
222
- name: "InvalidResourcePolicyException",
223
- $fault: "client",
224
- ...opts,
225
- });
226
- Object.setPrototypeOf(this, InvalidResourcePolicyException.prototype);
227
- this.Message = opts.Message;
228
- }
229
- }
@@ -182,7 +182,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.migrationhubrefactorspaces";
182
182
  const _tK = "tagKeys";
183
183
  const n0 = "com.amazonaws.migrationhubrefactorspaces";
184
184
  import { TypeRegistry } from "@smithy/core/schema";
185
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, InvalidResourcePolicyException as __InvalidResourcePolicyException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
185
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, InvalidResourcePolicyException as __InvalidResourcePolicyException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
186
186
  import { MigrationHubRefactorSpacesServiceException as __MigrationHubRefactorSpacesServiceException } from "../models/MigrationHubRefactorSpacesServiceException";
187
187
  export var AccessDeniedException = [
188
188
  -3,
@@ -17,5 +17,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
17
17
  export type { MigrationHubRefactorSpacesExtensionConfiguration } from "./extensionConfiguration";
18
18
  export * from "./commands";
19
19
  export * from "./pagination";
20
- export * from "./models";
20
+ export * from "./models/errors";
21
+ export type * from "./models/models_0";
21
22
  export { MigrationHubRefactorSpacesServiceException } from "./models/MigrationHubRefactorSpacesServiceException";
@@ -0,0 +1,166 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { MigrationHubRefactorSpacesServiceException as __BaseException } from "./MigrationHubRefactorSpacesServiceException";
3
+ /**
4
+ * <p>The user does not have sufficient access to perform this action. </p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ Message: string | undefined;
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
+ }
16
+ /**
17
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
18
+ * @public
19
+ */
20
+ export declare class ConflictException extends __BaseException {
21
+ readonly name: "ConflictException";
22
+ readonly $fault: "client";
23
+ Message: string | undefined;
24
+ /**
25
+ * <p>The ID of the resource. </p>
26
+ * @public
27
+ */
28
+ ResourceId: string | undefined;
29
+ /**
30
+ * <p>The type of resource. </p>
31
+ * @public
32
+ */
33
+ ResourceType: string | undefined;
34
+ /**
35
+ * @internal
36
+ */
37
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
38
+ }
39
+ /**
40
+ * <p>An unexpected error occurred while processing the request.</p>
41
+ * @public
42
+ */
43
+ export declare class InternalServerException extends __BaseException {
44
+ readonly name: "InternalServerException";
45
+ readonly $fault: "server";
46
+ Message: string | undefined;
47
+ /**
48
+ * @internal
49
+ */
50
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
51
+ }
52
+ /**
53
+ * <p>The request references a resource that does not exist. </p>
54
+ * @public
55
+ */
56
+ export declare class ResourceNotFoundException extends __BaseException {
57
+ readonly name: "ResourceNotFoundException";
58
+ readonly $fault: "client";
59
+ Message: string | undefined;
60
+ /**
61
+ * <p>The ID of the resource. </p>
62
+ * @public
63
+ */
64
+ ResourceId: string | undefined;
65
+ /**
66
+ * <p>The type of resource. </p>
67
+ * @public
68
+ */
69
+ ResourceType: string | undefined;
70
+ /**
71
+ * @internal
72
+ */
73
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
74
+ }
75
+ /**
76
+ * <p>The request would cause a service quota to be exceeded. </p>
77
+ * @public
78
+ */
79
+ export declare class ServiceQuotaExceededException extends __BaseException {
80
+ readonly name: "ServiceQuotaExceededException";
81
+ readonly $fault: "client";
82
+ Message: string | undefined;
83
+ /**
84
+ * <p>The ID of the resource. </p>
85
+ * @public
86
+ */
87
+ ResourceId: string | undefined;
88
+ /**
89
+ * <p>The type of resource. </p>
90
+ * @public
91
+ */
92
+ ResourceType: string | undefined;
93
+ /**
94
+ * <p>Service quota requirement to identify originating quota. Reached throttling quota
95
+ * exception. </p>
96
+ * @public
97
+ */
98
+ QuotaCode?: string | undefined;
99
+ /**
100
+ * <p>Service quota requirement to identify originating service. Reached throttling quota
101
+ * exception service code. </p>
102
+ * @public
103
+ */
104
+ ServiceCode: string | undefined;
105
+ /**
106
+ * @internal
107
+ */
108
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
109
+ }
110
+ /**
111
+ * <p>Request was denied because the request was throttled. </p>
112
+ * @public
113
+ */
114
+ export declare class ThrottlingException extends __BaseException {
115
+ readonly name: "ThrottlingException";
116
+ readonly $fault: "client";
117
+ Message: string | undefined;
118
+ /**
119
+ * <p>Service quota requirement to identify originating quota. Reached throttling quota
120
+ * exception. </p>
121
+ * @public
122
+ */
123
+ QuotaCode?: string | undefined;
124
+ /**
125
+ * <p>Service quota requirement to identify originating service. Reached throttling quota
126
+ * exception service code. </p>
127
+ * @public
128
+ */
129
+ ServiceCode?: string | undefined;
130
+ /**
131
+ * <p>The number of seconds to wait before retrying. </p>
132
+ * @public
133
+ */
134
+ RetryAfterSeconds?: number | undefined;
135
+ /**
136
+ * @internal
137
+ */
138
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
139
+ }
140
+ /**
141
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Service.
142
+ * </p>
143
+ * @public
144
+ */
145
+ export declare class ValidationException extends __BaseException {
146
+ readonly name: "ValidationException";
147
+ readonly $fault: "client";
148
+ Message: string | undefined;
149
+ /**
150
+ * @internal
151
+ */
152
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
153
+ }
154
+ /**
155
+ * <p>The resource policy is not valid.</p>
156
+ * @public
157
+ */
158
+ export declare class InvalidResourcePolicyException extends __BaseException {
159
+ readonly name: "InvalidResourcePolicyException";
160
+ readonly $fault: "client";
161
+ Message: string | undefined;
162
+ /**
163
+ * @internal
164
+ */
165
+ constructor(opts: __ExceptionOptionType<InvalidResourcePolicyException, __BaseException>);
166
+ }
@@ -1,18 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { MigrationHubRefactorSpacesServiceException as __BaseException } from "./MigrationHubRefactorSpacesServiceException";
3
- /**
4
- * <p>The user does not have sufficient access to perform this action. </p>
5
- * @public
6
- */
7
- export declare class AccessDeniedException extends __BaseException {
8
- readonly name: "AccessDeniedException";
9
- readonly $fault: "client";
10
- Message: string | undefined;
11
- /**
12
- * @internal
13
- */
14
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
- }
16
1
  /**
17
2
  * @public
18
3
  * @enum
@@ -322,29 +307,6 @@ export interface ApplicationSummary {
322
307
  */
323
308
  CreatedTime?: Date | undefined;
324
309
  }
325
- /**
326
- * <p>Updating or deleting a resource can cause an inconsistent state.</p>
327
- * @public
328
- */
329
- export declare class ConflictException extends __BaseException {
330
- readonly name: "ConflictException";
331
- readonly $fault: "client";
332
- Message: string | undefined;
333
- /**
334
- * <p>The ID of the resource. </p>
335
- * @public
336
- */
337
- ResourceId: string | undefined;
338
- /**
339
- * <p>The type of resource. </p>
340
- * @public
341
- */
342
- ResourceType: string | undefined;
343
- /**
344
- * @internal
345
- */
346
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
347
- }
348
310
  /**
349
311
  * @public
350
312
  */
@@ -464,121 +426,6 @@ export interface CreateApplicationResponse {
464
426
  */
465
427
  CreatedTime?: Date | undefined;
466
428
  }
467
- /**
468
- * <p>An unexpected error occurred while processing the request.</p>
469
- * @public
470
- */
471
- export declare class InternalServerException extends __BaseException {
472
- readonly name: "InternalServerException";
473
- readonly $fault: "server";
474
- Message: string | undefined;
475
- /**
476
- * @internal
477
- */
478
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
479
- }
480
- /**
481
- * <p>The request references a resource that does not exist. </p>
482
- * @public
483
- */
484
- export declare class ResourceNotFoundException extends __BaseException {
485
- readonly name: "ResourceNotFoundException";
486
- readonly $fault: "client";
487
- Message: string | undefined;
488
- /**
489
- * <p>The ID of the resource. </p>
490
- * @public
491
- */
492
- ResourceId: string | undefined;
493
- /**
494
- * <p>The type of resource. </p>
495
- * @public
496
- */
497
- ResourceType: string | undefined;
498
- /**
499
- * @internal
500
- */
501
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
502
- }
503
- /**
504
- * <p>The request would cause a service quota to be exceeded. </p>
505
- * @public
506
- */
507
- export declare class ServiceQuotaExceededException extends __BaseException {
508
- readonly name: "ServiceQuotaExceededException";
509
- readonly $fault: "client";
510
- Message: string | undefined;
511
- /**
512
- * <p>The ID of the resource. </p>
513
- * @public
514
- */
515
- ResourceId: string | undefined;
516
- /**
517
- * <p>The type of resource. </p>
518
- * @public
519
- */
520
- ResourceType: string | undefined;
521
- /**
522
- * <p>Service quota requirement to identify originating quota. Reached throttling quota
523
- * exception. </p>
524
- * @public
525
- */
526
- QuotaCode?: string | undefined;
527
- /**
528
- * <p>Service quota requirement to identify originating service. Reached throttling quota
529
- * exception service code. </p>
530
- * @public
531
- */
532
- ServiceCode: string | undefined;
533
- /**
534
- * @internal
535
- */
536
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
537
- }
538
- /**
539
- * <p>Request was denied because the request was throttled. </p>
540
- * @public
541
- */
542
- export declare class ThrottlingException extends __BaseException {
543
- readonly name: "ThrottlingException";
544
- readonly $fault: "client";
545
- Message: string | undefined;
546
- /**
547
- * <p>Service quota requirement to identify originating quota. Reached throttling quota
548
- * exception. </p>
549
- * @public
550
- */
551
- QuotaCode?: string | undefined;
552
- /**
553
- * <p>Service quota requirement to identify originating service. Reached throttling quota
554
- * exception service code. </p>
555
- * @public
556
- */
557
- ServiceCode?: string | undefined;
558
- /**
559
- * <p>The number of seconds to wait before retrying. </p>
560
- * @public
561
- */
562
- RetryAfterSeconds?: number | undefined;
563
- /**
564
- * @internal
565
- */
566
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
567
- }
568
- /**
569
- * <p>The input does not satisfy the constraints specified by an Amazon Web Service.
570
- * </p>
571
- * @public
572
- */
573
- export declare class ValidationException extends __BaseException {
574
- readonly name: "ValidationException";
575
- readonly $fault: "client";
576
- Message: string | undefined;
577
- /**
578
- * @internal
579
- */
580
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
581
- }
582
429
  /**
583
430
  * @public
584
431
  * @enum
@@ -1909,19 +1756,6 @@ export interface GetServiceResponse {
1909
1756
  */
1910
1757
  CreatedTime?: Date | undefined;
1911
1758
  }
1912
- /**
1913
- * <p>The resource policy is not valid.</p>
1914
- * @public
1915
- */
1916
- export declare class InvalidResourcePolicyException extends __BaseException {
1917
- readonly name: "InvalidResourcePolicyException";
1918
- readonly $fault: "client";
1919
- Message: string | undefined;
1920
- /**
1921
- * @internal
1922
- */
1923
- constructor(opts: __ExceptionOptionType<InvalidResourcePolicyException, __BaseException>);
1924
- }
1925
1759
  /**
1926
1760
  * <p>The summary for the Lambda endpoint type. </p>
1927
1761
  * @public
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { MigrationHubRefactorSpacesExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/errors";
9
+ export * from "./models/models_0";
9
10
  export { MigrationHubRefactorSpacesServiceException } from "./models/MigrationHubRefactorSpacesServiceException";
@@ -0,0 +1,75 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { MigrationHubRefactorSpacesServiceException as __BaseException } from "./MigrationHubRefactorSpacesServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ Message: string | undefined;
7
+ constructor(
8
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
+ );
10
+ }
11
+ export declare class ConflictException extends __BaseException {
12
+ readonly name: "ConflictException";
13
+ readonly $fault: "client";
14
+ Message: string | undefined;
15
+ ResourceId: string | undefined;
16
+ ResourceType: string | undefined;
17
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
18
+ }
19
+ export declare class InternalServerException extends __BaseException {
20
+ readonly name: "InternalServerException";
21
+ readonly $fault: "server";
22
+ Message: string | undefined;
23
+ constructor(
24
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
25
+ );
26
+ }
27
+ export declare class ResourceNotFoundException extends __BaseException {
28
+ readonly name: "ResourceNotFoundException";
29
+ readonly $fault: "client";
30
+ Message: string | undefined;
31
+ ResourceId: string | undefined;
32
+ ResourceType: string | undefined;
33
+ constructor(
34
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
35
+ );
36
+ }
37
+ export declare class ServiceQuotaExceededException extends __BaseException {
38
+ readonly name: "ServiceQuotaExceededException";
39
+ readonly $fault: "client";
40
+ Message: string | undefined;
41
+ ResourceId: string | undefined;
42
+ ResourceType: string | undefined;
43
+ QuotaCode?: string | undefined;
44
+ ServiceCode: string | undefined;
45
+ constructor(
46
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
47
+ );
48
+ }
49
+ export declare class ThrottlingException extends __BaseException {
50
+ readonly name: "ThrottlingException";
51
+ readonly $fault: "client";
52
+ Message: string | undefined;
53
+ QuotaCode?: string | undefined;
54
+ ServiceCode?: string | undefined;
55
+ RetryAfterSeconds?: number | undefined;
56
+ constructor(
57
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
58
+ );
59
+ }
60
+ export declare class ValidationException extends __BaseException {
61
+ readonly name: "ValidationException";
62
+ readonly $fault: "client";
63
+ Message: string | undefined;
64
+ constructor(
65
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
66
+ );
67
+ }
68
+ export declare class InvalidResourcePolicyException extends __BaseException {
69
+ readonly name: "InvalidResourcePolicyException";
70
+ readonly $fault: "client";
71
+ Message: string | undefined;
72
+ constructor(
73
+ opts: __ExceptionOptionType<InvalidResourcePolicyException, __BaseException>
74
+ );
75
+ }
@@ -1,13 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { MigrationHubRefactorSpacesServiceException as __BaseException } from "./MigrationHubRefactorSpacesServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- Message: string | undefined;
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
10
- }
11
1
  export declare const ApiGatewayEndpointType: {
12
2
  readonly PRIVATE: "PRIVATE";
13
3
  readonly REGIONAL: "REGIONAL";
@@ -111,14 +101,6 @@ export interface ApplicationSummary {
111
101
  LastUpdatedTime?: Date | undefined;
112
102
  CreatedTime?: Date | undefined;
113
103
  }
114
- export declare class ConflictException extends __BaseException {
115
- readonly name: "ConflictException";
116
- readonly $fault: "client";
117
- Message: string | undefined;
118
- ResourceId: string | undefined;
119
- ResourceType: string | undefined;
120
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
121
- }
122
104
  export interface CreateApplicationRequest {
123
105
  Name: string | undefined;
124
106
  EnvironmentIdentifier: string | undefined;
@@ -143,55 +125,6 @@ export interface CreateApplicationResponse {
143
125
  LastUpdatedTime?: Date | undefined;
144
126
  CreatedTime?: Date | undefined;
145
127
  }
146
- export declare class InternalServerException extends __BaseException {
147
- readonly name: "InternalServerException";
148
- readonly $fault: "server";
149
- Message: string | undefined;
150
- constructor(
151
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
152
- );
153
- }
154
- export declare class ResourceNotFoundException extends __BaseException {
155
- readonly name: "ResourceNotFoundException";
156
- readonly $fault: "client";
157
- Message: string | undefined;
158
- ResourceId: string | undefined;
159
- ResourceType: string | undefined;
160
- constructor(
161
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
162
- );
163
- }
164
- export declare class ServiceQuotaExceededException extends __BaseException {
165
- readonly name: "ServiceQuotaExceededException";
166
- readonly $fault: "client";
167
- Message: string | undefined;
168
- ResourceId: string | undefined;
169
- ResourceType: string | undefined;
170
- QuotaCode?: string | undefined;
171
- ServiceCode: string | undefined;
172
- constructor(
173
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
174
- );
175
- }
176
- export declare class ThrottlingException extends __BaseException {
177
- readonly name: "ThrottlingException";
178
- readonly $fault: "client";
179
- Message: string | undefined;
180
- QuotaCode?: string | undefined;
181
- ServiceCode?: string | undefined;
182
- RetryAfterSeconds?: number | undefined;
183
- constructor(
184
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
185
- );
186
- }
187
- export declare class ValidationException extends __BaseException {
188
- readonly name: "ValidationException";
189
- readonly $fault: "client";
190
- Message: string | undefined;
191
- constructor(
192
- opts: __ExceptionOptionType<ValidationException, __BaseException>
193
- );
194
- }
195
128
  export declare const NetworkFabricType: {
196
129
  readonly NONE: "NONE";
197
130
  readonly TRANSIT_GATEWAY: "TRANSIT_GATEWAY";
@@ -514,14 +447,6 @@ export interface GetServiceResponse {
514
447
  LastUpdatedTime?: Date | undefined;
515
448
  CreatedTime?: Date | undefined;
516
449
  }
517
- export declare class InvalidResourcePolicyException extends __BaseException {
518
- readonly name: "InvalidResourcePolicyException";
519
- readonly $fault: "client";
520
- Message: string | undefined;
521
- constructor(
522
- opts: __ExceptionOptionType<InvalidResourcePolicyException, __BaseException>
523
- );
524
- }
525
450
  export interface LambdaEndpointSummary {
526
451
  Arn?: string | undefined;
527
452
  }
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.933.0",
4
+ "version": "3.935.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-migration-hub-refactor-spaces",
@@ -20,38 +20,38 @@
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.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";