@aws-sdk/client-marketplace-catalog 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-marketplace-catalog
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
 
@@ -76,12 +76,11 @@ const serializeAws_restJson1ListChangeSetsCommand = async (input, context) => {
76
76
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/ListChangeSets";
77
77
  let body;
78
78
  body = JSON.stringify({
79
- ...(input.Catalog !== undefined && input.Catalog !== null && { Catalog: input.Catalog }),
80
- ...(input.FilterList !== undefined &&
81
- input.FilterList !== null && { FilterList: serializeAws_restJson1FilterList(input.FilterList, context) }),
82
- ...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
83
- ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
84
- ...(input.Sort !== undefined && input.Sort !== null && { Sort: serializeAws_restJson1Sort(input.Sort, context) }),
79
+ ...(input.Catalog != null && { Catalog: input.Catalog }),
80
+ ...(input.FilterList != null && { FilterList: serializeAws_restJson1FilterList(input.FilterList, context) }),
81
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
82
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
83
+ ...(input.Sort != null && { Sort: serializeAws_restJson1Sort(input.Sort, context) }),
85
84
  });
86
85
  return new protocol_http_1.HttpRequest({
87
86
  protocol,
@@ -102,13 +101,12 @@ const serializeAws_restJson1ListEntitiesCommand = async (input, context) => {
102
101
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/ListEntities";
103
102
  let body;
104
103
  body = JSON.stringify({
105
- ...(input.Catalog !== undefined && input.Catalog !== null && { Catalog: input.Catalog }),
106
- ...(input.EntityType !== undefined && input.EntityType !== null && { EntityType: input.EntityType }),
107
- ...(input.FilterList !== undefined &&
108
- input.FilterList !== null && { FilterList: serializeAws_restJson1FilterList(input.FilterList, context) }),
109
- ...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
110
- ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
111
- ...(input.Sort !== undefined && input.Sort !== null && { Sort: serializeAws_restJson1Sort(input.Sort, context) }),
104
+ ...(input.Catalog != null && { Catalog: input.Catalog }),
105
+ ...(input.EntityType != null && { EntityType: input.EntityType }),
106
+ ...(input.FilterList != null && { FilterList: serializeAws_restJson1FilterList(input.FilterList, context) }),
107
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
108
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
109
+ ...(input.Sort != null && { Sort: serializeAws_restJson1Sort(input.Sort, context) }),
112
110
  });
113
111
  return new protocol_http_1.HttpRequest({
114
112
  protocol,
@@ -129,12 +127,10 @@ const serializeAws_restJson1StartChangeSetCommand = async (input, context) => {
129
127
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/StartChangeSet";
130
128
  let body;
131
129
  body = JSON.stringify({
132
- ...(input.Catalog !== undefined && input.Catalog !== null && { Catalog: input.Catalog }),
133
- ...(input.ChangeSet !== undefined &&
134
- input.ChangeSet !== null && { ChangeSet: serializeAws_restJson1RequestedChangeList(input.ChangeSet, context) }),
135
- ...(input.ChangeSetName !== undefined && input.ChangeSetName !== null && { ChangeSetName: input.ChangeSetName }),
136
- ...(input.ClientRequestToken !== undefined &&
137
- input.ClientRequestToken !== null && { ClientRequestToken: input.ClientRequestToken }),
130
+ ...(input.Catalog != null && { Catalog: input.Catalog }),
131
+ ...(input.ChangeSet != null && { ChangeSet: serializeAws_restJson1RequestedChangeList(input.ChangeSet, context) }),
132
+ ...(input.ChangeSetName != null && { ChangeSetName: input.ChangeSetName }),
133
+ ...(input.ClientRequestToken != null && { ClientRequestToken: input.ClientRequestToken }),
138
134
  });
139
135
  return new protocol_http_1.HttpRequest({
140
136
  protocol,
@@ -618,24 +614,22 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
618
614
  };
619
615
  const serializeAws_restJson1Change = (input, context) => {
620
616
  return {
621
- ...(input.ChangeName !== undefined && input.ChangeName !== null && { ChangeName: input.ChangeName }),
622
- ...(input.ChangeType !== undefined && input.ChangeType !== null && { ChangeType: input.ChangeType }),
623
- ...(input.Details !== undefined && input.Details !== null && { Details: input.Details }),
624
- ...(input.Entity !== undefined &&
625
- input.Entity !== null && { Entity: serializeAws_restJson1Entity(input.Entity, context) }),
617
+ ...(input.ChangeName != null && { ChangeName: input.ChangeName }),
618
+ ...(input.ChangeType != null && { ChangeType: input.ChangeType }),
619
+ ...(input.Details != null && { Details: input.Details }),
620
+ ...(input.Entity != null && { Entity: serializeAws_restJson1Entity(input.Entity, context) }),
626
621
  };
627
622
  };
628
623
  const serializeAws_restJson1Entity = (input, context) => {
629
624
  return {
630
- ...(input.Identifier !== undefined && input.Identifier !== null && { Identifier: input.Identifier }),
631
- ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
625
+ ...(input.Identifier != null && { Identifier: input.Identifier }),
626
+ ...(input.Type != null && { Type: input.Type }),
632
627
  };
633
628
  };
634
629
  const serializeAws_restJson1Filter = (input, context) => {
635
630
  return {
636
- ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
637
- ...(input.ValueList !== undefined &&
638
- input.ValueList !== null && { ValueList: serializeAws_restJson1ValueList(input.ValueList, context) }),
631
+ ...(input.Name != null && { Name: input.Name }),
632
+ ...(input.ValueList != null && { ValueList: serializeAws_restJson1ValueList(input.ValueList, context) }),
639
633
  };
640
634
  };
641
635
  const serializeAws_restJson1FilterList = (input, context) => {
@@ -660,8 +654,8 @@ const serializeAws_restJson1RequestedChangeList = (input, context) => {
660
654
  };
661
655
  const serializeAws_restJson1Sort = (input, context) => {
662
656
  return {
663
- ...(input.SortBy !== undefined && input.SortBy !== null && { SortBy: input.SortBy }),
664
- ...(input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }),
657
+ ...(input.SortBy != null && { SortBy: input.SortBy }),
658
+ ...(input.SortOrder != null && { SortOrder: input.SortOrder }),
665
659
  };
666
660
  };
667
661
  const serializeAws_restJson1ValueList = (input, context) => {
@@ -702,9 +696,7 @@ const deserializeAws_restJson1ChangeSetSummaryListItem = (output, context) => {
702
696
  ChangeSetId: (0, smithy_client_1.expectString)(output.ChangeSetId),
703
697
  ChangeSetName: (0, smithy_client_1.expectString)(output.ChangeSetName),
704
698
  EndTime: (0, smithy_client_1.expectString)(output.EndTime),
705
- EntityIdList: output.EntityIdList !== undefined && output.EntityIdList !== null
706
- ? deserializeAws_restJson1ResourceIdList(output.EntityIdList, context)
707
- : undefined,
699
+ EntityIdList: output.EntityIdList != null ? deserializeAws_restJson1ResourceIdList(output.EntityIdList, context) : undefined,
708
700
  FailureCode: (0, smithy_client_1.expectString)(output.FailureCode),
709
701
  StartTime: (0, smithy_client_1.expectString)(output.StartTime),
710
702
  Status: (0, smithy_client_1.expectString)(output.Status),
@@ -715,10 +707,8 @@ const deserializeAws_restJson1ChangeSummary = (output, context) => {
715
707
  ChangeName: (0, smithy_client_1.expectString)(output.ChangeName),
716
708
  ChangeType: (0, smithy_client_1.expectString)(output.ChangeType),
717
709
  Details: (0, smithy_client_1.expectString)(output.Details),
718
- Entity: output.Entity !== undefined && output.Entity !== null
719
- ? deserializeAws_restJson1Entity(output.Entity, context)
720
- : undefined,
721
- ErrorDetailList: output.ErrorDetailList !== undefined && output.ErrorDetailList !== null
710
+ Entity: output.Entity != null ? deserializeAws_restJson1Entity(output.Entity, context) : undefined,
711
+ ErrorDetailList: output.ErrorDetailList != null
722
712
  ? deserializeAws_restJson1ErrorDetailList(output.ErrorDetailList, context)
723
713
  : undefined,
724
714
  };
@@ -83,8 +83,7 @@ export var serializeAws_restJson1ListChangeSetsCommand = function (input, contex
83
83
  "content-type": "application/json",
84
84
  };
85
85
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/ListChangeSets";
86
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Catalog !== undefined && input.Catalog !== null && { Catalog: input.Catalog })), (input.FilterList !== undefined &&
87
- input.FilterList !== null && { FilterList: serializeAws_restJson1FilterList(input.FilterList, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Sort !== undefined && input.Sort !== null && { Sort: serializeAws_restJson1Sort(input.Sort, context) })));
86
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Catalog != null && { Catalog: input.Catalog })), (input.FilterList != null && { FilterList: serializeAws_restJson1FilterList(input.FilterList, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.Sort != null && { Sort: serializeAws_restJson1Sort(input.Sort, context) })));
88
87
  return [2, new __HttpRequest({
89
88
  protocol: protocol,
90
89
  hostname: hostname,
@@ -108,8 +107,7 @@ export var serializeAws_restJson1ListEntitiesCommand = function (input, context)
108
107
  "content-type": "application/json",
109
108
  };
110
109
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/ListEntities";
111
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Catalog !== undefined && input.Catalog !== null && { Catalog: input.Catalog })), (input.EntityType !== undefined && input.EntityType !== null && { EntityType: input.EntityType })), (input.FilterList !== undefined &&
112
- input.FilterList !== null && { FilterList: serializeAws_restJson1FilterList(input.FilterList, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Sort !== undefined && input.Sort !== null && { Sort: serializeAws_restJson1Sort(input.Sort, context) })));
110
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Catalog != null && { Catalog: input.Catalog })), (input.EntityType != null && { EntityType: input.EntityType })), (input.FilterList != null && { FilterList: serializeAws_restJson1FilterList(input.FilterList, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.Sort != null && { Sort: serializeAws_restJson1Sort(input.Sort, context) })));
113
111
  return [2, new __HttpRequest({
114
112
  protocol: protocol,
115
113
  hostname: hostname,
@@ -133,9 +131,7 @@ export var serializeAws_restJson1StartChangeSetCommand = function (input, contex
133
131
  "content-type": "application/json",
134
132
  };
135
133
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/StartChangeSet";
136
- body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.Catalog !== undefined && input.Catalog !== null && { Catalog: input.Catalog })), (input.ChangeSet !== undefined &&
137
- input.ChangeSet !== null && { ChangeSet: serializeAws_restJson1RequestedChangeList(input.ChangeSet, context) })), (input.ChangeSetName !== undefined && input.ChangeSetName !== null && { ChangeSetName: input.ChangeSetName })), (input.ClientRequestToken !== undefined &&
138
- input.ClientRequestToken !== null && { ClientRequestToken: input.ClientRequestToken })));
134
+ body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.Catalog != null && { Catalog: input.Catalog })), (input.ChangeSet != null && { ChangeSet: serializeAws_restJson1RequestedChangeList(input.ChangeSet, context) })), (input.ChangeSetName != null && { ChangeSetName: input.ChangeSetName })), (input.ClientRequestToken != null && { ClientRequestToken: input.ClientRequestToken })));
139
135
  return [2, new __HttpRequest({
140
136
  protocol: protocol,
141
137
  hostname: hostname,
@@ -759,15 +755,13 @@ var deserializeAws_restJson1ValidationExceptionResponse = function (parsedOutput
759
755
  });
760
756
  }); };
