@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/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-migration-hub-refactor-spaces
9
+
10
+
11
+
12
+
13
+
14
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** update clients as of 2022/03/10 ([#3411](https://github.com/aws/aws-sdk-js-v3/issues/3411)) ([8fa517a](https://github.com/aws/aws-sdk-js-v3/commit/8fa517a2c56d2f98a2e4a9c4ea6fd99b6ce61a71))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
26
+
27
+
28
+ ### Features
29
+
30
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
31
+
32
+
33
+
34
+
35
+
6
36
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
37
 
8
38
  **Note:** Version bump only for package @aws-sdk/client-migration-hub-refactor-spaces
package/README.md CHANGED
@@ -15,6 +15,9 @@ request parameters and the response. Alternatively, you can use one of the Amazo
15
15
  access an API that is tailored to the programming language or platform that you're using. For
16
16
  more information, see <a href="http://aws.amazon.com/tools/#SDKs">Amazon Web Services SDKs</a>.</p>
17
17
 
18
+ <p>To share Refactor Spaces environments with other Amazon Web Services accounts or with Organizations
19
+ and their OUs, use Resource Access Manager's <code>CreateResourceShare</code> API. See <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html">CreateResourceShare</a> in the <i>Amazon Web Services RAM API Reference</i>.</p>
20
+
18
21
  ## Installing
19
22
 
20
23
  To install the this package, simply type add or install @aws-sdk/client-migration-hub-refactor-spaces
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MigrationHubRefactorSpacesServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./MigrationHubRefactorSpaces"), exports);
5
6
  tslib_1.__exportStar(require("./MigrationHubRefactorSpacesClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ var MigrationHubRefactorSpacesServiceException_1 = require("./models/MigrationHubRefactorSpacesServiceException");
11
+ Object.defineProperty(exports, "MigrationHubRefactorSpacesServiceException", { enumerable: true, get: function () { return MigrationHubRefactorSpacesServiceException_1.MigrationHubRefactorSpacesServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MigrationHubRefactorSpacesServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class MigrationHubRefactorSpacesServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, MigrationHubRefactorSpacesServiceException.prototype);
9
+ }
10
+ }
11
+ exports.MigrationHubRefactorSpacesServiceException = MigrationHubRefactorSpacesServiceException;
@@ -1,8 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetServiceRequest = exports.GetRouteResponse = exports.GetRouteRequest = exports.GetResourcePolicyResponse = exports.GetResourcePolicyRequest = exports.GetEnvironmentResponse = exports.GetEnvironmentRequest = exports.GetApplicationResponse = exports.GetApplicationRequest = exports.EnvironmentVpc = exports.EnvironmentSummary = exports.DeleteServiceResponse = exports.DeleteServiceRequest = exports.DeleteRouteResponse = exports.DeleteRouteRequest = exports.DeleteResourcePolicyResponse = exports.DeleteResourcePolicyRequest = exports.DeleteEnvironmentResponse = exports.DeleteEnvironmentRequest = exports.DeleteApplicationResponse = exports.DeleteApplicationRequest = exports.CreateServiceResponse = exports.ServiceState = exports.CreateServiceRequest = exports.UrlEndpointInput = exports.LambdaEndpointInput = exports.ServiceEndpointType = exports.CreateRouteResponse = exports.RouteState = exports.CreateRouteRequest = exports.UriPathRouteInput = exports.HttpMethod = exports.RouteActivationState = exports.RouteType = exports.CreateEnvironmentResponse = exports.EnvironmentState = exports.CreateEnvironmentRequest = exports.NetworkFabricType = exports.CreateApplicationResponse = exports.CreateApplicationRequest = exports.ApplicationSummary = exports.ProxyType = exports.ErrorResponse = exports.ErrorResourceType = exports.ErrorCode = exports.ApplicationState = exports.ApiGatewayProxySummary = exports.ApiGatewayProxyInput = exports.ApiGatewayProxyConfig = exports.ApiGatewayEndpointType = void 0;
4
- exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.PutResourcePolicyResponse = exports.PutResourcePolicyRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListServicesResponse = exports.ServiceSummary = exports.UrlEndpointSummary = exports.ListServicesRequest = exports.ListRoutesResponse = exports.RouteSummary = exports.ListRoutesRequest = exports.ListEnvironmentVpcsResponse = exports.ListEnvironmentVpcsRequest = exports.ListEnvironmentsResponse = exports.ListEnvironmentsRequest = exports.ListApplicationsResponse = exports.ListApplicationsRequest = exports.LambdaEndpointSummary = exports.GetServiceResponse = exports.UrlEndpointConfig = exports.LambdaEndpointConfig = void 0;
3
+ exports.GetApplicationResponse = exports.GetApplicationRequest = exports.EnvironmentVpc = exports.EnvironmentSummary = exports.DeleteServiceResponse = exports.DeleteServiceRequest = exports.DeleteRouteResponse = exports.DeleteRouteRequest = exports.DeleteResourcePolicyResponse = exports.DeleteResourcePolicyRequest = exports.DeleteEnvironmentResponse = exports.DeleteEnvironmentRequest = exports.DeleteApplicationResponse = exports.DeleteApplicationRequest = exports.CreateServiceResponse = exports.ServiceState = exports.CreateServiceRequest = exports.UrlEndpointInput = exports.LambdaEndpointInput = exports.ServiceEndpointType = exports.CreateRouteResponse = exports.RouteState = exports.CreateRouteRequest = exports.UriPathRouteInput = exports.HttpMethod = exports.RouteActivationState = exports.RouteType = exports.CreateEnvironmentResponse = exports.EnvironmentState = exports.CreateEnvironmentRequest = exports.NetworkFabricType = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.CreateApplicationResponse = exports.CreateApplicationRequest = exports.ConflictException = exports.ApplicationSummary = exports.ProxyType = exports.ErrorResponse = exports.ErrorResourceType = exports.ErrorCode = exports.ApplicationState = exports.ApiGatewayProxySummary = exports.ApiGatewayProxyInput = exports.ApiGatewayProxyConfig = exports.ApiGatewayEndpointType = exports.AccessDeniedException = void 0;
4
+ exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.PutResourcePolicyResponse = exports.PutResourcePolicyRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListServicesResponse = exports.ServiceSummary = exports.UrlEndpointSummary = exports.ListServicesRequest = exports.ListRoutesResponse = exports.RouteSummary = exports.ListRoutesRequest = exports.ListEnvironmentVpcsResponse = exports.ListEnvironmentVpcsRequest = exports.ListEnvironmentsResponse = exports.ListEnvironmentsRequest = exports.ListApplicationsResponse = exports.ListApplicationsRequest = exports.LambdaEndpointSummary = exports.InvalidResourcePolicyException = exports.GetServiceResponse = exports.UrlEndpointConfig = exports.LambdaEndpointConfig = exports.GetServiceRequest = exports.GetRouteResponse = exports.GetRouteRequest = exports.GetResourcePolicyResponse = exports.GetResourcePolicyRequest = exports.GetEnvironmentResponse = exports.GetEnvironmentRequest = void 0;
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const MigrationHubRefactorSpacesServiceException_1 = require("./MigrationHubRefactorSpacesServiceException");
7
+ class AccessDeniedException extends MigrationHubRefactorSpacesServiceException_1.MigrationHubRefactorSpacesServiceException {
8
+ constructor(opts) {
9
+ super({
10
+ name: "AccessDeniedException",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ this.name = "AccessDeniedException";
15
+ this.$fault = "client";
16
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
17
+ this.Message = opts.Message;
18
+ }
19
+ }
20
+ exports.AccessDeniedException = AccessDeniedException;
6
21
  var ApiGatewayEndpointType;
7
22
  (function (ApiGatewayEndpointType) {
8
23
  ApiGatewayEndpointType["PRIVATE"] = "PRIVATE";
@@ -88,6 +103,22 @@ var ApplicationSummary;
88
103
  ...(obj.Tags && { Tags: smithy_client_1.SENSITIVE_STRING }),
89
104
  });
90
105
  })(ApplicationSummary = exports.ApplicationSummary || (exports.ApplicationSummary = {}));
106
+ class ConflictException extends MigrationHubRefactorSpacesServiceException_1.MigrationHubRefactorSpacesServiceException {
107
+ constructor(opts) {
108
+ super({
109
+ name: "ConflictException",
110
+ $fault: "client",
111
+ ...opts,
112
+ });
113
+ this.name = "ConflictException";
114
+ this.$fault = "client";
115
+ Object.setPrototypeOf(this, ConflictException.prototype);
116
+ this.Message = opts.Message;
117
+ this.ResourceId = opts.ResourceId;
118
+ this.ResourceType = opts.ResourceType;
119
+ }
120
+ }
121
+ exports.ConflictException = ConflictException;
91
122
  var CreateApplicationRequest;
92
123
  (function (CreateApplicationRequest) {
93
124
  CreateApplicationRequest.filterSensitiveLog = (obj) => ({
@@ -102,6 +133,85 @@ var CreateApplicationResponse;
102
133
  ...(obj.Tags && { Tags: smithy_client_1.SENSITIVE_STRING }),
103
134
  });
104
135
  })(CreateApplicationResponse = exports.CreateApplicationResponse || (exports.CreateApplicationResponse = {}));
136
+ class InternalServerException extends MigrationHubRefactorSpacesServiceException_1.MigrationHubRefactorSpacesServiceException {
137
+ constructor(opts) {
138
+ super({
139
+ name: "InternalServerException",
140
+ $fault: "server",
141
+ ...opts,
142
+ });
143
+ this.name = "InternalServerException";
144
+ this.$fault = "server";
145
+ Object.setPrototypeOf(this, InternalServerException.prototype);
146
+ this.Message = opts.Message;
147
+ }
148
+ }
149
+ exports.InternalServerException = InternalServerException;
150
+ class ResourceNotFoundException extends MigrationHubRefactorSpacesServiceException_1.MigrationHubRefactorSpacesServiceException {
151
+ constructor(opts) {
152
+ super({
153
+ name: "ResourceNotFoundException",
154
+ $fault: "client",
155
+ ...opts,
156
+ });
157
+ this.name = "ResourceNotFoundException";
158
+ this.$fault = "client";
159
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
160
+ this.Message = opts.Message;
161
+ this.ResourceId = opts.ResourceId;
162
+ this.ResourceType = opts.ResourceType;
163
+ }
164
+ }
165
+ exports.ResourceNotFoundException = ResourceNotFoundException;
166
+ class ServiceQuotaExceededException extends MigrationHubRefactorSpacesServiceException_1.MigrationHubRefactorSpacesServiceException {
167
+ constructor(opts) {
168
+ super({
169
+ name: "ServiceQuotaExceededException",
170
+ $fault: "client",
171
+ ...opts,
172
+ });
173
+ this.name = "ServiceQuotaExceededException";
174
+ this.$fault = "client";
175
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
176
+ this.Message = opts.Message;
177
+ this.ResourceId = opts.ResourceId;
178
+ this.ResourceType = opts.ResourceType;
179
+ this.QuotaCode = opts.QuotaCode;
180
+ this.ServiceCode = opts.ServiceCode;
181
+ }
182
+ }
183
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
184
+ class ThrottlingException extends MigrationHubRefactorSpacesServiceException_1.MigrationHubRefactorSpacesServiceException {
185
+ constructor(opts) {
186
+ super({
187
+ name: "ThrottlingException",
188
+ $fault: "client",
189
+ ...opts,
190
+ });
191
+ this.name = "ThrottlingException";
192
+ this.$fault = "client";
193
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
194
+ this.Message = opts.Message;
195
+ this.QuotaCode = opts.QuotaCode;
196
+ this.ServiceCode = opts.ServiceCode;
197
+ this.RetryAfterSeconds = opts.RetryAfterSeconds;
198
+ }
199
+ }
200
+ exports.ThrottlingException = ThrottlingException;
201
+ class ValidationException extends MigrationHubRefactorSpacesServiceException_1.MigrationHubRefactorSpacesServiceException {
202
+ constructor(opts) {
203
+ super({
204
+ name: "ValidationException",
205
+ $fault: "client",
206
+ ...opts,
207
+ });
208
+ this.name = "ValidationException";
209
+ this.$fault = "client";
210
+ Object.setPrototypeOf(this, ValidationException.prototype);
211
+ this.Message = opts.Message;
212
+ }
213
+ }
214
+ exports.ValidationException = ValidationException;
105
215
  var NetworkFabricType;
106
216
  (function (NetworkFabricType) {
107
217
  NetworkFabricType["TRANSIT_GATEWAY"] = "TRANSIT_GATEWAY";
@@ -362,6 +472,20 @@ var GetServiceResponse;
362
472
  ...(obj.Tags && { Tags: smithy_client_1.SENSITIVE_STRING }),
363
473
  });
364
474
  })(GetServiceResponse = exports.GetServiceResponse || (exports.GetServiceResponse = {}));
475
+ class InvalidResourcePolicyException extends MigrationHubRefactorSpacesServiceException_1.MigrationHubRefactorSpacesServiceException {
476
+ constructor(opts) {
477
+ super({
478
+ name: "InvalidResourcePolicyException",
479
+ $fault: "client",
480
+ ...opts,
481
+ });
482
+ this.name = "InvalidResourcePolicyException";
483
+ this.$fault = "client";
484
+ Object.setPrototypeOf(this, InvalidResourcePolicyException.prototype);
485
+ this.Message = opts.Message;
486
+ }
487
+ }
488
+ exports.InvalidResourcePolicyException = InvalidResourcePolicyException;
365
489
  var LambdaEndpointSummary;
366
490
  (function (LambdaEndpointSummary) {
367
491
  LambdaEndpointSummary.filterSensitiveLog = (obj) => ({