@aws-sdk/client-marketplace-catalog 3.758.0 → 3.772.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.
Files changed (2) hide show
  1. package/dist-cjs/index.js +31 -40
  2. package/package.json +3 -3
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
25
  AmiProductSortBy: () => AmiProductSortBy,
26
26
  AmiProductVisibilityString: () => AmiProductVisibilityString,
@@ -69,7 +69,7 @@ __export(src_exports, {
69
69
  paginateListChangeSets: () => paginateListChangeSets,
70
70
  paginateListEntities: () => paginateListEntities
71
71
  });
72
- module.exports = __toCommonJS(src_exports);
72
+ module.exports = __toCommonJS(index_exports);
73
73
 
74
74
  // src/MarketplaceCatalogClient.ts
75
75
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -196,9 +196,9 @@ var MarketplaceCatalogClient = class extends import_smithy_client.Client {
196
196
  this.middlewareStack.use(
197
197
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
198
198
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultMarketplaceCatalogHttpAuthSchemeParametersProvider,
199
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
199
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
200
200
  "aws.auth#sigv4": config.credentials
201
- })
201
+ }), "identityProviderConfigProvider")
202
202
  })
203
203
  );
204
204
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -451,14 +451,10 @@ var SaaSProductVisibilityString = {
451
451
  var EntityTypeFilters;
452
452
  ((EntityTypeFilters3) => {
453
453
  EntityTypeFilters3.visit = /* @__PURE__ */ __name((value, visitor) => {
454
- if (value.DataProductFilters !== void 0)
455
- return visitor.DataProductFilters(value.DataProductFilters);
456
- if (value.SaaSProductFilters !== void 0)
457
- return visitor.SaaSProductFilters(value.SaaSProductFilters);
458
- if (value.AmiProductFilters !== void 0)
459
- return visitor.AmiProductFilters(value.AmiProductFilters);
460
- if (value.OfferFilters !== void 0)
461
- return visitor.OfferFilters(value.OfferFilters);
454
+ if (value.DataProductFilters !== void 0) return visitor.DataProductFilters(value.DataProductFilters);
455
+ if (value.SaaSProductFilters !== void 0) return visitor.SaaSProductFilters(value.SaaSProductFilters);
456
+ if (value.AmiProductFilters !== void 0) return visitor.AmiProductFilters(value.AmiProductFilters);
457
+ if (value.OfferFilters !== void 0) return visitor.OfferFilters(value.OfferFilters);
462
458
  if (value.ContainerProductFilters !== void 0)
463
459
  return visitor.ContainerProductFilters(value.ContainerProductFilters);
464
460
  if (value.ResaleAuthorizationFilters !== void 0)
@@ -514,16 +510,11 @@ var SaaSProductSortBy = {
514
510
  var EntityTypeSort;
515
511
  ((EntityTypeSort3) => {
516
512
  EntityTypeSort3.visit = /* @__PURE__ */ __name((value, visitor) => {
517
- if (value.DataProductSort !== void 0)
518
- return visitor.DataProductSort(value.DataProductSort);
519
- if (value.SaaSProductSort !== void 0)
520
- return visitor.SaaSProductSort(value.SaaSProductSort);
521
- if (value.AmiProductSort !== void 0)
522
- return visitor.AmiProductSort(value.AmiProductSort);
523
- if (value.OfferSort !== void 0)
524
- return visitor.OfferSort(value.OfferSort);
525
- if (value.ContainerProductSort !== void 0)
526
- return visitor.ContainerProductSort(value.ContainerProductSort);
513
+ if (value.DataProductSort !== void 0) return visitor.DataProductSort(value.DataProductSort);
514
+ if (value.SaaSProductSort !== void 0) return visitor.SaaSProductSort(value.SaaSProductSort);
515
+ if (value.AmiProductSort !== void 0) return visitor.AmiProductSort(value.AmiProductSort);
516
+ if (value.OfferSort !== void 0) return visitor.OfferSort(value.OfferSort);
517
+ if (value.ContainerProductSort !== void 0) return visitor.ContainerProductSort(value.ContainerProductSort);
527
518
  if (value.ResaleAuthorizationSort !== void 0)
528
519
  return visitor.ResaleAuthorizationSort(value.ResaleAuthorizationSort);
529
520
  return visitor._(value.$unknown[0], value.$unknown[1]);
@@ -564,7 +555,7 @@ var se_BatchDescribeEntitiesCommand = /* @__PURE__ */ __name(async (input, conte
564
555
  let body;
565
556
  body = JSON.stringify(
566
557
  (0, import_smithy_client.take)(input, {
567
- EntityRequestList: (_) => (0, import_smithy_client._json)(_)
558
+ EntityRequestList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "EntityRequestList")
568
559
  })
569
560
  );
570
561
  b.m("POST").h(headers).b(body);
@@ -638,10 +629,10 @@ var se_ListChangeSetsCommand = /* @__PURE__ */ __name(async (input, context) =>
638
629
  body = JSON.stringify(
639
630
  (0, import_smithy_client.take)(input, {
640
631
  Catalog: [],
641
- FilterList: (_) => (0, import_smithy_client._json)(_),
632
+ FilterList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "FilterList"),
642
633
  MaxResults: [],
643
634
  NextToken: [],
644
- Sort: (_) => (0, import_smithy_client._json)(_)
635
+ Sort: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Sort")
645
636
  })
646
637
  );
647
638
  b.m("POST").h(headers).b(body);
@@ -658,13 +649,13 @@ var se_ListEntitiesCommand = /* @__PURE__ */ __name(async (input, context) => {
658
649
  (0, import_smithy_client.take)(input, {
659
650
  Catalog: [],
660
651
  EntityType: [],
661
- EntityTypeFilters: (_) => (0, import_smithy_client._json)(_),
662
- EntityTypeSort: (_) => (0, import_smithy_client._json)(_),
663
- FilterList: (_) => (0, import_smithy_client._json)(_),
652
+ EntityTypeFilters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "EntityTypeFilters"),
653
+ EntityTypeSort: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "EntityTypeSort"),
654
+ FilterList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "FilterList"),
664
655
  MaxResults: [],
665
656
  NextToken: [],
666
657
  OwnershipType: [],
667
- Sort: (_) => (0, import_smithy_client._json)(_)
658
+ Sort: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Sort")
668
659
  })
669
660
  );
670
661
  b.m("POST").h(headers).b(body);
@@ -711,9 +702,9 @@ var se_StartChangeSetCommand = /* @__PURE__ */ __name(async (input, context) =>
711
702
  body = JSON.stringify(
712
703
  (0, import_smithy_client.take)(input, {
713
704
  Catalog: [],
714
- ChangeSet: (_) => se_RequestedChangeList(_, context),
705
+ ChangeSet: /* @__PURE__ */ __name((_) => se_RequestedChangeList(_, context), "ChangeSet"),
715
706
  ChangeSetName: [],
716
- ChangeSetTags: (_) => (0, import_smithy_client._json)(_),
707
+ ChangeSetTags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ChangeSetTags"),
717
708
  ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
718
709
  Intent: []
719
710
  })
@@ -731,7 +722,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
731
722
  body = JSON.stringify(
732
723
  (0, import_smithy_client.take)(input, {
733
724
  ResourceArn: [],
734
- Tags: (_) => (0, import_smithy_client._json)(_)
725
+ Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
735
726
  })
736
727
  );
737
728
  b.m("POST").h(headers).b(body);
@@ -747,7 +738,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
747
738
  body = JSON.stringify(
748
739
  (0, import_smithy_client.take)(input, {
749
740
  ResourceArn: [],
750
- TagKeys: (_) => (0, import_smithy_client._json)(_)
741
+ TagKeys: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TagKeys")
751
742
  })
752
743
  );
753
744
  b.m("POST").h(headers).b(body);
@@ -762,7 +753,7 @@ var de_BatchDescribeEntitiesCommand = /* @__PURE__ */ __name(async (output, cont
762
753
  });
763
754
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
764
755
  const doc = (0, import_smithy_client.take)(data, {
765
- EntityDetails: (_) => de_EntityDetails(_, context),
756
+ EntityDetails: /* @__PURE__ */ __name((_) => de_EntityDetails(_, context), "EntityDetails"),
766
757
  Errors: import_smithy_client._json
767
758
  });
768
759
  Object.assign(contents, doc);
@@ -802,7 +793,7 @@ var de_DescribeChangeSetCommand = /* @__PURE__ */ __name(async (output, context)
802
793
  });
803
794
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
804
795
  const doc = (0, import_smithy_client.take)(data, {
805
- ChangeSet: (_) => de_ChangeSetDescription(_, context),
796
+ ChangeSet: /* @__PURE__ */ __name((_) => de_ChangeSetDescription(_, context), "ChangeSet"),
806
797
  ChangeSetArn: import_smithy_client.expectString,
807
798
  ChangeSetId: import_smithy_client.expectString,
808
799
  ChangeSetName: import_smithy_client.expectString,
@@ -826,7 +817,7 @@ var de_DescribeEntityCommand = /* @__PURE__ */ __name(async (output, context) =>
826
817
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
827
818
  const doc = (0, import_smithy_client.take)(data, {
828
819
  Details: import_smithy_client.expectString,
829
- DetailsDocument: (_) => de_JsonDocumentType(_, context),
820
+ DetailsDocument: /* @__PURE__ */ __name((_) => de_JsonDocumentType(_, context), "DetailsDocument"),
830
821
  EntityArn: import_smithy_client.expectString,
831
822
  EntityIdentifier: import_smithy_client.expectString,
832
823
  EntityType: import_smithy_client.expectString,
@@ -1089,7 +1080,7 @@ var se_Change = /* @__PURE__ */ __name((input, context) => {
1089
1080
  ChangeName: [],
1090
1081
  ChangeType: [],
1091
1082
  Details: [],
1092
- DetailsDocument: (_) => se_JsonDocumentType(_, context),
1083
+ DetailsDocument: /* @__PURE__ */ __name((_) => se_JsonDocumentType(_, context), "DetailsDocument"),
1093
1084
  Entity: import_smithy_client._json,
1094
1085
  EntityTags: import_smithy_client._json
1095
1086
  });
@@ -1113,14 +1104,14 @@ var de_ChangeSummary = /* @__PURE__ */ __name((output, context) => {
1113
1104
  ChangeName: import_smithy_client.expectString,
1114
1105
  ChangeType: import_smithy_client.expectString,
1115
1106
  Details: import_smithy_client.expectString,
1116
- DetailsDocument: (_) => de_JsonDocumentType(_, context),
1107
+ DetailsDocument: /* @__PURE__ */ __name((_) => de_JsonDocumentType(_, context), "DetailsDocument"),
1117
1108
  Entity: import_smithy_client._json,
1118
1109
  ErrorDetailList: import_smithy_client._json
1119
1110
  });
1120
1111
  }, "de_ChangeSummary");
1121
1112
  var de_EntityDetail = /* @__PURE__ */ __name((output, context) => {
1122
1113
  return (0, import_smithy_client.take)(output, {
1123
- DetailsDocument: (_) => de_JsonDocumentType(_, context),
1114
+ DetailsDocument: /* @__PURE__ */ __name((_) => de_JsonDocumentType(_, context), "DetailsDocument"),
1124
1115
  EntityArn: import_smithy_client.expectString,
1125
1116
  EntityIdentifier: import_smithy_client.expectString,
1126
1117
  EntityType: import_smithy_client.expectString,
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.758.0",
4
+ "version": "3.772.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-marketplace-catalog",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",