@aws-sdk/client-interconnect 3.1030.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 (137) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +311 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +454 -0
  7. package/dist-cjs/models/InterconnectServiceException.js +12 -0
  8. package/dist-cjs/models/errors.js +95 -0
  9. package/dist-cjs/runtimeConfig.browser.js +38 -0
  10. package/dist-cjs/runtimeConfig.js +54 -0
  11. package/dist-cjs/runtimeConfig.native.js +15 -0
  12. package/dist-cjs/runtimeConfig.shared.js +43 -0
  13. package/dist-cjs/schemas/schemas_0.js +379 -0
  14. package/dist-es/Interconnect.js +47 -0
  15. package/dist-es/InterconnectClient.js +50 -0
  16. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  17. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  18. package/dist-es/commands/AcceptConnectionProposalCommand.js +16 -0
  19. package/dist-es/commands/CreateConnectionCommand.js +16 -0
  20. package/dist-es/commands/DeleteConnectionCommand.js +16 -0
  21. package/dist-es/commands/DescribeConnectionProposalCommand.js +16 -0
  22. package/dist-es/commands/GetConnectionCommand.js +16 -0
  23. package/dist-es/commands/GetEnvironmentCommand.js +16 -0
  24. package/dist-es/commands/ListAttachPointsCommand.js +16 -0
  25. package/dist-es/commands/ListConnectionsCommand.js +16 -0
  26. package/dist-es/commands/ListEnvironmentsCommand.js +16 -0
  27. package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
  28. package/dist-es/commands/TagResourceCommand.js +16 -0
  29. package/dist-es/commands/UntagResourceCommand.js +16 -0
  30. package/dist-es/commands/UpdateConnectionCommand.js +16 -0
  31. package/dist-es/commands/index.js +13 -0
  32. package/dist-es/endpoint/EndpointParameters.js +11 -0
  33. package/dist-es/endpoint/endpointResolver.js +14 -0
  34. package/dist-es/endpoint/ruleset.js +4 -0
  35. package/dist-es/extensionConfiguration.js +1 -0
  36. package/dist-es/index.js +10 -0
  37. package/dist-es/models/InterconnectServiceException.js +8 -0
  38. package/dist-es/models/enums.js +22 -0
  39. package/dist-es/models/errors.js +85 -0
  40. package/dist-es/models/models_0.js +1 -0
  41. package/dist-es/pagination/Interfaces.js +1 -0
  42. package/dist-es/pagination/ListAttachPointsPaginator.js +4 -0
  43. package/dist-es/pagination/ListConnectionsPaginator.js +4 -0
  44. package/dist-es/pagination/ListEnvironmentsPaginator.js +4 -0
  45. package/dist-es/pagination/index.js +4 -0
  46. package/dist-es/runtimeConfig.browser.js +33 -0
  47. package/dist-es/runtimeConfig.js +49 -0
  48. package/dist-es/runtimeConfig.native.js +11 -0
  49. package/dist-es/runtimeConfig.shared.js +39 -0
  50. package/dist-es/runtimeExtensions.js +9 -0
  51. package/dist-es/schemas/schemas_0.js +375 -0
  52. package/dist-es/waiters/index.js +2 -0
  53. package/dist-es/waiters/waitForConnectionAvailable.js +49 -0
  54. package/dist-es/waiters/waitForConnectionDeleted.js +31 -0
  55. package/dist-types/Interconnect.d.ts +137 -0
  56. package/dist-types/InterconnectClient.d.ts +200 -0
  57. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  58. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  59. package/dist-types/commands/AcceptConnectionProposalCommand.d.ts +164 -0
  60. package/dist-types/commands/CreateConnectionCommand.d.ts +172 -0
  61. package/dist-types/commands/DeleteConnectionCommand.d.ts +153 -0
  62. package/dist-types/commands/DescribeConnectionProposalCommand.d.ts +121 -0
  63. package/dist-types/commands/GetConnectionCommand.d.ts +152 -0
  64. package/dist-types/commands/GetEnvironmentCommand.d.ts +146 -0
  65. package/dist-types/commands/ListAttachPointsCommand.d.ts +125 -0
  66. package/dist-types/commands/ListConnectionsCommand.d.ts +242 -0
  67. package/dist-types/commands/ListEnvironmentsCommand.d.ts +173 -0
  68. package/dist-types/commands/ListTagsForResourceCommand.d.ts +115 -0
  69. package/dist-types/commands/TagResourceCommand.d.ts +113 -0
  70. package/dist-types/commands/UntagResourceCommand.d.ts +113 -0
  71. package/dist-types/commands/UpdateConnectionCommand.d.ts +190 -0
  72. package/dist-types/commands/index.d.ts +13 -0
  73. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  74. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  75. package/dist-types/endpoint/ruleset.d.ts +2 -0
  76. package/dist-types/extensionConfiguration.d.ts +9 -0
  77. package/dist-types/index.d.ts +18 -0
  78. package/dist-types/models/InterconnectServiceException.d.ts +14 -0
  79. package/dist-types/models/enums.d.ts +54 -0
  80. package/dist-types/models/errors.d.ts +86 -0
  81. package/dist-types/models/models_0.d.ts +764 -0
  82. package/dist-types/pagination/Interfaces.d.ts +8 -0
  83. package/dist-types/pagination/ListAttachPointsPaginator.d.ts +7 -0
  84. package/dist-types/pagination/ListConnectionsPaginator.d.ts +7 -0
  85. package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +7 -0
  86. package/dist-types/pagination/index.d.ts +4 -0
  87. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  88. package/dist-types/runtimeConfig.d.ts +55 -0
  89. package/dist-types/runtimeConfig.native.d.ts +54 -0
  90. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  91. package/dist-types/runtimeExtensions.d.ts +17 -0
  92. package/dist-types/schemas/schemas_0.d.ts +63 -0
  93. package/dist-types/ts3.4/Interconnect.d.ts +275 -0
  94. package/dist-types/ts3.4/InterconnectClient.d.ts +197 -0
  95. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  96. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  97. package/dist-types/ts3.4/commands/AcceptConnectionProposalCommand.d.ts +51 -0
  98. package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +50 -0
  99. package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +50 -0
  100. package/dist-types/ts3.4/commands/DescribeConnectionProposalCommand.d.ts +51 -0
  101. package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +50 -0
  102. package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +50 -0
  103. package/dist-types/ts3.4/commands/ListAttachPointsCommand.d.ts +50 -0
  104. package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +50 -0
  105. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +50 -0
  106. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  107. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  108. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  109. package/dist-types/ts3.4/commands/UpdateConnectionCommand.d.ts +50 -0
  110. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  111. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  112. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  113. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  114. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  115. package/dist-types/ts3.4/index.d.ts +13 -0
  116. package/dist-types/ts3.4/models/InterconnectServiceException.d.ts +9 -0
  117. package/dist-types/ts3.4/models/enums.d.ts +30 -0
  118. package/dist-types/ts3.4/models/errors.d.ts +54 -0
  119. package/dist-types/ts3.4/models/models_0.d.ts +231 -0
  120. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  121. package/dist-types/ts3.4/pagination/ListAttachPointsPaginator.d.ts +11 -0
  122. package/dist-types/ts3.4/pagination/ListConnectionsPaginator.d.ts +11 -0
  123. package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +11 -0
  124. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  125. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
  126. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  127. package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
  128. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
  129. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  130. package/dist-types/ts3.4/schemas/schemas_0.d.ts +63 -0
  131. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  132. package/dist-types/ts3.4/waiters/waitForConnectionAvailable.d.ts +11 -0
  133. package/dist-types/ts3.4/waiters/waitForConnectionDeleted.d.ts +11 -0
  134. package/dist-types/waiters/index.d.ts +2 -0
  135. package/dist-types/waiters/waitForConnectionAvailable.d.ts +14 -0
  136. package/dist-types/waiters/waitForConnectionDeleted.d.ts +14 -0
  137. package/package.json +101 -0
