@aws-sdk/client-migration-hub-refactor-spaces 3.300.0 → 3.303.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.
Files changed (29) hide show
  1. package/dist-cjs/models/models_0.js +94 -107
  2. package/dist-es/models/models_0.js +94 -107
  3. package/dist-types/commands/CreateApplicationCommand.d.ts +3 -3
  4. package/dist-types/commands/CreateEnvironmentCommand.d.ts +2 -2
  5. package/dist-types/commands/CreateRouteCommand.d.ts +5 -5
  6. package/dist-types/commands/CreateServiceCommand.d.ts +4 -4
  7. package/dist-types/commands/DeleteApplicationCommand.d.ts +1 -1
  8. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteRouteCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteServiceCommand.d.ts +1 -1
  12. package/dist-types/commands/GetApplicationCommand.d.ts +1 -1
  13. package/dist-types/commands/GetEnvironmentCommand.d.ts +1 -1
  14. package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
  15. package/dist-types/commands/GetRouteCommand.d.ts +1 -1
  16. package/dist-types/commands/GetServiceCommand.d.ts +1 -1
  17. package/dist-types/commands/ListApplicationsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListEnvironmentVpcsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListEnvironmentsCommand.d.ts +1 -1
  20. package/dist-types/commands/ListRoutesCommand.d.ts +1 -1
  21. package/dist-types/commands/ListServicesCommand.d.ts +1 -1
  22. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  23. package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
  24. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  25. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  26. package/dist-types/commands/UpdateRouteCommand.d.ts +1 -1
  27. package/dist-types/models/models_0.d.ts +159 -94
  28. package/dist-types/ts3.4/models/models_0.d.ts +114 -94
  29. package/package.json +34 -34
@@ -8,10 +8,12 @@ export declare class AccessDeniedException extends __BaseException {
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
10
10
  }
