@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.
- package/LICENSE +201 -0
- package/README.md +311 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +454 -0
- package/dist-cjs/models/InterconnectServiceException.js +12 -0
- package/dist-cjs/models/errors.js +95 -0
- package/dist-cjs/runtimeConfig.browser.js +38 -0
- package/dist-cjs/runtimeConfig.js +54 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +43 -0
- package/dist-cjs/schemas/schemas_0.js +379 -0
- package/dist-es/Interconnect.js +47 -0
- package/dist-es/InterconnectClient.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/AcceptConnectionProposalCommand.js +16 -0
- package/dist-es/commands/CreateConnectionCommand.js +16 -0
- package/dist-es/commands/DeleteConnectionCommand.js +16 -0
- package/dist-es/commands/DescribeConnectionProposalCommand.js +16 -0
- package/dist-es/commands/GetConnectionCommand.js +16 -0
- package/dist-es/commands/GetEnvironmentCommand.js +16 -0
- package/dist-es/commands/ListAttachPointsCommand.js +16 -0
- package/dist-es/commands/ListConnectionsCommand.js +16 -0
- package/dist-es/commands/ListEnvironmentsCommand.js +16 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/UpdateConnectionCommand.js +16 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/InterconnectServiceException.js +8 -0
- package/dist-es/models/enums.js +22 -0
- package/dist-es/models/errors.js +85 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAttachPointsPaginator.js +4 -0
- package/dist-es/pagination/ListConnectionsPaginator.js +4 -0
- package/dist-es/pagination/ListEnvironmentsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/runtimeConfig.browser.js +33 -0
- package/dist-es/runtimeConfig.js +49 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +39 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +375 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForConnectionAvailable.js +49 -0
- package/dist-es/waiters/waitForConnectionDeleted.js +31 -0
- package/dist-types/Interconnect.d.ts +137 -0
- package/dist-types/InterconnectClient.d.ts +200 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/AcceptConnectionProposalCommand.d.ts +164 -0
- package/dist-types/commands/CreateConnectionCommand.d.ts +172 -0
- package/dist-types/commands/DeleteConnectionCommand.d.ts +153 -0
- package/dist-types/commands/DescribeConnectionProposalCommand.d.ts +121 -0
- package/dist-types/commands/GetConnectionCommand.d.ts +152 -0
- package/dist-types/commands/GetEnvironmentCommand.d.ts +146 -0
- package/dist-types/commands/ListAttachPointsCommand.d.ts +125 -0
- package/dist-types/commands/ListConnectionsCommand.d.ts +242 -0
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +173 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +115 -0
- package/dist-types/commands/TagResourceCommand.d.ts +113 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +113 -0
- package/dist-types/commands/UpdateConnectionCommand.d.ts +190 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/InterconnectServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +54 -0
- package/dist-types/models/errors.d.ts +86 -0
- package/dist-types/models/models_0.d.ts +764 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAttachPointsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConnectionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +63 -0
- package/dist-types/ts3.4/Interconnect.d.ts +275 -0
- package/dist-types/ts3.4/InterconnectClient.d.ts +197 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/AcceptConnectionProposalCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DescribeConnectionProposalCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListAttachPointsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateConnectionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/InterconnectServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +30 -0
- package/dist-types/ts3.4/models/errors.d.ts +54 -0
- package/dist-types/ts3.4/models/models_0.d.ts +231 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAttachPointsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConnectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +63 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForConnectionAvailable.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForConnectionDeleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForConnectionAvailable.d.ts +14 -0
- package/dist-types/waiters/waitForConnectionDeleted.d.ts +14 -0
- package/package.json +101 -0
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
const _ACP = "AcceptConnectionProposal";
|
|
2
|
+
const _ACPR = "AcceptConnectionProposalRequest";
|
|
3
|
+
const _ACPRc = "AcceptConnectionProposalResponse";
|
|
4
|
+
const _ADE = "AccessDeniedException";
|
|
5
|
+
const _AK = "ActivationKey";
|
|
6
|
+
const _AP = "AttachPoint";
|
|
7
|
+
const _APD = "AttachPointDescriptor";
|
|
8
|
+
const _APDL = "AttachPointDescriptorList";
|
|
9
|
+
const _B = "Bandwidths";
|
|
10
|
+
const _C = "Connection";
|
|
11
|
+
const _CC = "CreateConnection";
|
|
12
|
+
const _CCR = "CreateConnectionRequest";
|
|
13
|
+
const _CCRr = "CreateConnectionResponse";
|
|
14
|
+
const _CS = "ConnectionSummary";
|
|
15
|
+
const _CSL = "ConnectionSummariesList";
|
|
16
|
+
const _DC = "DeleteConnection";
|
|
17
|
+
const _DCP = "DescribeConnectionProposal";
|
|
18
|
+
const _DCPR = "DescribeConnectionProposalRequest";
|
|
19
|
+
const _DCPRe = "DescribeConnectionProposalResponse";
|
|
20
|
+
const _DCR = "DeleteConnectionRequest";
|
|
21
|
+
const _DCRe = "DeleteConnectionResponse";
|
|
22
|
+
const _E = "Environment";
|
|
23
|
+
const _EL = "EnvironmentList";
|
|
24
|
+
const _GC = "GetConnection";
|
|
25
|
+
const _GCR = "GetConnectionRequest";
|
|
26
|
+
const _GCRe = "GetConnectionResponse";
|
|
27
|
+
const _GE = "GetEnvironment";
|
|
28
|
+
const _GER = "GetEnvironmentRequest";
|
|
29
|
+
const _GERe = "GetEnvironmentResponse";
|
|
30
|
+
const _ICE = "InterconnectClientException";
|
|
31
|
+
const _ISE = "InterconnectServerException";
|
|
32
|
+
const _IVE = "InterconnectValidationException";
|
|
33
|
+
const _LAP = "ListAttachPoints";
|
|
34
|
+
const _LAPR = "ListAttachPointsRequest";
|
|
35
|
+
const _LAPRi = "ListAttachPointsResponse";
|
|
36
|
+
const _LC = "ListConnections";
|
|
37
|
+
const _LCR = "ListConnectionsRequest";
|
|
38
|
+
const _LCRi = "ListConnectionsResponse";
|
|
39
|
+
const _LE = "ListEnvironments";
|
|
40
|
+
const _LER = "ListEnvironmentsRequest";
|
|
41
|
+
const _LERi = "ListEnvironmentsResponse";
|
|
42
|
+
const _LTFR = "ListTagsForResource";
|
|
43
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
44
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
45
|
+
const _P = "Provider";
|
|
46
|
+
const _RAI = "RemoteAccountIdentifier";
|
|
47
|
+
const _RNFE = "ResourceNotFoundException";
|
|
48
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
49
|
+
const _TE = "ThrottlingException";
|
|
50
|
+
const _TR = "TagResource";
|
|
51
|
+
const _TRR = "TagResourceRequest";
|
|
52
|
+
const _TRRa = "TagResourceResponse";
|
|
53
|
+
const _UC = "UpdateConnection";
|
|
54
|
+
const _UCR = "UpdateConnectionRequest";
|
|
55
|
+
const _UCRp = "UpdateConnectionResponse";
|
|
56
|
+
const _UR = "UntagResource";
|
|
57
|
+
const _URR = "UntagResourceRequest";
|
|
58
|
+
const _URRn = "UntagResourceResponse";
|
|
59
|
+
const _a = "available";
|
|
60
|
+
const _aK = "activationKey";
|
|
61
|
+
const _aP = "attachPoint";
|
|
62
|
+
const _aPU = "activationPageUrl";
|
|
63
|
+
const _aPt = "attachPoints";
|
|
64
|
+
const _ar = "arn";
|
|
65
|
+
const _b = "bandwidth";
|
|
66
|
+
const _bT = "billingTier";
|
|
67
|
+
const _ba = "bandwidths";
|
|
68
|
+
const _c = "client";
|
|
69
|
+
const _cSP = "cloudServiceProvider";
|
|
70
|
+
const _cT = "clientToken";
|
|
71
|
+
const _co = "connection";
|
|
72
|
+
const _con = "connections";
|
|
73
|
+
const _d = "description";
|
|
74
|
+
const _dCG = "directConnectGateway";
|
|
75
|
+
const _e = "error";
|
|
76
|
+
const _eI = "environmentId";
|
|
77
|
+
const _en = "environment";
|
|
78
|
+
const _env = "environments";
|
|
79
|
+
const _hE = "httpError";
|
|
80
|
+
const _i = "identifier";
|
|
81
|
+
const _id = "id";
|
|
82
|
+
const _l = "location";
|
|
83
|
+
const _lMP = "lastMileProvider";
|
|
84
|
+
const _m = "message";
|
|
85
|
+
const _mR = "maxResults";
|
|
86
|
+
const _n = "name";
|
|
87
|
+
const _nT = "nextToken";
|
|
88
|
+
const _oA = "ownerAccount";
|
|
89
|
+
const _p = "provider";
|
|
90
|
+
const _rA = "remoteAccount";
|
|
91
|
+
const _rIT = "remoteIdentifierType";
|
|
92
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.interconnect";
|
|
93
|
+
const _sI = "sharedId";
|
|
94
|
+
const _se = "server";
|
|
95
|
+
const _st = "state";
|
|
96
|
+
const _su = "supported";
|
|
97
|
+
const _t = "tags";
|
|
98
|
+
const _tK = "tagKeys";
|
|
99
|
+
const _ty = "type";
|
|
100
|
+
const n0 = "com.amazonaws.interconnect";
|
|
101
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
102
|
+
import { AccessDeniedException, InterconnectClientException, InterconnectServerException, InterconnectValidationException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, } from "../models/errors";
|
|
103
|
+
import { InterconnectServiceException } from "../models/InterconnectServiceException";
|
|
104
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
105
|
+
export var InterconnectServiceException$ = [-3, _s, "InterconnectServiceException", 0, [], []];
|
|
106
|
+
_s_registry.registerError(InterconnectServiceException$, InterconnectServiceException);
|
|
107
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
108
|
+
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
109
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
110
|
+
[_m],
|
|
111
|
+
[0]
|
|
112
|
+
];
|
|
113
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
114
|
+
export var InterconnectClientException$ = [-3, n0, _ICE,
|
|
115
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
116
|
+
[_m],
|
|
117
|
+
[0], 1
|
|
118
|
+
];
|
|
119
|
+
n0_registry.registerError(InterconnectClientException$, InterconnectClientException);
|
|
120
|
+
export var InterconnectServerException$ = [-3, n0, _ISE,
|
|
121
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
122
|
+
[_m],
|
|
123
|
+
[0], 1
|
|
124
|
+
];
|
|
125
|
+
n0_registry.registerError(InterconnectServerException$, InterconnectServerException);
|
|
126
|
+
export var InterconnectValidationException$ = [-3, n0, _IVE,
|
|
127
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
128
|
+
[_m],
|
|
129
|
+
[0], 1
|
|
130
|
+
];
|
|
131
|
+
n0_registry.registerError(InterconnectValidationException$, InterconnectValidationException);
|
|
132
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
133
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
134
|
+
[_m],
|
|
135
|
+
[0]
|
|
136
|
+
];
|
|
137
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
138
|
+
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
139
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
140
|
+
[_m],
|
|
141
|
+
[0]
|
|
142
|
+
];
|
|
143
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
144
|
+
export var ThrottlingException$ = [-3, n0, _TE,
|
|
145
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
146
|
+
[_m],
|
|
147
|
+
[0]
|
|
148
|
+
];
|
|
149
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
150
|
+
export const errorTypeRegistries = [
|
|
151
|
+
_s_registry,
|
|
152
|
+
n0_registry,
|
|
153
|
+
];
|
|
154
|
+
var ActivationKey = [0, n0, _AK, 8, 0];
|
|
155
|
+
export var AcceptConnectionProposalRequest$ = [3, n0, _ACPR,
|
|
156
|
+
0,
|
|
157
|
+
[_aP, _aK, _d, _t, _cT],
|
|
158
|
+
[() => AttachPoint$, [() => ActivationKey, 0], 0, 128 | 0, [0, 4]], 2
|
|
159
|
+
];
|
|
160
|
+
export var AcceptConnectionProposalResponse$ = [3, n0, _ACPRc,
|
|
161
|
+
0,
|
|
162
|
+
[_co],
|
|
163
|
+
[[() => Connection$, 0]]
|
|
164
|
+
];
|
|
165
|
+
export var AttachPointDescriptor$ = [3, n0, _APD,
|
|
166
|
+
0,
|
|
167
|
+
[_ty, _i, _n],
|
|
168
|
+
[0, 0, 0], 3
|
|
169
|
+
];
|
|
170
|
+
export var Bandwidths$ = [3, n0, _B,
|
|
171
|
+
0,
|
|
172
|
+
[_a, _su],
|
|
173
|
+
[64 | 0, 64 | 0]
|
|
174
|
+
];
|
|
175
|
+
export var Connection$ = [3, n0, _C,
|
|
176
|
+
0,
|
|
177
|
+
[_id, _ar, _d, _b, _aP, _eI, _p, _l, _ty, _st, _sI, _oA, _aK, _bT, _t],
|
|
178
|
+
[0, 0, 0, 0, () => AttachPoint$, 0, () => Provider$, 0, 0, 0, 0, 0, [() => ActivationKey, 0], 1, 128 | 0], 13
|
|
179
|
+
];
|
|
180
|
+
export var ConnectionSummary$ = [3, n0, _CS,
|
|
181
|
+
0,
|
|
182
|
+
[_id, _ar, _d, _b, _aP, _eI, _p, _l, _ty, _st, _sI, _bT],
|
|
183
|
+
[0, 0, 0, 0, () => AttachPoint$, 0, () => Provider$, 0, 0, 0, 0, 1], 11
|
|
184
|
+
];
|
|
185
|
+
export var CreateConnectionRequest$ = [3, n0, _CCR,
|
|
186
|
+
0,
|
|
187
|
+
[_b, _aP, _eI, _d, _rA, _t, _cT],
|
|
188
|
+
[0, () => AttachPoint$, 0, 0, () => RemoteAccountIdentifier$, 128 | 0, [0, 4]], 3
|
|
189
|
+
];
|
|
190
|
+
export var CreateConnectionResponse$ = [3, n0, _CCRr,
|
|
191
|
+
0,
|
|
192
|
+
[_co],
|
|
193
|
+
[[() => Connection$, 0]]
|
|
194
|
+
];
|
|
195
|
+
export var DeleteConnectionRequest$ = [3, n0, _DCR,
|
|
196
|
+
0,
|
|
197
|
+
[_i, _cT],
|
|
198
|
+
[0, [0, 4]], 1
|
|
199
|
+
];
|
|
200
|
+
export var DeleteConnectionResponse$ = [3, n0, _DCRe,
|
|
201
|
+
0,
|
|
202
|
+
[_co],
|
|
203
|
+
[[() => Connection$, 0]], 1
|
|
204
|
+
];
|
|
205
|
+
export var DescribeConnectionProposalRequest$ = [3, n0, _DCPR,
|
|
206
|
+
0,
|
|
207
|
+
[_aK],
|
|
208
|
+
[[() => ActivationKey, 0]], 1
|
|
209
|
+
];
|
|
210
|
+
export var DescribeConnectionProposalResponse$ = [3, n0, _DCPRe,
|
|
211
|
+
0,
|
|
212
|
+
[_b, _eI, _p, _l],
|
|
213
|
+
[0, 0, () => Provider$, 0], 4
|
|
214
|
+
];
|
|
215
|
+
export var Environment$ = [3, n0, _E,
|
|
216
|
+
0,
|
|
217
|
+
[_p, _l, _eI, _st, _ba, _ty, _aPU, _rIT],
|
|
218
|
+
[() => Provider$, 0, 0, 0, () => Bandwidths$, 0, 0, 0], 6
|
|
219
|
+
];
|
|
220
|
+
export var GetConnectionRequest$ = [3, n0, _GCR,
|
|
221
|
+
0,
|
|
222
|
+
[_i],
|
|
223
|
+
[0], 1
|
|
224
|
+
];
|
|
225
|
+
export var GetConnectionResponse$ = [3, n0, _GCRe,
|
|
226
|
+
0,
|
|
227
|
+
[_co],
|
|
228
|
+
[[() => Connection$, 0]]
|
|
229
|
+
];
|
|
230
|
+
export var GetEnvironmentRequest$ = [3, n0, _GER,
|
|
231
|
+
0,
|
|
232
|
+
[_id],
|
|
233
|
+
[0], 1
|
|
234
|
+
];
|
|
235
|
+
export var GetEnvironmentResponse$ = [3, n0, _GERe,
|
|
236
|
+
0,
|
|
237
|
+
[_en],
|
|
238
|
+
[() => Environment$], 1
|
|
239
|
+
];
|
|
240
|
+
export var ListAttachPointsRequest$ = [3, n0, _LAPR,
|
|
241
|
+
0,
|
|
242
|
+
[_eI, _mR, _nT],
|
|
243
|
+
[0, 1, 0], 1
|
|
244
|
+
];
|
|
245
|
+
export var ListAttachPointsResponse$ = [3, n0, _LAPRi,
|
|
246
|
+
0,
|
|
247
|
+
[_aPt, _nT],
|
|
248
|
+
[() => AttachPointDescriptorList, 0], 1
|
|
249
|
+
];
|
|
250
|
+
export var ListConnectionsRequest$ = [3, n0, _LCR,
|
|
251
|
+
0,
|
|
252
|
+
[_mR, _nT, _st, _eI, _p, _aP],
|
|
253
|
+
[1, 0, 0, 0, () => Provider$, () => AttachPoint$]
|
|
254
|
+
];
|
|
255
|
+
export var ListConnectionsResponse$ = [3, n0, _LCRi,
|
|
256
|
+
0,
|
|
257
|
+
[_con, _nT],
|
|
258
|
+
[() => ConnectionSummariesList, 0]
|
|
259
|
+
];
|
|
260
|
+
export var ListEnvironmentsRequest$ = [3, n0, _LER,
|
|
261
|
+
0,
|
|
262
|
+
[_mR, _nT, _p, _l],
|
|
263
|
+
[1, 0, () => Provider$, 0]
|
|
264
|
+
];
|
|
265
|
+
export var ListEnvironmentsResponse$ = [3, n0, _LERi,
|
|
266
|
+
0,
|
|
267
|
+
[_env, _nT],
|
|
268
|
+
[() => EnvironmentList, 0], 1
|
|
269
|
+
];
|
|
270
|
+
export var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
271
|
+
0,
|
|
272
|
+
[_ar],
|
|
273
|
+
[0], 1
|
|
274
|
+
];
|
|
275
|
+
export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
276
|
+
0,
|
|
277
|
+
[_t],
|
|
278
|
+
[128 | 0]
|
|
279
|
+
];
|
|
280
|
+
export var TagResourceRequest$ = [3, n0, _TRR,
|
|
281
|
+
0,
|
|
282
|
+
[_ar, _t],
|
|
283
|
+
[0, 128 | 0], 2
|
|
284
|
+
];
|
|
285
|
+
export var TagResourceResponse$ = [3, n0, _TRRa,
|
|
286
|
+
0,
|
|
287
|
+
[],
|
|
288
|
+
[]
|
|
289
|
+
];
|
|
290
|
+
export var UntagResourceRequest$ = [3, n0, _URR,
|
|
291
|
+
0,
|
|
292
|
+
[_ar, _tK],
|
|
293
|
+
[0, 64 | 0], 2
|
|
294
|
+
];
|
|
295
|
+
export var UntagResourceResponse$ = [3, n0, _URRn,
|
|
296
|
+
0,
|
|
297
|
+
[],
|
|
298
|
+
[]
|
|
299
|
+
];
|
|
300
|
+
export var UpdateConnectionRequest$ = [3, n0, _UCR,
|
|
301
|
+
0,
|
|
302
|
+
[_i, _d, _b, _cT],
|
|
303
|
+
[0, 0, 0, [0, 4]], 1
|
|
304
|
+
];
|
|
305
|
+
export var UpdateConnectionResponse$ = [3, n0, _UCRp,
|
|
306
|
+
0,
|
|
307
|
+
[_co],
|
|
308
|
+
[[() => Connection$, 0]]
|
|
309
|
+
];
|
|
310
|
+
var AttachPointDescriptorList = [1, n0, _APDL,
|
|
311
|
+
0, () => AttachPointDescriptor$
|
|
312
|
+
];
|
|
313
|
+
var BandwidthList = 64 | 0;
|
|
314
|
+
var ConnectionSummariesList = [1, n0, _CSL,
|
|
315
|
+
0, () => ConnectionSummary$
|
|
316
|
+
];
|
|
317
|
+
var EnvironmentList = [1, n0, _EL,
|
|
318
|
+
0, () => Environment$
|
|
319
|
+
];
|
|
320
|
+
var TagKeyList = 64 | 0;
|
|
321
|
+
var TagMap = 128 | 0;
|
|
322
|
+
export var AttachPoint$ = [4, n0, _AP,
|
|
323
|
+
0,
|
|
324
|
+
[_dCG, _ar],
|
|
325
|
+
[0, 0]
|
|
326
|
+
];
|
|
327
|
+
export var Provider$ = [4, n0, _P,
|
|
328
|
+
0,
|
|
329
|
+
[_cSP, _lMP],
|
|
330
|
+
[0, 0]
|
|
331
|
+
];
|
|
332
|
+
export var RemoteAccountIdentifier$ = [4, n0, _RAI,
|
|
333
|
+
0,
|
|
334
|
+
[_i],
|
|
335
|
+
[0]
|
|
336
|
+
];
|
|
337
|
+
export var AcceptConnectionProposal$ = [9, n0, _ACP,
|
|
338
|
+
2, () => AcceptConnectionProposalRequest$, () => AcceptConnectionProposalResponse$
|
|
339
|
+
];
|
|
340
|
+
export var CreateConnection$ = [9, n0, _CC,
|
|
341
|
+
2, () => CreateConnectionRequest$, () => CreateConnectionResponse$
|
|
342
|
+
];
|
|
343
|
+
export var DeleteConnection$ = [9, n0, _DC,
|
|
344
|
+
2, () => DeleteConnectionRequest$, () => DeleteConnectionResponse$
|
|
345
|
+
];
|
|
346
|
+
export var DescribeConnectionProposal$ = [9, n0, _DCP,
|
|
347
|
+
0, () => DescribeConnectionProposalRequest$, () => DescribeConnectionProposalResponse$
|
|
348
|
+
];
|
|
349
|
+
export var GetConnection$ = [9, n0, _GC,
|
|
350
|
+
0, () => GetConnectionRequest$, () => GetConnectionResponse$
|
|
351
|
+
];
|
|
352
|
+
export var GetEnvironment$ = [9, n0, _GE,
|
|
353
|
+
0, () => GetEnvironmentRequest$, () => GetEnvironmentResponse$
|
|
354
|
+
];
|
|
355
|
+
export var ListAttachPoints$ = [9, n0, _LAP,
|
|
356
|
+
0, () => ListAttachPointsRequest$, () => ListAttachPointsResponse$
|
|
357
|
+
];
|
|
358
|
+
export var ListConnections$ = [9, n0, _LC,
|
|
359
|
+
0, () => ListConnectionsRequest$, () => ListConnectionsResponse$
|
|
360
|
+
];
|
|
361
|
+
export var ListEnvironments$ = [9, n0, _LE,
|
|
362
|
+
0, () => ListEnvironmentsRequest$, () => ListEnvironmentsResponse$
|
|
363
|
+
];
|
|
364
|
+
export var ListTagsForResource$ = [9, n0, _LTFR,
|
|
365
|
+
0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
366
|
+
];
|
|
367
|
+
export var TagResource$ = [9, n0, _TR,
|
|
368
|
+
0, () => TagResourceRequest$, () => TagResourceResponse$
|
|
369
|
+
];
|
|
370
|
+
export var UntagResource$ = [9, n0, _UR,
|
|
371
|
+
0, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
372
|
+
];
|
|
373
|
+
export var UpdateConnection$ = [9, n0, _UC,
|
|
374
|
+
2, () => UpdateConnectionRequest$, () => UpdateConnectionResponse$
|
|
375
|
+
];
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
+
import { GetConnectionCommand } from "../commands/GetConnectionCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
let result = await client.send(new GetConnectionCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
return result.connection.state;
|
|
11
|
+
};
|
|
12
|
+
if (returnComparator() === "available") {
|
|
13
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
catch (e) { }
|
|
17
|
+
try {
|
|
18
|
+
const returnComparator = () => {
|
|
19
|
+
return result.connection.state;
|
|
20
|
+
};
|
|
21
|
+
if (returnComparator() === "deleted") {
|
|
22
|
+
return { state: WaiterState.FAILURE, reason };
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
catch (e) { }
|
|
26
|
+
try {
|
|
27
|
+
const returnComparator = () => {
|
|
28
|
+
return result.connection.state;
|
|
29
|
+
};
|
|
30
|
+
if (returnComparator() === "down") {
|
|
31
|
+
return { state: WaiterState.FAILURE, reason };
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
catch (e) { }
|
|
35
|
+
}
|
|
36
|
+
catch (exception) {
|
|
37
|
+
reason = exception;
|
|
38
|
+
}
|
|
39
|
+
return { state: WaiterState.RETRY, reason };
|
|
40
|
+
};
|
|
41
|
+
export const waitForConnectionAvailable = async (params, input) => {
|
|
42
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
43
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
44
|
+
};
|
|
45
|
+
export const waitUntilConnectionAvailable = async (params, input) => {
|
|
46
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
47
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
48
|
+
return checkExceptions(result);
|
|
49
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
+
import { GetConnectionCommand } from "../commands/GetConnectionCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
let result = await client.send(new GetConnectionCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
return result.connection.state;
|
|
11
|
+
};
|
|
12
|
+
if (returnComparator() === "deleted") {
|
|
13
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
catch (e) { }
|
|
17
|
+
}
|
|
18
|
+
catch (exception) {
|
|
19
|
+
reason = exception;
|
|
20
|
+
}
|
|
21
|
+
return { state: WaiterState.RETRY, reason };
|
|
22
|
+
};
|
|
23
|
+
export const waitForConnectionDeleted = async (params, input) => {
|
|
24
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
25
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
26
|
+
};
|
|
27
|
+
export const waitUntilConnectionDeleted = async (params, input) => {
|
|
28
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
29
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
30
|
+
return checkExceptions(result);
|
|
31
|
+
};
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
2
|
+
import type { WaiterResult } from "@smithy/util-waiter";
|
|
3
|
+
import { type AcceptConnectionProposalCommandInput, type AcceptConnectionProposalCommandOutput } from "./commands/AcceptConnectionProposalCommand";
|
|
4
|
+
import { type CreateConnectionCommandInput, type CreateConnectionCommandOutput } from "./commands/CreateConnectionCommand";
|
|
5
|
+
import { type DeleteConnectionCommandInput, type DeleteConnectionCommandOutput } from "./commands/DeleteConnectionCommand";
|
|
6
|
+
import { type DescribeConnectionProposalCommandInput, type DescribeConnectionProposalCommandOutput } from "./commands/DescribeConnectionProposalCommand";
|
|
7
|
+
import { type GetConnectionCommandInput, type GetConnectionCommandOutput } from "./commands/GetConnectionCommand";
|
|
8
|
+
import { type GetEnvironmentCommandInput, type GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
|
|
9
|
+
import { type ListAttachPointsCommandInput, type ListAttachPointsCommandOutput } from "./commands/ListAttachPointsCommand";
|
|
10
|
+
import { type ListConnectionsCommandInput, type ListConnectionsCommandOutput } from "./commands/ListConnectionsCommand";
|
|
11
|
+
import { type ListEnvironmentsCommandInput, type ListEnvironmentsCommandOutput } from "./commands/ListEnvironmentsCommand";
|
|
12
|
+
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
13
|
+
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
14
|
+
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
15
|
+
import { type UpdateConnectionCommandInput, type UpdateConnectionCommandOutput } from "./commands/UpdateConnectionCommand";
|
|
16
|
+
import { InterconnectClient } from "./InterconnectClient";
|
|
17
|
+
export interface Interconnect {
|
|
18
|
+
/**
|
|
19
|
+
* @see {@link AcceptConnectionProposalCommand}
|
|
20
|
+
*/
|
|
21
|
+
acceptConnectionProposal(args: AcceptConnectionProposalCommandInput, options?: __HttpHandlerOptions): Promise<AcceptConnectionProposalCommandOutput>;
|
|
22
|
+
acceptConnectionProposal(args: AcceptConnectionProposalCommandInput, cb: (err: any, data?: AcceptConnectionProposalCommandOutput) => void): void;
|
|
23
|
+
acceptConnectionProposal(args: AcceptConnectionProposalCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptConnectionProposalCommandOutput) => void): void;
|
|
24
|
+
/**
|
|
25
|
+
* @see {@link CreateConnectionCommand}
|
|
26
|
+
*/
|
|
27
|
+
createConnection(args: CreateConnectionCommandInput, options?: __HttpHandlerOptions): Promise<CreateConnectionCommandOutput>;
|
|
28
|
+
createConnection(args: CreateConnectionCommandInput, cb: (err: any, data?: CreateConnectionCommandOutput) => void): void;
|
|
29
|
+
createConnection(args: CreateConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConnectionCommandOutput) => void): void;
|
|
30
|
+
/**
|
|
31
|
+
* @see {@link DeleteConnectionCommand}
|
|
32
|
+
*/
|
|
33
|
+
deleteConnection(args: DeleteConnectionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConnectionCommandOutput>;
|
|
34
|
+
deleteConnection(args: DeleteConnectionCommandInput, cb: (err: any, data?: DeleteConnectionCommandOutput) => void): void;
|
|
35
|
+
deleteConnection(args: DeleteConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConnectionCommandOutput) => void): void;
|
|
36
|
+
/**
|
|
37
|
+
* @see {@link DescribeConnectionProposalCommand}
|
|
38
|
+
*/
|
|
39
|
+
describeConnectionProposal(args: DescribeConnectionProposalCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConnectionProposalCommandOutput>;
|
|
40
|
+
describeConnectionProposal(args: DescribeConnectionProposalCommandInput, cb: (err: any, data?: DescribeConnectionProposalCommandOutput) => void): void;
|
|
41
|
+
describeConnectionProposal(args: DescribeConnectionProposalCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConnectionProposalCommandOutput) => void): void;
|
|
42
|
+
/**
|
|
43
|
+
* @see {@link GetConnectionCommand}
|
|
44
|
+
*/
|
|
45
|
+
getConnection(args: GetConnectionCommandInput, options?: __HttpHandlerOptions): Promise<GetConnectionCommandOutput>;
|
|
46
|
+
getConnection(args: GetConnectionCommandInput, cb: (err: any, data?: GetConnectionCommandOutput) => void): void;
|
|
47
|
+
getConnection(args: GetConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConnectionCommandOutput) => void): void;
|
|
48
|
+
/**
|
|
49
|
+
* @see {@link GetEnvironmentCommand}
|
|
50
|
+
*/
|
|
51
|
+
getEnvironment(args: GetEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<GetEnvironmentCommandOutput>;
|
|
52
|
+
getEnvironment(args: GetEnvironmentCommandInput, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
|
|
53
|
+
getEnvironment(args: GetEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
|
|
54
|
+
/**
|
|
55
|
+
* @see {@link ListAttachPointsCommand}
|
|
56
|
+
*/
|
|
57
|
+
listAttachPoints(args: ListAttachPointsCommandInput, options?: __HttpHandlerOptions): Promise<ListAttachPointsCommandOutput>;
|
|
58
|
+
listAttachPoints(args: ListAttachPointsCommandInput, cb: (err: any, data?: ListAttachPointsCommandOutput) => void): void;
|
|
59
|
+
listAttachPoints(args: ListAttachPointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAttachPointsCommandOutput) => void): void;
|
|
60
|
+
/**
|
|
61
|
+
* @see {@link ListConnectionsCommand}
|
|
62
|
+
*/
|
|
63
|
+
listConnections(): Promise<ListConnectionsCommandOutput>;
|
|
64
|
+
listConnections(args: ListConnectionsCommandInput, options?: __HttpHandlerOptions): Promise<ListConnectionsCommandOutput>;
|
|
65
|
+
listConnections(args: ListConnectionsCommandInput, cb: (err: any, data?: ListConnectionsCommandOutput) => void): void;
|
|
66
|
+
listConnections(args: ListConnectionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConnectionsCommandOutput) => void): void;
|
|
67
|
+
/**
|
|
68
|
+
* @see {@link ListEnvironmentsCommand}
|
|
69
|
+
*/
|
|
70
|
+
listEnvironments(): Promise<ListEnvironmentsCommandOutput>;
|
|
71
|
+
listEnvironments(args: ListEnvironmentsCommandInput, options?: __HttpHandlerOptions): Promise<ListEnvironmentsCommandOutput>;
|
|
72
|
+
listEnvironments(args: ListEnvironmentsCommandInput, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
|
|
73
|
+
listEnvironments(args: ListEnvironmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
|
|
74
|
+
/**
|
|
75
|
+
* @see {@link ListTagsForResourceCommand}
|
|
76
|
+
*/
|
|
77
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
78
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
79
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
80
|
+
/**
|
|
81
|
+
* @see {@link TagResourceCommand}
|
|
82
|
+
*/
|
|
83
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
84
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
85
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
86
|
+
/**
|
|
87
|
+
* @see {@link UntagResourceCommand}
|
|
88
|
+
*/
|
|
89
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
90
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
91
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
92
|
+
/**
|
|
93
|
+
* @see {@link UpdateConnectionCommand}
|
|
94
|
+
*/
|
|
95
|
+
updateConnection(args: UpdateConnectionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectionCommandOutput>;
|
|
96
|
+
updateConnection(args: UpdateConnectionCommandInput, cb: (err: any, data?: UpdateConnectionCommandOutput) => void): void;
|
|
97
|
+
updateConnection(args: UpdateConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectionCommandOutput) => void): void;
|
|
98
|
+
/**
|
|
99
|
+
* @see {@link ListAttachPointsCommand}
|
|
100
|
+
* @param args - command input.
|
|
101
|
+
* @param paginationConfig - optional pagination config.
|
|
102
|
+
* @returns AsyncIterable of {@link ListAttachPointsCommandOutput}.
|
|
103
|
+
*/
|
|
104
|
+
paginateListAttachPoints(args: ListAttachPointsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAttachPointsCommandOutput>;
|
|
105
|
+
/**
|
|
106
|
+
* @see {@link ListConnectionsCommand}
|
|
107
|
+
* @param args - command input.
|
|
108
|
+
* @param paginationConfig - optional pagination config.
|
|
109
|
+
* @returns AsyncIterable of {@link ListConnectionsCommandOutput}.
|
|
110
|
+
*/
|
|
111
|
+
paginateListConnections(args?: ListConnectionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListConnectionsCommandOutput>;
|
|
112
|
+
/**
|
|
113
|
+
* @see {@link ListEnvironmentsCommand}
|
|
114
|
+
* @param args - command input.
|
|
115
|
+
* @param paginationConfig - optional pagination config.
|
|
116
|
+
* @returns AsyncIterable of {@link ListEnvironmentsCommandOutput}.
|
|
117
|
+
*/
|
|
118
|
+
paginateListEnvironments(args?: ListEnvironmentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEnvironmentsCommandOutput>;
|
|
119
|
+
/**
|
|
120
|
+
* @see {@link GetConnectionCommand}
|
|
121
|
+
* @param args - command input.
|
|
122
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
123
|
+
*/
|
|
124
|
+
waitUntilConnectionAvailable(args: GetConnectionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Interconnect>, "client">): Promise<WaiterResult>;
|
|
125
|
+
/**
|
|
126
|
+
* @see {@link GetConnectionCommand}
|
|
127
|
+
* @param args - command input.
|
|
128
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
129
|
+
*/
|
|
130
|
+
waitUntilConnectionDeleted(args: GetConnectionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Interconnect>, "client">): Promise<WaiterResult>;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* <p>Provides managed connections between your AWS network resources and select partner network resources.</p>
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
export declare class Interconnect extends InterconnectClient implements Interconnect {
|
|
137
|
+
}
|