@aws-sdk/client-migration-hub-refactor-spaces 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.
Files changed (32) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +3 -0
  3. package/dist-cjs/index.js +3 -0
  4. package/dist-cjs/models/MigrationHubRefactorSpacesServiceException.js +11 -0
  5. package/dist-cjs/models/models_0.js +126 -2
  6. package/dist-cjs/protocols/Aws_restJson1.js +284 -1072
  7. package/dist-es/index.js +1 -0
  8. package/dist-es/models/MigrationHubRefactorSpacesServiceException.js +12 -0
  9. package/dist-es/models/models_0.js +117 -1
  10. package/dist-es/protocols/Aws_restJson1.js +581 -1173
  11. package/dist-types/MigrationHubRefactorSpaces.d.ts +29 -19
  12. package/dist-types/MigrationHubRefactorSpacesClient.d.ts +5 -2
  13. package/dist-types/commands/CreateApplicationCommand.d.ts +2 -2
  14. package/dist-types/commands/CreateEnvironmentCommand.d.ts +5 -4
  15. package/dist-types/commands/CreateRouteCommand.d.ts +14 -10
  16. package/dist-types/commands/CreateServiceCommand.d.ts +1 -1
  17. package/dist-types/commands/ListEnvironmentVpcsCommand.d.ts +2 -1
  18. package/dist-types/commands/PutResourcePolicyCommand.d.ts +2 -1
  19. package/dist-types/index.d.ts +1 -0
  20. package/dist-types/models/MigrationHubRefactorSpacesServiceException.d.ts +10 -0
  21. package/dist-types/models/models_0.d.ts +78 -37
  22. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  23. package/dist-types/runtimeConfig.d.ts +1 -1
  24. package/dist-types/runtimeConfig.native.d.ts +1 -1
  25. package/dist-types/ts3.4/MigrationHubRefactorSpacesClient.d.ts +2 -2
  26. package/dist-types/ts3.4/index.d.ts +1 -0
  27. package/dist-types/ts3.4/models/MigrationHubRefactorSpacesServiceException.d.ts +6 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +42 -25
  29. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  32. package/package.json +27 -27
package/dist-es/index.js CHANGED
@@ -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,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var MigrationHubRefactorSpacesServiceException = (function (_super) {
4
+ __extends(MigrationHubRefactorSpacesServiceException, _super);
5
+ function MigrationHubRefactorSpacesServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, MigrationHubRefactorSpacesServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return MigrationHubRefactorSpacesServiceException;
11
+ }(__ServiceException));
12
+ export { MigrationHubRefactorSpacesServiceException };
@@ -1,5 +1,19 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { MigrationHubRefactorSpacesServiceException as __BaseException } from "./MigrationHubRefactorSpacesServiceException";
4
+ var AccessDeniedException = (function (_super) {
5
+ __extends(AccessDeniedException, _super);
6
+ function AccessDeniedException(opts) {
7
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
8
+ _this.name = "AccessDeniedException";
9
+ _this.$fault = "client";
10
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
11
+ _this.Message = opts.Message;
12
+ return _this;
13
+ }
14
+ return AccessDeniedException;
15
+ }(__BaseException));
16
+ export { AccessDeniedException };
3
17
  export var ApiGatewayEndpointType;