11
- export declare enum ApiGatewayEndpointType {
12
- PRIVATE = "PRIVATE",
13
- REGIONAL = "REGIONAL",
14
- }
11
+ export declare const ApiGatewayEndpointType: {
12
+ readonly PRIVATE: "PRIVATE";
13
+ readonly REGIONAL: "REGIONAL";
14
+ };
15
+ export type ApiGatewayEndpointType =
16
+ (typeof ApiGatewayEndpointType)[keyof typeof ApiGatewayEndpointType];
15
17
  export interface ApiGatewayProxyConfig {
16
18
  ProxyUrl?: string;
17
19
  ApiGatewayId?: string;
@@ -34,48 +36,53 @@ export interface ApiGatewayProxySummary {
34
36
  EndpointType?: ApiGatewayEndpointType | string;
35
37
  StageName?: string;
36
38
  }
37
- export declare enum ApplicationState {
38
- ACTIVE = "ACTIVE",
39
- CREATING = "CREATING",
40
- DELETING = "DELETING",
41
- FAILED = "FAILED",
42
- UPDATING = "UPDATING",
43
- }
44
- export declare enum ErrorCode {
45
- INVALID_RESOURCE_STATE = "INVALID_RESOURCE_STATE",
46
- NOT_AUTHORIZED = "NOT_AUTHORIZED",
47
- REQUEST_LIMIT_EXCEEDED = "REQUEST_LIMIT_EXCEEDED",
48
- RESOURCE_CREATION_FAILURE = "RESOURCE_CREATION_FAILURE",
49
- RESOURCE_DELETION_FAILURE = "RESOURCE_DELETION_FAILURE",
50
- RESOURCE_IN_USE = "RESOURCE_IN_USE",
51
- RESOURCE_LIMIT_EXCEEDED = "RESOURCE_LIMIT_EXCEEDED",
52
- RESOURCE_NOT_FOUND = "RESOURCE_NOT_FOUND",
53
- RESOURCE_RETRIEVAL_FAILURE = "RESOURCE_RETRIEVAL_FAILURE",
54
- RESOURCE_UPDATE_FAILURE = "RESOURCE_UPDATE_FAILURE",
55
- SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE = "SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE",
56
- STATE_TRANSITION_FAILURE = "STATE_TRANSITION_FAILURE",
57
- }
58
- export declare enum ErrorResourceType {
59
- API_GATEWAY = "API_GATEWAY",
60
- APPLICATION = "APPLICATION",
61
- ENVIRONMENT = "ENVIRONMENT",
62
- IAM_ROLE = "IAM_ROLE",
63
- LAMBDA = "LAMBDA",
64
- LOAD_BALANCER_LISTENER = "LOAD_BALANCER_LISTENER",
65
- NLB = "NLB",
66
- RESOURCE_SHARE = "RESOURCE_SHARE",
67
- ROUTE = "ROUTE",
68
- ROUTE_TABLE = "ROUTE_TABLE",
69
- SECURITY_GROUP = "SECURITY_GROUP",
70
- SERVICE = "SERVICE",
71
- SUBNET = "SUBNET",
72
- TARGET_GROUP = "TARGET_GROUP",
73
- TRANSIT_GATEWAY = "TRANSIT_GATEWAY",
74
- TRANSIT_GATEWAY_ATTACHMENT = "TRANSIT_GATEWAY_ATTACHMENT",
75
- VPC = "VPC",
76
- VPC_ENDPOINT_SERVICE_CONFIGURATION = "VPC_ENDPOINT_SERVICE_CONFIGURATION",
77
- VPC_LINK = "VPC_LINK",
78
- }
39
+ export declare const ApplicationState: {
40
+ readonly ACTIVE: "ACTIVE";
41
+ readonly CREATING: "CREATING";
42
+ readonly DELETING: "DELETING";
43
+ readonly FAILED: "FAILED";
44
+ readonly UPDATING: "UPDATING";
45
+ };
46
+ export type ApplicationState =
47
+ (typeof ApplicationState)[keyof typeof ApplicationState];
48
+ export declare const ErrorCode: {
49
+ readonly INVALID_RESOURCE_STATE: "INVALID_RESOURCE_STATE";
50
+ readonly NOT_AUTHORIZED: "NOT_AUTHORIZED";
51
+ readonly REQUEST_LIMIT_EXCEEDED: "REQUEST_LIMIT_EXCEEDED";
52
+ readonly RESOURCE_CREATION_FAILURE: "RESOURCE_CREATION_FAILURE";
53
+ readonly RESOURCE_DELETION_FAILURE: "RESOURCE_DELETION_FAILURE";
54
+ readonly RESOURCE_IN_USE: "RESOURCE_IN_USE";
55
+ readonly RESOURCE_LIMIT_EXCEEDED: "RESOURCE_LIMIT_EXCEEDED";
56
+ readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
57
+ readonly RESOURCE_RETRIEVAL_FAILURE: "RESOURCE_RETRIEVAL_FAILURE";
58
+ readonly RESOURCE_UPDATE_FAILURE: "RESOURCE_UPDATE_FAILURE";
59
+ readonly SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE: "SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE";
60
+ readonly STATE_TRANSITION_FAILURE: "STATE_TRANSITION_FAILURE";
61
+ };
62
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
63
+ export declare const ErrorResourceType: {
64
+ readonly API_GATEWAY: "API_GATEWAY";
65
+ readonly APPLICATION: "APPLICATION";
66
+ readonly ENVIRONMENT: "ENVIRONMENT";
67
+ readonly IAM_ROLE: "IAM_ROLE";
68
+ readonly LAMBDA: "LAMBDA";
69
+ readonly LOAD_BALANCER_LISTENER: "LOAD_BALANCER_LISTENER";
70
+ readonly NLB: "NLB";
71
+ readonly RESOURCE_SHARE: "RESOURCE_SHARE";
72
+ readonly ROUTE: "ROUTE";
73
+ readonly ROUTE_TABLE: "ROUTE_TABLE";
74
+ readonly SECURITY_GROUP: "SECURITY_GROUP";
75
+ readonly SERVICE: "SERVICE";
76
+ readonly SUBNET: "SUBNET";
77
+ readonly TARGET_GROUP: "TARGET_GROUP";
78
+ readonly TRANSIT_GATEWAY: "TRANSIT_GATEWAY";
79
+ readonly TRANSIT_GATEWAY_ATTACHMENT: "TRANSIT_GATEWAY_ATTACHMENT";
80
+ readonly VPC: "VPC";
81
+ readonly VPC_ENDPOINT_SERVICE_CONFIGURATION: "VPC_ENDPOINT_SERVICE_CONFIGURATION";
82
+ readonly VPC_LINK: "VPC_LINK";
83
+ };
84
+ export type ErrorResourceType =
85
+ (typeof ErrorResourceType)[keyof typeof ErrorResourceType];
79
86
  export interface ErrorResponse {
80
87
  Code?: ErrorCode | string;
81
88
  Message?: string;
@@ -84,9 +91,10 @@ export interface ErrorResponse {
84
91
  ResourceType?: ErrorResourceType | string;
85
92
  AdditionalDetails?: Record<string, string>;
86
93
  }
87
- export declare enum ProxyType {
88
- API_GATEWAY = "API_GATEWAY",
89
- }
94
+ export declare const ProxyType: {
95
+ readonly API_GATEWAY: "API_GATEWAY";
96
+ };
97
+ export type ProxyType = (typeof ProxyType)[keyof typeof ProxyType];
90
98
  export interface ApplicationSummary {
91
99
  Name?: string;
92
100
  Arn?: string;
@@ -184,10 +192,12 @@ export declare class ValidationException extends __BaseException {
184
192
  opts: __ExceptionOptionType<ValidationException, __BaseException>
185
193
  );
186
194
  }
187
- export declare enum NetworkFabricType {
188
- NONE = "NONE",
189
- TRANSIT_GATEWAY = "TRANSIT_GATEWAY",
190
- }
195
+ export declare const NetworkFabricType: {
196
+ readonly NONE: "NONE";
197
+ readonly TRANSIT_GATEWAY: "TRANSIT_GATEWAY";
198
+ };
199
+ export type NetworkFabricType =
200
+ (typeof NetworkFabricType)[keyof typeof NetworkFabricType];
191
201
  export interface CreateEnvironmentRequest {
192
202
  Name: string | undefined;
193
203
  Description?: string;
@@ -195,12 +205,14 @@ export interface CreateEnvironmentRequest {
195
205
  Tags?: Record<string, string>;
196
206
  ClientToken?: string;
197
207
  }
198
- export declare enum EnvironmentState {
199
- ACTIVE = "ACTIVE",
200
- CREATING = "CREATING",
201
- DELETING = "DELETING",
202
- FAILED = "FAILED",
203
- }
208
+ export declare const EnvironmentState: {
209
+ readonly ACTIVE: "ACTIVE";
210
+ readonly CREATING: "CREATING";
211
+ readonly DELETING: "DELETING";
212
+ readonly FAILED: "FAILED";
213
+ };
214
+ export type EnvironmentState =
215
+ (typeof EnvironmentState)[keyof typeof EnvironmentState];
204
216
  export interface CreateEnvironmentResponse {
205
217
  Name?: string;
206
218
  Arn?: string;
@@ -213,26 +225,30 @@ export interface CreateEnvironmentResponse {
213
225
  LastUpdatedTime?: Date;
214
226
  CreatedTime?: Date;
215
227
  }
216
- export declare enum RouteActivationState {
217
- ACTIVE = "ACTIVE",
218
- INACTIVE = "INACTIVE",
219
- }
228
+ export declare const RouteActivationState: {
229
+ readonly ACTIVE: "ACTIVE";
230
+ readonly INACTIVE: "INACTIVE";
231
+ };
232
+ export type RouteActivationState =
233
+ (typeof RouteActivationState)[keyof typeof RouteActivationState];
220
234
  export interface DefaultRouteInput {
221
235
  ActivationState?: RouteActivationState | string;
222
236
  }
223
- export declare enum RouteType {
224
- DEFAULT = "DEFAULT",
225
- URI_PATH = "URI_PATH",
226
- }
227
- export declare enum HttpMethod {
228
- DELETE = "DELETE",
229
- GET = "GET",
230
- HEAD = "HEAD",
231
- OPTIONS = "OPTIONS",
232
- PATCH = "PATCH",
233
- POST = "POST",
234
- PUT = "PUT",
235
- }
237
+ export declare const RouteType: {
238
+ readonly DEFAULT: "DEFAULT";
239
+ readonly URI_PATH: "URI_PATH";
240
+ };
241
+ export type RouteType = (typeof RouteType)[keyof typeof RouteType];
242
+ export declare const HttpMethod: {
243
+ readonly DELETE: "DELETE";
244
+ readonly GET: "GET";
245
+ readonly HEAD: "HEAD";
246
+ readonly OPTIONS: "OPTIONS";
247
+ readonly PATCH: "PATCH";
248
+ readonly POST: "POST";
249
+ readonly PUT: "PUT";
250
+ };
251
+ export type HttpMethod = (typeof HttpMethod)[keyof typeof HttpMethod];
236
252
  export interface UriPathRouteInput {
237
253
  SourcePath: string | undefined;
238
254
  ActivationState: RouteActivationState | string | undefined;
@@ -249,14 +265,15 @@ export interface CreateRouteRequest {
249
265
  Tags?: Record<string, string>;
250
266
  ClientToken?: string;
251
267
  }
252
- export declare enum RouteState {
253
- ACTIVE = "ACTIVE",
254
- CREATING = "CREATING",
255
- DELETING = "DELETING",
256
- FAILED = "FAILED",
257
- INACTIVE = "INACTIVE",
258
- UPDATING = "UPDATING",
259
- }
268
+ export declare const RouteState: {
269
+ readonly ACTIVE: "ACTIVE";
270
+ readonly CREATING: "CREATING";
271
+ readonly DELETING: "DELETING";
272
+ readonly FAILED: "FAILED";
273
+ readonly INACTIVE: "INACTIVE";
274
+ readonly UPDATING: "UPDATING";
275
+ };
276
+ export type RouteState = (typeof RouteState)[keyof typeof RouteState];
260
277
  export interface CreateRouteResponse {
261
278
  RouteId?: string;
262
279
  Arn?: string;
@@ -271,10 +288,12 @@ export interface CreateRouteResponse {
271
288
  LastUpdatedTime?: Date;
272
289
  CreatedTime?: Date;
273
290
  }
274
- export declare enum ServiceEndpointType {
275
- LAMBDA = "LAMBDA",
276
- URL = "URL",
277
- }
291
+ export declare const ServiceEndpointType: {
292
+ readonly LAMBDA: "LAMBDA";
293
+ readonly URL: "URL";
294
+ };
295
+ export type ServiceEndpointType =
296
+ (typeof ServiceEndpointType)[keyof typeof ServiceEndpointType];
278
297
  export interface LambdaEndpointInput {
279
298
  Arn: string | undefined;
280
299
  }
@@ -294,12 +313,13 @@ export interface CreateServiceRequest {
294
313
  Tags?: Record<string, string>;
295
314
  ClientToken?: string;
296
315
  }
297
- export declare enum ServiceState {
298
- ACTIVE = "ACTIVE",
299
- CREATING = "CREATING",
300
- DELETING = "DELETING",
301
- FAILED = "FAILED",
302
- }
316
+ export declare const ServiceState: {
317
+ readonly ACTIVE: "ACTIVE";
318
+ readonly CREATING: "CREATING";
319
+ readonly DELETING: "DELETING";
320
+ readonly FAILED: "FAILED";
321
+ };
322
+ export type ServiceState = (typeof ServiceState)[keyof typeof ServiceState];
303
323
  export interface CreateServiceResponse {
304
324
  ServiceId?: string;
305
325
  Name?: string;
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.300.0",
4
+ "version": "3.303.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",
@@ -21,43 +21,43 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "@types/uuid": "^8.3.0",