@aws-sdk/client-apigatewaymanagementapi 3.948.0 → 3.953.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/dist-cjs/index.js +54 -41
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/DeleteConnectionCommand.js +2 -2
- package/dist-es/commands/GetConnectionCommand.js +2 -2
- package/dist-es/commands/PostToConnectionCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +26 -26
- package/dist-types/ApiGatewayManagementApiClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +13 -14
- package/dist-types/ts3.4/ApiGatewayManagementApiClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -14
- package/package.json +34 -34
package/dist-cjs/index.js
CHANGED
|
@@ -110,14 +110,14 @@ class ApiGatewayManagementApiClient extends smithyClient.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
|
|
113
|
+
class ApiGatewayManagementApiServiceException extends smithyClient.ServiceException {
|
|
114
114
|
constructor(options) {
|
|
115
115
|
super(options);
|
|
116
116
|
Object.setPrototypeOf(this, ApiGatewayManagementApiServiceException.prototype);
|
|
117
117
|
}
|
|
118
|
-
}
|
|
118
|
+
}
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
class ForbiddenException extends ApiGatewayManagementApiServiceException {
|
|
121
121
|
name = "ForbiddenException";
|
|
122
122
|
$fault = "client";
|
|
123
123
|
constructor(opts) {
|
|
@@ -128,8 +128,8 @@ let ForbiddenException$1 = class ForbiddenException extends ApiGatewayManagement
|
|
|
128
128
|
});
|
|
129
129
|
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
130
130
|
}
|
|
131
|
-
}
|
|
132
|
-
|
|
131
|
+
}
|
|
132
|
+
class GoneException extends ApiGatewayManagementApiServiceException {
|
|
133
133
|
name = "GoneException";
|
|
134
134
|
$fault = "client";
|
|
135
135
|
constructor(opts) {
|
|
@@ -140,8 +140,8 @@ let GoneException$1 = class GoneException extends ApiGatewayManagementApiService
|
|
|
140
140
|
});
|
|
141
141
|
Object.setPrototypeOf(this, GoneException.prototype);
|
|
142
142
|
}
|
|
143
|
-
}
|
|
144
|
-
|
|
143
|
+
}
|
|
144
|
+
class LimitExceededException extends ApiGatewayManagementApiServiceException {
|
|
145
145
|
name = "LimitExceededException";
|
|
146
146
|
$fault = "client";
|
|
147
147
|
constructor(opts) {
|
|
@@ -152,8 +152,8 @@ let LimitExceededException$1 = class LimitExceededException extends ApiGatewayMa
|
|
|
152
152
|
});
|
|
153
153
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
154
154
|
}
|
|
155
|
-
}
|
|
156
|
-
|
|
155
|
+
}
|
|
156
|
+
class PayloadTooLargeException extends ApiGatewayManagementApiServiceException {
|
|
157
157
|
name = "PayloadTooLargeException";
|
|
158
158
|
$fault = "client";
|
|
159
159
|
Message;
|
|
@@ -166,7 +166,7 @@ let PayloadTooLargeException$1 = class PayloadTooLargeException extends ApiGatew
|
|
|
166
166
|
Object.setPrototypeOf(this, PayloadTooLargeException.prototype);
|
|
167
167
|
this.Message = opts.Message;
|
|
168
168
|
}
|
|
169
|
-
}
|
|
169
|
+
}
|
|
170
170
|
|
|
171
171
|
const _CA = "ConnectedAt";
|
|
172
172
|
const _CI = "ConnectionId";
|
|
@@ -200,11 +200,11 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.apigatewaymanagementapi";
|
|
|
200
200
|
const _sI = "sourceIp";
|
|
201
201
|
const _uA = "userAgent";
|
|
202
202
|
const n0 = "com.amazonaws.apigatewaymanagementapi";
|
|
203
|
-
var DeleteConnectionRequest = [3, n0, _DCR, 0, [_CI], [[0, 1]]];
|
|
204
|
-
var ForbiddenException = [-3, n0, _FE, { [_e]: _c, [_hE]: 403 }, [], []];
|
|
205
|
-
schema.TypeRegistry.for(n0).registerError(ForbiddenException
|
|
206
|
-
var GetConnectionRequest = [3, n0, _GCR, 0, [_CI], [[0, 1]]];
|
|
207
|
-
var GetConnectionResponse = [
|
|
203
|
+
var DeleteConnectionRequest$ = [3, n0, _DCR, 0, [_CI], [[0, 1]]];
|
|
204
|
+
var ForbiddenException$ = [-3, n0, _FE, { [_e]: _c, [_hE]: 403 }, [], []];
|
|
205
|
+
schema.TypeRegistry.for(n0).registerError(ForbiddenException$, ForbiddenException);
|
|
206
|
+
var GetConnectionRequest$ = [3, n0, _GCR, 0, [_CI], [[0, 1]]];
|
|
207
|
+
var GetConnectionResponse$ = [
|
|
208
208
|
3,
|
|
209
209
|
n0,
|
|
210
210
|
_GCRe,
|
|
@@ -212,13 +212,13 @@ var GetConnectionResponse = [
|
|
|
212
212
|
[_CA, _I, _LAA],
|
|
213
213
|
[
|
|
214
214
|
[5, { [_jN]: _cA }],
|
|
215
|
-
[() => Identity
|
|
215
|
+
[() => Identity$, { [_jN]: _i }],
|
|
216
216
|
[5, { [_jN]: _lAA }],
|
|
217
217
|
],
|
|
218
218
|
];
|
|
219
|
-
var GoneException = [-3, n0, _GE, { [_e]: _c, [_hE]: 410 }, [], []];
|
|
220
|
-
schema.TypeRegistry.for(n0).registerError(GoneException
|
|
221
|
-
var Identity = [
|
|
219
|
+
var GoneException$ = [-3, n0, _GE, { [_e]: _c, [_hE]: 410 }, [], []];
|
|
220
|
+
schema.TypeRegistry.for(n0).registerError(GoneException$, GoneException);
|
|
221
|
+
var Identity$ = [
|
|
222
222
|
3,
|
|
223
223
|
n0,
|
|
224
224
|
_I,
|
|
@@ -229,9 +229,9 @@ var Identity = [
|
|
|
229
229
|
[0, { [_jN]: _uA }],
|
|
230
230
|
],
|
|
231
231
|
];
|
|
232
|
-
var LimitExceededException = [-3, n0, _LEE, { [_e]: _c, [_hE]: 429 }, [], []];
|
|
233
|
-
schema.TypeRegistry.for(n0).registerError(LimitExceededException
|
|
234
|
-
var PayloadTooLargeException = [
|
|
232
|
+
var LimitExceededException$ = [-3, n0, _LEE, { [_e]: _c, [_hE]: 429 }, [], []];
|
|
233
|
+
schema.TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
|
|
234
|
+
var PayloadTooLargeException$ = [
|
|
235
235
|
-3,
|
|
236
236
|
n0,
|
|
237
237
|
_PTLE,
|
|
@@ -239,8 +239,8 @@ var PayloadTooLargeException = [
|
|
|
239
239
|
[_M],
|
|
240
240
|
[[0, { [_jN]: _m }]],
|
|
241
241
|
];
|
|
242
|
-
schema.TypeRegistry.for(n0).registerError(PayloadTooLargeException
|
|
243
|
-
var PostToConnectionRequest = [
|
|
242
|
+
schema.TypeRegistry.for(n0).registerError(PayloadTooLargeException$, PayloadTooLargeException);
|
|
243
|
+
var PostToConnectionRequest$ = [
|
|
244
244
|
3,
|
|
245
245
|
n0,
|
|
246
246
|
_PTCR,
|
|
@@ -252,7 +252,7 @@ var PostToConnectionRequest = [
|
|
|
252
252
|
],
|
|
253
253
|
];
|
|
254
254
|
var __Unit = "unit";
|
|
255
|
-
var ApiGatewayManagementApiServiceException = [
|
|
255
|
+
var ApiGatewayManagementApiServiceException$ = [
|
|
256
256
|
-3,
|
|
257
257
|
_s,
|
|
258
258
|
"ApiGatewayManagementApiServiceException",
|
|
@@ -260,29 +260,29 @@ var ApiGatewayManagementApiServiceException = [
|
|
|
260
260
|
[],
|
|
261
261
|
[],
|
|
262
262
|
];
|
|
263
|
-
schema.TypeRegistry.for(_s).registerError(ApiGatewayManagementApiServiceException
|
|
264
|
-
var DeleteConnection = [
|
|
263
|
+
schema.TypeRegistry.for(_s).registerError(ApiGatewayManagementApiServiceException$, ApiGatewayManagementApiServiceException);
|
|
264
|
+
var DeleteConnection$ = [
|
|
265
265
|
9,
|
|
266
266
|
n0,
|
|
267
267
|
_DC,
|
|
268
268
|
{ [_h]: ["DELETE", "/@connections/{ConnectionId}", 204] },
|
|
269
|
-
() => DeleteConnectionRequest
|
|
269
|
+
() => DeleteConnectionRequest$,
|
|
270
270
|
() => __Unit,
|
|
271
271
|
];
|
|
272
|
-
var GetConnection = [
|
|
272
|
+
var GetConnection$ = [
|
|
273
273
|
9,
|
|
274
274
|
n0,
|
|
275
275
|
_GC,
|
|
276
276
|
{ [_h]: ["GET", "/@connections/{ConnectionId}", 200] },
|
|
277
|
-
() => GetConnectionRequest
|
|
278
|
-
() => GetConnectionResponse
|
|
277
|
+
() => GetConnectionRequest$,
|
|
278
|
+
() => GetConnectionResponse$,
|
|
279
279
|
];
|
|
280
|
-
var PostToConnection = [
|
|
280
|
+
var PostToConnection$ = [
|
|
281
281
|
9,
|
|
282
282
|
n0,
|
|
283
283
|
_PTC,
|
|
284
284
|
{ [_h]: ["POST", "/@connections/{ConnectionId}", 200] },
|
|
285
|
-
() => PostToConnectionRequest
|
|
285
|
+
() => PostToConnectionRequest$,
|
|
286
286
|
() => __Unit,
|
|
287
287
|
];
|
|
288
288
|
|
|
@@ -294,7 +294,7 @@ class DeleteConnectionCommand extends smithyClient.Command
|
|
|
294
294
|
})
|
|
295
295
|
.s("ApiGatewayManagementApi", "DeleteConnection", {})
|
|
296
296
|
.n("ApiGatewayManagementApiClient", "DeleteConnectionCommand")
|
|
297
|
-
.sc(DeleteConnection)
|
|
297
|
+
.sc(DeleteConnection$)
|
|
298
298
|
.build() {
|
|
299
299
|
}
|
|
300
300
|
|
|
@@ -306,7 +306,7 @@ class GetConnectionCommand extends smithyClient.Command
|
|
|
306
306
|
})
|
|
307
307
|
.s("ApiGatewayManagementApi", "GetConnection", {})
|
|
308
308
|
.n("ApiGatewayManagementApiClient", "GetConnectionCommand")
|
|
309
|
-
.sc(GetConnection)
|
|
309
|
+
.sc(GetConnection$)
|
|
310
310
|
.build() {
|
|
311
311
|
}
|
|
312
312
|
|
|
@@ -318,7 +318,7 @@ class PostToConnectionCommand extends smithyClient.Command
|
|
|
318
318
|
})
|
|
319
319
|
.s("ApiGatewayManagementApi", "PostToConnection", {})
|
|
320
320
|
.n("ApiGatewayManagementApiClient", "PostToConnectionCommand")
|
|
321
|
-
.sc(PostToConnection)
|
|
321
|
+
.sc(PostToConnection$)
|
|
322
322
|
.build() {
|
|
323
323
|
}
|
|
324
324
|
|
|
@@ -341,11 +341,24 @@ Object.defineProperty(exports, "__Client", {
|
|
|
341
341
|
});
|
|
342
342
|
exports.ApiGatewayManagementApi = ApiGatewayManagementApi;
|
|
343
343
|
exports.ApiGatewayManagementApiClient = ApiGatewayManagementApiClient;
|
|
344
|
-
exports.ApiGatewayManagementApiServiceException = ApiGatewayManagementApiServiceException
|
|
344
|
+
exports.ApiGatewayManagementApiServiceException = ApiGatewayManagementApiServiceException;
|
|
345
|
+
exports.ApiGatewayManagementApiServiceException$ = ApiGatewayManagementApiServiceException$;
|
|
346
|
+
exports.DeleteConnection$ = DeleteConnection$;
|
|
345
347
|
exports.DeleteConnectionCommand = DeleteConnectionCommand;
|
|
346
|
-
exports.
|
|
348
|
+
exports.DeleteConnectionRequest$ = DeleteConnectionRequest$;
|
|
349
|
+
exports.ForbiddenException = ForbiddenException;
|
|
350
|
+
exports.ForbiddenException$ = ForbiddenException$;
|
|
351
|
+
exports.GetConnection$ = GetConnection$;
|
|
347
352
|
exports.GetConnectionCommand = GetConnectionCommand;
|
|
348
|
-
exports.
|
|
349
|
-
exports.
|
|
350
|
-
exports.
|
|
353
|
+
exports.GetConnectionRequest$ = GetConnectionRequest$;
|
|
354
|
+
exports.GetConnectionResponse$ = GetConnectionResponse$;
|
|
355
|
+
exports.GoneException = GoneException;
|
|
356
|
+
exports.GoneException$ = GoneException$;
|
|
357
|
+
exports.Identity$ = Identity$;
|
|
358
|
+
exports.LimitExceededException = LimitExceededException;
|
|
359
|
+
exports.LimitExceededException$ = LimitExceededException$;
|
|
360
|
+
exports.PayloadTooLargeException = PayloadTooLargeException;
|
|
361
|
+
exports.PayloadTooLargeException$ = PayloadTooLargeException$;
|
|
362
|
+
exports.PostToConnection$ = PostToConnection$;
|
|
351
363
|
exports.PostToConnectionCommand = PostToConnectionCommand;
|
|
364
|
+
exports.PostToConnectionRequest$ = PostToConnectionRequest$;
|
|
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
-
protocol: config?.protocol ??
|
|
29
|
+
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
31
|
+
defaultNamespace: "com.amazonaws.apigatewaymanagementapi",
|
|
32
|
+
version: "2018-11-29",
|
|
33
|
+
serviceTarget: "ApiGatewayManagementApi",
|
|
34
|
+
},
|
|
30
35
|
serviceId: config?.serviceId ?? "ApiGatewayManagementApi",
|
|
31
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
32
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DeleteConnection } from "../schemas/schemas_0";
|
|
4
|
+
import { DeleteConnection$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteConnectionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DeleteConnectionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ApiGatewayManagementApi", "DeleteConnection", {})
|
|
13
13
|
.n("ApiGatewayManagementApiClient", "DeleteConnectionCommand")
|
|
14
|
-
.sc(DeleteConnection)
|
|
14
|
+
.sc(DeleteConnection$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetConnection } from "../schemas/schemas_0";
|
|
4
|
+
import { GetConnection$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetConnectionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetConnectionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ApiGatewayManagementApi", "GetConnection", {})
|
|
13
13
|
.n("ApiGatewayManagementApiClient", "GetConnectionCommand")
|
|
14
|
-
.sc(GetConnection)
|
|
14
|
+
.sc(GetConnection$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { PostToConnection } from "../schemas/schemas_0";
|
|
4
|
+
import { PostToConnection$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PostToConnectionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class PostToConnectionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ApiGatewayManagementApi", "PostToConnection", {})
|
|
13
13
|
.n("ApiGatewayManagementApiClient", "PostToConnectionCommand")
|
|
14
|
-
.sc(PostToConnection)
|
|
14
|
+
.sc(PostToConnection$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./ApiGatewayManagementApiClient";
|
|
2
2
|
export * from "./ApiGatewayManagementApi";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export * from "./schemas/schemas_0";
|
|
4
5
|
export * from "./models/errors";
|
|
5
6
|
export { ApiGatewayManagementApiServiceException } from "./models/ApiGatewayManagementApiServiceException";
|
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.apigatewaymanagementapi",
|
|
29
|
+
version: "2018-11-29",
|
|
30
|
+
serviceTarget: "ApiGatewayManagementApi",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "ApiGatewayManagementApi",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -31,13 +31,13 @@ const _sI = "sourceIp";
|
|
|
31
31
|
const _uA = "userAgent";
|
|
32
32
|
const n0 = "com.amazonaws.apigatewaymanagementapi";
|
|
33
33
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
34
|
-
import { ApiGatewayManagementApiServiceException
|
|
35
|
-
import { ForbiddenException
|
|
36
|
-
export var DeleteConnectionRequest = [3, n0, _DCR, 0, [_CI], [[0, 1]]];
|
|
37
|
-
export var ForbiddenException = [-3, n0, _FE, { [_e]: _c, [_hE]: 403 }, [], []];
|
|
38
|
-
TypeRegistry.for(n0).registerError(ForbiddenException
|
|
39
|
-
export var GetConnectionRequest = [3, n0, _GCR, 0, [_CI], [[0, 1]]];
|
|
40
|
-
export var GetConnectionResponse = [
|
|
34
|
+
import { ApiGatewayManagementApiServiceException } from "../models/ApiGatewayManagementApiServiceException";
|
|
35
|
+
import { ForbiddenException, GoneException, LimitExceededException, PayloadTooLargeException } from "../models/errors";
|
|
36
|
+
export var DeleteConnectionRequest$ = [3, n0, _DCR, 0, [_CI], [[0, 1]]];
|
|
37
|
+
export var ForbiddenException$ = [-3, n0, _FE, { [_e]: _c, [_hE]: 403 }, [], []];
|
|
38
|
+
TypeRegistry.for(n0).registerError(ForbiddenException$, ForbiddenException);
|
|
39
|
+
export var GetConnectionRequest$ = [3, n0, _GCR, 0, [_CI], [[0, 1]]];
|
|
40
|
+
export var GetConnectionResponse$ = [
|
|
41
41
|
3,
|
|
42
42
|
n0,
|
|
43
43
|
_GCRe,
|
|
@@ -45,13 +45,13 @@ export var GetConnectionResponse = [
|
|
|
45
45
|
[_CA, _I, _LAA],
|
|
46
46
|
[
|
|
47
47
|
[5, { [_jN]: _cA }],
|
|
48
|
-
[() => Identity
|
|
48
|
+
[() => Identity$, { [_jN]: _i }],
|
|
49
49
|
[5, { [_jN]: _lAA }],
|
|
50
50
|
],
|
|
51
51
|
];
|
|
52
|
-
export var GoneException = [-3, n0, _GE, { [_e]: _c, [_hE]: 410 }, [], []];
|
|
53
|
-
TypeRegistry.for(n0).registerError(GoneException
|
|
54
|
-
export var Identity = [
|
|
52
|
+
export var GoneException$ = [-3, n0, _GE, { [_e]: _c, [_hE]: 410 }, [], []];
|
|
53
|
+
TypeRegistry.for(n0).registerError(GoneException$, GoneException);
|
|
54
|
+
export var Identity$ = [
|
|
55
55
|
3,
|
|
56
56
|
n0,
|
|
57
57
|
_I,
|
|
@@ -62,9 +62,9 @@ export var Identity = [
|
|
|
62
62
|
[0, { [_jN]: _uA }],
|
|
63
63
|
],
|
|
64
64
|
];
|
|
65
|
-
export var LimitExceededException = [-3, n0, _LEE, { [_e]: _c, [_hE]: 429 }, [], []];
|
|
66
|
-
TypeRegistry.for(n0).registerError(LimitExceededException
|
|
67
|
-
export var PayloadTooLargeException = [
|
|
65
|
+
export var LimitExceededException$ = [-3, n0, _LEE, { [_e]: _c, [_hE]: 429 }, [], []];
|
|
66
|
+
TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
|
|
67
|
+
export var PayloadTooLargeException$ = [
|
|
68
68
|
-3,
|
|
69
69
|
n0,
|
|
70
70
|
_PTLE,
|
|
@@ -72,8 +72,8 @@ export var PayloadTooLargeException = [
|
|
|
72
72
|
[_M],
|
|
73
73
|
[[0, { [_jN]: _m }]],
|
|
74
74
|
];
|
|
75
|
-
TypeRegistry.for(n0).registerError(PayloadTooLargeException
|
|
76
|
-
export var PostToConnectionRequest = [
|
|
75
|
+
TypeRegistry.for(n0).registerError(PayloadTooLargeException$, PayloadTooLargeException);
|
|
76
|
+
export var PostToConnectionRequest$ = [
|
|
77
77
|
3,
|
|
78
78
|
n0,
|
|
79
79
|
_PTCR,
|
|
@@ -84,8 +84,8 @@ export var PostToConnectionRequest = [
|
|
|
84
84
|
[0, 1],
|
|
85
85
|
],
|
|
86
86
|
];
|
|
87
|
-
|
|
88
|
-
export var ApiGatewayManagementApiServiceException = [
|
|
87
|
+
var __Unit = "unit";
|
|
88
|
+
export var ApiGatewayManagementApiServiceException$ = [
|
|
89
89
|
-3,
|
|
90
90
|
_s,
|
|
91
91
|
"ApiGatewayManagementApiServiceException",
|
|
@@ -93,28 +93,28 @@ export var ApiGatewayManagementApiServiceException = [
|
|
|
93
93
|
[],
|
|
94
94
|
[],
|
|
95
95
|
];
|
|
96
|
-
TypeRegistry.for(_s).registerError(ApiGatewayManagementApiServiceException
|
|
97
|
-
export var DeleteConnection = [
|
|
96
|
+
TypeRegistry.for(_s).registerError(ApiGatewayManagementApiServiceException$, ApiGatewayManagementApiServiceException);
|
|
97
|
+
export var DeleteConnection$ = [
|
|
98
98
|
9,
|
|
99
99
|
n0,
|
|
100
100
|
_DC,
|
|
101
101
|
{ [_h]: ["DELETE", "/@connections/{ConnectionId}", 204] },
|
|
102
|
-
() => DeleteConnectionRequest
|
|
102
|
+
() => DeleteConnectionRequest$,
|
|
103
103
|
() => __Unit,
|
|
104
104
|
];
|
|
105
|
-
export var GetConnection = [
|
|
105
|
+
export var GetConnection$ = [
|
|
106
106
|
9,
|
|
107
107
|
n0,
|
|
108
108
|
_GC,
|
|
109
109
|
{ [_h]: ["GET", "/@connections/{ConnectionId}", 200] },
|
|
110
|
-
() => GetConnectionRequest
|
|
111
|
-
() => GetConnectionResponse
|
|
110
|
+
() => GetConnectionRequest$,
|
|
111
|
+
() => GetConnectionResponse$,
|
|
112
112
|
];
|
|
113
|
-
export var PostToConnection = [
|
|
113
|
+
export var PostToConnection$ = [
|
|
114
114
|
9,
|
|
115
115
|
n0,
|
|
116
116
|
_PTC,
|
|
117
117
|
{ [_h]: ["POST", "/@connections/{ConnectionId}", 200] },
|
|
118
|
-
() => PostToConnectionRequest
|
|
118
|
+
() => PostToConnectionRequest$,
|
|
119
119
|
() => __Unit,
|
|
120
120
|
];
|
|
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { DeleteConnectionCommandInput, DeleteConnectionCommandOutput } from "./commands/DeleteConnectionCommand";
|
|
11
11
|
import { GetConnectionCommandInput, GetConnectionCommandOutput } from "./commands/GetConnectionCommand";
|
|
@@ -144,15 +144,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
144
144
|
* Optional extensions
|
|
145
145
|
*/
|
|
146
146
|
extensions?: RuntimeExtension[];
|
|
147
|
-
/**
|
|
148
|
-
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
149
|
-
* may be overridden. A default will always be set by the client.
|
|
150
|
-
* Available options depend on the service's supported protocols and will not be validated by
|
|
151
|
-
* the client.
|
|
152
|
-
* @alpha
|
|
153
|
-
*
|
|
154
|
-
*/
|
|
155
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
156
147
|
/**
|
|
157
148
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
158
149
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
9
9
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
10
|
export type { ApiGatewayManagementApiExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
|
+
export * from "./schemas/schemas_0";
|
|
12
13
|
export * from "./models/errors";
|
|
13
14
|
export type * from "./models/models_0";
|
|
14
15
|
export { ApiGatewayManagementApiServiceException } from "./models/ApiGatewayManagementApiServiceException";
|
|
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: ApiGatewayManagementApiClientCon
|
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
|
-
apiVersion: string;
|
|
21
20
|
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
defaultNamespace?: string;
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
apiVersion: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: ApiGatewayManagementApiClientCon
|
|
|
29
34
|
profile?: string;
|
|
30
35
|
logger: import("@smithy/types").Logger;
|
|
31
36
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
33
37
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
34
38
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
35
39
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: ApiGatewayManagementApiClientCon
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
22
|
-
apiVersion: string;
|
|
23
22
|
cacheMiddleware?: boolean | undefined;
|
|
23
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
defaultNamespace?: string;
|
|
26
|
+
[setting: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
apiVersion: string;
|
|
24
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
26
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: ApiGatewayManagementApiClientCon
|
|
|
31
36
|
profile?: string;
|
|
32
37
|
logger: import("@smithy/types").Logger;
|
|
33
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
35
39
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
36
40
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
37
41
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: ApiGatewayManagementApiClientCon
|
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
|
-
apiVersion: string;
|
|
10
9
|
cacheMiddleware?: boolean;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
11
|
+
protocolSettings: {
|
|
12
|
+
defaultNamespace?: string;
|
|
13
|
+
[setting: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
apiVersion: string;
|
|
11
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
12
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
18
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: ApiGatewayManagementApiClientCon
|
|
|
27
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
33
|
logger: import("@smithy/types").Logger;
|
|
29
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
31
35
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
32
36
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
37
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import type { ApiGatewayManagementApiClientConfig } from "./ApiGatewayManagementApiClient";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: ApiGatewayManagementApiClientCon
|
|
|
14
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ApiGatewayManagementApiHttpAuthSchemeProvider;
|
|
15
16
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
17
|
logger: import("@smithy/types").Logger;
|
|
17
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").
|
|
18
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
|
|
19
|
+
protocolSettings: {
|
|
20
|
+
[setting: string]: unknown;
|
|
21
|
+
defaultNamespace?: string;
|
|
22
|
+
};
|
|
18
23
|
serviceId: string;
|
|
19
24
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
25
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
-
export declare var DeleteConnectionRequest
|
|
3
|
-
export declare var ForbiddenException
|
|
4
|
-
export declare var GetConnectionRequest
|
|
5
|
-
export declare var GetConnectionResponse
|
|
6
|
-
export declare var GoneException
|
|
7
|
-
export declare var Identity
|
|
8
|
-
export declare var LimitExceededException
|
|
9
|
-
export declare var PayloadTooLargeException
|
|
10
|
-
export declare var PostToConnectionRequest
|
|
11
|
-
export declare var
|
|
12
|
-
export declare var
|
|
13
|
-
export declare var
|
|
14
|
-
export declare var
|
|
15
|
-
export declare var PostToConnection: StaticOperationSchema;
|
|
2
|
+
export declare var DeleteConnectionRequest$: StaticStructureSchema;
|
|
3
|
+
export declare var ForbiddenException$: StaticErrorSchema;
|
|
4
|
+
export declare var GetConnectionRequest$: StaticStructureSchema;
|
|
5
|
+
export declare var GetConnectionResponse$: StaticStructureSchema;
|
|
6
|
+
export declare var GoneException$: StaticErrorSchema;
|
|
7
|
+
export declare var Identity$: StaticStructureSchema;
|
|
8
|
+
export declare var LimitExceededException$: StaticErrorSchema;
|
|
9
|
+
export declare var PayloadTooLargeException$: StaticErrorSchema;
|
|
10
|
+
export declare var PostToConnectionRequest$: StaticStructureSchema;
|
|
11
|
+
export declare var ApiGatewayManagementApiServiceException$: StaticErrorSchema;
|
|
12
|
+
export declare var DeleteConnection$: StaticOperationSchema;
|
|
13
|
+
export declare var GetConnection$: StaticOperationSchema;
|
|
14
|
+
export declare var PostToConnection$: StaticOperationSchema;
|
|
@@ -29,13 +29,10 @@ import {
|
|
|
29
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
30
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
31
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
32
|
-
ClientProtocol,
|
|
33
32
|
Decoder as __Decoder,
|
|
34
33
|
Encoder as __Encoder,
|
|
35
34
|
HashConstructor as __HashConstructor,
|
|
36
35
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
37
|
-
HttpRequest,
|
|
38
|
-
HttpResponse,
|
|
39
36
|
Logger as __Logger,
|
|
40
37
|
Provider as __Provider,
|
|
41
38
|
StreamCollector as __StreamCollector,
|
|
@@ -99,7 +96,6 @@ export interface ClientDefaults
|
|
|
99
96
|
retryMode?: string | __Provider<string>;
|
|
100
97
|
logger?: __Logger;
|
|
101
98
|
extensions?: RuntimeExtension[];
|
|
102
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
103
99
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
104
100
|
}
|
|
105
101
|
export type ApiGatewayManagementApiClientConfigType = Partial<
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { ApiGatewayManagementApiExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export * from "./schemas/schemas_0";
|
|
7
8
|
export * from "./models/errors";
|
|
8
9
|
export * from "./models/models_0";
|
|
9
10
|
export { ApiGatewayManagementApiServiceException } from "./models/ApiGatewayManagementApiServiceException";
|
|
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
|
|
|
28
28
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
29
29
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
30
30
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
31
|
-
apiVersion: string;
|
|
32
31
|
cacheMiddleware?: boolean | undefined;
|
|
32
|
+
protocol:
|
|
33
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
34
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
35
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
36
|
+
protocolSettings: {
|
|
37
|
+
defaultNamespace?: string;
|
|
38
|
+
[setting: string]: unknown;
|
|
39
|
+
};
|
|
40
|
+
apiVersion: string;
|
|
33
41
|
urlParser: import("@smithy/types").UrlParser;
|
|
34
42
|
base64Decoder: import("@smithy/types").Decoder;
|
|
35
43
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
|
|
|
40
48
|
profile?: string;
|
|
41
49
|
logger: import("@smithy/types").Logger;
|
|
42
50
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
43
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
44
|
-
import("@smithy/types").HttpRequest,
|
|
45
|
-
import("@smithy/types").HttpResponse
|
|
46
|
-
>;
|
|
47
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
48
52
|
userAgentAppId?:
|
|
49
53
|
| string
|
|
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
|
|
|
28
28
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
29
29
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
30
30
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
31
|
-
apiVersion: string;
|
|
32
31
|
cacheMiddleware?: boolean | undefined;
|
|
32
|
+
protocol:
|
|
33
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
34
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
35
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
36
|
+
protocolSettings: {
|
|
37
|
+
defaultNamespace?: string;
|
|
38
|
+
[setting: string]: unknown;
|
|
39
|
+
};
|
|
40
|
+
apiVersion: string;
|
|
33
41
|
urlParser: import("@smithy/types").UrlParser;
|
|
34
42
|
base64Decoder: import("@smithy/types").Decoder;
|
|
35
43
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
|
|
|
40
48
|
profile?: string;
|
|
41
49
|
logger: import("@smithy/types").Logger;
|
|
42
50
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
43
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
44
|
-
import("@smithy/types").HttpRequest,
|
|
45
|
-
import("@smithy/types").HttpResponse
|
|
46
|
-
>;
|
|
47
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
48
52
|
retryStrategy?:
|
|
49
53
|
| import("@smithy/types").RetryStrategy
|
|
@@ -10,8 +10,16 @@ export declare const getRuntimeConfig: (
|
|
|
10
10
|
| Record<string, unknown>
|
|
11
11
|
| import("@smithy/protocol-http").HttpHandler<any>
|
|
12
12
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
13
|
-
apiVersion: string;
|
|
14
13
|
cacheMiddleware?: boolean;
|
|
14
|
+
protocol:
|
|
15
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
16
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
17
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
18
|
+
protocolSettings: {
|
|
19
|
+
defaultNamespace?: string;
|
|
20
|
+
[setting: string]: unknown;
|
|
21
|
+
};
|
|
22
|
+
apiVersion: string;
|
|
15
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
16
24
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
17
25
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -39,10 +47,6 @@ export declare const getRuntimeConfig: (
|
|
|
39
47
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
40
48
|
logger: import("@smithy/types").Logger;
|
|
41
49
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
42
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
43
|
-
import("@smithy/types").HttpRequest,
|
|
44
|
-
import("@smithy/types").HttpResponse
|
|
45
|
-
>;
|
|
46
50
|
defaultsMode:
|
|
47
51
|
| import("@smithy/smithy-client").DefaultsMode
|
|
48
52
|
| import("@smithy/types").Provider<
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import { ApiGatewayManagementApiClientConfig } from "./ApiGatewayManagementApiClient";
|
|
2
3
|
export declare const getRuntimeConfig: (
|
|
3
4
|
config: ApiGatewayManagementApiClientConfig
|
|
@@ -16,10 +17,14 @@ export declare const getRuntimeConfig: (
|
|
|
16
17
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ApiGatewayManagementApiHttpAuthSchemeProvider;
|
|
17
18
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
18
19
|
logger: import("@smithy/types").Logger;
|
|
19
|
-
protocol:
|
|
20
|
-
import("@smithy/types").
|
|
21
|
-
import("@smithy/types").
|
|
22
|
-
|
|
20
|
+
protocol:
|
|
21
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
22
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
23
|
+
| typeof AwsRestJsonProtocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
[setting: string]: unknown;
|
|
26
|
+
defaultNamespace?: string;
|
|
27
|
+
};
|
|
23
28
|
serviceId: string;
|
|
24
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
30
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -3,17 +3,16 @@ import {
|
|
|
3
3
|
StaticOperationSchema,
|
|
4
4
|
StaticStructureSchema,
|
|
5
5
|
} from "@smithy/types";
|
|
6
|
-
export declare var DeleteConnectionRequest
|
|
7
|
-
export declare var ForbiddenException
|
|
8
|
-
export declare var GetConnectionRequest
|
|
9
|
-
export declare var GetConnectionResponse
|
|
10
|
-
export declare var GoneException
|
|
11
|
-
export declare var Identity
|
|
12
|
-
export declare var LimitExceededException
|
|
13
|
-
export declare var PayloadTooLargeException
|
|
14
|
-
export declare var PostToConnectionRequest
|
|
15
|
-
export declare var
|
|
16
|
-
export declare var
|
|
17
|
-
export declare var
|
|
18
|
-
export declare var
|
|
19
|
-
export declare var PostToConnection: StaticOperationSchema;
|
|
6
|
+
export declare var DeleteConnectionRequest$: StaticStructureSchema;
|
|
7
|
+
export declare var ForbiddenException$: StaticErrorSchema;
|
|
8
|
+
export declare var GetConnectionRequest$: StaticStructureSchema;
|
|
9
|
+
export declare var GetConnectionResponse$: StaticStructureSchema;
|
|
10
|
+
export declare var GoneException$: StaticErrorSchema;
|
|
11
|
+
export declare var Identity$: StaticStructureSchema;
|
|
12
|
+
export declare var LimitExceededException$: StaticErrorSchema;
|
|
13
|
+
export declare var PayloadTooLargeException$: StaticErrorSchema;
|
|
14
|
+
export declare var PostToConnectionRequest$: StaticStructureSchema;
|
|
15
|
+
export declare var ApiGatewayManagementApiServiceException$: StaticErrorSchema;
|
|
16
|
+
export declare var DeleteConnection$: StaticOperationSchema;
|
|
17
|
+
export declare var GetConnection$: StaticOperationSchema;
|
|
18
|
+
export declare var PostToConnection$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-apigatewaymanagementapi",
|
|
3
3
|
"description": "AWS SDK for JavaScript Apigatewaymanagementapi Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.953.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "concurrently 'yarn:build:
|
|
6
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-apigatewaymanagementapi",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
@@ -21,41 +21,41 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^4.4.
|
|
36
|
-
"@smithy/core": "^3.
|
|
37
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
38
|
-
"@smithy/hash-node": "^4.2.
|
|
39
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
40
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
-
"@smithy/middleware-serde": "^4.2.
|
|
44
|
-
"@smithy/middleware-stack": "^4.2.
|
|
45
|
-
"@smithy/node-config-provider": "^4.3.
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
47
|
-
"@smithy/protocol-http": "^5.3.
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
49
|
-
"@smithy/types": "^4.
|
|
50
|
-
"@smithy/url-parser": "^4.2.
|
|
24
|
+
"@aws-sdk/core": "3.953.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.953.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.953.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.953.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.953.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.953.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.953.0",
|
|
31
|
+
"@aws-sdk/types": "3.953.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.953.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.953.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.953.0",
|
|
35
|
+
"@smithy/config-resolver": "^4.4.4",
|
|
36
|
+
"@smithy/core": "^3.19.0",
|
|
37
|
+
"@smithy/fetch-http-handler": "^5.3.7",
|
|
38
|
+
"@smithy/hash-node": "^4.2.6",
|
|
39
|
+
"@smithy/invalid-dependency": "^4.2.6",
|
|
40
|
+
"@smithy/middleware-content-length": "^4.2.6",
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.3.15",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.15",
|
|
43
|
+
"@smithy/middleware-serde": "^4.2.7",
|
|
44
|
+
"@smithy/middleware-stack": "^4.2.6",
|
|
45
|
+
"@smithy/node-config-provider": "^4.3.6",
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.6",
|
|
47
|
+
"@smithy/protocol-http": "^5.3.6",
|
|
48
|
+
"@smithy/smithy-client": "^4.10.0",
|
|
49
|
+
"@smithy/types": "^4.10.0",
|
|
50
|
+
"@smithy/url-parser": "^4.2.6",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
-
"@smithy/util-endpoints": "^3.2.
|
|
57
|
-
"@smithy/util-middleware": "^4.2.
|
|
58
|
-
"@smithy/util-retry": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.14",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.17",
|
|
56
|
+
"@smithy/util-endpoints": "^3.2.6",
|
|
57
|
+
"@smithy/util-middleware": "^4.2.6",
|
|
58
|
+
"@smithy/util-retry": "^4.2.6",
|
|
59
59
|
"@smithy/util-utf8": "^4.2.0",
|
|
60
60
|
"tslib": "^2.6.2"
|
|
61
61
|
},
|