@@ -0,0 +1,764 @@
1
+ import type { AttachPointType, ConnectionState, EnvironmentState, RemoteAccountIdentifierType } from "./enums";
2
+ /**
3
+ * <p>Identifies an attach point to use with a Connection.</p>
4
+ * @public
5
+ */
6
+ export type AttachPoint = AttachPoint.ArnMember | AttachPoint.DirectConnectGatewayMember | AttachPoint.$UnknownMember;
7
+ /**
8
+ * @public
9
+ */
10
+ export declare namespace AttachPoint {
11
+ /**
12
+ * <p>Identifies an DirectConnect Gateway attach point by DirectConnectGatewayID.</p>
13
+ * @public
14
+ */
15
+ interface DirectConnectGatewayMember {
16
+ directConnectGateway: string;
17
+ arn?: never;
18
+ $unknown?: never;
19
+ }
20
+ /**
21
+ * <p>Identifies an attach point by full ARN.</p>
22
+ * @public
23
+ */
24
+ interface ArnMember {
25
+ directConnectGateway?: never;
26
+ arn: string;
27
+ $unknown?: never;
28
+ }
29
+ /**
30
+ * @public
31
+ */
32
+ interface $UnknownMember {
33
+ directConnectGateway?: never;
34
+ arn?: never;
35
+ $unknown: [string, any];
36
+ }
37
+ /**
38
+ * @deprecated unused in schema-serde mode.
39
+ *
40
+ */
41
+ interface Visitor<T> {
42
+ directConnectGateway: (value: string) => T;
43
+ arn: (value: string) => T;
44
+ _: (name: string, value: any) => T;
45
+ }
46
+ }
47
+ /**
48
+ * @public
49
+ */
50
+ export interface AcceptConnectionProposalRequest {
51
+ /**
52
+ * <p>The Attach Point to which the connection should be associated.</p>
53
+ * @public
54
+ */
55
+ attachPoint: AttachPoint | undefined;
56
+ /**
57
+ * <p>An Activation Key that was generated on a supported partner's portal. This key captures the desired parameters from the initial creation request.</p> <p>The details of this request can be described using with <a>DescribeConnectionProposal</a>. </p>
58
+ * @public
59
+ */
60
+ activationKey: string | undefined;
61
+ /**
62
+ * <p>A description to distinguish this <a>Connection</a>.</p>
63
+ * @public
64
+ */
65
+ description?: string | undefined;
66
+ /**
67
+ * <p>The tags to associate with the resulting <a>Connection</a>.</p>
68
+ * @public
69
+ */
70
+ tags?: Record<string, string> | undefined;
71
+ /**
72
+ * <p>Idempotency token used for the request.</p>
73
+ * @public
74
+ */
75
+ clientToken?: string | undefined;
76
+ }
77
+ /**
78
+ * <p>Describes the respective AWS Interconnect Partner organization.</p>
79
+ * @public
80
+ */
81
+ export type Provider = Provider.CloudServiceProviderMember | Provider.LastMileProviderMember | Provider.$UnknownMember;
82
+ /**
83
+ * @public
84
+ */
85
+ export declare namespace Provider {
86
+ /**
87
+ * <p>The provider's name. Specifically, connections to/from this Cloud Service Provider will be considered Multicloud connections.</p>
88
+ * @public
89
+ */
90
+ interface CloudServiceProviderMember {
91
+ cloudServiceProvider: string;
92
+ lastMileProvider?: never;
93
+ $unknown?: never;
94
+ }
95
+ /**
96
+ * <p>The provider's name. Specifically, connections to/from this Last Mile Provider will be considered LastMile connections.</p>
97
+ * @public
98
+ */
99
+ interface LastMileProviderMember {
100
+ cloudServiceProvider?: never;
101
+ lastMileProvider: string;
102
+ $unknown?: never;
103
+ }
104
+ /**
105
+ * @public
106
+ */
107
+ interface $UnknownMember {
108
+ cloudServiceProvider?: never;
109
+ lastMileProvider?: never;
110
+ $unknown: [string, any];
111
+ }
112
+ /**
113
+ * @deprecated unused in schema-serde mode.
114
+ *
115
+ */
116
+ interface Visitor<T> {
117
+ cloudServiceProvider: (value: string) => T;
118
+ lastMileProvider: (value: string) => T;
119
+ _: (name: string, value: any) => T;
120
+ }
121
+ }
122
+ /**
123
+ * <p>The object describing the provided connectivity from the AWS region to the partner location.</p>
124
+ * @public
125
+ */
126
+ export interface Connection {
127
+ /**
128
+ * <p>The short identifier of the connection object.</p>
129
+ * @public
130
+ */
131
+ id: string | undefined;
132
+ /**
133
+ * <p>An ARN of a <a>Connection</a> object.</p>
134
+ * @public
135
+ */
136
+ arn: string | undefined;
137
+ /**
138
+ * <p>A descriptive name for the connection.</p>
139
+ * @public
140
+ */
141
+ description: string | undefined;
142
+ /**
143
+ * <p>The specific selected bandwidth of this connection.</p>
144
+ * @public
145
+ */
146
+ bandwidth: string | undefined;
147
+ /**
148
+ * <p>The Attach Point to which the connection should be associated."</p>
149
+ * @public
150
+ */
151
+ attachPoint: AttachPoint | undefined;
152
+ /**
153
+ * <p>The specific <a>Environment</a> this connection is placed upon.</p>
154
+ * @public
155
+ */
156
+ environmentId: string | undefined;
157
+ /**
158
+ * <p>The provider on the remote side of this <a>Connection</a>.</p>
159
+ * @public
160
+ */
161
+ provider: Provider | undefined;
162
+ /**
163
+ * <p>The provider specific location on the remote side of this <a>Connection</a> </p>
164
+ * @public
165
+ */
166
+ location: string | undefined;
167
+ /**
168
+ * <p>The specific product type of this <a>Connection</a>.</p>
169
+ * @public
170
+ */
171
+ type: string | undefined;
172
+ /**
173
+ * <ul> <li> <p> <code>requested</code>: The initial state of a connection. The state will remain here until the Connection is accepted on the Partner portal.</p> </li> <li> <p> <code>pending</code>: The connection has been accepted and is being provisioned between AWS and the Partner.</p> </li> <li> <p> <code>available</code>: The connection has been fully provisioned between AWS and the Partner.</p> </li> <li> <p> <code>deleting</code>: The connection is being deleted.</p> </li> <li> <p> <code>deleted</code>: The connection has been deleted.</p> </li> <li> <p> <code>failed</code>: The connection has failed to be created.</p> </li> <li> <p> <code>updating</code>: The connection is being updated.</p> </li> </ul>
174
+ * @public
175
+ */
176
+ state: ConnectionState | undefined;
177
+ /**
178
+ * <p>An identifier used by both AWS and the remote partner to identify the specific connection.</p>
179
+ * @public
180
+ */
181
+ sharedId: string | undefined;
182
+ /**
183
+ * <p>The billing tier this connection is currently assigned.</p>
184
+ * @public
185
+ */
186
+ billingTier?: number | undefined;
187
+ /**
188
+ * <p>The account that owns this <a>Connection</a> </p>
189
+ * @public
190
+ */
191
+ ownerAccount: string | undefined;
192
+ /**
193
+ * <p>The Activation Key associated to this connection.</p>
194
+ * @public
195
+ */
196
+ activationKey: string | undefined;
197
+ /**
198
+ * <p>The tags on the <a>Connection</a> </p>
199
+ * @public
200
+ */
201
+ tags?: Record<string, string> | undefined;
202
+ }
203
+ /**
204
+ * @public
205
+ */
206
+ export interface AcceptConnectionProposalResponse {
207
+ /**
208
+ * <p>The created <a>Connection</a> object.</p>
209
+ * @public
210
+ */
211
+ connection?: Connection | undefined;
212
+ }
213
+ /**
214
+ * <p>Describes a possible Attach Point for a Connection.</p>
215
+ * @public
216
+ */
217
+ export interface AttachPointDescriptor {
218
+ /**
219
+ * <p>The type of this AttachPoint, which will dictate the syntax of the identifier.</p> <p>Current types include:</p> <ul> <li> <p>ARN</p> </li> <li> <p>DirectConnect Gateway</p> </li> </ul>
220
+ * @public
221
+ */
222
+ type: AttachPointType | undefined;
223
+ /**
224
+ * <p>The identifier for the specific type of the AttachPoint.</p>
225
+ * @public
226
+ */
227
+ identifier: string | undefined;
228
+ /**
229
+ * <p>The descriptive name of the identifier attach point.</p>
230
+ * @public
231
+ */
232
+ name: string | undefined;
233
+ }
234
+ /**
235
+ * <p>Contains the details about the available and supported bandwidths.</p>
236
+ * @public
237
+ */
238
+ export interface Bandwidths {
239
+ /**
240
+ * <p>The list of currently available bandwidths.</p>
241
+ * @public
242
+ */
243
+ available?: string[] | undefined;
244
+ /**
245
+ * <p>The list of all bandwidths that this environment plans to support</p>
246
+ * @public
247
+ */
248
+ supported?: string[] | undefined;
249
+ }
250
+ /**
251
+ * <p>The types of identifiers that may be needed for remote account specification.</p>
252
+ * @public
253
+ */
254
+ export type RemoteAccountIdentifier = RemoteAccountIdentifier.IdentifierMember | RemoteAccountIdentifier.$UnknownMember;
255
+ /**
256
+ * @public
257
+ */
258
+ export declare namespace RemoteAccountIdentifier {
259
+ /**
260
+ * <p>A generic bit of identifying information. Can be used in place of any of the more specific types.</p>
261
+ * @public
262
+ */
263
+ interface IdentifierMember {
264
+ identifier: string;
265
+ $unknown?: never;
266
+ }
267
+ /**
268
+ * @public
269
+ */
270
+ interface $UnknownMember {
271
+ identifier?: never;
272
+ $unknown: [string, any];
273
+ }
274
+ /**
275
+ * @deprecated unused in schema-serde mode.
276
+ *
277
+ */
278
+ interface Visitor<T> {
279
+ identifier: (value: string) => T;
280
+ _: (name: string, value: any) => T;
281
+ }
282
+ }
283
+ /**
284
+ * @public
285
+ */
286
+ export interface CreateConnectionRequest {
287
+ /**
288
+ * <p>A description to distinguish this <a>Connection</a>.</p>
289
+ * @public
290
+ */
291
+ description?: string | undefined;
292
+ /**
293
+ * <p>The desired bandwidth of the requested <a>Connection</a> </p>
294
+ * @public
295
+ */
296
+ bandwidth: string | undefined;
297
+ /**
298
+ * <p>The Attach Point to which the connection should be associated."</p>
299
+ * @public
300
+ */
301
+ attachPoint: AttachPoint | undefined;
302
+ /**
303
+ * <p>The identifier of the <a>Environment</a> across which this <a>Connection</a> should be created.</p> <p>The available <a>Environment</a> objects can be determined using <a>ListEnvironments</a>.</p>
304
+ * @public
305
+ */
306
+ environmentId: string | undefined;
307
+ /**
308
+ * <p>Account and/or principal identifying information that can be verified by the partner of this specific Environment.</p>
309
+ * @public
310
+ */
311
+ remoteAccount?: RemoteAccountIdentifier | undefined;
312
+ /**
313
+ * <p>The tag to associate with the resulting <a>Connection</a>.</p>
314
+ * @public
315
+ */
316
+ tags?: Record<string, string> | undefined;
317
+ /**
318
+ * <p>Idempotency token used for the request.</p>
319
+ * @public
320
+ */
321
+ clientToken?: string | undefined;
322
+ }
323
+ /**
324
+ * @public
325
+ */
326
+ export interface CreateConnectionResponse {
327
+ /**
328
+ * <p>The resulting <a>Connection</a>.</p>
329
+ * @public
330
+ */
331
+ connection?: Connection | undefined;
332
+ }
333
+ /**
334
+ * @public
335
+ */
336
+ export interface DeleteConnectionRequest {
337
+ /**
338
+ * <p>The identifier of the <a>Connection</a> to be deleted. </p>
339
+ * @public
340
+ */
341
+ identifier: string | undefined;
342
+ /**
343
+ * <p>Idempotency token used for the request.</p>
344
+ * @public
345
+ */
346
+ clientToken?: string | undefined;
347
+ }
348
+ /**
349
+ * @public
350
+ */
351
+ export interface DeleteConnectionResponse {
352
+ /**
353
+ * <p>The <a>Connection</a> object that has been marked for deletion.</p>
354
+ * @public
355
+ */
356
+ connection: Connection | undefined;
357
+ }
358
+ /**
359
+ * @public
360
+ */
361
+ export interface GetConnectionRequest {
362
+ /**
363
+ * <p>The identifier of the requested <a>Connection</a> </p>
364
+ * @public
365
+ */
366
+ identifier: string | undefined;
367
+ }
368
+ /**
369
+ * @public
370
+ */
371
+ export interface GetConnectionResponse {
372
+ /**
373
+ * <p>The existing <a>Connection</a> resource.</p>
374
+ * @public
375
+ */
376
+ connection?: Connection | undefined;
377
+ }
378
+ /**
379
+ * @public
380
+ */
381
+ export interface ListConnectionsRequest {
382
+ /**
383
+ * <p>The max number of list results in a single paginated response.</p>
384
+ * @public
385
+ */
386
+ maxResults?: number | undefined;
387
+ /**
388
+ * <p>A pagination token from a previous paginated response indicating you wish to get the next page of results.</p>
389
+ * @public
390
+ */
391
+ nextToken?: string | undefined;
392
+ /**
393
+ * <p>Filter the results to only include <a>Connection</a> objects in the given <a>Connection$state</a>.</p>
394
+ * @public
395
+ */
396
+ state?: ConnectionState | undefined;
397
+ /**
398
+ * <p>Filter the results to only include <a>Connection</a> objects on the given <a>Environment</a>.</p>
399
+ * @public
400
+ */
401
+ environmentId?: string | undefined;
402
+ /**
403
+ * <p>Filter the results to only include <a>Connection</a> objects to the given <a>Provider</a>.</p>
404
+ * @public
405
+ */
406
+ provider?: Provider | undefined;
407
+ /**
408
+ * <p>Filter results to only include <a>Connection</a> objects attached to the given <a>AttachPoint</a>.</p>
409
+ * @public
410
+ */
411
+ attachPoint?: AttachPoint | undefined;
412
+ }
413
+ /**
414
+ * <p>Summarized view of a Connection object.</p>
415
+ * @public
416
+ */
417
+ export interface ConnectionSummary {
418
+ /**
419
+ * <p>The identifier of the requested <a>Connection</a> </p>
420
+ * @public
421
+ */
422
+ id: string | undefined;
423
+ /**
424
+ * <p>The ARN of the <a>Connection</a> </p>
425
+ * @public
426
+ */
427
+ arn: string | undefined;
428
+ /**
429
+ * <p>A descriptive name of the <a>Connection</a> </p>
430
+ * @public
431
+ */
432
+ description: string | undefined;
433
+ /**
434
+ * <p>The bandwidth of the <a>Connection</a> </p>
435
+ * @public
436
+ */
437
+ bandwidth: string | undefined;
438
+ /**
439
+ * <p>The Attach Point to which the connection should be associated.</p>
440
+ * @public
441
+ */
442
+ attachPoint: AttachPoint | undefined;
443
+ /**
444
+ * <p>The <a>Environment</a> that this <a>Connection</a> is created on.</p>
445
+ * @public
446
+ */
447
+ environmentId: string | undefined;
448
+ /**
449
+ * <p>The provider on the remote end of this <a>Connection</a> </p>
450
+ * @public
451
+ */
452
+ provider: Provider | undefined;
453
+ /**
454
+ * <p>The provider specific location at the remote end of this <a>Connection</a> </p>
455
+ * @public
456
+ */
457
+ location: string | undefined;
458
+ /**
459
+ * <p>The product variant supplied by this resource.</p>
460
+ * @public
461
+ */
462
+ type: string | undefined;
463
+ /**
464
+ * <ul> <li> <p> <code>requested</code>: The initial state of a connection. The state will remain here until the Connection is accepted on the Partner portal.</p> </li> <li> <p> <code>pending</code>: The connection has been accepted and is being provisioned between AWS and the Partner.</p> </li> <li> <p> <code>available</code>: The connection has been fully provisioned between AWS and the Partner.</p> </li> <li> <p> <code>deleting</code>: The connection is being deleted.</p> </li> <li> <p> <code>deleted</code>: The connection has been deleted.</p> </li> <li> <p> <code>failed</code>: The connection has failed to be created.</p> </li> <li> <p> <code>updating</code>: The connection is being updated.</p> </li> </ul>
465
+ * @public
466
+ */
467
+ state: ConnectionState | undefined;
468
+ /**
469
+ * <p>An identifier used by both AWS and the remote partner to identify the specific connection.</p>
470
+ * @public
471
+ */
472
+ sharedId: string | undefined;
473
+ /**
474
+ * <p>The billing tier this connection is currently assigned.</p>
475
+ * @public
476
+ */
477
+ billingTier?: number | undefined;
478
+ }
479
+ /**
480
+ * @public
481
+ */
482
+ export interface ListConnectionsResponse {
483
+ /**
484
+ * <p>The resulting list of <a>Connection</a> objects.</p>
485
+ * @public
486
+ */
487
+ connections?: ConnectionSummary[] | undefined;
488
+ /**
489
+ * <p>A pagination token for use in subsequent calls to fetch the next page of results.</p>
490
+ * @public
491
+ */
492
+ nextToken?: string | undefined;
493
+ }
494
+ /**
495
+ * @public
496
+ */
497
+ export interface UpdateConnectionRequest {
498
+ /**
499
+ * <p>The identifier of the <a>Connection</a> that should be updated.</p>
500
+ * @public
501
+ */
502
+ identifier: string | undefined;
503
+ /**
504
+ * <p>An updated description to apply to the <a>Connection</a> </p>
505
+ * @public
506
+ */
507
+ description?: string | undefined;
508
+ /**
509
+ * <p>Request a new bandwidth size on the given <a>Connection</a>.</p> <p>Note that changes to the size may be subject to additional policy, and does require the remote partner provider to acknowledge and permit this new bandwidth size.</p>
510
+ * @public
511
+ */
512
+ bandwidth?: string | undefined;
513
+ /**
514
+ * <p>Idempotency token used for the request.</p>
515
+ * @public
516
+ */
517
+ clientToken?: string | undefined;
518
+ }
519
+ /**
520
+ * @public
521
+ */
522
+ export interface UpdateConnectionResponse {
523
+ /**
524
+ * <p>The resulting updated <a>Connection</a> </p>
525
+ * @public
526
+ */
527
+ connection?: Connection | undefined;
528
+ }
529
+ /**
530
+ * @public
531
+ */
532
+ export interface DescribeConnectionProposalRequest {
533
+ /**
534
+ * <p>An Activation Key that was generated on a supported partner's portal. This key captures the desired parameters from the initial creation request.</p>
535
+ * @public
536
+ */
537
+ activationKey: string | undefined;
538
+ }
539
+ /**
540
+ * @public
541
+ */
542
+ export interface DescribeConnectionProposalResponse {
543
+ /**
544
+ * <p>The bandwidth of the proposed <a>Connection</a>. </p>
545
+ * @public
546
+ */
547
+ bandwidth: string | undefined;
548
+ /**
549
+ * <p>The identifier of the <a>Environment</a> upon which the <a>Connection</a> would be placed if this proposal were accepted.</p>
550
+ * @public
551
+ */
552
+ environmentId: string | undefined;
553
+ /**
554
+ * <p>The partner provider of the specific <a>Environment</a> of the proposal.</p>
555
+ * @public
556
+ */
557
+ provider: Provider | undefined;
558
+ /**
559
+ * <p>The partner specific location distinguisher of the specific <a>Environment</a> of the proposal.</p>
560
+ * @public
561
+ */
562
+ location: string | undefined;
563
+ }
564
+ /**
565
+ * <p>Defines the logical topology that an AWS Interconnect Connection is created upon.</p> <p>Specifically, an Environment defines the partner The remote Cloud Service Provider of this resource. or The remote Last Mile Provider of this resource. and the region or location specification to which an AWS Interconnect Connection can be made.</p>
566
+ * @public
567
+ */
568
+ export interface Environment {
569
+ /**
570
+ * <p>The provider on the remote side of this <a>Connection</a>.</p>
571
+ * @public
572
+ */
573
+ provider: Provider | undefined;
574
+ /**
575
+ * <p>The provider specific location on the remote side of this <a>Connection</a>.</p>
576
+ * @public
577
+ */
578
+ location: string | undefined;
579
+ /**
580
+ * <p>The identifier of this <a>Environment</a> </p>
581
+ * @public
582
+ */
583
+ environmentId: string | undefined;
584
+ /**
585
+ * <p>The state of the <a>Environment</a>. Possible values:</p> <ul> <li> <p> <code>available</code>: The environment is available and new <a>Connection</a> objects can be requested.</p> </li> <li> <p> <code>limited</code>: The environment is available, but overall capacity is limited. The set of available bandwidths </p> </li> <li> <p> <code>unavailable</code>: The environment is currently unavailable.</p> </li> </ul>
586
+ * @public
587
+ */
588
+ state: EnvironmentState | undefined;
589
+ /**
590
+ * <p>The sets of bandwidths that are available and supported on this environment.</p>
591
+ * @public
592
+ */
593
+ bandwidths: Bandwidths | undefined;
594
+ /**
595
+ * <p>The specific product type of <a>Connection</a> objects provided by this <a>Environment</a>.</p>
596
+ * @public
597
+ */
598
+ type: string | undefined;
599
+ /**
600
+ * <p>An HTTPS URL on the remote partner portal where the Activation Key should be brought to complete the creation process.</p>
601
+ * @public
602
+ */
603
+ activationPageUrl?: string | undefined;
604
+ /**
605
+ * <p>The type of identifying information that should be supplied to the <code>remoteAccount</code> parameter of a <a>CreateConnection</a> call for this specific Environment.</p>
606
+ * @public
607
+ */
608
+ remoteIdentifierType?: RemoteAccountIdentifierType | undefined;
609
+ }
610
+ /**
611
+ * @public
612
+ */
613
+ export interface GetEnvironmentRequest {
614
+ /**
615
+ * <p>The identifier of the specific <a>Environment</a> to describe.</p>
616
+ * @public
617
+ */
618
+ id: string | undefined;
619
+ }
620
+ /**
621
+ * @public
622
+ */
623
+ export interface GetEnvironmentResponse {
624
+ /**
625
+ * <p>The requested <a>Environment</a> structure.</p>
626
+ * @public
627
+ */
628
+ environment: Environment | undefined;
629
+ }
630
+ /**
631
+ * @public
632
+ */
633
+ export interface ListEnvironmentsRequest {
634
+ /**
635
+ * <p>The max number of list results in a single paginated response.</p>
636
+ * @public
637
+ */
638
+ maxResults?: number | undefined;
639
+ /**
640
+ * <p>A pagination token from a previous paginated response indicating you wish to get the next page of results.</p>
641
+ * @public
642
+ */
643
+ nextToken?: string | undefined;
644
+ /**
645
+ * <p>Filter results to only include <a>Environment</a> objects that connect to the <a>Provider</a>.</p>
646
+ * @public
647
+ */
648
+ provider?: Provider | undefined;
649
+ /**
650
+ * <p>Filter results to only include <a>Environment</a> objects that connect to a given location distiguisher.</p>
651
+ * @public
652
+ */
653
+ location?: string | undefined;
654
+ }
655
+ /**
656
+ * @public
657
+ */
658
+ export interface ListEnvironmentsResponse {
659
+ /**
660
+ * <p>The list of matching <a>Environment</a> objects.</p>
661
+ * @public
662
+ */
663
+ environments: Environment[] | undefined;
664
+ /**
665
+ * <p>A pagination token for use in subsequent calls to fetch the next page of results.</p>
666
+ * @public
667
+ */
668
+ nextToken?: string | undefined;
669
+ }
670
+ /**
671
+ * @public
672
+ */
673
+ export interface ListAttachPointsRequest {
674
+ /**
675
+ * <p>The identifier of the <a>Environment</a> for which to list valid Attach Points.</p>
676
+ * @public
677
+ */
678
+ environmentId: string | undefined;
679
+ /**
680
+ * <p>The max number of list results in a single paginated response.</p>
681
+ * @public
682
+ */
683
+ maxResults?: number | undefined;
684
+ /**
685
+ * <p>A pagination token from a previous paginated response indicating you wish to get the next page.</p>
686
+ * @public
687
+ */
688
+ nextToken?: string | undefined;
689
+ }
690
+ /**
691
+ * @public
692
+ */
693
+ export interface ListAttachPointsResponse {
694
+ /**
695
+ * <p>The valid <a>AttachPoint</a> </p>
696
+ * @public
697
+ */
698
+ attachPoints: AttachPointDescriptor[] | undefined;
699
+ /**
700
+ * <p>A pagination token indicating that there are more results that can be fetched.</p>
701
+ * @public
702
+ */
703
+ nextToken?: string | undefined;
704
+ }
705
+ /**
706
+ * @public
707
+ */
708
+ export interface ListTagsForResourceRequest {
709
+ /**
710
+ * <p>The resource ARN for which to list tags. </p>
711
+ * @public
712
+ */
713
+ arn: string | undefined;
714
+ }
715
+ /**
716
+ * @public
717
+ */
718
+ export interface ListTagsForResourceResponse {
719
+ /**
720
+ * <p>The tags on the specified ARN.</p>
721
+ * @public
722
+ */
723
+ tags?: Record<string, string> | undefined;
724
+ }
725
+ /**
726
+ * @public
727
+ */
728
+ export interface TagResourceRequest {
729
+ /**
730
+ * <p>The ARN of the resource that should receive the new tags.</p>
731
+ * @public
732
+ */
733
+ arn: string | undefined;
734
+ /**
735
+ * <p>A map of tags to apply to the specified resource.</p>
736
+ * @public
737
+ */
738
+ tags: Record<string, string> | undefined;
739
+ }
740
+ /**
741
+ * @public
742
+ */
743
+ export interface TagResourceResponse {
744
+ }
745
+ /**
746
+ * @public
747
+ */
748
+ export interface UntagResourceRequest {
749
+ /**
750
+ * <p>The ARN of the resource from which the specified tags should be removed.</p>
751
+ * @public
752
+ */
753
+ arn: string | undefined;
754
+ /**
755
+ * <p>The list of tag keys that should be removed from the resource.</p>
756
+ * @public
757
+ */
758
+ tagKeys: string[] | undefined;
759
+ }
760
+ /**
761
+ * @public
762
+ */
763
+ export interface UntagResourceResponse {
764
+ }