@aws-sdk/client-apigatewaymanagementapi 3.180.0 → 3.183.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/CHANGELOG.md +20 -0
- package/dist-cjs/protocols/Aws_restJson1.js +9 -3
- package/dist-es/ApiGatewayManagementApi.js +14 -21
- package/dist-es/ApiGatewayManagementApiClient.js +22 -28
- package/dist-es/commands/DeleteConnectionCommand.js +22 -29
- package/dist-es/commands/GetConnectionCommand.js +21 -28
- package/dist-es/commands/PostToConnectionCommand.js +22 -29
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ApiGatewayManagementApiServiceException.js +5 -10
- package/dist-es/models/models_0.js +60 -51
- package/dist-es/protocols/Aws_restJson1.js +232 -328
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-apigatewaymanagementapi
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.181.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.180.0...v3.181.0) (2022-09-29)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **clients:** make parseErrorBody async ([#3999](https://github.com/aws/aws-sdk-js-v3/issues/3999)) ([2558c93](https://github.com/aws/aws-sdk-js-v3/commit/2558c93c050357ac6dc47aa0452b15b12ebfd676))
|
|
20
|
+
* **clients:** populate message field when parsing errors ([#3995](https://github.com/aws/aws-sdk-js-v3/issues/3995)) ([02e47f1](https://github.com/aws/aws-sdk-js-v3/commit/02e47f14397ae0a5d2e2883350d038b307fdcdb4))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
# [3.180.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.179.0...v3.180.0) (2022-09-27)
|
|
7
27
|
|
|
8
28
|
**Note:** Version bump only for package @aws-sdk/client-apigatewaymanagementapi
|
|
@@ -75,7 +75,7 @@ exports.deserializeAws_restJson1DeleteConnectionCommand = deserializeAws_restJso
|
|
|
75
75
|
const deserializeAws_restJson1DeleteConnectionCommandError = async (output, context) => {
|
|
76
76
|
const parsedOutput = {
|
|
77
77
|
...output,
|
|
78
|
-
body: await
|
|
78
|
+
body: await parseErrorBody(output.body, context),
|
|
79
79
|
};
|
|
80
80
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
81
81
|
switch (errorCode) {
|
|
@@ -121,7 +121,7 @@ exports.deserializeAws_restJson1GetConnectionCommand = deserializeAws_restJson1G
|
|
|
121
121
|
const deserializeAws_restJson1GetConnectionCommandError = async (output, context) => {
|
|
122
122
|
const parsedOutput = {
|
|
123
123
|
...output,
|
|
124
|
-
body: await
|
|
124
|
+
body: await parseErrorBody(output.body, context),
|
|
125
125
|
};
|
|
126
126
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
127
127
|
switch (errorCode) {
|
|
@@ -158,7 +158,7 @@ exports.deserializeAws_restJson1PostToConnectionCommand = deserializeAws_restJso
|
|
|
158
158
|
const deserializeAws_restJson1PostToConnectionCommandError = async (output, context) => {
|
|
159
159
|
const parsedOutput = {
|
|
160
160
|
...output,
|
|
161
|
-
body: await
|
|
161
|
+
body: await parseErrorBody(output.body, context),
|
|
162
162
|
};
|
|
163
163
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
164
164
|
switch (errorCode) {
|
|
@@ -257,6 +257,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
257
257
|
}
|
|
258
258
|
return {};
|
|
259
259
|
});
|
|
260
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
261
|
+
var _a;
|
|
262
|
+
const value = await parseBody(errorBody, context);
|
|
263
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
264
|
+
return value;
|
|
265
|
+
};
|
|
260
266
|
const loadRestJsonErrorCode = (output, data) => {
|
|
261
267
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
262
268
|
const sanitizeErrorCode = (rawValue) => {
|
|
@@ -1,55 +1,48 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { ApiGatewayManagementApiClient } from "./ApiGatewayManagementApiClient";
|
|
3
2
|
import { DeleteConnectionCommand, } from "./commands/DeleteConnectionCommand";
|
|
4
3
|
import { GetConnectionCommand, } from "./commands/GetConnectionCommand";
|
|
5
4
|
import { PostToConnectionCommand, } from "./commands/PostToConnectionCommand";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
10
|
-
}
|
|
11
|
-
ApiGatewayManagementApi.prototype.deleteConnection = function (args, optionsOrCb, cb) {
|
|
12
|
-
var command = new DeleteConnectionCommand(args);
|
|
5
|
+
export class ApiGatewayManagementApi extends ApiGatewayManagementApiClient {
|
|
6
|
+
deleteConnection(args, optionsOrCb, cb) {
|
|
7
|
+
const command = new DeleteConnectionCommand(args);
|
|
13
8
|
if (typeof optionsOrCb === "function") {
|
|
14
9
|
this.send(command, optionsOrCb);
|
|
15
10
|
}
|
|
16
11
|
else if (typeof cb === "function") {
|
|
17
12
|
if (typeof optionsOrCb !== "object")
|
|
18
|
-
throw new Error(
|
|
13
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
19
14
|
this.send(command, optionsOrCb || {}, cb);
|
|
20
15
|
}
|
|
21
16
|
else {
|
|
22
17
|
return this.send(command, optionsOrCb);
|
|
23
18
|
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
}
|
|
20
|
+
getConnection(args, optionsOrCb, cb) {
|
|
21
|
+
const command = new GetConnectionCommand(args);
|
|
27
22
|
if (typeof optionsOrCb === "function") {
|
|
28
23
|
this.send(command, optionsOrCb);
|
|
29
24
|
}
|
|
30
25
|
else if (typeof cb === "function") {
|
|
31
26
|
if (typeof optionsOrCb !== "object")
|
|
32
|
-
throw new Error(
|
|
27
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
33
28
|
this.send(command, optionsOrCb || {}, cb);
|
|
34
29
|
}
|
|
35
30
|
else {
|
|
36
31
|
return this.send(command, optionsOrCb);
|
|
37
32
|
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
33
|
+
}
|
|
34
|
+
postToConnection(args, optionsOrCb, cb) {
|
|
35
|
+
const command = new PostToConnectionCommand(args);
|
|
41
36
|
if (typeof optionsOrCb === "function") {
|
|
42
37
|
this.send(command, optionsOrCb);
|
|
43
38
|
}
|
|
44
39
|
else if (typeof cb === "function") {
|
|
45
40
|
if (typeof optionsOrCb !== "object")
|
|
46
|
-
throw new Error(
|
|
41
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
47
42
|
this.send(command, optionsOrCb || {}, cb);
|
|
48
43
|
}
|
|
49
44
|
else {
|
|
50
45
|
return this.send(command, optionsOrCb);
|
|
51
46
|
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
}(ApiGatewayManagementApiClient));
|
|
55
|
-
export { ApiGatewayManagementApi };
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
3
2
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
3
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
10
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
-
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
-
return _this;
|
|
11
|
+
export class ApiGatewayManagementApiClient extends __Client {
|
|
12
|
+
constructor(configuration) {
|
|
13
|
+
const _config_0 = __getRuntimeConfig(configuration);
|
|
14
|
+
const _config_1 = resolveRegionConfig(_config_0);
|
|
15
|
+
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
16
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
17
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
18
|
+
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
19
|
+
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
20
|
+
super(_config_6);
|
|
21
|
+
this.config = _config_6;
|
|
22
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
23
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
24
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
25
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
26
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
27
|
+
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
28
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
29
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}(__Client));
|
|
39
|
-
export { ApiGatewayManagementApiClient };
|
|
30
|
+
destroy() {
|
|
31
|
+
super.destroy();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { DeleteConnectionRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1DeleteConnectionCommand, serializeAws_restJson1DeleteConnectionCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class DeleteConnectionCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ApiGatewayManagementApiClient";
|
|
15
|
+
const commandName = "DeleteConnectionCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: DeleteConnectionRequestFilterSensitiveLog,
|
|
24
|
-
outputFilterSensitiveLog:
|
|
21
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
DeleteConnectionCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1DeleteConnectionCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1DeleteConnectionCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { DeleteConnectionCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { GetConnectionRequestFilterSensitiveLog, GetConnectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1GetConnectionCommand, serializeAws_restJson1GetConnectionCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetConnectionCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ApiGatewayManagementApiClient";
|
|
15
|
+
const commandName = "GetConnectionCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetConnectionRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetConnectionResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetConnectionCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1GetConnectionCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1GetConnectionCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetConnectionCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { PostToConnectionRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1PostToConnectionCommand, serializeAws_restJson1PostToConnectionCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class PostToConnectionCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ApiGatewayManagementApiClient";
|
|
15
|
+
const commandName = "PostToConnectionCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: PostToConnectionRequestFilterSensitiveLog,
|
|
24
|
-
outputFilterSensitiveLog:
|
|
21
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
PostToConnectionCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1PostToConnectionCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1PostToConnectionCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { PostToConnectionCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
const regionHash = {};
|
|
3
|
+
const partitionHash = {
|
|
5
4
|
aws: {
|
|
6
5
|
regions: [
|
|
7
6
|
"af-south-1",
|
|
@@ -121,8 +120,9 @@ var partitionHash = {
|
|
|
121
120
|
],
|
|
122
121
|
},
|
|
123
122
|
};
|
|
124
|
-
export
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
123
|
+
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
124
|
+
...options,
|
|
125
|
+
signingService: "execute-api",
|
|
126
|
+
regionHash,
|
|
127
|
+
partitionHash,
|
|
128
|
+
});
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.setPrototypeOf(_this, ApiGatewayManagementApiServiceException.prototype);
|
|
8
|
-
return _this;
|
|
2
|
+
export class ApiGatewayManagementApiServiceException extends __ServiceException {
|
|
3
|
+
constructor(options) {
|
|
4
|
+
super(options);
|
|
5
|
+
Object.setPrototypeOf(this, ApiGatewayManagementApiServiceException.prototype);
|
|
9
6
|
}
|
|
10
|
-
|
|
11
|
-
}(__ServiceException));
|
|
12
|
-
export { ApiGatewayManagementApiServiceException };
|
|
7
|
+
}
|
|
@@ -1,56 +1,65 @@
|
|
|
1
|
-
import { __assign, __extends } from "tslib";
|
|
2
1
|
import { ApiGatewayManagementApiServiceException as __BaseException } from "./ApiGatewayManagementApiServiceException";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
export class ForbiddenException extends __BaseException {
|
|
3
|
+
constructor(opts) {
|
|
4
|
+
super({
|
|
5
|
+
name: "ForbiddenException",
|
|
6
|
+
$fault: "client",
|
|
7
|
+
...opts,
|
|
8
|
+
});
|
|
9
|
+
this.name = "ForbiddenException";
|
|
10
|
+
this.$fault = "client";
|
|
11
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
11
12
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
13
|
+
}
|
|
14
|
+
export class GoneException extends __BaseException {
|
|
15
|
+
constructor(opts) {
|
|
16
|
+
super({
|
|
17
|
+
name: "GoneException",
|
|
18
|
+
$fault: "client",
|
|
19
|
+
...opts,
|
|
20
|
+
});
|
|
21
|
+
this.name = "GoneException";
|
|
22
|
+
this.$fault = "client";
|
|
23
|
+
Object.setPrototypeOf(this, GoneException.prototype);
|
|
23
24
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
25
|
+
}
|
|
26
|
+
export class LimitExceededException extends __BaseException {
|
|
27
|
+
constructor(opts) {
|
|
28
|
+
super({
|
|
29
|
+
name: "LimitExceededException",
|
|
30
|
+
$fault: "client",
|
|
31
|
+
...opts,
|
|
32
|
+
});
|
|
33
|
+
this.name = "LimitExceededException";
|
|
34
|
+
this.$fault = "client";
|
|
35
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
35
36
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
37
|
+
}
|
|
38
|
+
export class PayloadTooLargeException extends __BaseException {
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "PayloadTooLargeException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
this.name = "PayloadTooLargeException";
|
|
46
|
+
this.$fault = "client";
|
|
47
|
+
Object.setPrototypeOf(this, PayloadTooLargeException.prototype);
|
|
48
|
+
this.Message = opts.Message;
|
|
48
49
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
export
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
export
|
|
50
|
+
}
|
|
51
|
+
export const DeleteConnectionRequestFilterSensitiveLog = (obj) => ({
|
|
52
|
+
...obj,
|
|
53
|
+
});
|
|
54
|
+
export const GetConnectionRequestFilterSensitiveLog = (obj) => ({
|
|
55
|
+
...obj,
|
|
56
|
+
});
|
|
57
|
+
export const IdentityFilterSensitiveLog = (obj) => ({
|
|
58
|
+
...obj,
|
|
59
|
+
});
|
|
60
|
+
export const GetConnectionResponseFilterSensitiveLog = (obj) => ({
|
|
61
|
+
...obj,
|
|
62
|
+
});
|
|
63
|
+
export const PostToConnectionRequestFilterSensitiveLog = (obj) => ({
|
|
64
|
+
...obj,
|
|
65
|
+
});
|