@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.
Files changed (172) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +215 -0
  4. package/dist-cjs/MigrationHubRefactorSpaces.js +352 -0
  5. package/dist-cjs/MigrationHubRefactorSpacesClient.js +35 -0
  6. package/dist-cjs/commands/CreateApplicationCommand.js +36 -0
  7. package/dist-cjs/commands/CreateEnvironmentCommand.js +36 -0
  8. package/dist-cjs/commands/CreateRouteCommand.js +36 -0
  9. package/dist-cjs/commands/CreateServiceCommand.js +36 -0
  10. package/dist-cjs/commands/DeleteApplicationCommand.js +36 -0
  11. package/dist-cjs/commands/DeleteEnvironmentCommand.js +36 -0
  12. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +36 -0
  13. package/dist-cjs/commands/DeleteRouteCommand.js +36 -0
  14. package/dist-cjs/commands/DeleteServiceCommand.js +36 -0
  15. package/dist-cjs/commands/GetApplicationCommand.js +36 -0
  16. package/dist-cjs/commands/GetEnvironmentCommand.js +36 -0
  17. package/dist-cjs/commands/GetResourcePolicyCommand.js +36 -0
  18. package/dist-cjs/commands/GetRouteCommand.js +36 -0
  19. package/dist-cjs/commands/GetServiceCommand.js +36 -0
  20. package/dist-cjs/commands/ListApplicationsCommand.js +36 -0
  21. package/dist-cjs/commands/ListEnvironmentVpcsCommand.js +36 -0
  22. package/dist-cjs/commands/ListEnvironmentsCommand.js +36 -0
  23. package/dist-cjs/commands/ListRoutesCommand.js +36 -0
  24. package/dist-cjs/commands/ListServicesCommand.js +36 -0
  25. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  26. package/dist-cjs/commands/PutResourcePolicyCommand.js +36 -0
  27. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  28. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  29. package/dist-cjs/commands/index.js +26 -0
  30. package/dist-cjs/endpoints.js +130 -0
  31. package/dist-cjs/index.js +8 -0
  32. package/dist-cjs/models/index.js +4 -0
  33. package/dist-cjs/models/models_0.js +561 -0
  34. package/dist-cjs/pagination/Interfaces.js +2 -0
  35. package/dist-cjs/pagination/ListApplicationsPaginator.js +35 -0
  36. package/dist-cjs/pagination/ListEnvironmentVpcsPaginator.js +35 -0
  37. package/dist-cjs/pagination/ListEnvironmentsPaginator.js +35 -0
  38. package/dist-cjs/pagination/ListRoutesPaginator.js +35 -0
  39. package/dist-cjs/pagination/ListServicesPaginator.js +35 -0
  40. package/dist-cjs/pagination/index.js +9 -0
  41. package/dist-cjs/protocols/Aws_restJson1.js +3834 -0
  42. package/dist-cjs/runtimeConfig.browser.js +40 -0
  43. package/dist-cjs/runtimeConfig.js +44 -0
  44. package/dist-cjs/runtimeConfig.native.js +16 -0
  45. package/dist-cjs/runtimeConfig.shared.js +17 -0
  46. package/dist-es/MigrationHubRefactorSpaces.js +355 -0
  47. package/dist-es/MigrationHubRefactorSpacesClient.js +37 -0
  48. package/dist-es/commands/CreateApplicationCommand.js +39 -0
  49. package/dist-es/commands/CreateEnvironmentCommand.js +39 -0
  50. package/dist-es/commands/CreateRouteCommand.js +39 -0
  51. package/dist-es/commands/CreateServiceCommand.js +39 -0
  52. package/dist-es/commands/DeleteApplicationCommand.js +39 -0
  53. package/dist-es/commands/DeleteEnvironmentCommand.js +39 -0
  54. package/dist-es/commands/DeleteResourcePolicyCommand.js +39 -0
  55. package/dist-es/commands/DeleteRouteCommand.js +39 -0
  56. package/dist-es/commands/DeleteServiceCommand.js +39 -0
  57. package/dist-es/commands/GetApplicationCommand.js +39 -0
  58. package/dist-es/commands/GetEnvironmentCommand.js +39 -0
  59. package/dist-es/commands/GetResourcePolicyCommand.js +39 -0
  60. package/dist-es/commands/GetRouteCommand.js +39 -0
  61. package/dist-es/commands/GetServiceCommand.js +39 -0
  62. package/dist-es/commands/ListApplicationsCommand.js +39 -0
  63. package/dist-es/commands/ListEnvironmentVpcsCommand.js +39 -0
  64. package/dist-es/commands/ListEnvironmentsCommand.js +39 -0
  65. package/dist-es/commands/ListRoutesCommand.js +39 -0
  66. package/dist-es/commands/ListServicesCommand.js +39 -0
  67. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  68. package/dist-es/commands/PutResourcePolicyCommand.js +39 -0
  69. package/dist-es/commands/TagResourceCommand.js +39 -0
  70. package/dist-es/commands/UntagResourceCommand.js +39 -0
  71. package/dist-es/commands/index.js +23 -0
  72. package/dist-es/endpoints.js +126 -0
  73. package/dist-es/index.js +5 -0
  74. package/dist-es/models/index.js +1 -0
  75. package/dist-es/models/models_0.js +395 -0
  76. package/dist-es/pagination/Interfaces.js +1 -0
  77. package/dist-es/pagination/ListApplicationsPaginator.js +74 -0
  78. package/dist-es/pagination/ListEnvironmentVpcsPaginator.js +74 -0
  79. package/dist-es/pagination/ListEnvironmentsPaginator.js +74 -0
  80. package/dist-es/pagination/ListRoutesPaginator.js +74 -0
  81. package/dist-es/pagination/ListServicesPaginator.js +74 -0
  82. package/dist-es/pagination/index.js +6 -0
  83. package/dist-es/protocols/Aws_restJson1.js +4225 -0
  84. package/dist-es/runtimeConfig.browser.js +17 -0
  85. package/dist-es/runtimeConfig.js +21 -0
  86. package/dist-es/runtimeConfig.native.js +8 -0
  87. package/dist-es/runtimeConfig.shared.js +13 -0
  88. package/dist-types/MigrationHubRefactorSpaces.d.ts +240 -0
  89. package/dist-types/MigrationHubRefactorSpacesClient.d.ts +169 -0
  90. package/dist-types/commands/CreateApplicationCommand.d.ts +38 -0
  91. package/dist-types/commands/CreateEnvironmentCommand.d.ts +39 -0
  92. package/dist-types/commands/CreateRouteCommand.d.ts +70 -0
  93. package/dist-types/commands/CreateServiceCommand.d.ts +44 -0
  94. package/dist-types/commands/DeleteApplicationCommand.d.ts +36 -0
  95. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +36 -0
  96. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +35 -0
  97. package/dist-types/commands/DeleteRouteCommand.d.ts +35 -0
  98. package/dist-types/commands/DeleteServiceCommand.d.ts +35 -0
  99. package/dist-types/commands/GetApplicationCommand.d.ts +35 -0
  100. package/dist-types/commands/GetEnvironmentCommand.d.ts +35 -0
  101. package/dist-types/commands/GetResourcePolicyCommand.d.ts +35 -0
  102. package/dist-types/commands/GetRouteCommand.d.ts +35 -0
  103. package/dist-types/commands/GetServiceCommand.d.ts +35 -0
  104. package/dist-types/commands/ListApplicationsCommand.d.ts +35 -0
  105. package/dist-types/commands/ListEnvironmentVpcsCommand.d.ts +35 -0
  106. package/dist-types/commands/ListEnvironmentsCommand.d.ts +36 -0
  107. package/dist-types/commands/ListRoutesCommand.d.ts +35 -0
  108. package/dist-types/commands/ListServicesCommand.d.ts +35 -0
  109. package/dist-types/commands/ListTagsForResourceCommand.d.ts +36 -0
  110. package/dist-types/commands/PutResourcePolicyCommand.d.ts +38 -0
  111. package/dist-types/commands/TagResourceCommand.d.ts +41 -0
  112. package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
  113. package/dist-types/commands/index.d.ts +23 -0
  114. package/dist-types/endpoints.d.ts +2 -0
  115. package/dist-types/index.d.ts +5 -0
  116. package/dist-types/models/index.d.ts +1 -0
  117. package/dist-types/models/models_0.d.ts +2193 -0
  118. package/dist-types/pagination/Interfaces.d.ts +6 -0
  119. package/dist-types/pagination/ListApplicationsPaginator.d.ts +4 -0
  120. package/dist-types/pagination/ListEnvironmentVpcsPaginator.d.ts +4 -0
  121. package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +4 -0
  122. package/dist-types/pagination/ListRoutesPaginator.d.ts +4 -0
  123. package/dist-types/pagination/ListServicesPaginator.d.ts +4 -0
  124. package/dist-types/pagination/index.d.ts +6 -0
  125. package/dist-types/protocols/Aws_restJson1.d.ts +71 -0
  126. package/dist-types/runtimeConfig.browser.d.ts +39 -0
  127. package/dist-types/runtimeConfig.d.ts +39 -0
  128. package/dist-types/runtimeConfig.native.d.ts +38 -0
  129. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  130. package/dist-types/ts3.4/MigrationHubRefactorSpaces.d.ts +120 -0
  131. package/dist-types/ts3.4/MigrationHubRefactorSpacesClient.d.ts +94 -0
  132. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +17 -0
  133. package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +17 -0
  134. package/dist-types/ts3.4/commands/CreateRouteCommand.d.ts +17 -0
  135. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +17 -0
  136. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +17 -0
  137. package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +17 -0
  138. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +17 -0
  139. package/dist-types/ts3.4/commands/DeleteRouteCommand.d.ts +17 -0
  140. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +17 -0
  141. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +17 -0
  142. package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +17 -0
  143. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +17 -0
  144. package/dist-types/ts3.4/commands/GetRouteCommand.d.ts +17 -0
  145. package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +17 -0
  147. package/dist-types/ts3.4/commands/ListEnvironmentVpcsCommand.d.ts +17 -0
  148. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/ListRoutesCommand.d.ts +17 -0
  150. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +17 -0
  151. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  152. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  154. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  155. package/dist-types/ts3.4/commands/index.d.ts +23 -0
  156. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  157. package/dist-types/ts3.4/index.d.ts +5 -0
  158. package/dist-types/ts3.4/models/index.d.ts +1 -0
  159. package/dist-types/ts3.4/models/models_0.d.ts +1267 -0
  160. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  161. package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +4 -0
  162. package/dist-types/ts3.4/pagination/ListEnvironmentVpcsPaginator.d.ts +4 -0
  163. package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +4 -0
  164. package/dist-types/ts3.4/pagination/ListRoutesPaginator.d.ts +4 -0
  165. package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +4 -0
  166. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  167. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +71 -0
  168. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
  169. package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
  170. package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
  171. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  172. package/package.json +96 -0
