@aws-sdk/client-workmailmessageflow 3.131.0 → 3.137.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,17 @@
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.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
7
+
8
+
9
+ ### Features
10
+
11
+ * **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))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-workmailmessageflow
@@ -20,8 +20,8 @@ class GetRawMessageContentCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.GetRawMessageContentRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.GetRawMessageContentResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.GetRawMessageContentRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetRawMessageContentResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class PutRawMessageContentCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.PutRawMessageContentRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.PutRawMessageContentResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.PutRawMessageContentRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.PutRawMessageContentResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,19 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutRawMessageContentResponse = exports.PutRawMessageContentRequest = exports.RawMessageContent = exports.S3Reference = exports.MessageRejected = exports.MessageFrozen = exports.InvalidContentLocation = exports.ResourceNotFoundException = exports.GetRawMessageContentResponse = exports.GetRawMessageContentRequest = void 0;
3
+ exports.PutRawMessageContentResponseFilterSensitiveLog = exports.PutRawMessageContentRequestFilterSensitiveLog = exports.RawMessageContentFilterSensitiveLog = exports.S3ReferenceFilterSensitiveLog = exports.GetRawMessageContentResponseFilterSensitiveLog = exports.GetRawMessageContentRequestFilterSensitiveLog = exports.MessageRejected = exports.MessageFrozen = exports.InvalidContentLocation = exports.ResourceNotFoundException = void 0;
4
4
  const WorkMailMessageFlowServiceException_1 = require("./WorkMailMessageFlowServiceException");