761
757
  var serializeAws_restJson1Change = function (input, context) {
762
- return __assign(__assign(__assign(__assign({}, (input.ChangeName !== undefined && input.ChangeName !== null && { ChangeName: input.ChangeName })), (input.ChangeType !== undefined && input.ChangeType !== null && { ChangeType: input.ChangeType })), (input.Details !== undefined && input.Details !== null && { Details: input.Details })), (input.Entity !== undefined &&
763
- input.Entity !== null && { Entity: serializeAws_restJson1Entity(input.Entity, context) }));
758
+ return __assign(__assign(__assign(__assign({}, (input.ChangeName != null && { ChangeName: input.ChangeName })), (input.ChangeType != null && { ChangeType: input.ChangeType })), (input.Details != null && { Details: input.Details })), (input.Entity != null && { Entity: serializeAws_restJson1Entity(input.Entity, context) }));
764
759
  };
765
760
  var serializeAws_restJson1Entity = function (input, context) {
766
- return __assign(__assign({}, (input.Identifier !== undefined && input.Identifier !== null && { Identifier: input.Identifier })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
761
+ return __assign(__assign({}, (input.Identifier != null && { Identifier: input.Identifier })), (input.Type != null && { Type: input.Type }));
767
762
  };
768
763
  var serializeAws_restJson1Filter = function (input, context) {
769
- return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.ValueList !== undefined &&
770
- input.ValueList !== null && { ValueList: serializeAws_restJson1ValueList(input.ValueList, context) }));
764
+ return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.ValueList != null && { ValueList: serializeAws_restJson1ValueList(input.ValueList, context) }));
771
765
  };
