@aws-sdk/client-apigatewaymanagementapi 3.130.0 → 3.141.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 CHANGED
@@ -3,6 +3,36 @@
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.141.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.140.0...v3.141.0) (2022-08-01)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update client endpoints as of 2022-08-01 ([aaf49f2](https://github.com/aws/aws-sdk-js-v3/commit/aaf49f21b371412e6ea7e00890b71a7b31991b66))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
18
+
19
+
20
+ ### Features
21
+
22
+ * **namespaces:** remove namespaces with only a log filter ([#3823](https://github.com/aws/aws-sdk-js-v3/issues/3823)) ([33e6822](https://github.com/aws/aws-sdk-js-v3/commit/33e68228fb64c53dd8f89e6be76dd5f46edc3cfd))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
29
+
30
+ **Note:** Version bump only for package @aws-sdk/client-apigatewaymanagementapi
31
+
32
+
33
+
34
+
35
+
6
36
  # [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
7
37
 
8
38
 
package/README.md CHANGED
@@ -165,7 +165,7 @@ try {
165
165
  const data = await client.send(command);
166
166
  // process data.
167
167
  } catch (error) {
168
- const { requestId, cfId, extendedRequestId } = error.$metadata;
168
+ const { requestId, cfId, extendedRequestId } = error.$$metadata;
169
169
  console.log({ requestId, cfId, extendedRequestId });
170
170
  /**
171
171
  * The keys within exceptions are also parsed.
@@ -20,7 +20,7 @@ class DeleteConnectionCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.DeleteConnectionRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.DeleteConnectionRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: (output) => output,
25
25
  };
26
26
  const { requestHandler } = configuration;
@@ -20,8 +20,8 @@ class GetConnectionCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.GetConnectionRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.GetConnectionResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.GetConnectionRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetConnectionResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,7 +20,7 @@ class PostToConnectionCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.PostToConnectionRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.PostToConnectionRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: (output) => output,
25
25
  };
26
26
  const { requestHandler } = configuration;
@@ -1,13 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PostToConnectionRequest = exports.PayloadTooLargeException = exports.GetConnectionResponse = exports.Identity = exports.GetConnectionRequest = exports.LimitExceededException = exports.GoneException = exports.ForbiddenException = exports.DeleteConnectionRequest = void 0;
3
+ exports.PostToConnectionRequestFilterSensitiveLog = exports.GetConnectionResponseFilterSensitiveLog = exports.IdentityFilterSensitiveLog = exports.GetConnectionRequestFilterSensitiveLog = exports.DeleteConnectionRequestFilterSensitiveLog = exports.PayloadTooLargeException = exports.LimitExceededException = exports.GoneException = exports.ForbiddenException = void 0;
4
4
  const ApiGatewayManagementApiServiceException_1 = require("./ApiGatewayManagementApiServiceException");
5
- var DeleteConnectionRequest;
6
- (function (DeleteConnectionRequest) {
7
- DeleteConnectionRequest.filterSensitiveLog = (obj) => ({
8
- ...obj,
9
- });
10
- })(DeleteConnectionRequest = exports.DeleteConnectionRequest || (exports.DeleteConnectionRequest = {}));
11
5
  class ForbiddenException extends ApiGatewayManagementApiServiceException_1.ApiGatewayManagementApiServiceException {
12
6
  constructor(opts) {
13
7
  super({
@@ -47,24 +41,6 @@ class LimitExceededException extends ApiGatewayManagementApiServiceException_1.A
47
41
  }
48
42
  }
49
43
  exports.LimitExceededException = LimitExceededException;
50
- var GetConnectionRequest;
51
- (function (GetConnectionRequest) {
52
- GetConnectionRequest.filterSensitiveLog = (obj) => ({
53
- ...obj,
54
- });
55
- })(GetConnectionRequest = exports.GetConnectionRequest || (exports.GetConnectionRequest = {}));
56
- var Identity;
57
- (function (Identity) {
58
- Identity.filterSensitiveLog = (obj) => ({
59
- ...obj,
60
- });
61
- })(Identity = exports.Identity || (exports.Identity = {}));
62
- var GetConnectionResponse;
63
- (function (GetConnectionResponse) {
64
- GetConnectionResponse.filterSensitiveLog = (obj) => ({
65
- ...obj,
66
- });
67
- })(GetConnectionResponse = exports.GetConnectionResponse || (exports.GetConnectionResponse = {}));
68
44
  class PayloadTooLargeException extends ApiGatewayManagementApiServiceException_1.ApiGatewayManagementApiServiceException {
69
45
  constructor(opts) {
70
46
  super({
@@ -79,9 +55,23 @@ class PayloadTooLargeException extends ApiGatewayManagementApiServiceException_1
79
55
  }
80
56
  }
81
57
  exports.PayloadTooLargeException = PayloadTooLargeException;
82
- var PostToConnectionRequest;
83
- (function (PostToConnectionRequest) {
84
- PostToConnectionRequest.filterSensitiveLog = (obj) => ({
85
- ...obj,
86
- });
87
- })(PostToConnectionRequest = exports.PostToConnectionRequest || (exports.PostToConnectionRequest = {}));
58
+ const DeleteConnectionRequestFilterSensitiveLog = (obj) => ({
59
+ ...obj,
60
+ });
61
+ exports.DeleteConnectionRequestFilterSensitiveLog = DeleteConnectionRequestFilterSensitiveLog;
62
+ const GetConnectionRequestFilterSensitiveLog = (obj) => ({
63
+ ...obj,
64
+ });
65
+ exports.GetConnectionRequestFilterSensitiveLog = GetConnectionRequestFilterSensitiveLog;
66
+ const IdentityFilterSensitiveLog = (obj) => ({
67
+ ...obj,
68
+ });
69
+ exports.IdentityFilterSensitiveLog = IdentityFilterSensitiveLog;
70
+ const GetConnectionResponseFilterSensitiveLog = (obj) => ({
71
+ ...obj,
72
+ });
73
+ exports.GetConnectionResponseFilterSensitiveLog = GetConnectionResponseFilterSensitiveLog;
74
+ const PostToConnectionRequestFilterSensitiveLog = (obj) => ({
75
+ ...obj,
76
+ });
77
+ exports.PostToConnectionRequestFilterSensitiveLog = PostToConnectionRequestFilterSensitiveLog;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DeleteConnectionRequest } from "../models/models_0";
4
+ import { DeleteConnectionRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DeleteConnectionCommand, serializeAws_restJson1DeleteConnectionCommand, } from "../protocols/Aws_restJson1";
6
6
  var DeleteConnectionCommand = (function (_super) {
7
7
  __extends(DeleteConnectionCommand, _super);
@@ -20,7 +20,7 @@ var DeleteConnectionCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: DeleteConnectionRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: DeleteConnectionRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetConnectionRequest, GetConnectionResponse } from "../models/models_0";
4
+ import { GetConnectionRequestFilterSensitiveLog, GetConnectionResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1GetConnectionCommand, serializeAws_restJson1GetConnectionCommand, } from "../protocols/Aws_restJson1";
6
6
  var GetConnectionCommand = (function (_super) {
7
7
  __extends(GetConnectionCommand, _super);
@@ -20,8 +20,8 @@ var GetConnectionCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: GetConnectionRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: GetConnectionResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: GetConnectionRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: GetConnectionResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { PostToConnectionRequest } from "../models/models_0";
4
+ import { PostToConnectionRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_restJson1PostToConnectionCommand, serializeAws_restJson1PostToConnectionCommand, } from "../protocols/Aws_restJson1";
6
6
  var PostToConnectionCommand = (function (_super) {
7
7
  __extends(PostToConnectionCommand, _super);
@@ -20,7 +20,7 @@ var PostToConnectionCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: PostToConnectionRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: PostToConnectionRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -1,9 +1,5 @@
1
1
  import { __assign, __extends } from "tslib";
2
2
  import { ApiGatewayManagementApiServiceException as __BaseException } from "./ApiGatewayManagementApiServiceException";
3
- export var DeleteConnectionRequest;
4
- (function (DeleteConnectionRequest) {
5
- DeleteConnectionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
6
- })(DeleteConnectionRequest || (DeleteConnectionRequest = {}));
7
3
  var ForbiddenException = (function (_super) {
8
4
  __extends(ForbiddenException, _super);
9
5
  function ForbiddenException(opts) {
@@ -40,18 +36,6 @@ var LimitExceededException = (function (_super) {
40
36
  return LimitExceededException;
41
37
  }(__BaseException));
42
38
  export { LimitExceededException };
43
- export var GetConnectionRequest;
44
- (function (GetConnectionRequest) {
45
- GetConnectionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
46
- })(GetConnectionRequest || (GetConnectionRequest = {}));
47
- export var Identity;
48
- (function (Identity) {
49
- Identity.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
50
- })(Identity || (Identity = {}));
51
- export var GetConnectionResponse;
52
- (function (GetConnectionResponse) {
53
- GetConnectionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
54
- })(GetConnectionResponse || (GetConnectionResponse = {}));
55
39
  var PayloadTooLargeException = (function (_super) {
56
40
  __extends(PayloadTooLargeException, _super);
57
41
  function PayloadTooLargeException(opts) {
@@ -65,7 +49,8 @@ var PayloadTooLargeException = (function (_super) {
65
49
  return PayloadTooLargeException;
66
50
  }(__BaseException));
67
51
  export { PayloadTooLargeException };
68
- export var PostToConnectionRequest;
69
- (function (PostToConnectionRequest) {
70
- PostToConnectionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
71
- })(PostToConnectionRequest || (PostToConnectionRequest = {}));
52
+ export var DeleteConnectionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
53
+ export var GetConnectionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
54
+ export var IdentityFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
55
+ export var GetConnectionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
56
+ export var PostToConnectionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -3,12 +3,6 @@ import { ApiGatewayManagementApiServiceException as __BaseException } from "./Ap
3
3
  export interface DeleteConnectionRequest {
4
4
  ConnectionId: string | undefined;
5
5
  }
6
- export declare namespace DeleteConnectionRequest {
7
- /**
8
- * @internal
9
- */
10
- const filterSensitiveLog: (obj: DeleteConnectionRequest) => any;
11
- }
12
6
  /**
13
7
  * <p>The caller is not authorized to invoke this operation.</p>
14
8
  */
@@ -45,12 +39,6 @@ export declare class LimitExceededException extends __BaseException {
45
39
  export interface GetConnectionRequest {
46
40
  ConnectionId: string | undefined;
47
41
  }
48
- export declare namespace GetConnectionRequest {
49
- /**
50
- * @internal
51
- */
52
- const filterSensitiveLog: (obj: GetConnectionRequest) => any;
53
- }
54
42
  export interface Identity {
55
43
  /**
56
44
  * <p>The source IP address of the TCP connection making the request to API Gateway.</p>
@@ -61,12 +49,6 @@ export interface Identity {
61
49
  */
62
50
  UserAgent: string | undefined;
63
51
  }
64
- export declare namespace Identity {
65
- /**
66
- * @internal
67
- */
68
- const filterSensitiveLog: (obj: Identity) => any;
69
- }
70
52
  export interface GetConnectionResponse {
71
53
  /**
72
54
  * <p>The time in ISO 8601 format for when the connection was established.</p>
@@ -78,12 +60,6 @@ export interface GetConnectionResponse {
78
60
  */
79
61
  LastActiveAt?: Date;
80
62
  }
81
- export declare namespace GetConnectionResponse {
82
- /**
83
- * @internal
84
- */
85
- const filterSensitiveLog: (obj: GetConnectionResponse) => any;
86
- }
87
63
  /**
88
64
  * <p>The data has exceeded the maximum size allowed.</p>
89
65
  */
@@ -106,9 +82,23 @@ export interface PostToConnectionRequest {
106
82
  */
107
83
  ConnectionId: string | undefined;
108
84
  }
109
- export declare namespace PostToConnectionRequest {
110
- /**
111
- * @internal
112
- */
113
- const filterSensitiveLog: (obj: PostToConnectionRequest) => any;
114
- }
85
+ /**
86
+ * @internal
87
+ */
88
+ export declare const DeleteConnectionRequestFilterSensitiveLog: (obj: DeleteConnectionRequest) => any;
89
+ /**
90
+ * @internal
91
+ */
92
+ export declare const GetConnectionRequestFilterSensitiveLog: (obj: GetConnectionRequest) => any;
93
+ /**
94
+ * @internal
95
+ */
96
+ export declare const IdentityFilterSensitiveLog: (obj: Identity) => any;
97
+ /**
98
+ * @internal
99
+ */
100
+ export declare const GetConnectionResponseFilterSensitiveLog: (obj: GetConnectionResponse) => any;
101
+ /**
102
+ * @internal
103
+ */
104
+ export declare const PostToConnectionRequestFilterSensitiveLog: (obj: PostToConnectionRequest) => any;
@@ -3,10 +3,6 @@ import { ApiGatewayManagementApiServiceException as __BaseException } from "./Ap
3
3
  export interface DeleteConnectionRequest {
4
4
  ConnectionId: string | undefined;
5
5
  }
6
- export declare namespace DeleteConnectionRequest {
7
-
8
- const filterSensitiveLog: (obj: DeleteConnectionRequest) => any;
9
- }
10
6
 
11
7
  export declare class ForbiddenException extends __BaseException {
12
8
  readonly name: "ForbiddenException";
@@ -31,20 +27,12 @@ export declare class LimitExceededException extends __BaseException {
31
27
  export interface GetConnectionRequest {
32
28
  ConnectionId: string | undefined;
33
29
  }
34
- export declare namespace GetConnectionRequest {
35
-
36
- const filterSensitiveLog: (obj: GetConnectionRequest) => any;
37
- }
38
30
  export interface Identity {
39
31
 
40
32
  SourceIp: string | undefined;
41
33
 
42
34
  UserAgent: string | undefined;
43
35
  }
44
- export declare namespace Identity {
45
-
46
- const filterSensitiveLog: (obj: Identity) => any;
47
- }
48
36
  export interface GetConnectionResponse {
49
37
 
50
38
  ConnectedAt?: Date;
@@ -52,10 +40,6 @@ export interface GetConnectionResponse {
52
40
 
53
41
  LastActiveAt?: Date;
54
42
  }
55
- export declare namespace GetConnectionResponse {
56
-
57
- const filterSensitiveLog: (obj: GetConnectionResponse) => any;
58
- }
59
43
 
60
44
  export declare class PayloadTooLargeException extends __BaseException {
61
45
  readonly name: "PayloadTooLargeException";
@@ -70,7 +54,13 @@ export interface PostToConnectionRequest {
70
54
 
71
55
  ConnectionId: string | undefined;
72
56
  }
73
- export declare namespace PostToConnectionRequest {
74
-
75
- const filterSensitiveLog: (obj: PostToConnectionRequest) => any;
76
- }
57
+
58
+ export declare const DeleteConnectionRequestFilterSensitiveLog: (obj: DeleteConnectionRequest) => any;
59
+
60
+ export declare const GetConnectionRequestFilterSensitiveLog: (obj: GetConnectionRequest) => any;
61
+
62
+ export declare const IdentityFilterSensitiveLog: (obj: Identity) => any;
63
+
64
+ export declare const GetConnectionResponseFilterSensitiveLog: (obj: GetConnectionResponse) => any;
65
+
66
+ export declare const PostToConnectionRequestFilterSensitiveLog: (obj: PostToConnectionRequest) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
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.130.0",
4
+ "version": "3.141.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,10 +18,10 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.130.0",
21
+ "@aws-sdk/client-sts": "3.141.0",
22
22
  "@aws-sdk/config-resolver": "3.130.0",
23
- "@aws-sdk/credential-provider-node": "3.130.0",
24
- "@aws-sdk/fetch-http-handler": "3.127.0",
23
+ "@aws-sdk/credential-provider-node": "3.141.0",
24
+ "@aws-sdk/fetch-http-handler": "3.131.0",
25
25
  "@aws-sdk/hash-node": "3.127.0",
26
26
  "@aws-sdk/invalid-dependency": "3.127.0",
27
27
  "@aws-sdk/middleware-content-length": "3.127.0",
@@ -36,15 +36,15 @@
36
36
  "@aws-sdk/node-config-provider": "3.127.0",
37
37
  "@aws-sdk/node-http-handler": "3.127.0",
38
38
  "@aws-sdk/protocol-http": "3.127.0",
39
- "@aws-sdk/smithy-client": "3.127.0",
39
+ "@aws-sdk/smithy-client": "3.137.0",
40
40
  "@aws-sdk/types": "3.127.0",
41
41
  "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.130.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.137.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.137.0",
48
48
  "@aws-sdk/util-user-agent-browser": "3.127.0",
49
49
  "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",