@aws-sdk/client-apigatewaymanagementapi 3.956.0 → 3.958.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/README.md +1 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +40 -64
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +40 -64
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -9,10 +9,8 @@ AWS SDK for JavaScript ApiGatewayManagementApi Client for Node.js, Browser and R
|
|
|
9
9
|
<p>The Amazon API Gateway Management API allows you to directly manage runtime aspects of your deployed APIs. To use it, you must explicitly set the SDK's endpoint to point to the endpoint of your deployed API. The endpoint will be of the form https://{api-id}.execute-api.{region}.amazonaws.com/{stage}, or will be the endpoint corresponding to your API's custom domain and base path, if applicable.</p>
|
|
10
10
|
|
|
11
11
|
## Installing
|
|
12
|
-
|
|
13
12
|
To install this package, simply type add or install @aws-sdk/client-apigatewaymanagementapi
|
|
14
13
|
using your favorite package manager:
|
|
15
|
-
|
|
16
14
|
- `npm install @aws-sdk/client-apigatewaymanagementapi`
|
|
17
15
|
- `yarn add @aws-sdk/client-apigatewaymanagementapi`
|
|
18
16
|
- `pnpm add @aws-sdk/client-apigatewaymanagementapi`
|
|
@@ -48,9 +46,7 @@ To send a request, you:
|
|
|
48
46
|
// a client can be shared by different commands.
|
|
49
47
|
const client = new ApiGatewayManagementApiClient({ region: "REGION" });
|
|
50
48
|
|
|
51
|
-
const params = {
|
|
52
|
-
/** input parameters */
|
|
53
|
-
};
|
|
49
|
+
const params = { /** input parameters */ };
|
|
54
50
|
const command = new GetConnectionCommand(params);
|
|
55
51
|
```
|
|
56
52
|
|
|
@@ -209,7 +205,6 @@ DeleteConnection
|
|
|
209
205
|
</summary>
|
|
210
206
|
|
|
211
207
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/apigatewaymanagementapi/command/DeleteConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-apigatewaymanagementapi/Interface/DeleteConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-apigatewaymanagementapi/Interface/DeleteConnectionCommandOutput/)
|
|
212
|
-
|
|
213
208
|
</details>
|
|
214
209
|
<details>
|
|
215
210
|
<summary>
|
|
@@ -217,7 +212,6 @@ GetConnection
|
|
|
217
212
|
</summary>
|
|
218
213
|
|
|
219
214
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/apigatewaymanagementapi/command/GetConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-apigatewaymanagementapi/Interface/GetConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-apigatewaymanagementapi/Interface/GetConnectionCommandOutput/)
|
|
220
|
-
|
|
221
215
|
</details>
|
|
222
216
|
<details>
|
|
223
217
|
<summary>
|
|
@@ -225,5 +219,4 @@ PostToConnection
|
|
|
225
219
|
</summary>
|
|
226
220
|
|
|
227
221
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/apigatewaymanagementapi/command/PostToConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-apigatewaymanagementapi/Interface/PostToConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-apigatewaymanagementapi/Interface/PostToConnectionCommandOutput/)
|
|
228
|
-
|
|
229
222
|
</details>
|
|
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
|
|
|
6
6
|
const defaultApiGatewayManagementApiHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
8
|
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
-
region:
|
|
10
|
-
(
|
|
11
|
-
|
|
12
|
-
})(),
|
|
9
|
+
region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
|
|
10
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
|
+
})(),
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
14
|
exports.defaultApiGatewayManagementApiHttpAuthSchemeParametersProvider = defaultApiGatewayManagementApiHttpAuthSchemeParametersProvider;
|
package/dist-cjs/index.js
CHANGED
|
@@ -200,90 +200,66 @@ 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,
|
|
204
|
-
|
|
203
|
+
var DeleteConnectionRequest$ = [3, n0, _DCR,
|
|
204
|
+
0,
|
|
205
|
+
[_CI],
|
|
206
|
+
[[0, 1]]
|
|
207
|
+
];
|
|
208
|
+
var ForbiddenException$ = [-3, n0, _FE,
|
|
209
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
210
|
+
[],
|
|
211
|
+
[]
|
|
212
|
+
];
|
|
205
213
|
schema.TypeRegistry.for(n0).registerError(ForbiddenException$, ForbiddenException);
|
|
206
|
-
var GetConnectionRequest$ = [3, n0, _GCR,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
214
|
+
var GetConnectionRequest$ = [3, n0, _GCR,
|
|
215
|
+
0,
|
|
216
|
+
[_CI],
|
|
217
|
+
[[0, 1]]
|
|
218
|
+
];
|
|
219
|
+
var GetConnectionResponse$ = [3, n0, _GCRe,
|
|
211
220
|
0,
|
|
212
221
|
[_CA, _I, _LAA],
|
|
213
|
-
[
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
],
|
|
222
|
+
[[5, { [_jN]: _cA }], [() => Identity$, { [_jN]: _i }], [5, { [_jN]: _lAA }]]
|
|
223
|
+
];
|
|
224
|
+
var GoneException$ = [-3, n0, _GE,
|
|
225
|
+
{ [_e]: _c, [_hE]: 410 },
|
|
226
|
+
[],
|
|
227
|
+
[]
|
|
218
228
|
];
|
|
219
|
-
var GoneException$ = [-3, n0, _GE, { [_e]: _c, [_hE]: 410 }, [], []];
|
|
220
229
|
schema.TypeRegistry.for(n0).registerError(GoneException$, GoneException);
|
|
221
|
-
var Identity$ = [
|
|
222
|
-
3,
|
|
223
|
-
n0,
|
|
224
|
-
_I,
|
|
230
|
+
var Identity$ = [3, n0, _I,
|
|
225
231
|
0,
|
|
226
232
|
[_SI, _UA],
|
|
227
|
-
[
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
],
|
|
233
|
+
[[0, { [_jN]: _sI }], [0, { [_jN]: _uA }]]
|
|
234
|
+
];
|
|
235
|
+
var LimitExceededException$ = [-3, n0, _LEE,
|
|
236
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
237
|
+
[],
|
|
238
|
+
[]
|
|
231
239
|
];
|
|
232
|
-
var LimitExceededException$ = [-3, n0, _LEE, { [_e]: _c, [_hE]: 429 }, [], []];
|
|
233
240
|
schema.TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
|
|
234
|
-
var PayloadTooLargeException$ = [
|
|
235
|
-
-3,
|
|
236
|
-
n0,
|
|
237
|
-
_PTLE,
|
|
241
|
+
var PayloadTooLargeException$ = [-3, n0, _PTLE,
|
|
238
242
|
{ [_e]: _c, [_hE]: 413 },
|
|
239
243
|
[_M],
|
|
240
|
-
[[0, { [_jN]: _m }]]
|
|
244
|
+
[[0, { [_jN]: _m }]]
|
|
241
245
|
];
|
|
242
246
|
schema.TypeRegistry.for(n0).registerError(PayloadTooLargeException$, PayloadTooLargeException);
|
|
243
|
-
var PostToConnectionRequest$ = [
|
|
244
|
-
3,
|
|
245
|
-
n0,
|
|
246
|
-
_PTCR,
|
|
247
|
+
var PostToConnectionRequest$ = [3, n0, _PTCR,
|
|
247
248
|
0,
|
|
248
249
|
[_D, _CI],
|
|
249
|
-
[
|
|
250
|
-
[21, 16],
|
|
251
|
-
[0, 1],
|
|
252
|
-
],
|
|
250
|
+
[[21, 16], [0, 1]]
|
|
253
251
|
];
|
|
254
252
|
var __Unit = "unit";
|
|
255
|
-
var ApiGatewayManagementApiServiceException$ = [
|
|
256
|
-
-3,
|
|
257
|
-
_s,
|
|
258
|
-
"ApiGatewayManagementApiServiceException",
|
|
259
|
-
0,
|
|
260
|
-
[],
|
|
261
|
-
[],
|
|
262
|
-
];
|
|
253
|
+
var ApiGatewayManagementApiServiceException$ = [-3, _s, "ApiGatewayManagementApiServiceException", 0, [], []];
|
|
263
254
|
schema.TypeRegistry.for(_s).registerError(ApiGatewayManagementApiServiceException$, ApiGatewayManagementApiServiceException);
|
|
264
|
-
var DeleteConnection$ = [
|
|
265
|
-
|
|
266
|
-
n0,
|
|
267
|
-
_DC,
|
|
268
|
-
{ [_h]: ["DELETE", "/@connections/{ConnectionId}", 204] },
|
|
269
|
-
() => DeleteConnectionRequest$,
|
|
270
|
-
() => __Unit,
|
|
255
|
+
var DeleteConnection$ = [9, n0, _DC,
|
|
256
|
+
{ [_h]: ["DELETE", "/@connections/{ConnectionId}", 204] }, () => DeleteConnectionRequest$, () => __Unit
|
|
271
257
|
];
|
|
272
|
-
var GetConnection$ = [
|
|
273
|
-
|
|
274
|
-
n0,
|
|
275
|
-
_GC,
|
|
276
|
-
{ [_h]: ["GET", "/@connections/{ConnectionId}", 200] },
|
|
277
|
-
() => GetConnectionRequest$,
|
|
278
|
-
() => GetConnectionResponse$,
|
|
258
|
+
var GetConnection$ = [9, n0, _GC,
|
|
259
|
+
{ [_h]: ["GET", "/@connections/{ConnectionId}", 200] }, () => GetConnectionRequest$, () => GetConnectionResponse$
|
|
279
260
|
];
|
|
280
|
-
var PostToConnection$ = [
|
|
281
|
-
|
|
282
|
-
n0,
|
|
283
|
-
_PTC,
|
|
284
|
-
{ [_h]: ["POST", "/@connections/{ConnectionId}", 200] },
|
|
285
|
-
() => PostToConnectionRequest$,
|
|
286
|
-
() => __Unit,
|
|
261
|
+
var PostToConnection$ = [9, n0, _PTC,
|
|
262
|
+
{ [_h]: ["POST", "/@connections/{ConnectionId}", 200] }, () => PostToConnectionRequest$, () => __Unit
|
|
287
263
|
];
|
|
288
264
|
|
|
289
265
|
class DeleteConnectionCommand extends smithyClient.Command
|
|
@@ -24,8 +24,7 @@ const getRuntimeConfig = (config) => {
|
|
|
24
24
|
defaultsMode,
|
|
25
25
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
26
26
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
-
(0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
28
|
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
29
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
31
30
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -34,11 +34,9 @@ const getRuntimeConfig = (config) => {
|
|
|
34
34
|
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
35
35
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
36
36
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
37
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
38
|
-
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
39
38
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
40
|
-
region: config?.region ??
|
|
41
|
-
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
39
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
42
40
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
43
41
|
retryMode: config?.retryMode ??
|
|
44
42
|
(0, node_config_provider_1.loadConfig)({
|
|
@@ -3,10 +3,9 @@ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
|
3
3
|
export const defaultApiGatewayManagementApiHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
6
|
-
region:
|
|
7
|
-
(
|
|
8
|
-
|
|
9
|
-
})(),
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
+
})(),
|
|
10
9
|
};
|
|
11
10
|
};
|
|
12
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
@@ -20,8 +20,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
20
20
|
defaultsMode,
|
|
21
21
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
22
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
23
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
24
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
25
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
26
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import {
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
|
|
3
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
-
import {
|
|
4
|
+
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
5
5
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
6
|
import { Hash } from "@smithy/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
@@ -30,11 +30,9 @@ export const getRuntimeConfig = (config) => {
|
|
|
30
30
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
31
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
32
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
33
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
35
34
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
36
|
-
region: config?.region ??
|
|
37
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
35
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
38
36
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
39
37
|
retryMode: config?.retryMode ??
|
|
40
38
|
loadNodeConfig({
|
|
@@ -33,88 +33,64 @@ const n0 = "com.amazonaws.apigatewaymanagementapi";
|
|
|
33
33
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
34
34
|
import { ApiGatewayManagementApiServiceException } from "../models/ApiGatewayManagementApiServiceException";
|
|
35
35
|
import { ForbiddenException, GoneException, LimitExceededException, PayloadTooLargeException } from "../models/errors";
|
|
36
|
-
export var DeleteConnectionRequest$ = [3, n0, _DCR,
|
|
37
|
-
|
|
36
|
+
export var DeleteConnectionRequest$ = [3, n0, _DCR,
|
|
37
|
+
0,
|
|
38
|
+
[_CI],
|
|
39
|
+
[[0, 1]]
|
|
40
|
+
];
|
|
41
|
+
export var ForbiddenException$ = [-3, n0, _FE,
|
|
42
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
43
|
+
[],
|
|
44
|
+
[]
|
|
45
|
+
];
|
|
38
46
|
TypeRegistry.for(n0).registerError(ForbiddenException$, ForbiddenException);
|
|
39
|
-
export var GetConnectionRequest$ = [3, n0, _GCR,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
47
|
+
export var GetConnectionRequest$ = [3, n0, _GCR,
|
|
48
|
+
0,
|
|
49
|
+
[_CI],
|
|
50
|
+
[[0, 1]]
|
|
51
|
+
];
|
|
52
|
+
export var GetConnectionResponse$ = [3, n0, _GCRe,
|
|
44
53
|
0,
|
|
45
54
|
[_CA, _I, _LAA],
|
|
46
|
-
[
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
],
|
|
55
|
+
[[5, { [_jN]: _cA }], [() => Identity$, { [_jN]: _i }], [5, { [_jN]: _lAA }]]
|
|
56
|
+
];
|
|
57
|
+
export var GoneException$ = [-3, n0, _GE,
|
|
58
|
+
{ [_e]: _c, [_hE]: 410 },
|
|
59
|
+
[],
|
|
60
|
+
[]
|
|
51
61
|
];
|
|
52
|
-
export var GoneException$ = [-3, n0, _GE, { [_e]: _c, [_hE]: 410 }, [], []];
|
|
53
62
|
TypeRegistry.for(n0).registerError(GoneException$, GoneException);
|
|
54
|
-
export var Identity$ = [
|
|
55
|
-
3,
|
|
56
|
-
n0,
|
|
57
|
-
_I,
|
|
63
|
+
export var Identity$ = [3, n0, _I,
|
|
58
64
|
0,
|
|
59
65
|
[_SI, _UA],
|
|
60
|
-
[
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
],
|
|
66
|
+
[[0, { [_jN]: _sI }], [0, { [_jN]: _uA }]]
|
|
67
|
+
];
|
|
68
|
+
export var LimitExceededException$ = [-3, n0, _LEE,
|
|
69
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
70
|
+
[],
|
|
71
|
+
[]
|
|
64
72
|
];
|
|
65
|
-
export var LimitExceededException$ = [-3, n0, _LEE, { [_e]: _c, [_hE]: 429 }, [], []];
|
|
66
73
|
TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
|
|
67
|
-
export var PayloadTooLargeException$ = [
|
|
68
|
-
-3,
|
|
69
|
-
n0,
|
|
70
|
-
_PTLE,
|
|
74
|
+
export var PayloadTooLargeException$ = [-3, n0, _PTLE,
|
|
71
75
|
{ [_e]: _c, [_hE]: 413 },
|
|
72
76
|
[_M],
|
|
73
|
-
[[0, { [_jN]: _m }]]
|
|
77
|
+
[[0, { [_jN]: _m }]]
|
|
74
78
|
];
|
|
75
79
|
TypeRegistry.for(n0).registerError(PayloadTooLargeException$, PayloadTooLargeException);
|
|
76
|
-
export var PostToConnectionRequest$ = [
|
|
77
|
-
3,
|
|
78
|
-
n0,
|
|
79
|
-
_PTCR,
|
|
80
|
+
export var PostToConnectionRequest$ = [3, n0, _PTCR,
|
|
80
81
|
0,
|
|
81
82
|
[_D, _CI],
|
|
82
|
-
[
|
|
83
|
-
[21, 16],
|
|
84
|
-
[0, 1],
|
|
85
|
-
],
|
|
83
|
+
[[21, 16], [0, 1]]
|
|
86
84
|
];
|
|
87
85
|
var __Unit = "unit";
|
|
88
|
-
export var ApiGatewayManagementApiServiceException$ = [
|
|
89
|
-
-3,
|
|
90
|
-
_s,
|
|
91
|
-
"ApiGatewayManagementApiServiceException",
|
|
92
|
-
0,
|
|
93
|
-
[],
|
|
94
|
-
[],
|
|
95
|
-
];
|
|
86
|
+
export var ApiGatewayManagementApiServiceException$ = [-3, _s, "ApiGatewayManagementApiServiceException", 0, [], []];
|
|
96
87
|
TypeRegistry.for(_s).registerError(ApiGatewayManagementApiServiceException$, ApiGatewayManagementApiServiceException);
|
|
97
|
-
export var DeleteConnection$ = [
|
|
98
|
-
|
|
99
|
-
n0,
|
|
100
|
-
_DC,
|
|
101
|
-
{ [_h]: ["DELETE", "/@connections/{ConnectionId}", 204] },
|
|
102
|
-
() => DeleteConnectionRequest$,
|
|
103
|
-
() => __Unit,
|
|
88
|
+
export var DeleteConnection$ = [9, n0, _DC,
|
|
89
|
+
{ [_h]: ["DELETE", "/@connections/{ConnectionId}", 204] }, () => DeleteConnectionRequest$, () => __Unit
|
|
104
90
|
];
|
|
105
|
-
export var GetConnection$ = [
|
|
106
|
-
|
|
107
|
-
n0,
|
|
108
|
-
_GC,
|
|
109
|
-
{ [_h]: ["GET", "/@connections/{ConnectionId}", 200] },
|
|
110
|
-
() => GetConnectionRequest$,
|
|
111
|
-
() => GetConnectionResponse$,
|
|
91
|
+
export var GetConnection$ = [9, n0, _GC,
|
|
92
|
+
{ [_h]: ["GET", "/@connections/{ConnectionId}", 200] }, () => GetConnectionRequest$, () => GetConnectionResponse$
|
|
112
93
|
];
|
|
113
|
-
export var PostToConnection$ = [
|
|
114
|
-
|
|
115
|
-
n0,
|
|
116
|
-
_PTC,
|
|
117
|
-
{ [_h]: ["POST", "/@connections/{ConnectionId}", 200] },
|
|
118
|
-
() => PostToConnectionRequest$,
|
|
119
|
-
() => __Unit,
|
|
94
|
+
export var PostToConnection$ = [9, n0, _PTC,
|
|
95
|
+
{ [_h]: ["POST", "/@connections/{ConnectionId}", 200] }, () => PostToConnectionRequest$, () => __Unit
|
|
120
96
|
];
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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.958.0",
|
|
5
5
|
"scripts": {
|
|
6
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
|
-
"build:include:deps": "
|
|
9
|
+
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
@@ -21,17 +21,17 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/core": "3.957.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.958.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.957.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.957.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.957.0",
|
|
31
|
+
"@aws-sdk/types": "3.957.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.957.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.957.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.957.0",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.5",
|
|
36
36
|
"@smithy/core": "^3.20.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.8",
|