772
766
  var serializeAws_restJson1FilterList = function (input, context) {
773
767
  return input
@@ -790,7 +784,7 @@ var serializeAws_restJson1RequestedChangeList = function (input, context) {
790
784
  });
791
785
  };
792
786
  var serializeAws_restJson1Sort = function (input, context) {
793
- return __assign(__assign({}, (input.SortBy !== undefined && input.SortBy !== null && { SortBy: input.SortBy })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }));
787
+ return __assign(__assign({}, (input.SortBy != null && { SortBy: input.SortBy })), (input.SortOrder != null && { SortOrder: input.SortOrder }));
794
788
  };
795
789
  var serializeAws_restJson1ValueList = function (input, context) {
796
790
  return input
@@ -830,9 +824,7 @@ var deserializeAws_restJson1ChangeSetSummaryListItem = function (output, context
830
824
  ChangeSetId: __expectString(output.ChangeSetId),
831
825
  ChangeSetName: __expectString(output.ChangeSetName),
832
826
  EndTime: __expectString(output.EndTime),
833
- EntityIdList: output.EntityIdList !== undefined && output.EntityIdList !== null
834
- ? deserializeAws_restJson1ResourceIdList(output.EntityIdList, context)
835
- : undefined,
827
+ EntityIdList: output.EntityIdList != null ? deserializeAws_restJson1ResourceIdList(output.EntityIdList, context) : undefined,
836
828
  FailureCode: __expectString(output.FailureCode),
837
829
  StartTime: __expectString(output.StartTime),
838
830
  Status: __expectString(output.Status),
@@ -843,10 +835,8 @@ var deserializeAws_restJson1ChangeSummary = function (output, context) {
843
835
  ChangeName: __expectString(output.ChangeName),
844
836
  ChangeType: __expectString(output.ChangeType),
845
837
  Details: __expectString(output.Details),
846
- Entity: output.Entity !== undefined && output.Entity !== null
847
- ? deserializeAws_restJson1Entity(output.Entity, context)
848
- : undefined,
849
- ErrorDetailList: output.ErrorDetailList !== undefined && output.ErrorDetailList !== null
838
+ Entity: output.Entity != null ? deserializeAws_restJson1Entity(output.Entity, context) : undefined,
839
+ ErrorDetailList: output.ErrorDetailList != null
850
840
  ? deserializeAws_restJson1ErrorDetailList(output.ErrorDetailList, context)
851
841
  : undefined,
852
842
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-marketplace-catalog",
3
3
  "description": "AWS SDK for JavaScript Marketplace Catalog 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"