5
- var GetRawMessageContentRequest;
6
- (function (GetRawMessageContentRequest) {
7
- GetRawMessageContentRequest.filterSensitiveLog = (obj) => ({
8
- ...obj,
9
- });
10
- })(GetRawMessageContentRequest = exports.GetRawMessageContentRequest || (exports.GetRawMessageContentRequest = {}));
11
- var GetRawMessageContentResponse;
12
- (function (GetRawMessageContentResponse) {
13
- GetRawMessageContentResponse.filterSensitiveLog = (obj) => ({
14
- ...obj,
15
- });
16
- })(GetRawMessageContentResponse = exports.GetRawMessageContentResponse || (exports.GetRawMessageContentResponse = {}));
17
5
  class ResourceNotFoundException extends WorkMailMessageFlowServiceException_1.WorkMailMessageFlowServiceException {
18
6
  constructor(opts) {
19
7
  super({
@@ -66,27 +54,27 @@ class MessageRejected extends WorkMailMessageFlowServiceException_1.WorkMailMess
66
54
  }
67
55
  }
68
56
  exports.MessageRejected = MessageRejected;
69
- var S3Reference;
70
- (function (S3Reference) {
71
- S3Reference.filterSensitiveLog = (obj) => ({
72
- ...obj,
73
- });
74
- })(S3Reference = exports.S3Reference || (exports.S3Reference = {}));
75
- var RawMessageContent;
76
- (function (RawMessageContent) {
77
- RawMessageContent.filterSensitiveLog = (obj) => ({
78
- ...obj,
79
- });
80
- })(RawMessageContent = exports.RawMessageContent || (exports.RawMessageContent = {}));
81
- var PutRawMessageContentRequest;
82
- (function (PutRawMessageContentRequest) {
83
- PutRawMessageContentRequest.filterSensitiveLog = (obj) => ({
84
- ...obj,
85
- });
86
- })(PutRawMessageContentRequest = exports.PutRawMessageContentRequest || (exports.PutRawMessageContentRequest = {}));
87
- var PutRawMessageContentResponse;
88
- (function (PutRawMessageContentResponse) {
89
- PutRawMessageContentResponse.filterSensitiveLog = (obj) => ({
90
- ...obj,
91
- });
92
- })(PutRawMessageContentResponse = exports.PutRawMessageContentResponse || (exports.PutRawMessageContentResponse = {}));
57
+ const GetRawMessageContentRequestFilterSensitiveLog = (obj) => ({
58
+ ...obj,
59
+ });
60
+ exports.GetRawMessageContentRequestFilterSensitiveLog = GetRawMessageContentRequestFilterSensitiveLog;
61
+ const GetRawMessageContentResponseFilterSensitiveLog = (obj) => ({
62
+ ...obj,
63
+ });
64
+ exports.GetRawMessageContentResponseFilterSensitiveLog = GetRawMessageContentResponseFilterSensitiveLog;
65
+ const S3ReferenceFilterSensitiveLog = (obj) => ({
66
+ ...obj,
67
+ });
68
+ exports.S3ReferenceFilterSensitiveLog = S3ReferenceFilterSensitiveLog;
69
+ const RawMessageContentFilterSensitiveLog = (obj) => ({
70
+ ...obj,
71
+ });
72
+ exports.RawMessageContentFilterSensitiveLog = RawMessageContentFilterSensitiveLog;
73
+ const PutRawMessageContentRequestFilterSensitiveLog = (obj) => ({
74
+ ...obj,
75
+ });
76
+ exports.PutRawMessageContentRequestFilterSensitiveLog = PutRawMessageContentRequestFilterSensitiveLog;
77
+ const PutRawMessageContentResponseFilterSensitiveLog = (obj) => ({
78
+ ...obj,
79
+ });
80
+ exports.PutRawMessageContentResponseFilterSensitiveLog = PutRawMessageContentResponseFilterSensitiveLog;
@@ -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 { GetRawMessageContentRequest, GetRawMessageContentResponse } from "../models/models_0";
4
+ import { GetRawMessageContentRequestFilterSensitiveLog, GetRawMessageContentResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1GetRawMessageContentCommand, serializeAws_restJson1GetRawMessageContentCommand, } from "../protocols/Aws_restJson1";
6
6
  var GetRawMessageContentCommand = (function (_super) {
7
7
  __extends(GetRawMessageContentCommand, _super);
@@ -20,8 +20,8 @@ var GetRawMessageContentCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: GetRawMessageContentRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: GetRawMessageContentResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: GetRawMessageContentRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: GetRawMessageContentResponseFilterSensitiveLog,
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 { PutRawMessageContentRequest, PutRawMessageContentResponse } from "../models/models_0";
4
+ import { PutRawMessageContentRequestFilterSensitiveLog, PutRawMessageContentResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1PutRawMessageContentCommand, serializeAws_restJson1PutRawMessageContentCommand, } from "../protocols/Aws_restJson1";
6
6
  var PutRawMessageContentCommand = (function (_super) {
7
7
  __extends(PutRawMessageContentCommand, _super);
@@ -20,8 +20,8 @@ var PutRawMessageContentCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: PutRawMessageContentRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: PutRawMessageContentResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: PutRawMessageContentRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: PutRawMessageContentResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,13 +1,5 @@
1
1
  import { __assign, __extends } from "tslib";
2
2
  import { WorkMailMessageFlowServiceException as __BaseException } from "./WorkMailMessageFlowServiceException";
3
- export var GetRawMessageContentRequest;
4
- (function (GetRawMessageContentRequest) {
5
- GetRawMessageContentRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
6
- })(GetRawMessageContentRequest || (GetRawMessageContentRequest = {}));
7
- export var GetRawMessageContentResponse;
8
- (function (GetRawMessageContentResponse) {
9
- GetRawMessageContentResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
10
- })(GetRawMessageContentResponse || (GetRawMessageContentResponse = {}));
11
3
  var ResourceNotFoundException = (function (_super) {
12
4
  __extends(ResourceNotFoundException, _super);
13
5
  function ResourceNotFoundException(opts) {
@@ -56,19 +48,9 @@ var MessageRejected = (function (_super) {
56
48
  return MessageRejected;
57
49
  }(__BaseException));
58
50
  export { MessageRejected };
59
- export var S3Reference;
60
- (function (S3Reference) {
61
- S3Reference.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
62
- })(S3Reference || (S3Reference = {}));
63
- export var RawMessageContent;
64
- (function (RawMessageContent) {
65
- RawMessageContent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
66
- })(RawMessageContent || (RawMessageContent = {}));
67
- export var PutRawMessageContentRequest;
68
- (function (PutRawMessageContentRequest) {
69
- PutRawMessageContentRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
70
- })(PutRawMessageContentRequest || (PutRawMessageContentRequest = {}));
71
- export var PutRawMessageContentResponse;
72
- (function (PutRawMessageContentResponse) {
73
- PutRawMessageContentResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
74
- })(PutRawMessageContentResponse || (PutRawMessageContentResponse = {}));
51
+ export var GetRawMessageContentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
52
+ export var GetRawMessageContentResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
53
+ export var S3ReferenceFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
54
+ export var RawMessageContentFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
55
+ export var PutRawMessageContentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
56
+ export var PutRawMessageContentResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -8,24 +8,12 @@ export interface GetRawMessageContentRequest {
8
8
  */
9
9
  messageId: string | undefined;
10
10
  }
11
- export declare namespace GetRawMessageContentRequest {
12
- /**
13
- * @internal
14
- */
15
- const filterSensitiveLog: (obj: GetRawMessageContentRequest) => any;
16
- }
17
11
  export interface GetRawMessageContentResponse {
18
12
  /**
19
13
  * <p>The raw content of the email message, in MIME format.</p>
20
14
  */
21
15
  messageContent: Readable | ReadableStream | Blob | undefined;
22
16
  }
23
- export declare namespace GetRawMessageContentResponse {
24
- /**
25
- * @internal
26
- */
27
- const filterSensitiveLog: (obj: GetRawMessageContentResponse) => any;
28
- }
29
17
  /**
30
18
  * <p>The requested email message is not found.</p>
31
19
  */
@@ -110,12 +98,6 @@ export interface S3Reference {
110
98
  */
111
99
  objectVersion?: string;
112
100
  }
113
- export declare namespace S3Reference {
114
- /**
115
- * @internal
116
- */
117
- const filterSensitiveLog: (obj: S3Reference) => any;
118
- }
119
101
  /**
120
102
  * <p>Provides the MIME content of the updated email message as an S3 object. All MIME content must meet the following criteria:</p>
121
103
  * <ul>
@@ -151,12 +133,6 @@ export interface RawMessageContent {
151
133
  */
152
134
  s3Reference: S3Reference | undefined;
153
135
  }
154
- export declare namespace RawMessageContent {
155
- /**
156
- * @internal
157
- */
158
- const filterSensitiveLog: (obj: RawMessageContent) => any;
159
- }
160
136
  export interface PutRawMessageContentRequest {
161
137
  /**
162
138
  * <p>The identifier of the email message being updated.</p>
@@ -167,17 +143,29 @@ export interface PutRawMessageContentRequest {
167
143
  */
168
144
  content: RawMessageContent | undefined;
169
145
  }
170
- export declare namespace PutRawMessageContentRequest {
171
- /**
172
- * @internal
173
- */
174
- const filterSensitiveLog: (obj: PutRawMessageContentRequest) => any;
175
- }
176
146
  export interface PutRawMessageContentResponse {
177
147
  }
178
- export declare namespace PutRawMessageContentResponse {
179
- /**
180
- * @internal
181
- */
182
- const filterSensitiveLog: (obj: PutRawMessageContentResponse) => any;
183
- }
148
+ /**
149
+ * @internal
150
+ */
151
+ export declare const GetRawMessageContentRequestFilterSensitiveLog: (obj: GetRawMessageContentRequest) => any;
152
+ /**
153
+ * @internal
154
+ */
155
+ export declare const GetRawMessageContentResponseFilterSensitiveLog: (obj: GetRawMessageContentResponse) => any;
156
+ /**
157
+ * @internal
158
+ */
159
+ export declare const S3ReferenceFilterSensitiveLog: (obj: S3Reference) => any;
160
+ /**
161
+ * @internal
162
+ */
163
+ export declare const RawMessageContentFilterSensitiveLog: (obj: RawMessageContent) => any;
164
+ /**
165
+ * @internal
166
+ */
167
+ export declare const PutRawMessageContentRequestFilterSensitiveLog: (obj: PutRawMessageContentRequest) => any;
168
+ /**
169
+ * @internal
170
+ */
171
+ export declare const PutRawMessageContentResponseFilterSensitiveLog: (obj: PutRawMessageContentResponse) => any;
@@ -6,18 +6,10 @@ export interface GetRawMessageContentRequest {
6
6
 
7
7
  messageId: string | undefined;
8
8
  }
9
- export declare namespace GetRawMessageContentRequest {
10
-
11
- const filterSensitiveLog: (obj: GetRawMessageContentRequest) => any;
12
- }
13
9
  export interface GetRawMessageContentResponse {
14
10
 
15
11
  messageContent: Readable | ReadableStream | Blob | undefined;
16
12
  }
17
- export declare namespace GetRawMessageContentResponse {
18
-
19
- const filterSensitiveLog: (obj: GetRawMessageContentResponse) => any;
20
- }
21
13
 
22
14
  export declare class ResourceNotFoundException extends __BaseException {
23
15
  readonly name: "ResourceNotFoundException";
@@ -55,32 +47,28 @@ export interface S3Reference {
55
47
 
56
48
  objectVersion?: string;
57
49
  }
58
- export declare namespace S3Reference {
59
-
60
- const filterSensitiveLog: (obj: S3Reference) => any;
61
- }
62
50
 
63
51
  export interface RawMessageContent {
64
52
 
65
53
  s3Reference: S3Reference | undefined;
66
54
  }
67
- export declare namespace RawMessageContent {
68
-
69
- const filterSensitiveLog: (obj: RawMessageContent) => any;
70
- }
71
55
  export interface PutRawMessageContentRequest {
72
56
 
73
57
  messageId: string | undefined;
74
58
 
75
59
  content: RawMessageContent | undefined;
76
60
  }
77
- export declare namespace PutRawMessageContentRequest {
78
-
79
- const filterSensitiveLog: (obj: PutRawMessageContentRequest) => any;
80
- }
81
61
  export interface PutRawMessageContentResponse {
82
62
  }
83
- export declare namespace PutRawMessageContentResponse {
84
-
85
- const filterSensitiveLog: (obj: PutRawMessageContentResponse) => any;
86
- }
63
+
64
+ export declare const GetRawMessageContentRequestFilterSensitiveLog: (obj: GetRawMessageContentRequest) => any;
65
+
66
+ export declare const GetRawMessageContentResponseFilterSensitiveLog: (obj: GetRawMessageContentResponse) => any;
67
+
68
+ export declare const S3ReferenceFilterSensitiveLog: (obj: S3Reference) => any;
69
+
70
+ export declare const RawMessageContentFilterSensitiveLog: (obj: RawMessageContent) => any;
71
+
72
+ export declare const PutRawMessageContentRequestFilterSensitiveLog: (obj: PutRawMessageContentRequest) => any;
73
+
74
+ export declare const PutRawMessageContentResponseFilterSensitiveLog: (obj: PutRawMessageContentResponse) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-workmailmessageflow",
3
3
  "description": "AWS SDK for JavaScript Workmailmessageflow Client for Node.js, Browser and React Native",
4
- "version": "3.131.0",
4
+ "version": "3.137.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,9 +18,9 @@
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.131.0",
21
+ "@aws-sdk/client-sts": "3.137.0",
22
22
  "@aws-sdk/config-resolver": "3.130.0",
23
- "@aws-sdk/credential-provider-node": "3.131.0",
23
+ "@aws-sdk/credential-provider-node": "3.137.0",
24
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",
@@ -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",