@aws-sdk/client-appintegrations 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-appintegrations
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
 
@@ -16,15 +16,14 @@ const serializeAws_restJson1CreateDataIntegrationCommand = async (input, context
16
16
  let body;
17
17
  body = JSON.stringify({
18
18
  ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
19
- ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
20
- ...(input.KmsKey !== undefined && input.KmsKey !== null && { KmsKey: input.KmsKey }),
21
- ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
22
- ...(input.ScheduleConfig !== undefined &&
23
- input.ScheduleConfig !== null && {
19
+ ...(input.Description != null && { Description: input.Description }),
20
+ ...(input.KmsKey != null && { KmsKey: input.KmsKey }),
21
+ ...(input.Name != null && { Name: input.Name }),
22
+ ...(input.ScheduleConfig != null && {
24
23
  ScheduleConfig: serializeAws_restJson1ScheduleConfiguration(input.ScheduleConfig, context),
25
24
  }),
26
- ...(input.SourceURI !== undefined && input.SourceURI !== null && { SourceURI: input.SourceURI }),
27
- ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
25
+ ...(input.SourceURI != null && { SourceURI: input.SourceURI }),
26
+ ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
28
27
  });
29
28
  return new protocol_http_1.HttpRequest({
30
29
  protocol,
@@ -47,13 +46,11 @@ const serializeAws_restJson1CreateEventIntegrationCommand = async (input, contex
47
46
  let body;
48
47
  body = JSON.stringify({
49
48
  ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
50
- ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
51
- ...(input.EventBridgeBus !== undefined &&
52
- input.EventBridgeBus !== null && { EventBridgeBus: input.EventBridgeBus }),
53
- ...(input.EventFilter !== undefined &&
54
- input.EventFilter !== null && { EventFilter: serializeAws_restJson1EventFilter(input.EventFilter, context) }),
55
- ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
56
- ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
49
+ ...(input.Description != null && { Description: input.Description }),
50
+ ...(input.EventBridgeBus != null && { EventBridgeBus: input.EventBridgeBus }),
51
+ ...(input.EventFilter != null && { EventFilter: serializeAws_restJson1EventFilter(input.EventFilter, context) }),
52
+ ...(input.Name != null && { Name: input.Name }),
53
+ ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
57
54
  });
58
55
  return new protocol_http_1.HttpRequest({
59
56
  protocol,
@@ -321,7 +318,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
321
318
  }
322
319
  let body;
323
320
  body = JSON.stringify({
324
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
321
+ ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
325
322
  });
326
323
  return new protocol_http_1.HttpRequest({
327
324
  protocol,
@@ -382,8 +379,8 @@ const serializeAws_restJson1UpdateDataIntegrationCommand = async (input, context
382
379
  }
383
380
  let body;
384
381
  body = JSON.stringify({
385
- ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
386
- ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
382
+ ...(input.Description != null && { Description: input.Description }),
383
+ ...(input.Name != null && { Name: input.Name }),
387
384
  });
388
385
  return new protocol_http_1.HttpRequest({
389
386
  protocol,
@@ -414,7 +411,7 @@ const serializeAws_restJson1UpdateEventIntegrationCommand = async (input, contex
414
411
  }
415
412
  let body;
416
413
  body = JSON.stringify({
417
- ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
414
+ ...(input.Description != null && { Description: input.Description }),
418
415
  });
419
416
  return new protocol_http_1.HttpRequest({
420
417
  protocol,
@@ -1326,16 +1323,14 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
1326
1323
  };
1327
1324
  const serializeAws_restJson1EventFilter = (input, context) => {
1328
1325
  return {
1329
- ...(input.Source !== undefined && input.Source !== null && { Source: input.Source }),
1326
+ ...(input.Source != null && { Source: input.Source }),
1330
1327
  };
1331
1328
  };
1332
1329
  const serializeAws_restJson1ScheduleConfiguration = (input, context) => {
1333
1330
  return {
1334
- ...(input.FirstExecutionFrom !== undefined &&
1335
- input.FirstExecutionFrom !== null && { FirstExecutionFrom: input.FirstExecutionFrom }),
1336
- ...(input.Object !== undefined && input.Object !== null && { Object: input.Object }),
1337
- ...(input.ScheduleExpression !== undefined &&
1338
- input.ScheduleExpression !== null && { ScheduleExpression: input.ScheduleExpression }),
1331
+ ...(input.FirstExecutionFrom != null && { FirstExecutionFrom: input.FirstExecutionFrom }),
1332
+ ...(input.Object != null && { Object: input.Object }),
1333
+ ...(input.ScheduleExpression != null && { ScheduleExpression: input.ScheduleExpression }),
1339
1334
  };
1340
1335
  };
1341
1336
  const serializeAws_restJson1TagMap = (input, context) => {
@@ -1405,19 +1400,15 @@ const deserializeAws_restJson1EventIntegration = (output, context) => {
1405
1400
  return {
1406
1401
  Description: (0, smithy_client_1.expectString)(output.Description),
1407
1402
  EventBridgeBus: (0, smithy_client_1.expectString)(output.EventBridgeBus),
1408
- EventFilter: output.EventFilter !== undefined && output.EventFilter !== null
1409
- ? deserializeAws_restJson1EventFilter(output.EventFilter, context)
1410
- : undefined,
1403
+ EventFilter: output.EventFilter != null ? deserializeAws_restJson1EventFilter(output.EventFilter, context) : undefined,
1411
1404
  EventIntegrationArn: (0, smithy_client_1.expectString)(output.EventIntegrationArn),
1412
1405
  Name: (0, smithy_client_1.expectString)(output.Name),
1413
- Tags: output.Tags !== undefined && output.Tags !== null
1414
- ? deserializeAws_restJson1TagMap(output.Tags, context)
1415
- : undefined,
1406
+ Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
1416
1407
  };
1417
1408
  };
1418
1409
  const deserializeAws_restJson1EventIntegrationAssociation = (output, context) => {
1419
1410
  return {
1420
- ClientAssociationMetadata: output.ClientAssociationMetadata !== undefined && output.ClientAssociationMetadata !== null
1411
+ ClientAssociationMetadata: output.ClientAssociationMetadata != null
1421
1412
  ? deserializeAws_restJson1ClientAssociationMetadata(output.ClientAssociationMetadata, context)
1422
1413
  : undefined,
1423
1414
  ClientId: (0, smithy_client_1.expectString)(output.ClientId),
@@ -16,10 +16,9 @@ export var serializeAws_restJson1CreateDataIntegrationCommand = function (input,
16
16
  "content-type": "application/json",
17
17
  };
18
18
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/dataIntegrations";
19
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.KmsKey !== undefined && input.KmsKey !== null && { KmsKey: input.KmsKey })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.ScheduleConfig !== undefined &&
20
- input.ScheduleConfig !== null && {
19
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Description != null && { Description: input.Description })), (input.KmsKey != null && { KmsKey: input.KmsKey })), (input.Name != null && { Name: input.Name })), (input.ScheduleConfig != null && {
21
20
  ScheduleConfig: serializeAws_restJson1ScheduleConfiguration(input.ScheduleConfig, context),
22
- })), (input.SourceURI !== undefined && input.SourceURI !== null && { SourceURI: input.SourceURI })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
21
+ })), (input.SourceURI != null && { SourceURI: input.SourceURI })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
23
22
  return [2, new __HttpRequest({
24
23
  protocol: protocol,
25
24
  hostname: hostname,
@@ -44,9 +43,7 @@ export var serializeAws_restJson1CreateEventIntegrationCommand = function (input
44
43
  "content-type": "application/json",
45
44
  };
46
45
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/eventIntegrations";
47
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.EventBridgeBus !== undefined &&
48
- input.EventBridgeBus !== null && { EventBridgeBus: input.EventBridgeBus })), (input.EventFilter !== undefined &&
49
- input.EventFilter !== null && { EventFilter: serializeAws_restJson1EventFilter(input.EventFilter, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
46
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Description != null && { Description: input.Description })), (input.EventBridgeBus != null && { EventBridgeBus: input.EventBridgeBus })), (input.EventFilter != null && { EventFilter: serializeAws_restJson1EventFilter(input.EventFilter, context) })), (input.Name != null && { Name: input.Name })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
50
47
  return [2, new __HttpRequest({
51
48
  protocol: protocol,
52
49
  hostname: hostname,
@@ -350,7 +347,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
350
347
  else {
351
348
  throw new Error("No value provided for input HTTP label: resourceArn.");
352
349
  }
353
- body = JSON.stringify(__assign({}, (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
350
+ body = JSON.stringify(__assign({}, (input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
354
351
  return [2, new __HttpRequest({
355
352
  protocol: protocol,
356
353
  hostname: hostname,
@@ -417,7 +414,7 @@ export var serializeAws_restJson1UpdateDataIntegrationCommand = function (input,
417
414
  else {
418
415
  throw new Error("No value provided for input HTTP label: Identifier.");
419
416
  }
420
- body = JSON.stringify(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })));
417
+ body = JSON.stringify(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })));
421
418
  return [2, new __HttpRequest({
422
419
  protocol: protocol,
423
420
  hostname: hostname,
@@ -451,7 +448,7 @@ export var serializeAws_restJson1UpdateEventIntegrationCommand = function (input
451
448
  else {
452
449
  throw new Error("No value provided for input HTTP label: Name.");
453
450
  }
454
- body = JSON.stringify(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })));
451
+ body = JSON.stringify(__assign({}, (input.Description != null && { Description: input.Description })));
455
452
  return [2, new __HttpRequest({
456
453
  protocol: protocol,
457
454
  hostname: hostname,
@@ -1692,12 +1689,10 @@ var deserializeAws_restJson1ThrottlingExceptionResponse = function (parsedOutput
1692
1689
  });
1693
1690
  }); };
1694
1691
  var serializeAws_restJson1EventFilter = function (input, context) {
1695
- return __assign({}, (input.Source !== undefined && input.Source !== null && { Source: input.Source }));
1692
+ return __assign({}, (input.Source != null && { Source: input.Source }));
1696
1693
  };
1697
1694
  var serializeAws_restJson1ScheduleConfiguration = function (input, context) {
1698
- return __assign(__assign(__assign({}, (input.FirstExecutionFrom !== undefined &&
1699
- input.FirstExecutionFrom !== null && { FirstExecutionFrom: input.FirstExecutionFrom })), (input.Object !== undefined && input.Object !== null && { Object: input.Object })), (input.ScheduleExpression !== undefined &&
1700
- input.ScheduleExpression !== null && { ScheduleExpression: input.ScheduleExpression }));
1695
+ return __assign(__assign(__assign({}, (input.FirstExecutionFrom != null && { FirstExecutionFrom: input.FirstExecutionFrom })), (input.Object != null && { Object: input.Object })), (input.ScheduleExpression != null && { ScheduleExpression: input.ScheduleExpression }));
1701
1696
  };
1702
1697
  var serializeAws_restJson1TagMap = function (input, context) {
1703
1698
  return Object.entries(input).reduce(function (acc, _a) {
@@ -1764,19 +1759,15 @@ var deserializeAws_restJson1EventIntegration = function (output, context) {
1764
1759
  return {
1765
1760
  Description: __expectString(output.Description),
1766
1761
  EventBridgeBus: __expectString(output.EventBridgeBus),
1767
- EventFilter: output.EventFilter !== undefined && output.EventFilter !== null
1768
- ? deserializeAws_restJson1EventFilter(output.EventFilter, context)
1769
- : undefined,
1762
+ EventFilter: output.EventFilter != null ? deserializeAws_restJson1EventFilter(output.EventFilter, context) : undefined,
1770
1763
  EventIntegrationArn: __expectString(output.EventIntegrationArn),
1771
1764
  Name: __expectString(output.Name),
1772
- Tags: output.Tags !== undefined && output.Tags !== null
1773
- ? deserializeAws_restJson1TagMap(output.Tags, context)
1774
- : undefined,
1765
+ Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
1775
1766
  };
1776
1767
  };
1777
1768
  var deserializeAws_restJson1EventIntegrationAssociation = function (output, context) {
1778
1769
  return {
1779
- ClientAssociationMetadata: output.ClientAssociationMetadata !== undefined && output.ClientAssociationMetadata !== null
1770
+ ClientAssociationMetadata: output.ClientAssociationMetadata != null
1780
1771
  ? deserializeAws_restJson1ClientAssociationMetadata(output.ClientAssociationMetadata, context)
1781
1772
  : undefined,
1782
1773
  ClientId: __expectString(output.ClientId),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appintegrations",
3
3
  "description": "AWS SDK for JavaScript Appintegrations 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",