@aws-sdk/client-workmailmessageflow 3.121.0 → 3.127.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,14 @@
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.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-workmailmessageflow
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
7
15
 
8
16
 
@@ -49,8 +49,7 @@ const serializeAws_restJson1PutRawMessageContentCommand = async (input, context)
49
49
  }
50
50
  let body;
51
51
  body = JSON.stringify({
52
- ...(input.content !== undefined &&
53
- input.content !== null && { content: serializeAws_restJson1RawMessageContent(input.content, context) }),
52
+ ...(input.content != null && { content: serializeAws_restJson1RawMessageContent(input.content, context) }),
54
53
  });
55
54
  return new protocol_http_1.HttpRequest({
56
55
  protocol,
@@ -192,15 +191,14 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
192
191
  };
193
192
  const serializeAws_restJson1RawMessageContent = (input, context) => {
194
193
  return {
195
- ...(input.s3Reference !== undefined &&
196
- input.s3Reference !== null && { s3Reference: serializeAws_restJson1S3Reference(input.s3Reference, context) }),
194
+ ...(input.s3Reference != null && { s3Reference: serializeAws_restJson1S3Reference(input.s3Reference, context) }),
197
195
  };
198
196
  };
199
197
  const serializeAws_restJson1S3Reference = (input, context) => {
200
198
  return {
201
- ...(input.bucket !== undefined && input.bucket !== null && { bucket: input.bucket }),
202
- ...(input.key !== undefined && input.key !== null && { key: input.key }),
203
- ...(input.objectVersion !== undefined && input.objectVersion !== null && { objectVersion: input.objectVersion }),
199
+ ...(input.bucket != null && { bucket: input.bucket }),
200
+ ...(input.key != null && { key: input.key }),
201
+ ...(input.objectVersion != null && { objectVersion: input.objectVersion }),
204
202
  };
205
203
  };
206
204
  const deserializeMetadata = (output) => {
@@ -55,8 +55,7 @@ export var serializeAws_restJson1PutRawMessageContentCommand = function (input,
55
55
  else {
56
56
  throw new Error("No value provided for input HTTP label: messageId.");
57
57
  }
58
- body = JSON.stringify(__assign({}, (input.content !== undefined &&
59
- input.content !== null && { content: serializeAws_restJson1RawMessageContent(input.content, context) })));
58
+ body = JSON.stringify(__assign({}, (input.content != null && { content: serializeAws_restJson1RawMessageContent(input.content, context) })));
60
59
  return [2, new __HttpRequest({
61
60
  protocol: protocol,
62
61
  hostname: hostname,
@@ -229,11 +228,10 @@ var deserializeAws_restJson1ResourceNotFoundExceptionResponse = function (parsed
229
228
  });
230
229
  }); };
231
230
  var serializeAws_restJson1RawMessageContent = function (input, context) {
232
- return __assign({}, (input.s3Reference !== undefined &&
233
- input.s3Reference !== null && { s3Reference: serializeAws_restJson1S3Reference(input.s3Reference, context) }));
231
+ return __assign({}, (input.s3Reference != null && { s3Reference: serializeAws_restJson1S3Reference(input.s3Reference, context) }));
234
232
  };
235
233
  var serializeAws_restJson1S3Reference = function (input, context) {
236
- return __assign(__assign(__assign({}, (input.bucket !== undefined && input.bucket !== null && { bucket: input.bucket })), (input.key !== undefined && input.key !== null && { key: input.key })), (input.objectVersion !== undefined && input.objectVersion !== null && { objectVersion: input.objectVersion }));
234
+ return __assign(__assign(__assign({}, (input.bucket != null && { bucket: input.bucket })), (input.key != null && { key: input.key })), (input.objectVersion != null && { objectVersion: input.objectVersion }));
237
235
  };
238
236
  var deserializeMetadata = function (output) {
239
237
  var _a;
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.121.0",
4
+ "version": "3.127.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,35 +18,35 @@
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.121.0",
22
- "@aws-sdk/config-resolver": "3.110.0",
23
- "@aws-sdk/credential-provider-node": "3.121.0",
24
- "@aws-sdk/fetch-http-handler": "3.110.0",
25
- "@aws-sdk/hash-node": "3.110.0",
26
- "@aws-sdk/invalid-dependency": "3.110.0",
27
- "@aws-sdk/middleware-content-length": "3.110.0",
28
- "@aws-sdk/middleware-host-header": "3.110.0",
29
- "@aws-sdk/middleware-logger": "3.110.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
- "@aws-sdk/middleware-retry": "3.118.1",
32
- "@aws-sdk/middleware-serde": "3.110.0",
33
- "@aws-sdk/middleware-signing": "3.110.0",
34
- "@aws-sdk/middleware-stack": "3.110.0",
35
- "@aws-sdk/middleware-user-agent": "3.110.0",
36
- "@aws-sdk/node-config-provider": "3.110.0",
37
- "@aws-sdk/node-http-handler": "3.118.1",
38
- "@aws-sdk/protocol-http": "3.110.0",
39
- "@aws-sdk/smithy-client": "3.110.0",
40
- "@aws-sdk/types": "3.110.0",
41
- "@aws-sdk/url-parser": "3.110.0",
21
+ "@aws-sdk/client-sts": "3.127.0",
22
+ "@aws-sdk/config-resolver": "3.127.0",
23
+ "@aws-sdk/credential-provider-node": "3.127.0",
24
+ "@aws-sdk/fetch-http-handler": "3.127.0",
25
+ "@aws-sdk/hash-node": "3.127.0",
26
+ "@aws-sdk/invalid-dependency": "3.127.0",
27
+ "@aws-sdk/middleware-content-length": "3.127.0",
28
+ "@aws-sdk/middleware-host-header": "3.127.0",
29
+ "@aws-sdk/middleware-logger": "3.127.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.127.0",
31
+ "@aws-sdk/middleware-retry": "3.127.0",
32
+ "@aws-sdk/middleware-serde": "3.127.0",
33
+ "@aws-sdk/middleware-signing": "3.127.0",
34
+ "@aws-sdk/middleware-stack": "3.127.0",
35
+ "@aws-sdk/middleware-user-agent": "3.127.0",
36
+ "@aws-sdk/node-config-provider": "3.127.0",
37
+ "@aws-sdk/node-http-handler": "3.127.0",
38
+ "@aws-sdk/protocol-http": "3.127.0",
39
+ "@aws-sdk/smithy-client": "3.127.0",
40
+ "@aws-sdk/types": "3.127.0",
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.110.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.110.0",
48
- "@aws-sdk/util-user-agent-browser": "3.110.0",
49
- "@aws-sdk/util-user-agent-node": "3.118.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.127.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.127.0",
49
+ "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",
51
51
  "@aws-sdk/util-utf8-node": "3.109.0",
52
52
  "tslib": "^2.3.1"