@@ -0,0 +1,2193 @@
1
+ import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
+ /**
3
+ * <p>The user does not have sufficient access to perform this action. </p>
4
+ */
5
+ export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
+ name: "AccessDeniedException";
7
+ $fault: "client";
8
+ Message: string | undefined;
9
+ }
10
+ export declare namespace AccessDeniedException {
11
+ /**
12
+ * @internal
13
+ */
14
+ const filterSensitiveLog: (obj: AccessDeniedException) => any;
15
+ }
16
+ export declare enum ApiGatewayEndpointType {
17
+ PRIVATE = "PRIVATE",
18
+ REGIONAL = "REGIONAL"
19
+ }
20
+ /**
21
+ * <p>A wrapper object holding the Amazon API Gateway proxy configuration. </p>
22
+ */
23
+ export interface ApiGatewayProxyConfig {
24
+ /**
25
+ * <p>The endpoint URL of the API Gateway proxy. </p>
26
+ */
27
+ ProxyUrl?: string;
28
+ /**
29
+ * <p>The resource ID of the API Gateway for the proxy. </p>
30
+ */
31
+ ApiGatewayId?: string;
32
+ /**
33
+ * <p>The <code>VpcLink</code> ID of the API Gateway proxy. </p>
34
+ */
35
+ VpcLinkId?: string;
36
+ /**
37
+ * <p>The Amazon Resource Name (ARN) of the Network Load Balancer configured by the API Gateway proxy. </p>
38
+ */
39
+ NlbArn?: string;
40
+ /**
41
+ * <p>The name of the Network Load Balancer that is configured by the API Gateway proxy. </p>
42
+ */
43
+ NlbName?: string;
44
+ /**
45
+ * <p>The type of API Gateway endpoint created. </p>
46
+ */
47
+ EndpointType?: ApiGatewayEndpointType | string;
48
+ /**
49
+ * <p>The name of the API Gateway stage. The name defaults to <code>prod</code>. </p>
50
+ */
51
+ StageName?: string;
52
+ }
53
+ export declare namespace ApiGatewayProxyConfig {
54
+ /**
55
+ * @internal
56
+ */
57
+ const filterSensitiveLog: (obj: ApiGatewayProxyConfig) => any;
58
+ }
59
+ /**
60
+ * <p>A wrapper object holding the Amazon API Gateway endpoint input. </p>
61
+ */
62
+ export interface ApiGatewayProxyInput {
63
+ /**
64
+ * <p>The type of endpoint to use for the API Gateway proxy. If no value is specified in
65
+ * the request, the value is set to <code>REGIONAL</code> by default.</p>
66
+ * <p>If the value is set to <code>PRIVATE</code> in the request, this creates a private API
67
+ * endpoint that is isolated from the public internet. The private endpoint can only be accessed
68
+ * by using Amazon Virtual Private Cloud (Amazon VPC) endpoints for Amazon API Gateway that
69
+ * have been granted access. </p>
70
+ */
71
+ EndpointType?: ApiGatewayEndpointType | string;
72
+ /**
73
+ * <p>The name of the API Gateway stage. The name defaults to <code>prod</code>. </p>
74
+ */
75
+ StageName?: string;
76
+ }
77
+ export declare namespace ApiGatewayProxyInput {
78
+ /**
79
+ * @internal
80
+ */
81
+ const filterSensitiveLog: (obj: ApiGatewayProxyInput) => any;
82
+ }
83
+ /**
84
+ * <p>A wrapper object holding the Amazon API Gateway proxy summary. </p>
85
+ */
86
+ export interface ApiGatewayProxySummary {
87
+ /**
88
+ * <p>The endpoint URL of the API Gateway proxy. </p>
89
+ */
90
+ ProxyUrl?: string;
91
+ /**
92
+ * <p>The resource ID of the API Gateway for the proxy. </p>
93
+ */
94
+ ApiGatewayId?: string;
95
+ /**
96
+ * <p>The <code>VpcLink</code> ID of the API Gateway proxy. </p>
97
+ */
98
+ VpcLinkId?: string;
99
+ /**
100
+ * <p>The Amazon Resource Name (ARN) of the Network Load Balancer configured by the API Gateway proxy. </p>
101
+ */
102
+ NlbArn?: string;
103
+ /**
104
+ * <p>The name of the Network Load Balancer that is configured by the API Gateway proxy. </p>
105
+ */
106
+ NlbName?: string;
107
+ /**
108
+ * <p>The type of API Gateway endpoint created. </p>
109
+ */
110
+ EndpointType?: ApiGatewayEndpointType | string;
111
+ /**
112
+ * <p>The name of the API Gateway stage. The name defaults to <code>prod</code>. </p>
113
+ */
114
+ StageName?: string;
115
+ }
116
+ export declare namespace ApiGatewayProxySummary {
117
+ /**
118
+ * @internal
119
+ */
120
+ const filterSensitiveLog: (obj: ApiGatewayProxySummary) => any;
121
+ }
122
+ export declare enum ApplicationState {
123
+ ACTIVE = "ACTIVE",
124
+ CREATING = "CREATING",
125
+ DELETING = "DELETING",
126
+ FAILED = "FAILED",
127
+ UPDATING = "UPDATING"
128
+ }
129
+ export declare enum ErrorCode {
130
+ INVALID_RESOURCE_STATE = "INVALID_RESOURCE_STATE",
131
+ NOT_AUTHORIZED = "NOT_AUTHORIZED",
132
+ REQUEST_LIMIT_EXCEEDED = "REQUEST_LIMIT_EXCEEDED",
133
+ RESOURCE_CREATION_FAILURE = "RESOURCE_CREATION_FAILURE",
134
+ RESOURCE_DELETION_FAILURE = "RESOURCE_DELETION_FAILURE",
135
+ RESOURCE_IN_USE = "RESOURCE_IN_USE",
136
+ RESOURCE_LIMIT_EXCEEDED = "RESOURCE_LIMIT_EXCEEDED",
137
+ RESOURCE_NOT_FOUND = "RESOURCE_NOT_FOUND",
138
+ RESOURCE_RETRIEVAL_FAILURE = "RESOURCE_RETRIEVAL_FAILURE",
139
+ RESOURCE_UPDATE_FAILURE = "RESOURCE_UPDATE_FAILURE",
140
+ SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE = "SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE",
141
+ STATE_TRANSITION_FAILURE = "STATE_TRANSITION_FAILURE"
142
+ }
143
+ export declare enum ErrorResourceType {
144
+ API_GATEWAY = "API_GATEWAY",
145
+ APPLICATION = "APPLICATION",
146
+ ENVIRONMENT = "ENVIRONMENT",
147
+ IAM_ROLE = "IAM_ROLE",
148
+ LAMBDA = "LAMBDA",
149
+ LOAD_BALANCER_LISTENER = "LOAD_BALANCER_LISTENER",
150
+ NLB = "NLB",
151
+ RESOURCE_SHARE = "RESOURCE_SHARE",
152
+ ROUTE = "ROUTE",
153
+ ROUTE_TABLE = "ROUTE_TABLE",
154
+ SECURITY_GROUP = "SECURITY_GROUP",
155
+ SERVICE = "SERVICE",
156
+ SUBNET = "SUBNET",
157
+ TARGET_GROUP = "TARGET_GROUP",
158
+ TRANSIT_GATEWAY = "TRANSIT_GATEWAY",
159
+ TRANSIT_GATEWAY_ATTACHMENT = "TRANSIT_GATEWAY_ATTACHMENT",
160
+ VPC = "VPC",
161
+ VPC_ENDPOINT_SERVICE_CONFIGURATION = "VPC_ENDPOINT_SERVICE_CONFIGURATION",
162
+ VPC_LINK = "VPC_LINK"
163
+ }
164
+ /**
165
+ * <p>Error associated with a resource returned for a Get or List resource response. </p>
166
+ */
167
+ export interface ErrorResponse {
168
+ /**
169
+ * <p>The error code associated with the error. </p>
170
+ */
171
+ Code?: ErrorCode | string;
172
+ /**
173
+ * <p>The message associated with the error. </p>
174
+ */
175
+ Message?: string;
176
+ /**
177
+ * <p>The Amazon Web Services account ID of the resource owner. </p>
178
+ */
179
+ AccountId?: string;
180
+ /**
181
+ * <p>The ID of the resource. </p>
182
+ */
183
+ ResourceIdentifier?: string;
184
+ /**
185
+ * <p>The type of resource. </p>
186
+ */
187
+ ResourceType?: ErrorResourceType | string;
188
+ /**
189
+ * <p>Additional details about the error. </p>
190
+ */
191
+ AdditionalDetails?: {
192
+ [key: string]: string;
193
+ };
194
+ }
195
+ export declare namespace ErrorResponse {
196
+ /**
197
+ * @internal
198
+ */
199
+ const filterSensitiveLog: (obj: ErrorResponse) => any;
200
+ }
201
+ export declare enum ProxyType {
202
+ API_GATEWAY = "API_GATEWAY"
203
+ }
204
+ /**
205
+ * <p>The list of <code>ApplicationSummary</code> objects. </p>
206
+ */
207
+ export interface ApplicationSummary {
208
+ /**
209
+ * <p>The name of the application. </p>
210
+ */
211
+ Name?: string;
212
+ /**
213
+ * <p>he Amazon Resource Name (ARN) of the application. </p>
214
+ */
215
+ Arn?: string;
216
+ /**
217
+ * <p>The Amazon Web Services account ID of the application owner.</p>
218
+ */
219
+ OwnerAccountId?: string;
220
+ /**
221
+ * <p>The Amazon Web Services account ID of the application creator. </p>
222
+ */
223
+ CreatedByAccountId?: string;
224
+ /**
225
+ * <p>The unique identifier of the application. </p>
226
+ */
227
+ ApplicationId?: string;
228
+ /**
229
+ * <p>The unique identifier of the environment. </p>
230
+ */
231
+ EnvironmentId?: string;
232
+ /**
233
+ * <p>The ID of the virtual private cloud (VPC). </p>
234
+ */
235
+ VpcId?: string;
236
+ /**
237
+ * <p>The proxy type of the proxy created within the application. </p>
238
+ */
239
+ ProxyType?: ProxyType | string;
240
+ /**
241
+ * <p>The endpoint URL of the Amazon API Gateway proxy. </p>
242
+ */
243
+ ApiGatewayProxy?: ApiGatewayProxySummary;
244
+ /**
245
+ * <p>The current state of the application. </p>
246
+ */
247
+ State?: ApplicationState | string;
248
+ /**
249
+ * <p>The tags assigned to the application. </p>
250
+ */
251
+ Tags?: {
252
+ [key: string]: string;
253
+ };
254
+ /**
255
+ * <p>Any error associated with the application resource. </p>
256
+ */
257
+ Error?: ErrorResponse;
258
+ /**
259
+ * <p>A timestamp that indicates when the application was last updated. </p>
260
+ */
261
+ LastUpdatedTime?: Date;
262
+ /**
263
+ * <p>A timestamp that indicates when the application is created. </p>
264
+ */
265
+ CreatedTime?: Date;
266
+ }
267
+ export declare namespace ApplicationSummary {
268
+ /**
269
+ * @internal
270
+ */
271
+ const filterSensitiveLog: (obj: ApplicationSummary) => any;
272
+ }
273
+ /**
274
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
275
+ */
276
+ export interface ConflictException extends __SmithyException, $MetadataBearer {
277
+ name: "ConflictException";
278
+ $fault: "client";
279
+ Message: string | undefined;
280
+ /**
281
+ * <p>The ID of the resource. </p>
282
+ */
283
+ ResourceId: string | undefined;
284
+ /**
285
+ * <p>The type of resource. </p>
286
+ */
287
+ ResourceType: string | undefined;
288
+ }
289
+ export declare namespace ConflictException {
290
+ /**
291
+ * @internal
292
+ */
293
+ const filterSensitiveLog: (obj: ConflictException) => any;
294
+ }
295
+ export interface CreateApplicationRequest {
296
+ /**
297
+ * <p>The name to use for the application. </p>
298
+ */
299
+ Name: string | undefined;
300
+ /**
301
+ * <p>The unique identifier of the environment.</p>
302
+ */
303
+ EnvironmentIdentifier: string | undefined;
304
+ /**
305
+ * <p>The ID of the virtual private cloud (VPC).</p>
306
+ */
307
+ VpcId: string | undefined;
308
+ /**
309
+ * <p>The proxy type of the proxy created within the application. </p>
310
+ */
311
+ ProxyType: ProxyType | string | undefined;
312
+ /**
313
+ * <p>A wrapper object holding the API Gateway endpoint type and stage name for the
314
+ * proxy. </p>
315
+ */
316
+ ApiGatewayProxy?: ApiGatewayProxyInput;
317
+ /**
318
+ * <p>The tags to assign to the application. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.</p>
319
+ */
320
+ Tags?: {
321
+ [key: string]: string;
322
+ };
323
+ /**
324
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
325
+ * request.</p>
326
+ */
327
+ ClientToken?: string;
328
+ }
329
+ export declare namespace CreateApplicationRequest {
330
+ /**
331
+ * @internal
332
+ */
333
+ const filterSensitiveLog: (obj: CreateApplicationRequest) => any;
334
+ }
335
+ export interface CreateApplicationResponse {
336
+ /**
337
+ * <p>The name of the application.</p>
338
+ */
339
+ Name?: string;
340
+ /**
341
+ * <p>The Amazon Resource Name (ARN) of the application. The format for this ARN is
342
+ * <code>arn:aws:refactor-spaces:<i>region</i>:<i>account-id</i>:<i>resource-type/resource-id</i>
343
+ * </code>. For more information about ARNs,
344
+ * see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">
345
+ * Amazon Resource Names (ARNs)</a> in the
346
+ * <i>Amazon Web Services General Reference</i>.</p>
347
+ */
348
+ Arn?: string;
349
+ /**
350
+ * <p>The Amazon Web Services account ID of the application owner.</p>
351
+ */
352
+ OwnerAccountId?: string;
353
+ /**
354
+ * <p>The Amazon Web Services account ID of application creator.</p>
355
+ */
356
+ CreatedByAccountId?: string;
357
+ /**
358
+ * <p>The unique identifier of the application.</p>
359
+ */
360
+ ApplicationId?: string;
361
+ /**
362
+ * <p>The ID of the environment in which the application is created.</p>
363
+ */
364
+ EnvironmentId?: string;
365
+ /**
366
+ * <p>The ID of the Amazon VPC. </p>
367
+ */
368
+ VpcId?: string;
369
+ /**
370
+ * <p>The proxy type of the proxy created within the application. </p>
371
+ */
372
+ ProxyType?: ProxyType | string;
373
+ /**
374
+ * <p>A wrapper object holding the API Gateway endpoint type and stage name for the
375
+ * proxy. </p>
376
+ */
377
+ ApiGatewayProxy?: ApiGatewayProxyInput;
378
+ /**
379
+ * <p>The current state of the application. </p>
380
+ */
381
+ State?: ApplicationState | string;
382
+ /**
383
+ * <p>The tags assigned to the application. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair. </p>
384
+ */
385
+ Tags?: {
386
+ [key: string]: string;
387
+ };
388
+ /**
389
+ * <p>A timestamp that indicates when the application was last updated. </p>
390
+ */
391
+ LastUpdatedTime?: Date;
392
+ /**
393
+ * <p>A timestamp that indicates when the application is created.</p>
394
+ */
395
+ CreatedTime?: Date;
396
+ }
397
+ export declare namespace CreateApplicationResponse {
398
+ /**
399
+ * @internal
400
+ */
401
+ const filterSensitiveLog: (obj: CreateApplicationResponse) => any;
402
+ }
403
+ /**
404
+ * <p>An unexpected error occurred while processing the request.</p>
405
+ */
406
+ export interface InternalServerException extends __SmithyException, $MetadataBearer {
407
+ name: "InternalServerException";
408
+ $fault: "server";
409
+ Message: string | undefined;
410
+ }
411
+ export declare namespace InternalServerException {
412
+ /**
413
+ * @internal
414
+ */
415
+ const filterSensitiveLog: (obj: InternalServerException) => any;
416
+ }
417
+ /**
418
+ * <p>The request references a resource that does not exist. </p>
419
+ */
420
+ export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
421
+ name: "ResourceNotFoundException";
422
+ $fault: "client";
423
+ Message: string | undefined;
424
+ /**
425
+ * <p>The ID of the resource. </p>
426
+ */
427
+ ResourceId: string | undefined;
428
+ /**
429
+ * <p>The type of resource. </p>
430
+ */
431
+ ResourceType: string | undefined;
432
+ }
433
+ export declare namespace ResourceNotFoundException {
434
+ /**
435
+ * @internal
436
+ */
437
+ const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
438
+ }
439
+ /**
440
+ * <p>The request would cause a service quota to be exceeded. </p>
441
+ */
442
+ export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
443
+ name: "ServiceQuotaExceededException";
444
+ $fault: "client";
445
+ Message: string | undefined;
446
+ /**
447
+ * <p>The ID of the resource. </p>
448
+ */
449
+ ResourceId: string | undefined;
450
+ /**
451
+ * <p>The type of resource. </p>
452
+ */
453
+ ResourceType: string | undefined;
454
+ /**
455
+ * <p>Service quota requirement to identify originating quota. Reached throttling quota
456
+ * exception. </p>
457
+ */
458
+ QuotaCode?: string;
459
+ /**
460
+ * <p>Service quota requirement to identify originating service. Reached throttling quota
461
+ * exception service code. </p>
462
+ */
463
+ ServiceCode: string | undefined;
464
+ }
465
+ export declare namespace ServiceQuotaExceededException {
466
+ /**
467
+ * @internal
468
+ */
469
+ const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
470
+ }
471
+ /**
472
+ * <p>Request was denied because the request was throttled. </p>
473
+ */
474
+ export interface ThrottlingException extends __SmithyException, $MetadataBearer {
475
+ name: "ThrottlingException";
476
+ $fault: "client";
477
+ Message: string | undefined;
478
+ /**
479
+ * <p>Service quota requirement to identify originating quota. Reached throttling quota
480
+ * exception. </p>
481
+ */
482
+ QuotaCode?: string;
483
+ /**
484
+ * <p>Service quota requirement to identify originating service. Reached throttling quota
485
+ * exception service code. </p>
486
+ */
487
+ ServiceCode?: string;
488
+ /**
489
+ * <p>The number of seconds to wait before retrying. </p>
490
+ */
491
+ RetryAfterSeconds?: number;
492
+ }
493
+ export declare namespace ThrottlingException {
494
+ /**
495
+ * @internal
496
+ */
497
+ const filterSensitiveLog: (obj: ThrottlingException) => any;
498
+ }
499
+ /**
500
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Service. </p>
501
+ */
502
+ export interface ValidationException extends __SmithyException, $MetadataBearer {
503
+ name: "ValidationException";
504
+ $fault: "client";
505
+ Message: string | undefined;
506
+ }
507
+ export declare namespace ValidationException {
508
+ /**
509
+ * @internal
510
+ */
511
+ const filterSensitiveLog: (obj: ValidationException) => any;
512
+ }
513
+ export declare enum NetworkFabricType {
514
+ TRANSIT_GATEWAY = "TRANSIT_GATEWAY"
515
+ }
516
+ export interface CreateEnvironmentRequest {
517
+ /**
518
+ * <p>The name of the environment.</p>
519
+ */
520
+ Name: string | undefined;
521
+ /**
522
+ * <p>The description of the environment.</p>
523
+ */
524
+ Description?: string;
525
+ /**
526
+ * <p>The network fabric type of the environment.</p>
527
+ */
528
+ NetworkFabricType: NetworkFabricType | string | undefined;
529
+ /**
530
+ * <p>The tags to assign to the environment. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.</p>
531
+ */
532
+ Tags?: {
533
+ [key: string]: string;
534
+ };
535
+ /**
536
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
537
+ * request.</p>
538
+ */
539
+ ClientToken?: string;
540
+ }
541
+ export declare namespace CreateEnvironmentRequest {
542
+ /**
543
+ * @internal
544
+ */
545
+ const filterSensitiveLog: (obj: CreateEnvironmentRequest) => any;
546
+ }
547
+ export declare enum EnvironmentState {
548
+ ACTIVE = "ACTIVE",
549
+ CREATING = "CREATING",
550
+ DELETING = "DELETING",
551
+ FAILED = "FAILED"
552
+ }
553
+ export interface CreateEnvironmentResponse {
554
+ /**
555
+ * <p>The name of the environment.</p>
556
+ */
557
+ Name?: string;
558
+ /**
559
+ * <p>The Amazon Resource Name (ARN) of the environment.</p>
560
+ */
561
+ Arn?: string;
562
+ /**
563
+ * <p>A description of the environment.</p>
564
+ */
565
+ Description?: string;
566
+ /**
567
+ * <p>The unique identifier of the environment.</p>
568
+ */
569
+ EnvironmentId?: string;
570
+ /**
571
+ * <p>The network fabric type of the environment.</p>
572
+ */
573
+ NetworkFabricType?: NetworkFabricType | string;
574
+ /**
575
+ * <p>The Amazon Web Services account ID of environment owner.</p>
576
+ */
577
+ OwnerAccountId?: string;
578
+ /**
579
+ * <p>The current state of the environment. </p>
580
+ */
581
+ State?: EnvironmentState | string;
582
+ /**
583
+ * <p>The tags assigned to the created environment. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..</p>
584
+ */
585
+ Tags?: {
586
+ [key: string]: string;
587
+ };
588
+ /**
589
+ * <p>A timestamp that indicates when the environment was last updated. </p>
590
+ */
591
+ LastUpdatedTime?: Date;
592
+ /**
593
+ * <p>A timestamp that indicates when the environment is created.</p>
594
+ */
595
+ CreatedTime?: Date;
596
+ }
597
+ export declare namespace CreateEnvironmentResponse {
598
+ /**
599
+ * @internal
600
+ */
601
+ const filterSensitiveLog: (obj: CreateEnvironmentResponse) => any;
602
+ }
603
+ export declare enum RouteType {
604
+ DEFAULT = "DEFAULT",
605
+ URI_PATH = "URI_PATH"
606
+ }
607
+ export declare enum RouteActivationState {
608
+ ACTIVE = "ACTIVE"
609
+ }
610
+ export declare enum HttpMethod {
611
+ DELETE = "DELETE",
612
+ GET = "GET",
613
+ HEAD = "HEAD",
614
+ OPTIONS = "OPTIONS",
615
+ PATCH = "PATCH",
616
+ POST = "POST",
617
+ PUT = "PUT"
618
+ }
619
+ /**
620
+ * <p>The configuration for the URI path route type. </p>
621
+ */
622
+ export interface UriPathRouteInput {
623
+ /**
624
+ * <p>The path to use to match traffic. Paths must start with <code>/</code> and are relative to
625
+ * the base of the application.</p>
626
+ */
627
+ SourcePath: string | undefined;
628
+ /**
629
+ * <p>Indicates whether traffic is forwarded to this route’s service after the route is created. </p>
630
+ */
631
+ ActivationState: RouteActivationState | string | undefined;
632
+ /**
633
+ * <p>A list of HTTP methods to match. An empty list matches all values. If a method is present,
634
+ * only HTTP requests using that method are forwarded to this route’s service. </p>
635
+ */
636
+ Methods?: (HttpMethod | string)[];
637
+ /**
638
+ * <p>Indicates whether to match all subpaths of the given source path. If this value is
639
+ * <code>false</code>, requests must match the source path exactly before they are forwarded to
640
+ * this route's service. </p>
641
+ */
642
+ IncludeChildPaths?: boolean;
643
+ }
644
+ export declare namespace UriPathRouteInput {
645
+ /**
646
+ * @internal
647
+ */
648
+ const filterSensitiveLog: (obj: UriPathRouteInput) => any;
649
+ }
650
+ export interface CreateRouteRequest {
651
+ /**
652
+ * <p>The ID of the environment in which the route is created.</p>
653
+ */
654
+ EnvironmentIdentifier: string | undefined;
655
+ /**
656
+ * <p>The ID of the application within which the route is being created.</p>
657
+ */
658
+ ApplicationIdentifier: string | undefined;
659
+ /**
660
+ * <p>The ID of the service in which the route is created. Traffic that matches this route is
661
+ * forwarded to this service.</p>
662
+ */
663
+ ServiceIdentifier: string | undefined;
664
+ /**
665
+ * <p>The route type of the route. <code>DEFAULT</code> indicates that all traffic that does not
666
+ * match another route is forwarded to the default route. Applications must have a default route
667
+ * before any other routes can be created. <code>URI_PATH</code> indicates a route that is based
668
+ * on a URI path.</p>
669
+ */
670
+ RouteType: RouteType | string | undefined;
671
+ /**
672
+ * <p>The configuration for the URI path route type. </p>
673
+ */
674
+ UriPathRoute?: UriPathRouteInput;
675
+ /**
676
+ * <p>The tags to assign to the route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.. </p>
677
+ */
678
+ Tags?: {
679
+ [key: string]: string;
680
+ };
681
+ /**
682
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
683
+ * request.</p>
684
+ */
685
+ ClientToken?: string;
686
+ }
687
+ export declare namespace CreateRouteRequest {
688
+ /**
689
+ * @internal
690
+ */
691
+ const filterSensitiveLog: (obj: CreateRouteRequest) => any;
692
+ }
693
+ export declare enum RouteState {
694
+ ACTIVE = "ACTIVE",
695
+ CREATING = "CREATING",
696
+ DELETING = "DELETING",
697
+ FAILED = "FAILED",
698
+ INACTIVE = "INACTIVE",
699
+ UPDATING = "UPDATING"
700
+ }
701
+ export interface CreateRouteResponse {
702
+ /**
703
+ * <p>The unique identifier of the route.</p>
704
+ */
705
+ RouteId?: string;
706
+ /**
707
+ * <p>The Amazon Resource Name (ARN) of the route. The format for this ARN is
708
+ * <code>arn:aws:refactor-spaces:<i>region</i>:<i>account-id</i>:<i>resource-type/resource-id</i>
709
+ * </code>. For more information about ARNs,
710
+ * see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">
711
+ * Amazon Resource Names (ARNs)</a> in the
712
+ * <i>Amazon Web Services General Reference</i>.</p>
713
+ */
714
+ Arn?: string;
715
+ /**
716
+ * <p>The Amazon Web Services account ID of the route owner.</p>
717
+ */
718
+ OwnerAccountId?: string;
719
+ /**
720
+ * <p>The Amazon Web Services account ID of the route creator.</p>
721
+ */
722
+ CreatedByAccountId?: string;
723
+ /**
724
+ * <p>The route type of the route.</p>
725
+ */
726
+ RouteType?: RouteType | string;
727
+ /**
728
+ * <p>The ID of service in which the rute iscreated. Traffic that matches this route is
729
+ * forwarded to this service.</p>
730
+ */
731
+ ServiceId?: string;
732
+ /**
733
+ * <p>The ID of the application in which the route is created.</p>
734
+ */
735
+ ApplicationId?: string;
736
+ /**
737
+ * <p>onfiguration for the URI path route type. </p>
738
+ */
739
+ UriPathRoute?: UriPathRouteInput;
740
+ /**
741
+ * <p>he current state of the route. </p>
742
+ */
743
+ State?: RouteState | string;
744
+ /**
745
+ * <p>The tags assigned to the created route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair. </p>
746
+ */
747
+ Tags?: {
748
+ [key: string]: string;
749
+ };
750
+ /**
751
+ * <p>A timestamp that indicates when the route was last updated. </p>
752
+ */
753
+ LastUpdatedTime?: Date;
754
+ /**
755
+ * <p>A timestamp that indicates when the route is created.</p>
756
+ */
757
+ CreatedTime?: Date;
758
+ }
759
+ export declare namespace CreateRouteResponse {
760
+ /**
761
+ * @internal
762
+ */
763
+ const filterSensitiveLog: (obj: CreateRouteResponse) => any;
764
+ }
765
+ export declare enum ServiceEndpointType {
766
+ LAMBDA = "LAMBDA",
767
+ URL = "URL"
768
+ }
769
+ /**
770
+ * <p>The input for the Lambda endpoint type. </p>
771
+ */
772
+ export interface LambdaEndpointInput {
773
+ /**
774
+ * <p>The Amazon Resource Name (ARN) of the Lambda endpoint. </p>
775
+ */
776
+ Arn: string | undefined;
777
+ }
778
+ export declare namespace LambdaEndpointInput {
779
+ /**
780
+ * @internal
781
+ */
782
+ const filterSensitiveLog: (obj: LambdaEndpointInput) => any;
783
+ }
784
+ /**
785
+ * <p>The configuration for the URL endpoint type. </p>
786
+ */
787
+ export interface UrlEndpointInput {
788
+ /**
789
+ * <p>The URL to route traffic to. The URL must be an <a href="https://datatracker.ietf.org/doc/html/rfc3986">rfc3986-formatted URL</a>. If the
790
+ * host is a domain name, the name must be resolvable over the public internet. If the scheme is
791
+ * <code>https</code>, the top level domain of the host must be listed in the <a href="https://www.iana.org/domains/root/db">IANA root zone database</a>. </p>
792
+ */
793
+ Url: string | undefined;
794
+ /**
795
+ * <p>The health check URL of the URL endpoint type. If the URL is a public endpoint, the
796
+ * <code>HealthUrl</code> must also be a public endpoint. If the URL is a private endpoint
797
+ * inside a virtual private cloud (VPC), the health URL must also be a private endpoint, and the
798
+ * host must be the same as the URL. </p>
799
+ */
800
+ HealthUrl?: string;
801
+ }
802
+ export declare namespace UrlEndpointInput {
803
+ /**
804
+ * @internal
805
+ */
806
+ const filterSensitiveLog: (obj: UrlEndpointInput) => any;
807
+ }
808
+ export interface CreateServiceRequest {
809
+ /**
810
+ * <p>The name of the service.</p>
811
+ */
812
+ Name: string | undefined;
813
+ /**
814
+ * <p>The description of the service.</p>
815
+ */
816
+ Description?: string;
817
+ /**
818
+ * <p>The ID of the environment in which the service is created.</p>
819
+ */
820
+ EnvironmentIdentifier: string | undefined;
821
+ /**
822
+ * <p>The ID of the application which the service is created.</p>
823
+ */
824
+ ApplicationIdentifier: string | undefined;
825
+ /**
826
+ * <p>The ID of the VPC.</p>
827
+ */
828
+ VpcId?: string;
829
+ /**
830
+ * <p>The type of endpoint to use for the service. The type can be a URL in a VPC or an Lambda function.</p>
831
+ */
832
+ EndpointType: ServiceEndpointType | string | undefined;
833
+ /**
834
+ * <p>The configuration for the URL endpoint type.</p>
835
+ */
836
+ UrlEndpoint?: UrlEndpointInput;
837
+ /**
838
+ * <p>The configuration for the Lambda endpoint type.</p>
839
+ */
840
+ LambdaEndpoint?: LambdaEndpointInput;
841
+ /**
842
+ * <p>The tags to assign to the service. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.. </p>
843
+ */
844
+ Tags?: {
845
+ [key: string]: string;
846
+ };
847
+ /**
848
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
849
+ * request.</p>
850
+ */
851
+ ClientToken?: string;
852
+ }
853
+ export declare namespace CreateServiceRequest {
854
+ /**
855
+ * @internal
856
+ */
857
+ const filterSensitiveLog: (obj: CreateServiceRequest) => any;
858
+ }
859
+ export declare enum ServiceState {
860
+ ACTIVE = "ACTIVE",
861
+ CREATING = "CREATING",
862
+ DELETING = "DELETING",
863
+ FAILED = "FAILED"
864
+ }
865
+ export interface CreateServiceResponse {
866
+ /**
867
+ * <p>The unique identifier of the service.</p>
868
+ */
869
+ ServiceId?: string;
870
+ /**
871
+ * <p>The name of the service.</p>
872
+ */
873
+ Name?: string;
874
+ /**
875
+ * <p>The Amazon Resource Name (ARN) of the service.</p>
876
+ */
877
+ Arn?: string;
878
+ /**
879
+ * <p>The Amazon Web Services account ID of the service owner.</p>
880
+ */
881
+ OwnerAccountId?: string;
882
+ /**
883
+ * <p>The Amazon Web Services account ID of the service creator.</p>
884
+ */
885
+ CreatedByAccountId?: string;
886
+ /**
887
+ * <p>The description of the created service.</p>
888
+ */
889
+ Description?: string;
890
+ /**
891
+ * <p>The unique identifier of the environment.</p>
892
+ */
893
+ EnvironmentId?: string;
894
+ /**
895
+ * <p>The ID of the application that the created service belongs to. </p>
896
+ */
897
+ ApplicationId?: string;
898
+ /**
899
+ * <p>The ID of the VPC. </p>
900
+ */
901
+ VpcId?: string;
902
+ /**
903
+ * <p>The endpoint type of the service.</p>
904
+ */
905
+ EndpointType?: ServiceEndpointType | string;
906
+ /**
907
+ * <p>The configuration for the URL endpoint type. </p>
908
+ */
909
+ UrlEndpoint?: UrlEndpointInput;
910
+ /**
911
+ * <p>The configuration for the Lambda endpoint type.</p>
912
+ */
913
+ LambdaEndpoint?: LambdaEndpointInput;
914
+ /**
915
+ * <p>The current state of the service. </p>
916
+ */
917
+ State?: ServiceState | string;
918
+ /**
919
+ * <p>The tags assigned to the created service. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.. </p>
920
+ */
921
+ Tags?: {
922
+ [key: string]: string;
923
+ };
924
+ /**
925
+ * <p>A timestamp that indicates when the service was last updated. </p>
926
+ */
927
+ LastUpdatedTime?: Date;
928
+ /**
929
+ * <p>A timestamp that indicates when the service is created.</p>
930
+ */
931
+ CreatedTime?: Date;
932
+ }
933
+ export declare namespace CreateServiceResponse {
934
+ /**
935
+ * @internal
936
+ */
937
+ const filterSensitiveLog: (obj: CreateServiceResponse) => any;
938
+ }
939
+ export interface DeleteApplicationRequest {
940
+ /**
941
+ * <p>The ID of the environment. </p>
942
+ */
943
+ EnvironmentIdentifier: string | undefined;
944
+ /**
945
+ * <p>The ID of the application.</p>
946
+ */
947
+ ApplicationIdentifier: string | undefined;
948
+ }
949
+ export declare namespace DeleteApplicationRequest {
950
+ /**
951
+ * @internal
952
+ */
953
+ const filterSensitiveLog: (obj: DeleteApplicationRequest) => any;
954
+ }
955
+ export interface DeleteApplicationResponse {
956
+ /**
957
+ * <p>The name of the application.</p>
958
+ */
959
+ Name?: string;
960
+ /**
961
+ * <p>The Amazon Resource Name (ARN) of the application.</p>
962
+ */
963
+ Arn?: string;
964
+ /**
965
+ * <p>The ID of the application.</p>
966
+ */
967
+ ApplicationId?: string;
968
+ /**
969
+ * <p>The unique identifier of the application’s environment.</p>
970
+ */
971
+ EnvironmentId?: string;
972
+ /**
973
+ * <p>The current state of the application. </p>
974
+ */
975
+ State?: ApplicationState | string;
976
+ /**
977
+ * <p>A timestamp that indicates when the environment was last updated. </p>
978
+ */
979
+ LastUpdatedTime?: Date;
980
+ }
981
+ export declare namespace DeleteApplicationResponse {
982
+ /**
983
+ * @internal
984
+ */
985
+ const filterSensitiveLog: (obj: DeleteApplicationResponse) => any;
986
+ }
987
+ export interface DeleteEnvironmentRequest {
988
+ /**
989
+ * <p>The ID of the environment. </p>
990
+ */
991
+ EnvironmentIdentifier: string | undefined;
992
+ }
993
+ export declare namespace DeleteEnvironmentRequest {
994
+ /**
995
+ * @internal
996
+ */
997
+ const filterSensitiveLog: (obj: DeleteEnvironmentRequest) => any;
998
+ }
999
+ export interface DeleteEnvironmentResponse {
1000
+ /**
1001
+ * <p>The name of the environment.</p>
1002
+ */
1003
+ Name?: string;
1004
+ /**
1005
+ * <p>The Amazon Resource Name (ARN) of the environment.</p>
1006
+ */
1007
+ Arn?: string;
1008
+ /**
1009
+ * <p>The unique identifier of the environment.</p>
1010
+ */
1011
+ EnvironmentId?: string;
1012
+ /**
1013
+ * <p>The current state of the environment. </p>
1014
+ */
1015
+ State?: EnvironmentState | string;
1016
+ /**
1017
+ * <p>A timestamp that indicates when the environment was last updated. </p>
1018
+ */
1019
+ LastUpdatedTime?: Date;
1020
+ }
1021
+ export declare namespace DeleteEnvironmentResponse {
1022
+ /**
1023
+ * @internal
1024
+ */
1025
+ const filterSensitiveLog: (obj: DeleteEnvironmentResponse) => any;
1026
+ }
1027
+ export interface DeleteResourcePolicyRequest {
1028
+ /**
1029
+ * <p>Amazon Resource Name (ARN) of the resource associated with the policy. </p>
1030
+ */
1031
+ Identifier: string | undefined;
1032
+ }
1033
+ export declare namespace DeleteResourcePolicyRequest {
1034
+ /**
1035
+ * @internal
1036
+ */
1037
+ const filterSensitiveLog: (obj: DeleteResourcePolicyRequest) => any;
1038
+ }
1039
+ export interface DeleteResourcePolicyResponse {
1040
+ }
1041
+ export declare namespace DeleteResourcePolicyResponse {
1042
+ /**
1043
+ * @internal
1044
+ */
1045
+ const filterSensitiveLog: (obj: DeleteResourcePolicyResponse) => any;
1046
+ }
1047
+ export interface DeleteRouteRequest {
1048
+ /**
1049
+ * <p>The ID of the environment to delete the route from.</p>
1050
+ */
1051
+ EnvironmentIdentifier: string | undefined;
1052
+ /**
1053
+ * <p>The ID of the application to delete the route from.</p>
1054
+ */
1055
+ ApplicationIdentifier: string | undefined;
1056
+ /**
1057
+ * <p>The ID of the route to delete.</p>
1058
+ */
1059
+ RouteIdentifier: string | undefined;
1060
+ }
1061
+ export declare namespace DeleteRouteRequest {
1062
+ /**
1063
+ * @internal
1064
+ */
1065
+ const filterSensitiveLog: (obj: DeleteRouteRequest) => any;
1066
+ }
1067
+ export interface DeleteRouteResponse {
1068
+ /**
1069
+ * <p>The ID of the route to delete.</p>
1070
+ */
1071
+ RouteId?: string;
1072
+ /**
1073
+ * <p>The Amazon Resource Name (ARN) of the route.</p>
1074
+ */
1075
+ Arn?: string;
1076
+ /**
1077
+ * <p>The ID of the service that the route belongs to.</p>
1078
+ */
1079
+ ServiceId?: string;
1080
+ /**
1081
+ * <p>he ID of the application that the route belongs to.</p>
1082
+ */
1083
+ ApplicationId?: string;
1084
+ /**
1085
+ * <p>The current state of the route. </p>
1086
+ */
1087
+ State?: RouteState | string;
1088
+ /**
1089
+ * <p>A timestamp that indicates when the route was last updated. </p>
1090
+ */
1091
+ LastUpdatedTime?: Date;
1092
+ }
1093
+ export declare namespace DeleteRouteResponse {
1094
+ /**
1095
+ * @internal
1096
+ */
1097
+ const filterSensitiveLog: (obj: DeleteRouteResponse) => any;
1098
+ }
1099
+ export interface DeleteServiceRequest {
1100
+ /**
1101
+ * <p>The ID of the environment that the service is in.</p>
1102
+ */
1103
+ EnvironmentIdentifier: string | undefined;
1104
+ /**
1105
+ * <p>Deletes a Refactor Spaces service.</p>
1106
+ * <note>
1107
+ * <p>The <code>RefactorSpacesSecurityGroup</code> security group must be removed from all
1108
+ * Amazon Web Services resources in the virtual private cloud (VPC) prior to deleting a service with a URL
1109
+ * endpoint in a VPC.</p>
1110
+ * </note>
1111
+ */
1112
+ ApplicationIdentifier: string | undefined;
1113
+ /**
1114
+ * <p>The ID of the service to delete.</p>
1115
+ */
1116
+ ServiceIdentifier: string | undefined;
1117
+ }
1118
+ export declare namespace DeleteServiceRequest {
1119
+ /**
1120
+ * @internal
1121
+ */
1122
+ const filterSensitiveLog: (obj: DeleteServiceRequest) => any;
1123
+ }
1124
+ export interface DeleteServiceResponse {
1125
+ /**
1126
+ * <p>The unique identifier of the service.</p>
1127
+ */
1128
+ ServiceId?: string;
1129
+ /**
1130
+ * <p>The name of the service.</p>
1131
+ */
1132
+ Name?: string;
1133
+ /**
1134
+ * <p>The Amazon Resource Name (ARN) of the service.</p>
1135
+ */
1136
+ Arn?: string;
1137
+ /**
1138
+ * <p>The unique identifier of the environment.</p>
1139
+ */
1140
+ EnvironmentId?: string;
1141
+ /**
1142
+ * <p>The ID of the application that the service is in.</p>
1143
+ */
1144
+ ApplicationId?: string;
1145
+ /**
1146
+ * <p>The current state of the service. </p>
1147
+ */
1148
+ State?: ServiceState | string;
1149
+ /**
1150
+ * <p>A timestamp that indicates when the service was last updated. </p>
1151
+ */
1152
+ LastUpdatedTime?: Date;
1153
+ }
1154
+ export declare namespace DeleteServiceResponse {
1155
+ /**
1156
+ * @internal
1157
+ */
1158
+ const filterSensitiveLog: (obj: DeleteServiceResponse) => any;
1159
+ }
1160
+ /**
1161
+ * <p>The summary information for environments as a response to <code>ListEnvironments</code>. </p>
1162
+ */
1163
+ export interface EnvironmentSummary {
1164
+ /**
1165
+ * <p>The name of the environment. </p>
1166
+ */
1167
+ Name?: string;
1168
+ /**
1169
+ * <p>The Amazon Resource Name (ARN) of the environment. </p>
1170
+ */
1171
+ Arn?: string;
1172
+ /**
1173
+ * <p>A description of the environment. </p>
1174
+ */
1175
+ Description?: string;
1176
+ /**
1177
+ * <p>The unique identifier of the environment. </p>
1178
+ */
1179
+ EnvironmentId?: string;
1180
+ /**
1181
+ * <p>The network fabric type of the environment. </p>
1182
+ */
1183
+ NetworkFabricType?: NetworkFabricType | string;
1184
+ /**
1185
+ * <p>The Amazon Web Services account ID of the environment owner.</p>
1186
+ */
1187
+ OwnerAccountId?: string;
1188
+ /**
1189
+ * <p>The ID of the transit gateway set up by the environment. </p>
1190
+ */
1191
+ TransitGatewayId?: string;
1192
+ /**
1193
+ * <p>The current state of the environment. </p>
1194
+ */
1195
+ State?: EnvironmentState | string;
1196
+ /**
1197
+ * <p>The tags assigned to the environment. </p>
1198
+ */
1199
+ Tags?: {
1200
+ [key: string]: string;
1201
+ };
1202
+ /**
1203
+ * <p>Any error associated with the environment resource. </p>
1204
+ */
1205
+ Error?: ErrorResponse;
1206
+ /**
1207
+ * <p>A timestamp that indicates when the environment was last updated. </p>
1208
+ */
1209
+ LastUpdatedTime?: Date;
1210
+ /**
1211
+ * <p>A timestamp that indicates when the environment is created. </p>
1212
+ */
1213
+ CreatedTime?: Date;
1214
+ }
1215
+ export declare namespace EnvironmentSummary {
1216
+ /**
1217
+ * @internal
1218
+ */
1219
+ const filterSensitiveLog: (obj: EnvironmentSummary) => any;
1220
+ }
1221
+ /**
1222
+ * <p>Provides summary information for the <code>EnvironmentVpc</code> resource as a response to
1223
+ * <code>ListEnvironmentVpc</code>.</p>
1224
+ */
1225
+ export interface EnvironmentVpc {
1226
+ /**
1227
+ * <p>The unique identifier of the environment. </p>
1228
+ */
1229
+ EnvironmentId?: string;
1230
+ /**
1231
+ * <p>The ID of the VPC. </p>
1232
+ */
1233
+ VpcId?: string;
1234
+ /**
1235
+ * <p>The Amazon Web Services account ID of the virtual private cloud (VPC) owner. </p>
1236
+ */
1237
+ AccountId?: string;
1238
+ /**
1239
+ * <p>The list of Amazon Virtual Private Cloud (Amazon VPC) CIDR blocks. </p>
1240
+ */
1241
+ CidrBlocks?: string[];
1242
+ /**
1243
+ * <p>The name of the VPC at the time it is added to the environment. </p>
1244
+ */
1245
+ VpcName?: string;
1246
+ /**
1247
+ * <p>A timestamp that indicates when the VPC was last updated by the environment. </p>
1248
+ */
1249
+ LastUpdatedTime?: Date;
1250
+ /**
1251
+ * <p>A timestamp that indicates when the VPC is first added to the environment. </p>
1252
+ */
1253
+ CreatedTime?: Date;
1254
+ }
1255
+ export declare namespace EnvironmentVpc {
1256
+ /**
1257
+ * @internal
1258
+ */
1259
+ const filterSensitiveLog: (obj: EnvironmentVpc) => any;
1260
+ }
1261
+ export interface GetApplicationRequest {
1262
+ /**
1263
+ * <p>The ID of the environment. </p>
1264
+ */
1265
+ EnvironmentIdentifier: string | undefined;
1266
+ /**
1267
+ * <p>The ID of the application.</p>
1268
+ */
1269
+ ApplicationIdentifier: string | undefined;
1270
+ }
1271
+ export declare namespace GetApplicationRequest {
1272
+ /**
1273
+ * @internal
1274
+ */
1275
+ const filterSensitiveLog: (obj: GetApplicationRequest) => any;
1276
+ }
1277
+ export interface GetApplicationResponse {
1278
+ /**
1279
+ * <p>The name of the application.</p>
1280
+ */
1281
+ Name?: string;
1282
+ /**
1283
+ * <p>The Amazon Resource Name (ARN) of the application.</p>
1284
+ */
1285
+ Arn?: string;
1286
+ /**
1287
+ * <p>The Amazon Web Services account ID of the application owner.</p>
1288
+ */
1289
+ OwnerAccountId?: string;
1290
+ /**
1291
+ * <p>The Amazon Web Services account ID of the application creator. </p>
1292
+ */
1293
+ CreatedByAccountId?: string;
1294
+ /**
1295
+ * <p>The unique identifier of the application.</p>
1296
+ */
1297
+ ApplicationId?: string;
1298
+ /**
1299
+ * <p>The unique identifier of the environment.</p>
1300
+ */
1301
+ EnvironmentId?: string;
1302
+ /**
1303
+ * <p>The ID of the virtual private cloud (VPC). </p>
1304
+ */
1305
+ VpcId?: string;
1306
+ /**
1307
+ * <p>The proxy type of the proxy created within the application. </p>
1308
+ */
1309
+ ProxyType?: ProxyType | string;
1310
+ /**
1311
+ * <p>The endpoint URL of the API Gateway proxy. </p>
1312
+ */
1313
+ ApiGatewayProxy?: ApiGatewayProxyConfig;
1314
+ /**
1315
+ * <p>The current state of the application. </p>
1316
+ */
1317
+ State?: ApplicationState | string;
1318
+ /**
1319
+ * <p>The tags assigned to the application. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair. </p>
1320
+ */
1321
+ Tags?: {
1322
+ [key: string]: string;
1323
+ };
1324
+ /**
1325
+ * <p>Any error associated with the application resource. </p>
1326
+ */
1327
+ Error?: ErrorResponse;
1328
+ /**
1329
+ * <p>A timestamp that indicates when the application was last updated. </p>
1330
+ */
1331
+ LastUpdatedTime?: Date;
1332
+ /**
1333
+ * <p>A timestamp that indicates when the application is created. </p>
1334
+ */
1335
+ CreatedTime?: Date;
1336
+ }
1337
+ export declare namespace GetApplicationResponse {
1338
+ /**
1339
+ * @internal
1340
+ */
1341
+ const filterSensitiveLog: (obj: GetApplicationResponse) => any;
1342
+ }
1343
+ export interface GetEnvironmentRequest {
1344
+ /**
1345
+ * <p>The ID of the environment.</p>
1346
+ */
1347
+ EnvironmentIdentifier: string | undefined;
1348
+ }
1349
+ export declare namespace GetEnvironmentRequest {
1350
+ /**
1351
+ * @internal
1352
+ */
1353
+ const filterSensitiveLog: (obj: GetEnvironmentRequest) => any;
1354
+ }
1355
+ export interface GetEnvironmentResponse {
1356
+ /**
1357
+ * <p>The name of the environment.</p>
1358
+ */
1359
+ Name?: string;
1360
+ /**
1361
+ * <p>The Amazon Resource Name (ARN) of the environment.</p>
1362
+ */
1363
+ Arn?: string;
1364
+ /**
1365
+ * <p>The description of the environment. </p>
1366
+ */
1367
+ Description?: string;
1368
+ /**
1369
+ * <p>The unique identifier of the environment. </p>
1370
+ */
1371
+ EnvironmentId?: string;
1372
+ /**
1373
+ * <p>The network fabric type of the environment. </p>
1374
+ */
1375
+ NetworkFabricType?: NetworkFabricType | string;
1376
+ /**
1377
+ * <p>The Amazon Web Services account ID of the environment owner.</p>
1378
+ */
1379
+ OwnerAccountId?: string;
1380
+ /**
1381
+ * <p>The ID of the transit gateway set up by the environment. </p>
1382
+ */
1383
+ TransitGatewayId?: string;
1384
+ /**
1385
+ * <p>The current state of the environment. </p>
1386
+ */
1387
+ State?: EnvironmentState | string;
1388
+ /**
1389
+ * <p>The tags to assign to the environment. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair. </p>
1390
+ */
1391
+ Tags?: {
1392
+ [key: string]: string;
1393
+ };
1394
+ /**
1395
+ * <p>Any error associated with the environment resource. </p>
1396
+ */
1397
+ Error?: ErrorResponse;
1398
+ /**
1399
+ * <p>A timestamp that indicates when the environment was last updated. </p>
1400
+ */
1401
+ LastUpdatedTime?: Date;
1402
+ /**
1403
+ * <p>A timestamp that indicates when the environment is created. </p>
1404
+ */
1405
+ CreatedTime?: Date;
1406
+ }
1407
+ export declare namespace GetEnvironmentResponse {
1408
+ /**
1409
+ * @internal
1410
+ */
1411
+ const filterSensitiveLog: (obj: GetEnvironmentResponse) => any;
1412
+ }
1413
+ export interface GetResourcePolicyRequest {
1414
+ /**
1415
+ * <p>The Amazon Resource Name (ARN) of the resource associated with the policy. </p>
1416
+ */
1417
+ Identifier: string | undefined;
1418
+ }
1419
+ export declare namespace GetResourcePolicyRequest {
1420
+ /**
1421
+ * @internal
1422
+ */
1423
+ const filterSensitiveLog: (obj: GetResourcePolicyRequest) => any;
1424
+ }
1425
+ export interface GetResourcePolicyResponse {
1426
+ /**
1427
+ * <p>A JSON-formatted string for an Amazon Web Services resource-based policy. </p>
1428
+ */
1429
+ Policy?: string;
1430
+ }
1431
+ export declare namespace GetResourcePolicyResponse {
1432
+ /**
1433
+ * @internal
1434
+ */
1435
+ const filterSensitiveLog: (obj: GetResourcePolicyResponse) => any;
1436
+ }
1437
+ export interface GetRouteRequest {
1438
+ /**
1439
+ * <p>The ID of the environment.</p>
1440
+ */
1441
+ EnvironmentIdentifier: string | undefined;
1442
+ /**
1443
+ * <p>The ID of the application. </p>
1444
+ */
1445
+ ApplicationIdentifier: string | undefined;
1446
+ /**
1447
+ * <p>The ID of the route.</p>
1448
+ */
1449
+ RouteIdentifier: string | undefined;
1450
+ }
1451
+ export declare namespace GetRouteRequest {
1452
+ /**
1453
+ * @internal
1454
+ */
1455
+ const filterSensitiveLog: (obj: GetRouteRequest) => any;
1456
+ }
1457
+ export interface GetRouteResponse {
1458
+ /**
1459
+ * <p>The unique identifier of the route.</p>
1460
+ * <p>
1461
+ * <b>DEFAULT</b>: All traffic that does not match another route is
1462
+ * forwarded to the default route. Applications must have a default route before any other routes
1463
+ * can be created.</p>
1464
+ * <p>
1465
+ * <b>URI_PATH</b>: A route that is based on a URI path.</p>
1466
+ */
1467
+ RouteId?: string;
1468
+ /**
1469
+ * <p>The Amazon Resource Name (ARN) of the route.</p>
1470
+ */
1471
+ Arn?: string;
1472
+ /**
1473
+ * <p>The Amazon Web Services account ID of the route owner.</p>
1474
+ */
1475
+ OwnerAccountId?: string;
1476
+ /**
1477
+ * <p>The Amazon Web Services account ID of the route creator.</p>
1478
+ */
1479
+ CreatedByAccountId?: string;
1480
+ /**
1481
+ * <p>The type of route.</p>
1482
+ */
1483
+ RouteType?: RouteType | string;
1484
+ /**
1485
+ * <p>The unique identifier of the service.</p>
1486
+ */
1487
+ ServiceId?: string;
1488
+ /**
1489
+ * <p>The ID of the application that the route belongs to. </p>
1490
+ */
1491
+ ApplicationId?: string;
1492
+ /**
1493
+ * <p>Unique identifier of the environment.</p>
1494
+ */
1495
+ EnvironmentId?: string;
1496
+ /**
1497
+ * <p>The path to use to match traffic. Paths must start with <code>/</code> and are relative to
1498
+ * the base of the application. </p>
1499
+ */
1500
+ SourcePath?: string;
1501
+ /**
1502
+ * <p>A list of HTTP methods to match. An empty list matches all values. If a method is present,
1503
+ * only HTTP requests using that method are forwarded to this route’s service. </p>
1504
+ */
1505
+ Methods?: (HttpMethod | string)[];
1506
+ /**
1507
+ * <p>Indicates whether to match all subpaths of the given source path. If this value is
1508
+ * <code>false</code>, requests must match the source path exactly before they are forwarded to
1509
+ * this route's service. </p>
1510
+ */
1511
+ IncludeChildPaths?: boolean;
1512
+ /**
1513
+ * <p>A mapping of Amazon API Gateway path resources to resource IDs. </p>
1514
+ */
1515
+ PathResourceToId?: {
1516
+ [key: string]: string;
1517
+ };
1518
+ /**
1519
+ * <p>The current state of the route. </p>
1520
+ */
1521
+ State?: RouteState | string;
1522
+ /**
1523
+ * <p>The tags assigned to the route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair. </p>
1524
+ */
1525
+ Tags?: {
1526
+ [key: string]: string;
1527
+ };
1528
+ /**
1529
+ * <p>Any error associated with the route resource. </p>
1530
+ */
1531
+ Error?: ErrorResponse;
1532
+ /**
1533
+ * <p>A timestamp that indicates when the route was last updated. </p>
1534
+ */
1535
+ LastUpdatedTime?: Date;
1536
+ /**
1537
+ * <p>The timestamp of when the route is created. </p>
1538
+ */
1539
+ CreatedTime?: Date;
1540
+ }
1541
+ export declare namespace GetRouteResponse {
1542
+ /**
1543
+ * @internal
1544
+ */
1545
+ const filterSensitiveLog: (obj: GetRouteResponse) => any;
1546
+ }
1547
+ export interface GetServiceRequest {
1548
+ /**
1549
+ * <p>The ID of the environment.</p>
1550
+ */
1551
+ EnvironmentIdentifier: string | undefined;
1552
+ /**
1553
+ * <p>The ID of the application.</p>
1554
+ */
1555
+ ApplicationIdentifier: string | undefined;
1556
+ /**
1557
+ * <p>The ID of the service.</p>
1558
+ */
1559
+ ServiceIdentifier: string | undefined;
1560
+ }
1561
+ export declare namespace GetServiceRequest {
1562
+ /**
1563
+ * @internal
1564
+ */
1565
+ const filterSensitiveLog: (obj: GetServiceRequest) => any;
1566
+ }
1567
+ /**
1568
+ * <p>The configuration for the Lambda endpoint type. </p>
1569
+ */
1570
+ export interface LambdaEndpointConfig {
1571
+ /**
1572
+ * <p>The Amazon Resource Name (ARN) of the Lambda endpoint. </p>
1573
+ */
1574
+ Arn?: string;
1575
+ }
1576
+ export declare namespace LambdaEndpointConfig {
1577
+ /**
1578
+ * @internal
1579
+ */
1580
+ const filterSensitiveLog: (obj: LambdaEndpointConfig) => any;
1581
+ }
1582
+ /**
1583
+ * <p>The configuration for the URL endpoint type. </p>
1584
+ */
1585
+ export interface UrlEndpointConfig {
1586
+ /**
1587
+ * <p>The HTTP URL endpoint. </p>
1588
+ */
1589
+ Url?: string;
1590
+ /**
1591
+ * <p>The health check URL of the URL endpoint type. </p>
1592
+ */
1593
+ HealthUrl?: string;
1594
+ }
1595
+ export declare namespace UrlEndpointConfig {
1596
+ /**
1597
+ * @internal
1598
+ */
1599
+ const filterSensitiveLog: (obj: UrlEndpointConfig) => any;
1600
+ }
1601
+ export interface GetServiceResponse {
1602
+ /**
1603
+ * <p>The unique identifier of the service.</p>
1604
+ */
1605
+ ServiceId?: string;
1606
+ /**
1607
+ * <p>The name of the service.</p>
1608
+ */
1609
+ Name?: string;
1610
+ /**
1611
+ * <p>The Amazon Resource Name (ARN) of the service.</p>
1612
+ */
1613
+ Arn?: string;
1614
+ /**
1615
+ * <p>The Amazon Web Services account ID of the service owner.</p>
1616
+ */
1617
+ OwnerAccountId?: string;
1618
+ /**
1619
+ * <p>The Amazon Web Services account ID of the service creator.</p>
1620
+ */
1621
+ CreatedByAccountId?: string;
1622
+ /**
1623
+ * <p>The description of the service. </p>
1624
+ */
1625
+ Description?: string;
1626
+ /**
1627
+ * <p>The unique identifier of the environment.</p>
1628
+ */
1629
+ EnvironmentId?: string;
1630
+ /**
1631
+ * <p>The ID of the application.</p>
1632
+ */
1633
+ ApplicationId?: string;
1634
+ /**
1635
+ * <p>The ID of the virtual private cloud (VPC). </p>
1636
+ */
1637
+ VpcId?: string;
1638
+ /**
1639
+ * <p>The endpoint type of the service.</p>
1640
+ */
1641
+ EndpointType?: ServiceEndpointType | string;
1642
+ /**
1643
+ * <p>The configuration for the URL endpoint type.</p>
1644
+ * <p>The <b>Url</b> isthe URL of the endpoint type.</p>
1645
+ * <p>The <b>HealthUrl</b> is the health check URL of the endpoint
1646
+ * type. </p>
1647
+ */
1648
+ UrlEndpoint?: UrlEndpointConfig;
1649
+ /**
1650
+ * <p>The configuration for the Lambda endpoint type.</p>
1651
+ * <p>The <b>Arn</b> is the Amazon Resource Name (ARN) of the Lambda function associated with this service. </p>
1652
+ */
1653
+ LambdaEndpoint?: LambdaEndpointConfig;
1654
+ /**
1655
+ * <p>The current state of the service. </p>
1656
+ */
1657
+ State?: ServiceState | string;
1658
+ /**
1659
+ * <p>The tags assigned to the service. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair. </p>
1660
+ */
1661
+ Tags?: {
1662
+ [key: string]: string;
1663
+ };
1664
+ /**
1665
+ * <p>Any error associated with the service resource. </p>
1666
+ */
1667
+ Error?: ErrorResponse;
1668
+ /**
1669
+ * <p>A timestamp that indicates when the service was last updated. </p>
1670
+ */
1671
+ LastUpdatedTime?: Date;
1672
+ /**
1673
+ * <p>The timestamp of when the service is created.</p>
1674
+ */
1675
+ CreatedTime?: Date;
1676
+ }
1677
+ export declare namespace GetServiceResponse {
1678
+ /**
1679
+ * @internal
1680
+ */
1681
+ const filterSensitiveLog: (obj: GetServiceResponse) => any;
1682
+ }
1683
+ /**
1684
+ * <p>The resource policy is not valid.</p>
1685
+ */
1686
+ export interface InvalidResourcePolicyException extends __SmithyException, $MetadataBearer {
1687
+ name: "InvalidResourcePolicyException";
1688
+ $fault: "client";
1689
+ Message: string | undefined;
1690
+ }
1691
+ export declare namespace InvalidResourcePolicyException {
1692
+ /**
1693
+ * @internal
1694
+ */
1695
+ const filterSensitiveLog: (obj: InvalidResourcePolicyException) => any;
1696
+ }
1697
+ /**
1698
+ * <p>The summary for the Lambda endpoint type. </p>
1699
+ */
1700
+ export interface LambdaEndpointSummary {
1701
+ /**
1702
+ * <p>The Amazon Resource Name (ARN) of the Lambda endpoint. </p>
1703
+ */
1704
+ Arn?: string;
1705
+ }
1706
+ export declare namespace LambdaEndpointSummary {
1707
+ /**
1708
+ * @internal
1709
+ */
1710
+ const filterSensitiveLog: (obj: LambdaEndpointSummary) => any;
1711
+ }
1712
+ export interface ListApplicationsRequest {
1713
+ /**
1714
+ * <p>The ID of the environment. </p>
1715
+ */
1716
+ EnvironmentIdentifier: string | undefined;
1717
+ /**
1718
+ * <p>The token for the next page of results.</p>
1719
+ */
1720
+ NextToken?: string;
1721
+ /**
1722
+ * <p>The maximum number of results to return with a single call. To retrieve the remaining
1723
+ * results, make another call with the returned <code>nextToken</code> value.</p>
1724
+ */
1725
+ MaxResults?: number;
1726
+ }
1727
+ export declare namespace ListApplicationsRequest {
1728
+ /**
1729
+ * @internal
1730
+ */
1731
+ const filterSensitiveLog: (obj: ListApplicationsRequest) => any;
1732
+ }
1733
+ export interface ListApplicationsResponse {
1734
+ /**
1735
+ * <p>The list of <code>ApplicationSummary</code> objects. </p>
1736
+ */
1737
+ ApplicationSummaryList?: ApplicationSummary[];
1738
+ /**
1739
+ * <p>The token for the next page of results.</p>
1740
+ */
1741
+ NextToken?: string;
1742
+ }
1743
+ export declare namespace ListApplicationsResponse {
1744
+ /**
1745
+ * @internal
1746
+ */
1747
+ const filterSensitiveLog: (obj: ListApplicationsResponse) => any;
1748
+ }
1749
+ export interface ListEnvironmentsRequest {
1750
+ /**
1751
+ * <p>The token for the next page of results.</p>
1752
+ */
1753
+ NextToken?: string;
1754
+ /**
1755
+ * <p>The maximum number of results to return with a single call. To retrieve the remaining
1756
+ * results, make another call with the returned <code>nextToken</code> value.</p>
1757
+ */
1758
+ MaxResults?: number;
1759
+ }
1760
+ export declare namespace ListEnvironmentsRequest {
1761
+ /**
1762
+ * @internal
1763
+ */
1764
+ const filterSensitiveLog: (obj: ListEnvironmentsRequest) => any;
1765
+ }
1766
+ export interface ListEnvironmentsResponse {
1767
+ /**
1768
+ * <p>The list of <code>EnvironmentSummary</code> objects. </p>
1769
+ */
1770
+ EnvironmentSummaryList?: EnvironmentSummary[];
1771
+ /**
1772
+ * <p>The token for the next page of results.</p>
1773
+ */
1774
+ NextToken?: string;
1775
+ }
1776
+ export declare namespace ListEnvironmentsResponse {
1777
+ /**
1778
+ * @internal
1779
+ */
1780
+ const filterSensitiveLog: (obj: ListEnvironmentsResponse) => any;
1781
+ }
1782
+ export interface ListEnvironmentVpcsRequest {
1783
+ /**
1784
+ * <p>The ID of the environment. </p>
1785
+ */
1786
+ EnvironmentIdentifier: string | undefined;
1787
+ /**
1788
+ * <p>The token for the next page of results.</p>
1789
+ */
1790
+ NextToken?: string;
1791
+ /**
1792
+ * <p>The maximum number of results to return with a single call. To retrieve the remaining
1793
+ * results, make another call with the returned <code>nextToken</code> value.</p>
1794
+ */
1795
+ MaxResults?: number;
1796
+ }
1797
+ export declare namespace ListEnvironmentVpcsRequest {
1798
+ /**
1799
+ * @internal
1800
+ */
1801
+ const filterSensitiveLog: (obj: ListEnvironmentVpcsRequest) => any;
1802
+ }
1803
+ export interface ListEnvironmentVpcsResponse {
1804
+ /**
1805
+ * <p>The list of <code>EnvironmentVpc</code> objects. </p>
1806
+ */
1807
+ EnvironmentVpcList?: EnvironmentVpc[];
1808
+ /**
1809
+ * <p>The token for the next page of results.</p>
1810
+ */
1811
+ NextToken?: string;
1812
+ }
1813
+ export declare namespace ListEnvironmentVpcsResponse {
1814
+ /**
1815
+ * @internal
1816
+ */
1817
+ const filterSensitiveLog: (obj: ListEnvironmentVpcsResponse) => any;
1818
+ }
1819
+ export interface ListRoutesRequest {
1820
+ /**
1821
+ * <p>The ID of the environment. </p>
1822
+ */
1823
+ EnvironmentIdentifier: string | undefined;
1824
+ /**
1825
+ * <p>The ID of the application. </p>
1826
+ */
1827
+ ApplicationIdentifier: string | undefined;
1828
+ /**
1829
+ * <p>The token for the next page of results.</p>
1830
+ */
1831
+ NextToken?: string;
1832
+ /**
1833
+ * <p>The maximum number of results to return with a single call. To retrieve the remaining
1834
+ * results, make another call with the returned <code>nextToken</code> value.</p>
1835
+ */
1836
+ MaxResults?: number;
1837
+ }
1838
+ export declare namespace ListRoutesRequest {
1839
+ /**
1840
+ * @internal
1841
+ */
1842
+ const filterSensitiveLog: (obj: ListRoutesRequest) => any;
1843
+ }
1844
+ /**
1845
+ * <p>The summary information for the routes as a response to <code>ListRoutes</code>. </p>
1846
+ */
1847
+ export interface RouteSummary {
1848
+ /**
1849
+ * <p>The unique identifier of the route. </p>
1850
+ */
1851
+ RouteId?: string;
1852
+ /**
1853
+ * <p>The Amazon Resource Name (ARN) of the route. </p>
1854
+ */
1855
+ Arn?: string;
1856
+ /**
1857
+ * <p>The Amazon Web Services account ID of the route owner.</p>
1858
+ */
1859
+ OwnerAccountId?: string;
1860
+ /**
1861
+ * <p>The Amazon Web Services account ID of the route creator. </p>
1862
+ */
1863
+ CreatedByAccountId?: string;
1864
+ /**
1865
+ * <p>The route type of the route. </p>
1866
+ */
1867
+ RouteType?: RouteType | string;
1868
+ /**
1869
+ * <p>The unique identifier of the service. </p>
1870
+ */
1871
+ ServiceId?: string;
1872
+ /**
1873
+ * <p>The unique identifier of the application. </p>
1874
+ */
1875
+ ApplicationId?: string;
1876
+ /**
1877
+ * <p>The unique identifier of the environment. </p>
1878
+ */
1879
+ EnvironmentId?: string;
1880
+ /**
1881
+ * <p>The path to use to match traffic. Paths must start with <code>/</code> and are relative to
1882
+ * the base of the application.</p>
1883
+ */
1884
+ SourcePath?: string;
1885
+ /**
1886
+ * <p>A list of HTTP methods to match. An empty list matches all values. If a method is present,
1887
+ * only HTTP requests using that method are forwarded to this route’s service. </p>
1888
+ */
1889
+ Methods?: (HttpMethod | string)[];
1890
+ /**
1891
+ * <p>Indicates whether to match all subpaths of the given source path. If this value is
1892
+ * <code>false</code>, requests must match the source path exactly before they are forwarded to
1893
+ * this route's service.</p>
1894
+ */
1895
+ IncludeChildPaths?: boolean;
1896
+ /**
1897
+ * <p>A mapping of Amazon API Gateway path resources to resource IDs. </p>
1898
+ */
1899
+ PathResourceToId?: {
1900
+ [key: string]: string;
1901
+ };
1902
+ /**
1903
+ * <p>The current state of the route. </p>
1904
+ */
1905
+ State?: RouteState | string;
1906
+ /**
1907
+ * <p>The tags assigned to the route. </p>
1908
+ */
1909
+ Tags?: {
1910
+ [key: string]: string;
1911
+ };
1912
+ /**
1913
+ * <p>Any error associated with the route resource. </p>
1914
+ */
1915
+ Error?: ErrorResponse;
1916
+ /**
1917
+ * <p>A timestamp that indicates when the route was last updated. </p>
1918
+ */
1919
+ LastUpdatedTime?: Date;
1920
+ /**
1921
+ * <p>A timestamp that indicates when the route is created. </p>
1922
+ */
1923
+ CreatedTime?: Date;
1924
+ }
1925
+ export declare namespace RouteSummary {
1926
+ /**
1927
+ * @internal
1928
+ */
1929
+ const filterSensitiveLog: (obj: RouteSummary) => any;
1930
+ }
1931
+ export interface ListRoutesResponse {
1932
+ /**
1933
+ * <p>The list of <code>RouteSummary</code> objects. </p>
1934
+ */
1935
+ RouteSummaryList?: RouteSummary[];
1936
+ /**
1937
+ * <p>The token for the next page of results.</p>
1938
+ */
1939
+ NextToken?: string;
1940
+ }
1941
+ export declare namespace ListRoutesResponse {
1942
+ /**
1943
+ * @internal
1944
+ */
1945
+ const filterSensitiveLog: (obj: ListRoutesResponse) => any;
1946
+ }
1947
+ export interface ListServicesRequest {
1948
+ /**
1949
+ * <p>The ID of the environment. </p>
1950
+ */
1951
+ EnvironmentIdentifier: string | undefined;
1952
+ /**
1953
+ * <p>The ID of the application. </p>
1954
+ */
1955
+ ApplicationIdentifier: string | undefined;
1956
+ /**
1957
+ * <p>The token for the next page of results.</p>
1958
+ */
1959
+ NextToken?: string;
1960
+ /**
1961
+ * <p>The maximum number of results to return with a single call. To retrieve the remaining
1962
+ * results, make another call with the returned <code>nextToken</code> value.</p>
1963
+ */
1964
+ MaxResults?: number;
1965
+ }
1966
+ export declare namespace ListServicesRequest {
1967
+ /**
1968
+ * @internal
1969
+ */
1970
+ const filterSensitiveLog: (obj: ListServicesRequest) => any;
1971
+ }
1972
+ /**
1973
+ * <p>The summary of the configuration for the URL endpoint type. </p>
1974
+ */
1975
+ export interface UrlEndpointSummary {
1976
+ /**
1977
+ * <p> The URL to route traffic to. The URL must be an <a href="https://datatracker.ietf.org/doc/html/rfc3986">rfc3986-formatted URL</a>. If the
1978
+ * host is a domain name, the name must be resolvable over the public internet. If the scheme is
1979
+ * <code>https</code>, the top level domain of the host must be listed in the <a href="https://www.iana.org/domains/root/db">IANA root zone database</a>. </p>
1980
+ */
1981
+ Url?: string;
1982
+ /**
1983
+ * <p>The health check URL of the URL endpoint type. If the URL is a public endpoint, the
1984
+ * <code>HealthUrl</code> must also be a public endpoint. If the URL is a private endpoint
1985
+ * inside a virtual private cloud (VPC), the health URL must also be a private endpoint, and the
1986
+ * host must be the same as the URL.</p>
1987
+ */
1988
+ HealthUrl?: string;
1989
+ }
1990
+ export declare namespace UrlEndpointSummary {
1991
+ /**
1992
+ * @internal
1993
+ */
1994
+ const filterSensitiveLog: (obj: UrlEndpointSummary) => any;
1995
+ }
1996
+ /**
1997
+ * <p>A summary for the service as a response to <code>ListServices</code>. </p>
1998
+ */
1999
+ export interface ServiceSummary {
2000
+ /**
2001
+ * <p>The unique identifier of the service. </p>
2002
+ */
2003
+ ServiceId?: string;
2004
+ /**
2005
+ * <p>The name of the service. </p>
2006
+ */
2007
+ Name?: string;
2008
+ /**
2009
+ * <p>The Amazon Resource Name (ARN) of the service. </p>
2010
+ */
2011
+ Arn?: string;
2012
+ /**
2013
+ * <p>The Amazon Web Services account ID of the service owner.</p>
2014
+ */
2015
+ OwnerAccountId?: string;
2016
+ /**
2017
+ * <p>The Amazon Web Services account ID of the service creator. </p>
2018
+ */
2019
+ CreatedByAccountId?: string;
2020
+ /**
2021
+ * <p>A description of the service. </p>
2022
+ */
2023
+ Description?: string;
2024
+ /**
2025
+ * <p>The unique identifier of the environment. </p>
2026
+ */
2027
+ EnvironmentId?: string;
2028
+ /**
2029
+ * <p>The unique identifier of the application. </p>
2030
+ */
2031
+ ApplicationId?: string;
2032
+ /**
2033
+ * <p>The ID of the virtual private cloud (VPC). </p>
2034
+ */
2035
+ VpcId?: string;
2036
+ /**
2037
+ * <p>The endpoint type of the service. </p>
2038
+ */
2039
+ EndpointType?: ServiceEndpointType | string;
2040
+ /**
2041
+ * <p>The summary of the configuration for the URL endpoint type. </p>
2042
+ */
2043
+ UrlEndpoint?: UrlEndpointSummary;
2044
+ /**
2045
+ * <p>A summary of the configuration for the Lambda endpoint type. </p>
2046
+ */
2047
+ LambdaEndpoint?: LambdaEndpointSummary;
2048
+ /**
2049
+ * <p>The current state of the service. </p>
2050
+ */
2051
+ State?: ServiceState | string;
2052
+ /**
2053
+ * <p>The tags assigned to the service. </p>
2054
+ */
2055
+ Tags?: {
2056
+ [key: string]: string;
2057
+ };
2058
+ /**
2059
+ * <p>Any error associated with the service resource. </p>
2060
+ */
2061
+ Error?: ErrorResponse;
2062
+ /**
2063
+ * <p>A timestamp that indicates when the service was last updated. </p>
2064
+ */
2065
+ LastUpdatedTime?: Date;
2066
+ /**
2067
+ * <p>A timestamp that indicates when the service is created. </p>
2068
+ */
2069
+ CreatedTime?: Date;
2070
+ }
2071
+ export declare namespace ServiceSummary {
2072
+ /**
2073
+ * @internal
2074
+ */
2075
+ const filterSensitiveLog: (obj: ServiceSummary) => any;
2076
+ }
2077
+ export interface ListServicesResponse {
2078
+ /**
2079
+ * <p> The list of <code>ServiceSummary</code> objects. </p>
2080
+ */
2081
+ ServiceSummaryList?: ServiceSummary[];
2082
+ /**
2083
+ * <p>The token for the next page of results.</p>
2084
+ */
2085
+ NextToken?: string;
2086
+ }
2087
+ export declare namespace ListServicesResponse {
2088
+ /**
2089
+ * @internal
2090
+ */
2091
+ const filterSensitiveLog: (obj: ListServicesResponse) => any;
2092
+ }
2093
+ export interface ListTagsForResourceRequest {
2094
+ /**
2095
+ * <p>The Amazon Resource Name (ARN) of the resource. </p>
2096
+ */
2097
+ ResourceArn: string | undefined;
2098
+ }
2099
+ export declare namespace ListTagsForResourceRequest {
2100
+ /**
2101
+ * @internal
2102
+ */
2103
+ const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
2104
+ }
2105
+ export interface ListTagsForResourceResponse {
2106
+ /**
2107
+ * <p>The list of tags assigned to the resource. </p>
2108
+ */
2109
+ Tags?: {
2110
+ [key: string]: string;
2111
+ };
2112
+ }
2113
+ export declare namespace ListTagsForResourceResponse {
2114
+ /**
2115
+ * @internal
2116
+ */
2117
+ const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
2118
+ }
2119
+ export interface PutResourcePolicyRequest {
2120
+ /**
2121
+ * <p>The Amazon Resource Name (ARN) of the resource to which the policy is being attached.
2122
+ * </p>
2123
+ */
2124
+ ResourceArn: string | undefined;
2125
+ /**
2126
+ * <p>A JSON-formatted string for an Amazon Web Services resource-based policy. </p>
2127
+ */
2128
+ Policy: string | undefined;
2129
+ }
2130
+ export declare namespace PutResourcePolicyRequest {
2131
+ /**
2132
+ * @internal
2133
+ */
2134
+ const filterSensitiveLog: (obj: PutResourcePolicyRequest) => any;
2135
+ }
2136
+ export interface PutResourcePolicyResponse {
2137
+ }
2138
+ export declare namespace PutResourcePolicyResponse {
2139
+ /**
2140
+ * @internal
2141
+ */
2142
+ const filterSensitiveLog: (obj: PutResourcePolicyResponse) => any;
2143
+ }
2144
+ export interface TagResourceRequest {
2145
+ /**
2146
+ * <p>The Amazon Resource Name (ARN) of the resource</p>
2147
+ */
2148
+ ResourceArn: string | undefined;
2149
+ /**
2150
+ * <p>The new or modified tags for the resource. </p>
2151
+ */
2152
+ Tags: {
2153
+ [key: string]: string;
2154
+ } | undefined;
2155
+ }
2156
+ export declare namespace TagResourceRequest {
2157
+ /**
2158
+ * @internal
2159
+ */
2160
+ const filterSensitiveLog: (obj: TagResourceRequest) => any;
2161
+ }
2162
+ export interface TagResourceResponse {
2163
+ }
2164
+ export declare namespace TagResourceResponse {
2165
+ /**
2166
+ * @internal
2167
+ */
2168
+ const filterSensitiveLog: (obj: TagResourceResponse) => any;
2169
+ }
2170
+ export interface UntagResourceRequest {
2171
+ /**
2172
+ * <p>The Amazon Resource Name (ARN) of the resource. </p>
2173
+ */
2174
+ ResourceArn: string | undefined;
2175
+ /**
2176
+ * <p>The list of keys of the tags to be removed from the resource. </p>
2177
+ */
2178
+ TagKeys: string[] | undefined;
2179
+ }
2180
+ export declare namespace UntagResourceRequest {
2181
+ /**
2182
+ * @internal
2183
+ */
2184
+ const filterSensitiveLog: (obj: UntagResourceRequest) => any;
2185
+ }
2186
+ export interface UntagResourceResponse {
2187
+ }
2188
+ export declare namespace UntagResourceResponse {
2189
+ /**
2190
+ * @internal
2191
+ */
2192
+ const filterSensitiveLog: (obj: UntagResourceResponse) => any;
2193
+ }