@aws-sdk/client-migration-hub-refactor-spaces 3.43.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/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +215 -0
- package/dist-cjs/MigrationHubRefactorSpaces.js +352 -0
- package/dist-cjs/MigrationHubRefactorSpacesClient.js +35 -0
- package/dist-cjs/commands/CreateApplicationCommand.js +36 -0
- package/dist-cjs/commands/CreateEnvironmentCommand.js +36 -0
- package/dist-cjs/commands/CreateRouteCommand.js +36 -0
- package/dist-cjs/commands/CreateServiceCommand.js +36 -0
- package/dist-cjs/commands/DeleteApplicationCommand.js +36 -0
- package/dist-cjs/commands/DeleteEnvironmentCommand.js +36 -0
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +36 -0
- package/dist-cjs/commands/DeleteRouteCommand.js +36 -0
- package/dist-cjs/commands/DeleteServiceCommand.js +36 -0
- package/dist-cjs/commands/GetApplicationCommand.js +36 -0
- package/dist-cjs/commands/GetEnvironmentCommand.js +36 -0
- package/dist-cjs/commands/GetResourcePolicyCommand.js +36 -0
- package/dist-cjs/commands/GetRouteCommand.js +36 -0
- package/dist-cjs/commands/GetServiceCommand.js +36 -0
- package/dist-cjs/commands/ListApplicationsCommand.js +36 -0
- package/dist-cjs/commands/ListEnvironmentVpcsCommand.js +36 -0
- package/dist-cjs/commands/ListEnvironmentsCommand.js +36 -0
- package/dist-cjs/commands/ListRoutesCommand.js +36 -0
- package/dist-cjs/commands/ListServicesCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/PutResourcePolicyCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/index.js +26 -0
- package/dist-cjs/endpoints.js +130 -0
- package/dist-cjs/index.js +8 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +561 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListApplicationsPaginator.js +35 -0
- package/dist-cjs/pagination/ListEnvironmentVpcsPaginator.js +35 -0
- package/dist-cjs/pagination/ListEnvironmentsPaginator.js +35 -0
- package/dist-cjs/pagination/ListRoutesPaginator.js +35 -0
- package/dist-cjs/pagination/ListServicesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_restJson1.js +3834 -0
- package/dist-cjs/runtimeConfig.browser.js +40 -0
- package/dist-cjs/runtimeConfig.js +44 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/MigrationHubRefactorSpaces.js +355 -0
- package/dist-es/MigrationHubRefactorSpacesClient.js +37 -0
- package/dist-es/commands/CreateApplicationCommand.js +39 -0
- package/dist-es/commands/CreateEnvironmentCommand.js +39 -0
- package/dist-es/commands/CreateRouteCommand.js +39 -0
- package/dist-es/commands/CreateServiceCommand.js +39 -0
- package/dist-es/commands/DeleteApplicationCommand.js +39 -0
- package/dist-es/commands/DeleteEnvironmentCommand.js +39 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +39 -0
- package/dist-es/commands/DeleteRouteCommand.js +39 -0
- package/dist-es/commands/DeleteServiceCommand.js +39 -0
- package/dist-es/commands/GetApplicationCommand.js +39 -0
- package/dist-es/commands/GetEnvironmentCommand.js +39 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +39 -0
- package/dist-es/commands/GetRouteCommand.js +39 -0
- package/dist-es/commands/GetServiceCommand.js +39 -0
- package/dist-es/commands/ListApplicationsCommand.js +39 -0
- package/dist-es/commands/ListEnvironmentVpcsCommand.js +39 -0
- package/dist-es/commands/ListEnvironmentsCommand.js +39 -0
- package/dist-es/commands/ListRoutesCommand.js +39 -0
- package/dist-es/commands/ListServicesCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/index.js +23 -0
- package/dist-es/endpoints.js +126 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +395 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListApplicationsPaginator.js +74 -0
- package/dist-es/pagination/ListEnvironmentVpcsPaginator.js +74 -0
- package/dist-es/pagination/ListEnvironmentsPaginator.js +74 -0
- package/dist-es/pagination/ListRoutesPaginator.js +74 -0
- package/dist-es/pagination/ListServicesPaginator.js +74 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +4225 -0
- package/dist-es/runtimeConfig.browser.js +17 -0
- package/dist-es/runtimeConfig.js +21 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/MigrationHubRefactorSpaces.d.ts +240 -0
- package/dist-types/MigrationHubRefactorSpacesClient.d.ts +169 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +38 -0
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +39 -0
- package/dist-types/commands/CreateRouteCommand.d.ts +70 -0
- package/dist-types/commands/CreateServiceCommand.d.ts +44 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +36 -0
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +36 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +35 -0
- package/dist-types/commands/DeleteRouteCommand.d.ts +35 -0
- package/dist-types/commands/DeleteServiceCommand.d.ts +35 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +35 -0
- package/dist-types/commands/GetEnvironmentCommand.d.ts +35 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +35 -0
- package/dist-types/commands/GetRouteCommand.d.ts +35 -0
- package/dist-types/commands/GetServiceCommand.d.ts +35 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +35 -0
- package/dist-types/commands/ListEnvironmentVpcsCommand.d.ts +35 -0
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +36 -0
- package/dist-types/commands/ListRoutesCommand.d.ts +35 -0
- package/dist-types/commands/ListServicesCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +36 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +38 -0
- package/dist-types/commands/TagResourceCommand.d.ts +41 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +23 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +5 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2193 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListEnvironmentVpcsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListRoutesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListServicesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +71 -0
- package/dist-types/runtimeConfig.browser.d.ts +39 -0
- package/dist-types/runtimeConfig.d.ts +39 -0
- package/dist-types/runtimeConfig.native.d.ts +38 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/MigrationHubRefactorSpaces.d.ts +120 -0
- package/dist-types/ts3.4/MigrationHubRefactorSpacesClient.d.ts +94 -0
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateRouteCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteRouteCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRouteCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEnvironmentVpcsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRoutesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +23 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +5 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1267 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListEnvironmentVpcsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListRoutesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +71 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +96 -0
|
@@ -0,0 +1,395 @@
|
|
|
1
|
+
import { __assign } from "tslib";
|
|
2
|
+
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
+
export var AccessDeniedException;
|
|
4
|
+
(function (AccessDeniedException) {
|
|
5
|
+
AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
+
})(AccessDeniedException || (AccessDeniedException = {}));
|
|
7
|
+
export var ApiGatewayEndpointType;
|
|
8
|
+
(function (ApiGatewayEndpointType) {
|
|
9
|
+
ApiGatewayEndpointType["PRIVATE"] = "PRIVATE";
|
|
10
|
+
ApiGatewayEndpointType["REGIONAL"] = "REGIONAL";
|
|
11
|
+
})(ApiGatewayEndpointType || (ApiGatewayEndpointType = {}));
|
|
12
|
+
export var ApiGatewayProxyConfig;
|
|
13
|
+
(function (ApiGatewayProxyConfig) {
|
|
14
|
+
ApiGatewayProxyConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
15
|
+
})(ApiGatewayProxyConfig || (ApiGatewayProxyConfig = {}));
|
|
16
|
+
export var ApiGatewayProxyInput;
|
|
17
|
+
(function (ApiGatewayProxyInput) {
|
|
18
|
+
ApiGatewayProxyInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
19
|
+
})(ApiGatewayProxyInput || (ApiGatewayProxyInput = {}));
|
|
20
|
+
export var ApiGatewayProxySummary;
|
|
21
|
+
(function (ApiGatewayProxySummary) {
|
|
22
|
+
ApiGatewayProxySummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
23
|
+
})(ApiGatewayProxySummary || (ApiGatewayProxySummary = {}));
|
|
24
|
+
export var ApplicationState;
|
|
25
|
+
(function (ApplicationState) {
|
|
26
|
+
ApplicationState["ACTIVE"] = "ACTIVE";
|
|
27
|
+
ApplicationState["CREATING"] = "CREATING";
|
|
28
|
+
ApplicationState["DELETING"] = "DELETING";
|
|
29
|
+
ApplicationState["FAILED"] = "FAILED";
|
|
30
|
+
ApplicationState["UPDATING"] = "UPDATING";
|
|
31
|
+
})(ApplicationState || (ApplicationState = {}));
|
|
32
|
+
export var ErrorCode;
|
|
33
|
+
(function (ErrorCode) {
|
|
34
|
+
ErrorCode["INVALID_RESOURCE_STATE"] = "INVALID_RESOURCE_STATE";
|
|
35
|
+
ErrorCode["NOT_AUTHORIZED"] = "NOT_AUTHORIZED";
|
|
36
|
+
ErrorCode["REQUEST_LIMIT_EXCEEDED"] = "REQUEST_LIMIT_EXCEEDED";
|
|
37
|
+
ErrorCode["RESOURCE_CREATION_FAILURE"] = "RESOURCE_CREATION_FAILURE";
|
|
38
|
+
ErrorCode["RESOURCE_DELETION_FAILURE"] = "RESOURCE_DELETION_FAILURE";
|
|
39
|
+
ErrorCode["RESOURCE_IN_USE"] = "RESOURCE_IN_USE";
|
|
40
|
+
ErrorCode["RESOURCE_LIMIT_EXCEEDED"] = "RESOURCE_LIMIT_EXCEEDED";
|
|
41
|
+
ErrorCode["RESOURCE_NOT_FOUND"] = "RESOURCE_NOT_FOUND";
|
|
42
|
+
ErrorCode["RESOURCE_RETRIEVAL_FAILURE"] = "RESOURCE_RETRIEVAL_FAILURE";
|
|
43
|
+
ErrorCode["RESOURCE_UPDATE_FAILURE"] = "RESOURCE_UPDATE_FAILURE";
|
|
44
|
+
ErrorCode["SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE"] = "SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE";
|
|
45
|
+
ErrorCode["STATE_TRANSITION_FAILURE"] = "STATE_TRANSITION_FAILURE";
|
|
46
|
+
})(ErrorCode || (ErrorCode = {}));
|
|
47
|
+
export var ErrorResourceType;
|
|
48
|
+
(function (ErrorResourceType) {
|
|
49
|
+
ErrorResourceType["API_GATEWAY"] = "API_GATEWAY";
|
|
50
|
+
ErrorResourceType["APPLICATION"] = "APPLICATION";
|
|
51
|
+
ErrorResourceType["ENVIRONMENT"] = "ENVIRONMENT";
|
|
52
|
+
ErrorResourceType["IAM_ROLE"] = "IAM_ROLE";
|
|
53
|
+
ErrorResourceType["LAMBDA"] = "LAMBDA";
|
|
54
|
+
ErrorResourceType["LOAD_BALANCER_LISTENER"] = "LOAD_BALANCER_LISTENER";
|
|
55
|
+
ErrorResourceType["NLB"] = "NLB";
|
|
56
|
+
ErrorResourceType["RESOURCE_SHARE"] = "RESOURCE_SHARE";
|
|
57
|
+
ErrorResourceType["ROUTE"] = "ROUTE";
|
|
58
|
+
ErrorResourceType["ROUTE_TABLE"] = "ROUTE_TABLE";
|
|
59
|
+
ErrorResourceType["SECURITY_GROUP"] = "SECURITY_GROUP";
|
|
60
|
+
ErrorResourceType["SERVICE"] = "SERVICE";
|
|
61
|
+
ErrorResourceType["SUBNET"] = "SUBNET";
|
|
62
|
+
ErrorResourceType["TARGET_GROUP"] = "TARGET_GROUP";
|
|
63
|
+
ErrorResourceType["TRANSIT_GATEWAY"] = "TRANSIT_GATEWAY";
|
|
64
|
+
ErrorResourceType["TRANSIT_GATEWAY_ATTACHMENT"] = "TRANSIT_GATEWAY_ATTACHMENT";
|
|
65
|
+
ErrorResourceType["VPC"] = "VPC";
|
|
66
|
+
ErrorResourceType["VPC_ENDPOINT_SERVICE_CONFIGURATION"] = "VPC_ENDPOINT_SERVICE_CONFIGURATION";
|
|
67
|
+
ErrorResourceType["VPC_LINK"] = "VPC_LINK";
|
|
68
|
+
})(ErrorResourceType || (ErrorResourceType = {}));
|
|
69
|
+
export var ErrorResponse;
|
|
70
|
+
(function (ErrorResponse) {
|
|
71
|
+
ErrorResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
72
|
+
})(ErrorResponse || (ErrorResponse = {}));
|
|
73
|
+
export var ProxyType;
|
|
74
|
+
(function (ProxyType) {
|
|
75
|
+
ProxyType["API_GATEWAY"] = "API_GATEWAY";
|
|
76
|
+
})(ProxyType || (ProxyType = {}));
|
|
77
|
+
export var ApplicationSummary;
|
|
78
|
+
(function (ApplicationSummary) {
|
|
79
|
+
ApplicationSummary.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
80
|
+
})(ApplicationSummary || (ApplicationSummary = {}));
|
|
81
|
+
export var ConflictException;
|
|
82
|
+
(function (ConflictException) {
|
|
83
|
+
ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
84
|
+
})(ConflictException || (ConflictException = {}));
|
|
85
|
+
export var CreateApplicationRequest;
|
|
86
|
+
(function (CreateApplicationRequest) {
|
|
87
|
+
CreateApplicationRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
88
|
+
})(CreateApplicationRequest || (CreateApplicationRequest = {}));
|
|
89
|
+
export var CreateApplicationResponse;
|
|
90
|
+
(function (CreateApplicationResponse) {
|
|
91
|
+
CreateApplicationResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
92
|
+
})(CreateApplicationResponse || (CreateApplicationResponse = {}));
|
|
93
|
+
export var InternalServerException;
|
|
94
|
+
(function (InternalServerException) {
|
|
95
|
+
InternalServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
96
|
+
})(InternalServerException || (InternalServerException = {}));
|
|
97
|
+
export var ResourceNotFoundException;
|
|
98
|
+
(function (ResourceNotFoundException) {
|
|
99
|
+
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
100
|
+
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
101
|
+
export var ServiceQuotaExceededException;
|
|
102
|
+
(function (ServiceQuotaExceededException) {
|
|
103
|
+
ServiceQuotaExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
104
|
+
})(ServiceQuotaExceededException || (ServiceQuotaExceededException = {}));
|
|
105
|
+
export var ThrottlingException;
|
|
106
|
+
(function (ThrottlingException) {
|
|
107
|
+
ThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
108
|
+
})(ThrottlingException || (ThrottlingException = {}));
|
|
109
|
+
export var ValidationException;
|
|
110
|
+
(function (ValidationException) {
|
|
111
|
+
ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
112
|
+
})(ValidationException || (ValidationException = {}));
|
|
113
|
+
export var NetworkFabricType;
|
|
114
|
+
(function (NetworkFabricType) {
|
|
115
|
+
NetworkFabricType["TRANSIT_GATEWAY"] = "TRANSIT_GATEWAY";
|
|
116
|
+
})(NetworkFabricType || (NetworkFabricType = {}));
|
|
117
|
+
export var CreateEnvironmentRequest;
|
|
118
|
+
(function (CreateEnvironmentRequest) {
|
|
119
|
+
CreateEnvironmentRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
120
|
+
})(CreateEnvironmentRequest || (CreateEnvironmentRequest = {}));
|
|
121
|
+
export var EnvironmentState;
|
|
122
|
+
(function (EnvironmentState) {
|
|
123
|
+
EnvironmentState["ACTIVE"] = "ACTIVE";
|
|
124
|
+
EnvironmentState["CREATING"] = "CREATING";
|
|
125
|
+
EnvironmentState["DELETING"] = "DELETING";
|
|
126
|
+
EnvironmentState["FAILED"] = "FAILED";
|
|
127
|
+
})(EnvironmentState || (EnvironmentState = {}));
|
|
128
|
+
export var CreateEnvironmentResponse;
|
|
129
|
+
(function (CreateEnvironmentResponse) {
|
|
130
|
+
CreateEnvironmentResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
131
|
+
})(CreateEnvironmentResponse || (CreateEnvironmentResponse = {}));
|
|
132
|
+
export var RouteType;
|
|
133
|
+
(function (RouteType) {
|
|
134
|
+
RouteType["DEFAULT"] = "DEFAULT";
|
|
135
|
+
RouteType["URI_PATH"] = "URI_PATH";
|
|
136
|
+
})(RouteType || (RouteType = {}));
|
|
137
|
+
export var RouteActivationState;
|
|
138
|
+
(function (RouteActivationState) {
|
|
139
|
+
RouteActivationState["ACTIVE"] = "ACTIVE";
|
|
140
|
+
})(RouteActivationState || (RouteActivationState = {}));
|
|
141
|
+
export var HttpMethod;
|
|
142
|
+
(function (HttpMethod) {
|
|
143
|
+
HttpMethod["DELETE"] = "DELETE";
|
|
144
|
+
HttpMethod["GET"] = "GET";
|
|
145
|
+
HttpMethod["HEAD"] = "HEAD";
|
|
146
|
+
HttpMethod["OPTIONS"] = "OPTIONS";
|
|
147
|
+
HttpMethod["PATCH"] = "PATCH";
|
|
148
|
+
HttpMethod["POST"] = "POST";
|
|
149
|
+
HttpMethod["PUT"] = "PUT";
|
|
150
|
+
})(HttpMethod || (HttpMethod = {}));
|
|
151
|
+
export var UriPathRouteInput;
|
|
152
|
+
(function (UriPathRouteInput) {
|
|
153
|
+
UriPathRouteInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
154
|
+
})(UriPathRouteInput || (UriPathRouteInput = {}));
|
|
155
|
+
export var CreateRouteRequest;
|
|
156
|
+
(function (CreateRouteRequest) {
|
|
157
|
+
CreateRouteRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
158
|
+
})(CreateRouteRequest || (CreateRouteRequest = {}));
|
|
159
|
+
export var RouteState;
|
|
160
|
+
(function (RouteState) {
|
|
161
|
+
RouteState["ACTIVE"] = "ACTIVE";
|
|
162
|
+
RouteState["CREATING"] = "CREATING";
|
|
163
|
+
RouteState["DELETING"] = "DELETING";
|
|
164
|
+
RouteState["FAILED"] = "FAILED";
|
|
165
|
+
RouteState["INACTIVE"] = "INACTIVE";
|
|
166
|
+
RouteState["UPDATING"] = "UPDATING";
|
|
167
|
+
})(RouteState || (RouteState = {}));
|
|
168
|
+
export var CreateRouteResponse;
|
|
169
|
+
(function (CreateRouteResponse) {
|
|
170
|
+
CreateRouteResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
171
|
+
})(CreateRouteResponse || (CreateRouteResponse = {}));
|
|
172
|
+
export var ServiceEndpointType;
|
|
173
|
+
(function (ServiceEndpointType) {
|
|
174
|
+
ServiceEndpointType["LAMBDA"] = "LAMBDA";
|
|
175
|
+
ServiceEndpointType["URL"] = "URL";
|
|
176
|
+
})(ServiceEndpointType || (ServiceEndpointType = {}));
|
|
177
|
+
export var LambdaEndpointInput;
|
|
178
|
+
(function (LambdaEndpointInput) {
|
|
179
|
+
LambdaEndpointInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
180
|
+
})(LambdaEndpointInput || (LambdaEndpointInput = {}));
|
|
181
|
+
export var UrlEndpointInput;
|
|
182
|
+
(function (UrlEndpointInput) {
|
|
183
|
+
UrlEndpointInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
184
|
+
})(UrlEndpointInput || (UrlEndpointInput = {}));
|
|
185
|
+
export var CreateServiceRequest;
|
|
186
|
+
(function (CreateServiceRequest) {
|
|
187
|
+
CreateServiceRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
188
|
+
})(CreateServiceRequest || (CreateServiceRequest = {}));
|
|
189
|
+
export var ServiceState;
|
|
190
|
+
(function (ServiceState) {
|
|
191
|
+
ServiceState["ACTIVE"] = "ACTIVE";
|
|
192
|
+
ServiceState["CREATING"] = "CREATING";
|
|
193
|
+
ServiceState["DELETING"] = "DELETING";
|
|
194
|
+
ServiceState["FAILED"] = "FAILED";
|
|
195
|
+
})(ServiceState || (ServiceState = {}));
|
|
196
|
+
export var CreateServiceResponse;
|
|
197
|
+
(function (CreateServiceResponse) {
|
|
198
|
+
CreateServiceResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
199
|
+
})(CreateServiceResponse || (CreateServiceResponse = {}));
|
|
200
|
+
export var DeleteApplicationRequest;
|
|
201
|
+
(function (DeleteApplicationRequest) {
|
|
202
|
+
DeleteApplicationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
203
|
+
})(DeleteApplicationRequest || (DeleteApplicationRequest = {}));
|
|
204
|
+
export var DeleteApplicationResponse;
|
|
205
|
+
(function (DeleteApplicationResponse) {
|
|
206
|
+
DeleteApplicationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
207
|
+
})(DeleteApplicationResponse || (DeleteApplicationResponse = {}));
|
|
208
|
+
export var DeleteEnvironmentRequest;
|
|
209
|
+
(function (DeleteEnvironmentRequest) {
|
|
210
|
+
DeleteEnvironmentRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
211
|
+
})(DeleteEnvironmentRequest || (DeleteEnvironmentRequest = {}));
|
|
212
|
+
export var DeleteEnvironmentResponse;
|
|
213
|
+
(function (DeleteEnvironmentResponse) {
|
|
214
|
+
DeleteEnvironmentResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
215
|
+
})(DeleteEnvironmentResponse || (DeleteEnvironmentResponse = {}));
|
|
216
|
+
export var DeleteResourcePolicyRequest;
|
|
217
|
+
(function (DeleteResourcePolicyRequest) {
|
|
218
|
+
DeleteResourcePolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
219
|
+
})(DeleteResourcePolicyRequest || (DeleteResourcePolicyRequest = {}));
|
|
220
|
+
export var DeleteResourcePolicyResponse;
|
|
221
|
+
(function (DeleteResourcePolicyResponse) {
|
|
222
|
+
DeleteResourcePolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
223
|
+
})(DeleteResourcePolicyResponse || (DeleteResourcePolicyResponse = {}));
|
|
224
|
+
export var DeleteRouteRequest;
|
|
225
|
+
(function (DeleteRouteRequest) {
|
|
226
|
+
DeleteRouteRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
227
|
+
})(DeleteRouteRequest || (DeleteRouteRequest = {}));
|
|
228
|
+
export var DeleteRouteResponse;
|
|
229
|
+
(function (DeleteRouteResponse) {
|
|
230
|
+
DeleteRouteResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
231
|
+
})(DeleteRouteResponse || (DeleteRouteResponse = {}));
|
|
232
|
+
export var DeleteServiceRequest;
|
|
233
|
+
(function (DeleteServiceRequest) {
|
|
234
|
+
DeleteServiceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
235
|
+
})(DeleteServiceRequest || (DeleteServiceRequest = {}));
|
|
236
|
+
export var DeleteServiceResponse;
|
|
237
|
+
(function (DeleteServiceResponse) {
|
|
238
|
+
DeleteServiceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
239
|
+
})(DeleteServiceResponse || (DeleteServiceResponse = {}));
|
|
240
|
+
export var EnvironmentSummary;
|
|
241
|
+
(function (EnvironmentSummary) {
|
|
242
|
+
EnvironmentSummary.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
243
|
+
})(EnvironmentSummary || (EnvironmentSummary = {}));
|
|
244
|
+
export var EnvironmentVpc;
|
|
245
|
+
(function (EnvironmentVpc) {
|
|
246
|
+
EnvironmentVpc.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
247
|
+
})(EnvironmentVpc || (EnvironmentVpc = {}));
|
|
248
|
+
export var GetApplicationRequest;
|
|
249
|
+
(function (GetApplicationRequest) {
|
|
250
|
+
GetApplicationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
251
|
+
})(GetApplicationRequest || (GetApplicationRequest = {}));
|
|
252
|
+
export var GetApplicationResponse;
|
|
253
|
+
(function (GetApplicationResponse) {
|
|
254
|
+
GetApplicationResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
255
|
+
})(GetApplicationResponse || (GetApplicationResponse = {}));
|
|
256
|
+
export var GetEnvironmentRequest;
|
|
257
|
+
(function (GetEnvironmentRequest) {
|
|
258
|
+
GetEnvironmentRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
259
|
+
})(GetEnvironmentRequest || (GetEnvironmentRequest = {}));
|
|
260
|
+
export var GetEnvironmentResponse;
|
|
261
|
+
(function (GetEnvironmentResponse) {
|
|
262
|
+
GetEnvironmentResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
263
|
+
})(GetEnvironmentResponse || (GetEnvironmentResponse = {}));
|
|
264
|
+
export var GetResourcePolicyRequest;
|
|
265
|
+
(function (GetResourcePolicyRequest) {
|
|
266
|
+
GetResourcePolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
267
|
+
})(GetResourcePolicyRequest || (GetResourcePolicyRequest = {}));
|
|
268
|
+
export var GetResourcePolicyResponse;
|
|
269
|
+
(function (GetResourcePolicyResponse) {
|
|
270
|
+
GetResourcePolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
271
|
+
})(GetResourcePolicyResponse || (GetResourcePolicyResponse = {}));
|
|
272
|
+
export var GetRouteRequest;
|
|
273
|
+
(function (GetRouteRequest) {
|
|
274
|
+
GetRouteRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
275
|
+
})(GetRouteRequest || (GetRouteRequest = {}));
|
|
276
|
+
export var GetRouteResponse;
|
|
277
|
+
(function (GetRouteResponse) {
|
|
278
|
+
GetRouteResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
279
|
+
})(GetRouteResponse || (GetRouteResponse = {}));
|
|
280
|
+
export var GetServiceRequest;
|
|
281
|
+
(function (GetServiceRequest) {
|
|
282
|
+
GetServiceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
283
|
+
})(GetServiceRequest || (GetServiceRequest = {}));
|
|
284
|
+
export var LambdaEndpointConfig;
|
|
285
|
+
(function (LambdaEndpointConfig) {
|
|
286
|
+
LambdaEndpointConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
287
|
+
})(LambdaEndpointConfig || (LambdaEndpointConfig = {}));
|
|
288
|
+
export var UrlEndpointConfig;
|
|
289
|
+
(function (UrlEndpointConfig) {
|
|
290
|
+
UrlEndpointConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
291
|
+
})(UrlEndpointConfig || (UrlEndpointConfig = {}));
|
|
292
|
+
export var GetServiceResponse;
|
|
293
|
+
(function (GetServiceResponse) {
|
|
294
|
+
GetServiceResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
295
|
+
})(GetServiceResponse || (GetServiceResponse = {}));
|
|
296
|
+
export var InvalidResourcePolicyException;
|
|
297
|
+
(function (InvalidResourcePolicyException) {
|
|
298
|
+
InvalidResourcePolicyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
299
|
+
})(InvalidResourcePolicyException || (InvalidResourcePolicyException = {}));
|
|
300
|
+
export var LambdaEndpointSummary;
|
|
301
|
+
(function (LambdaEndpointSummary) {
|
|
302
|
+
LambdaEndpointSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
303
|
+
})(LambdaEndpointSummary || (LambdaEndpointSummary = {}));
|
|
304
|
+
export var ListApplicationsRequest;
|
|
305
|
+
(function (ListApplicationsRequest) {
|
|
306
|
+
ListApplicationsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
307
|
+
})(ListApplicationsRequest || (ListApplicationsRequest = {}));
|
|
308
|
+
export var ListApplicationsResponse;
|
|
309
|
+
(function (ListApplicationsResponse) {
|
|
310
|
+
ListApplicationsResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ApplicationSummaryList && {
|
|
311
|
+
ApplicationSummaryList: obj.ApplicationSummaryList.map(function (item) { return ApplicationSummary.filterSensitiveLog(item); }),
|
|
312
|
+
}))); };
|
|
313
|
+
})(ListApplicationsResponse || (ListApplicationsResponse = {}));
|
|
314
|
+
export var ListEnvironmentsRequest;
|
|
315
|
+
(function (ListEnvironmentsRequest) {
|
|
316
|
+
ListEnvironmentsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
317
|
+
})(ListEnvironmentsRequest || (ListEnvironmentsRequest = {}));
|
|
318
|
+
export var ListEnvironmentsResponse;
|
|
319
|
+
(function (ListEnvironmentsResponse) {
|
|
320
|
+
ListEnvironmentsResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.EnvironmentSummaryList && {
|
|
321
|
+
EnvironmentSummaryList: obj.EnvironmentSummaryList.map(function (item) { return EnvironmentSummary.filterSensitiveLog(item); }),
|
|
322
|
+
}))); };
|
|
323
|
+
})(ListEnvironmentsResponse || (ListEnvironmentsResponse = {}));
|
|
324
|
+
export var ListEnvironmentVpcsRequest;
|
|
325
|
+
(function (ListEnvironmentVpcsRequest) {
|
|
326
|
+
ListEnvironmentVpcsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
327
|
+
})(ListEnvironmentVpcsRequest || (ListEnvironmentVpcsRequest = {}));
|
|
328
|
+
export var ListEnvironmentVpcsResponse;
|
|
329
|
+
(function (ListEnvironmentVpcsResponse) {
|
|
330
|
+
ListEnvironmentVpcsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
331
|
+
})(ListEnvironmentVpcsResponse || (ListEnvironmentVpcsResponse = {}));
|
|
332
|
+
export var ListRoutesRequest;
|
|
333
|
+
(function (ListRoutesRequest) {
|
|
334
|
+
ListRoutesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
335
|
+
})(ListRoutesRequest || (ListRoutesRequest = {}));
|
|
336
|
+
export var RouteSummary;
|
|
337
|
+
(function (RouteSummary) {
|
|
338
|
+
RouteSummary.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
339
|
+
})(RouteSummary || (RouteSummary = {}));
|
|
340
|
+
export var ListRoutesResponse;
|
|
341
|
+
(function (ListRoutesResponse) {
|
|
342
|
+
ListRoutesResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.RouteSummaryList && {
|
|
343
|
+
RouteSummaryList: obj.RouteSummaryList.map(function (item) { return RouteSummary.filterSensitiveLog(item); }),
|
|
344
|
+
}))); };
|
|
345
|
+
})(ListRoutesResponse || (ListRoutesResponse = {}));
|
|
346
|
+
export var ListServicesRequest;
|
|
347
|
+
(function (ListServicesRequest) {
|
|
348
|
+
ListServicesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
349
|
+
})(ListServicesRequest || (ListServicesRequest = {}));
|
|
350
|
+
export var UrlEndpointSummary;
|
|
351
|
+
(function (UrlEndpointSummary) {
|
|
352
|
+
UrlEndpointSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
353
|
+
})(UrlEndpointSummary || (UrlEndpointSummary = {}));
|
|
354
|
+
export var ServiceSummary;
|
|
355
|
+
(function (ServiceSummary) {
|
|
356
|
+
ServiceSummary.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
357
|
+
})(ServiceSummary || (ServiceSummary = {}));
|
|
358
|
+
export var ListServicesResponse;
|
|
359
|
+
(function (ListServicesResponse) {
|
|
360
|
+
ListServicesResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ServiceSummaryList && {
|
|
361
|
+
ServiceSummaryList: obj.ServiceSummaryList.map(function (item) { return ServiceSummary.filterSensitiveLog(item); }),
|
|
362
|
+
}))); };
|
|
363
|
+
})(ListServicesResponse || (ListServicesResponse = {}));
|
|
364
|
+
export var ListTagsForResourceRequest;
|
|
365
|
+
(function (ListTagsForResourceRequest) {
|
|
366
|
+
ListTagsForResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
367
|
+
})(ListTagsForResourceRequest || (ListTagsForResourceRequest = {}));
|
|
368
|
+
export var ListTagsForResourceResponse;
|
|
369
|
+
(function (ListTagsForResourceResponse) {
|
|
370
|
+
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
371
|
+
})(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
|
|
372
|
+
export var PutResourcePolicyRequest;
|
|
373
|
+
(function (PutResourcePolicyRequest) {
|
|
374
|
+
PutResourcePolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
375
|
+
})(PutResourcePolicyRequest || (PutResourcePolicyRequest = {}));
|
|
376
|
+
export var PutResourcePolicyResponse;
|
|
377
|
+
(function (PutResourcePolicyResponse) {
|
|
378
|
+
PutResourcePolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
379
|
+
})(PutResourcePolicyResponse || (PutResourcePolicyResponse = {}));
|
|
380
|
+
export var TagResourceRequest;
|
|
381
|
+
(function (TagResourceRequest) {
|
|
382
|
+
TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
383
|
+
})(TagResourceRequest || (TagResourceRequest = {}));
|
|
384
|
+
export var TagResourceResponse;
|
|
385
|
+
(function (TagResourceResponse) {
|
|
386
|
+
TagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
387
|
+
})(TagResourceResponse || (TagResourceResponse = {}));
|
|
388
|
+
export var UntagResourceRequest;
|
|
389
|
+
(function (UntagResourceRequest) {
|
|
390
|
+
UntagResourceRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.TagKeys && { TagKeys: SENSITIVE_STRING }))); };
|
|
391
|
+
})(UntagResourceRequest || (UntagResourceRequest = {}));
|
|
392
|
+
export var UntagResourceResponse;
|
|
393
|
+
(function (UntagResourceResponse) {
|
|
394
|
+
UntagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
395
|
+
})(UntagResourceResponse || (UntagResourceResponse = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListApplicationsCommand, } from "../commands/ListApplicationsCommand";
|
|
3
|
+
import { MigrationHubRefactorSpaces } from "../MigrationHubRefactorSpaces";
|
|
4
|
+
import { MigrationHubRefactorSpacesClient } from "../MigrationHubRefactorSpacesClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListApplicationsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listApplications.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListApplications(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListApplications_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof MigrationHubRefactorSpaces)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof MigrationHubRefactorSpacesClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected MigrationHubRefactorSpaces | MigrationHubRefactorSpacesClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.NextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListEnvironmentVpcsCommand, } from "../commands/ListEnvironmentVpcsCommand";
|
|
3
|
+
import { MigrationHubRefactorSpaces } from "../MigrationHubRefactorSpaces";
|
|
4
|
+
import { MigrationHubRefactorSpacesClient } from "../MigrationHubRefactorSpacesClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListEnvironmentVpcsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listEnvironmentVpcs.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListEnvironmentVpcs(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListEnvironmentVpcs_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof MigrationHubRefactorSpaces)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof MigrationHubRefactorSpacesClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected MigrationHubRefactorSpaces | MigrationHubRefactorSpacesClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.NextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListEnvironmentsCommand, } from "../commands/ListEnvironmentsCommand";
|
|
3
|
+
import { MigrationHubRefactorSpaces } from "../MigrationHubRefactorSpaces";
|
|
4
|
+
import { MigrationHubRefactorSpacesClient } from "../MigrationHubRefactorSpacesClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListEnvironmentsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listEnvironments.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListEnvironments(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListEnvironments_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof MigrationHubRefactorSpaces)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof MigrationHubRefactorSpacesClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected MigrationHubRefactorSpaces | MigrationHubRefactorSpacesClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.NextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|