4
18
  (function (ApiGatewayEndpointType) {
5
19
  ApiGatewayEndpointType["PRIVATE"] = "PRIVATE";
@@ -74,6 +88,21 @@ export var ApplicationSummary;
74
88
  (function (ApplicationSummary) {
75
89
  ApplicationSummary.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
76
90
  })(ApplicationSummary || (ApplicationSummary = {}));
91
+ var ConflictException = (function (_super) {
92
+ __extends(ConflictException, _super);
93
+ function ConflictException(opts) {
94
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
95
+ _this.name = "ConflictException";
96
+ _this.$fault = "client";
97
+ Object.setPrototypeOf(_this, ConflictException.prototype);
98
+ _this.Message = opts.Message;
99
+ _this.ResourceId = opts.ResourceId;
100
+ _this.ResourceType = opts.ResourceType;
101
+ return _this;
102
+ }
103
+ return ConflictException;
104
+ }(__BaseException));
105
+ export { ConflictException };
77
106
  export var CreateApplicationRequest;
78
107
  (function (CreateApplicationRequest) {
79
108
  CreateApplicationRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
@@ -82,6 +111,80 @@ export var CreateApplicationResponse;
82
111
  (function (CreateApplicationResponse) {
83
112
  CreateApplicationResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
84
113
  })(CreateApplicationResponse || (CreateApplicationResponse = {}));
114
+ var InternalServerException = (function (_super) {
115
+ __extends(InternalServerException, _super);
116
+ function InternalServerException(opts) {
117
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
118
+ _this.name = "InternalServerException";
119
+ _this.$fault = "server";
120
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
121
+ _this.Message = opts.Message;
122
+ return _this;
123
+ }
124
+ return InternalServerException;
125
+ }(__BaseException));
126
+ export { InternalServerException };
127
+ var ResourceNotFoundException = (function (_super) {
128
+ __extends(ResourceNotFoundException, _super);
129
+ function ResourceNotFoundException(opts) {
130
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
131
+ _this.name = "ResourceNotFoundException";
132
+ _this.$fault = "client";
133
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
134
+ _this.Message = opts.Message;
135
+ _this.ResourceId = opts.ResourceId;
136
+ _this.ResourceType = opts.ResourceType;
137
+ return _this;
138
+ }
139
+ return ResourceNotFoundException;
140
+ }(__BaseException));
141
+ export { ResourceNotFoundException };
142
+ var ServiceQuotaExceededException = (function (_super) {
143
+ __extends(ServiceQuotaExceededException, _super);
144
+ function ServiceQuotaExceededException(opts) {
145
+ var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
146
+ _this.name = "ServiceQuotaExceededException";
147
+ _this.$fault = "client";
148
+ Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
149
+ _this.Message = opts.Message;
150
+ _this.ResourceId = opts.ResourceId;
151
+ _this.ResourceType = opts.ResourceType;
152
+ _this.QuotaCode = opts.QuotaCode;
153
+ _this.ServiceCode = opts.ServiceCode;
154
+ return _this;
155
+ }
156
+ return ServiceQuotaExceededException;
157
+ }(__BaseException));
158
+ export { ServiceQuotaExceededException };
159
+ var ThrottlingException = (function (_super) {
160
+ __extends(ThrottlingException, _super);
161
+ function ThrottlingException(opts) {
162
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
163
+ _this.name = "ThrottlingException";
164
+ _this.$fault = "client";
165
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
166
+ _this.Message = opts.Message;
167
+ _this.QuotaCode = opts.QuotaCode;
168
+ _this.ServiceCode = opts.ServiceCode;
169
+ _this.RetryAfterSeconds = opts.RetryAfterSeconds;
170
+ return _this;
171
+ }
172
+ return ThrottlingException;
173
+ }(__BaseException));
174
+ export { ThrottlingException };
175
+ var ValidationException = (function (_super) {
176
+ __extends(ValidationException, _super);
177
+ function ValidationException(opts) {
178
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
179
+ _this.name = "ValidationException";
180
+ _this.$fault = "client";
181
+ Object.setPrototypeOf(_this, ValidationException.prototype);
182
+ _this.Message = opts.Message;
183
+ return _this;
184
+ }
185
+ return ValidationException;
186
+ }(__BaseException));
187
+ export { ValidationException };
85
188
  export var NetworkFabricType;
86
189
  (function (NetworkFabricType) {
87
190
  NetworkFabricType["TRANSIT_GATEWAY"] = "TRANSIT_GATEWAY";
@@ -265,6 +368,19 @@ export var GetServiceResponse;
265
368
  (function (GetServiceResponse) {
266
369
  GetServiceResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
267
370
  })(GetServiceResponse || (GetServiceResponse = {}));
371
+ var InvalidResourcePolicyException = (function (_super) {
372
+ __extends(InvalidResourcePolicyException, _super);
373
+ function InvalidResourcePolicyException(opts) {
374
+ var _this = _super.call(this, __assign({ name: "InvalidResourcePolicyException", $fault: "client" }, opts)) || this;
375
+ _this.name = "InvalidResourcePolicyException";
376
+ _this.$fault = "client";
377
+ Object.setPrototypeOf(_this, InvalidResourcePolicyException.prototype);
378
+ _this.Message = opts.Message;
379
+ return _this;
380
+ }
381
+ return InvalidResourcePolicyException;
382
+ }(__BaseException));
383
+ export { InvalidResourcePolicyException };
268
384
  export var LambdaEndpointSummary;
269
385
  (function (LambdaEndpointSummary) {
270
386
  LambdaEndpointSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };