@aws-sdk/client-marketplace-discovery 3.1136.0 → 3.1138.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/dist-cjs/index.js CHANGED
@@ -67,7 +67,7 @@ const commonParams = {
67
67
  Region: { type: "builtInParams", name: "region" },
68
68
  };
69
69
 
70
- var version = "3.1135.0";
70
+ var version = "3.1137.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
@@ -516,10 +516,10 @@ const _vPT = "variablePaymentTerm";
516
516
  const _vT = "validityTerm";
517
517
  const _va = "value";
518
518
  const n0 = "com.amazonaws.marketplacediscovery";
519
- const _s_registry = TypeRegistry.for(_s);
519
+ const _s_registry = new TypeRegistry(_s);
520
520
  var MarketplaceDiscoveryServiceException$ = [-3, _s, "MarketplaceDiscoveryServiceException", 0, [], []];
521
521
  _s_registry.registerError(MarketplaceDiscoveryServiceException$, MarketplaceDiscoveryServiceException);
522
- const n0_registry = TypeRegistry.for(n0);
522
+ const n0_registry = new TypeRegistry(n0);
523
523
  var AccessDeniedException$ = [-3, n0, _ADE,
524
524
  { [_e]: _c, [_hE]: 403 },
525
525
  [_m],
@@ -335,10 +335,10 @@ const n0 = "com.amazonaws.marketplacediscovery";
335
335
  import { TypeRegistry } from "@smithy/core/schema";
336
336
  import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
337
337
  import { MarketplaceDiscoveryServiceException } from "../models/MarketplaceDiscoveryServiceException";
338
- const _s_registry = TypeRegistry.for(_s);
338
+ const _s_registry = new TypeRegistry(_s);
339
339
  export var MarketplaceDiscoveryServiceException$ = [-3, _s, "MarketplaceDiscoveryServiceException", 0, [], []];
340
340
  _s_registry.registerError(MarketplaceDiscoveryServiceException$, MarketplaceDiscoveryServiceException);
341
- const n0_registry = TypeRegistry.for(n0);
341
+ const n0_registry = new TypeRegistry(n0);
342
342
  export var AccessDeniedException$ = [-3, n0, _ADE,
343
343
  { [_e]: _c, [_hE]: 403 },
344
344
  [_m],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type GetListingCommandInput, type GetListingCommandOutput } from "./commands/GetListingCommand";
3
3
  import { type GetOfferCommandInput, type GetOfferCommandOutput } from "./commands/GetOfferCommand";
4
4
  import { type GetOfferSetCommandInput, type GetOfferSetCommandOutput } from "./commands/GetOfferSetCommand";
@@ -9,64 +9,70 @@ import { type ListPurchaseOptionsCommandInput, type ListPurchaseOptionsCommandOu
9
9
  import { type SearchFacetsCommandInput, type SearchFacetsCommandOutput } from "./commands/SearchFacetsCommand";
10
10
  import { type SearchListingsCommandInput, type SearchListingsCommandOutput } from "./commands/SearchListingsCommand";
11
11
  import { MarketplaceDiscoveryClient } from "./MarketplaceDiscoveryClient";
12
+ /**
13
+ * @public
14
+ */
15
+ export interface MarketplaceDiscoveryRequestOptions extends __HttpHandlerOptions {
16
+ metricsRecorder?: __MetricsRecorder<unknown>;
17
+ }
12
18
  export interface MarketplaceDiscovery {
13
19
  /**
14
20
  * @see {@link GetListingCommand}
15
21
  */
16
- getListing(args: GetListingCommandInput, options?: __HttpHandlerOptions): Promise<GetListingCommandOutput>;
22
+ getListing(args: GetListingCommandInput, options?: MarketplaceDiscoveryRequestOptions): Promise<GetListingCommandOutput>;
17
23
  getListing(args: GetListingCommandInput, cb: (err: any, data?: GetListingCommandOutput) => void): void;
18
- getListing(args: GetListingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetListingCommandOutput) => void): void;
24
+ getListing(args: GetListingCommandInput, options: MarketplaceDiscoveryRequestOptions, cb: (err: any, data?: GetListingCommandOutput) => void): void;
19
25
  /**
20
26
  * @see {@link GetOfferCommand}
21
27
  */
22
- getOffer(args: GetOfferCommandInput, options?: __HttpHandlerOptions): Promise<GetOfferCommandOutput>;
28
+ getOffer(args: GetOfferCommandInput, options?: MarketplaceDiscoveryRequestOptions): Promise<GetOfferCommandOutput>;
23
29
  getOffer(args: GetOfferCommandInput, cb: (err: any, data?: GetOfferCommandOutput) => void): void;
24
- getOffer(args: GetOfferCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOfferCommandOutput) => void): void;
30
+ getOffer(args: GetOfferCommandInput, options: MarketplaceDiscoveryRequestOptions, cb: (err: any, data?: GetOfferCommandOutput) => void): void;
25
31
  /**
26
32
  * @see {@link GetOfferSetCommand}
27
33
  */
28
- getOfferSet(args: GetOfferSetCommandInput, options?: __HttpHandlerOptions): Promise<GetOfferSetCommandOutput>;
34
+ getOfferSet(args: GetOfferSetCommandInput, options?: MarketplaceDiscoveryRequestOptions): Promise<GetOfferSetCommandOutput>;
29
35
  getOfferSet(args: GetOfferSetCommandInput, cb: (err: any, data?: GetOfferSetCommandOutput) => void): void;
30
- getOfferSet(args: GetOfferSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOfferSetCommandOutput) => void): void;
36
+ getOfferSet(args: GetOfferSetCommandInput, options: MarketplaceDiscoveryRequestOptions, cb: (err: any, data?: GetOfferSetCommandOutput) => void): void;
31
37
  /**
32
38
  * @see {@link GetOfferTermsCommand}
33
39
  */
34
- getOfferTerms(args: GetOfferTermsCommandInput, options?: __HttpHandlerOptions): Promise<GetOfferTermsCommandOutput>;
40
+ getOfferTerms(args: GetOfferTermsCommandInput, options?: MarketplaceDiscoveryRequestOptions): Promise<GetOfferTermsCommandOutput>;
35
41
  getOfferTerms(args: GetOfferTermsCommandInput, cb: (err: any, data?: GetOfferTermsCommandOutput) => void): void;
36
- getOfferTerms(args: GetOfferTermsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOfferTermsCommandOutput) => void): void;
42
+ getOfferTerms(args: GetOfferTermsCommandInput, options: MarketplaceDiscoveryRequestOptions, cb: (err: any, data?: GetOfferTermsCommandOutput) => void): void;
37
43
  /**
38
44
  * @see {@link GetProductCommand}
39
45
  */
40
- getProduct(args: GetProductCommandInput, options?: __HttpHandlerOptions): Promise<GetProductCommandOutput>;
46
+ getProduct(args: GetProductCommandInput, options?: MarketplaceDiscoveryRequestOptions): Promise<GetProductCommandOutput>;
41
47
  getProduct(args: GetProductCommandInput, cb: (err: any, data?: GetProductCommandOutput) => void): void;
42
- getProduct(args: GetProductCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProductCommandOutput) => void): void;
48
+ getProduct(args: GetProductCommandInput, options: MarketplaceDiscoveryRequestOptions, cb: (err: any, data?: GetProductCommandOutput) => void): void;
43
49
  /**
44
50
  * @see {@link ListFulfillmentOptionsCommand}
45
51
  */
46
- listFulfillmentOptions(args: ListFulfillmentOptionsCommandInput, options?: __HttpHandlerOptions): Promise<ListFulfillmentOptionsCommandOutput>;
52
+ listFulfillmentOptions(args: ListFulfillmentOptionsCommandInput, options?: MarketplaceDiscoveryRequestOptions): Promise<ListFulfillmentOptionsCommandOutput>;
47
53
  listFulfillmentOptions(args: ListFulfillmentOptionsCommandInput, cb: (err: any, data?: ListFulfillmentOptionsCommandOutput) => void): void;
48
- listFulfillmentOptions(args: ListFulfillmentOptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFulfillmentOptionsCommandOutput) => void): void;
54
+ listFulfillmentOptions(args: ListFulfillmentOptionsCommandInput, options: MarketplaceDiscoveryRequestOptions, cb: (err: any, data?: ListFulfillmentOptionsCommandOutput) => void): void;
49
55
  /**
50
56
  * @see {@link ListPurchaseOptionsCommand}
51
57
  */
52
58
  listPurchaseOptions(): Promise<ListPurchaseOptionsCommandOutput>;
53
- listPurchaseOptions(args: ListPurchaseOptionsCommandInput, options?: __HttpHandlerOptions): Promise<ListPurchaseOptionsCommandOutput>;
59
+ listPurchaseOptions(args: ListPurchaseOptionsCommandInput, options?: MarketplaceDiscoveryRequestOptions): Promise<ListPurchaseOptionsCommandOutput>;
54
60
  listPurchaseOptions(args: ListPurchaseOptionsCommandInput, cb: (err: any, data?: ListPurchaseOptionsCommandOutput) => void): void;
55
- listPurchaseOptions(args: ListPurchaseOptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPurchaseOptionsCommandOutput) => void): void;
61
+ listPurchaseOptions(args: ListPurchaseOptionsCommandInput, options: MarketplaceDiscoveryRequestOptions, cb: (err: any, data?: ListPurchaseOptionsCommandOutput) => void): void;
56
62
  /**
57
63
  * @see {@link SearchFacetsCommand}
58
64
  */
59
65
  searchFacets(): Promise<SearchFacetsCommandOutput>;
60
- searchFacets(args: SearchFacetsCommandInput, options?: __HttpHandlerOptions): Promise<SearchFacetsCommandOutput>;
66
+ searchFacets(args: SearchFacetsCommandInput, options?: MarketplaceDiscoveryRequestOptions): Promise<SearchFacetsCommandOutput>;
61
67
  searchFacets(args: SearchFacetsCommandInput, cb: (err: any, data?: SearchFacetsCommandOutput) => void): void;
62
- searchFacets(args: SearchFacetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchFacetsCommandOutput) => void): void;
68
+ searchFacets(args: SearchFacetsCommandInput, options: MarketplaceDiscoveryRequestOptions, cb: (err: any, data?: SearchFacetsCommandOutput) => void): void;
63
69
  /**
64
70
  * @see {@link SearchListingsCommand}
65
71
  */
66
72
  searchListings(): Promise<SearchListingsCommandOutput>;
67
- searchListings(args: SearchListingsCommandInput, options?: __HttpHandlerOptions): Promise<SearchListingsCommandOutput>;
73
+ searchListings(args: SearchListingsCommandInput, options?: MarketplaceDiscoveryRequestOptions): Promise<SearchListingsCommandOutput>;
68
74
  searchListings(args: SearchListingsCommandInput, cb: (err: any, data?: SearchListingsCommandOutput) => void): void;
69
- searchListings(args: SearchListingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchListingsCommandOutput) => void): void;
75
+ searchListings(args: SearchListingsCommandInput, options: MarketplaceDiscoveryRequestOptions, cb: (err: any, data?: SearchListingsCommandOutput) => void): void;
70
76
  /**
71
77
  * @see {@link GetOfferTermsCommand}
72
78
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -28,10 +29,13 @@ import {
28
29
  SearchListingsCommandOutput,
29
30
  } from "./commands/SearchListingsCommand";
30
31
  import { MarketplaceDiscoveryClient } from "./MarketplaceDiscoveryClient";
32
+ export interface MarketplaceDiscoveryRequestOptions extends __HttpHandlerOptions {
33
+ metricsRecorder?: __MetricsRecorder<unknown>;
34
+ }
31
35
  export interface MarketplaceDiscovery {
32
36
  getListing(
33
37
  args: GetListingCommandInput,
34
- options?: __HttpHandlerOptions,
38
+ options?: MarketplaceDiscoveryRequestOptions,
35
39
  ): Promise<GetListingCommandOutput>;
36
40
  getListing(
37
41
  args: GetListingCommandInput,
@@ -39,22 +43,22 @@ export interface MarketplaceDiscovery {
39
43
  ): void;
40
44
  getListing(
41
45
  args: GetListingCommandInput,
42
- options: __HttpHandlerOptions,
46
+ options: MarketplaceDiscoveryRequestOptions,
43
47
  cb: (err: any, data?: GetListingCommandOutput) => void,
44
48
  ): void;
45
49
  getOffer(
46
50
  args: GetOfferCommandInput,
47
- options?: __HttpHandlerOptions,
51
+ options?: MarketplaceDiscoveryRequestOptions,
48
52
  ): Promise<GetOfferCommandOutput>;
49
53
  getOffer(args: GetOfferCommandInput, cb: (err: any, data?: GetOfferCommandOutput) => void): void;
50
54
  getOffer(
51
55
  args: GetOfferCommandInput,
52
- options: __HttpHandlerOptions,
56
+ options: MarketplaceDiscoveryRequestOptions,
53
57
  cb: (err: any, data?: GetOfferCommandOutput) => void,
54
58
  ): void;
55
59
  getOfferSet(
56
60
  args: GetOfferSetCommandInput,
57
- options?: __HttpHandlerOptions,
61
+ options?: MarketplaceDiscoveryRequestOptions,
58
62
  ): Promise<GetOfferSetCommandOutput>;
59
63
  getOfferSet(
60
64
  args: GetOfferSetCommandInput,
@@ -62,12 +66,12 @@ export interface MarketplaceDiscovery {
62
66
  ): void;
63
67
  getOfferSet(
64
68
  args: GetOfferSetCommandInput,
65
- options: __HttpHandlerOptions,
69
+ options: MarketplaceDiscoveryRequestOptions,
66
70
  cb: (err: any, data?: GetOfferSetCommandOutput) => void,
67
71
  ): void;
68
72
  getOfferTerms(
69
73
  args: GetOfferTermsCommandInput,
70
- options?: __HttpHandlerOptions,
74
+ options?: MarketplaceDiscoveryRequestOptions,
71
75
  ): Promise<GetOfferTermsCommandOutput>;
72
76
  getOfferTerms(
73
77
  args: GetOfferTermsCommandInput,
@@ -75,12 +79,12 @@ export interface MarketplaceDiscovery {
75
79
  ): void;
76
80
  getOfferTerms(
77
81
  args: GetOfferTermsCommandInput,
78
- options: __HttpHandlerOptions,
82
+ options: MarketplaceDiscoveryRequestOptions,
79
83
  cb: (err: any, data?: GetOfferTermsCommandOutput) => void,
80
84
  ): void;
81
85
  getProduct(
82
86
  args: GetProductCommandInput,
83
- options?: __HttpHandlerOptions,
87
+ options?: MarketplaceDiscoveryRequestOptions,
84
88
  ): Promise<GetProductCommandOutput>;
85
89
  getProduct(
86
90
  args: GetProductCommandInput,
@@ -88,12 +92,12 @@ export interface MarketplaceDiscovery {
88
92
  ): void;
89
93
  getProduct(
90
94
  args: GetProductCommandInput,
91
- options: __HttpHandlerOptions,
95
+ options: MarketplaceDiscoveryRequestOptions,
92
96
  cb: (err: any, data?: GetProductCommandOutput) => void,
93
97
  ): void;
94
98
  listFulfillmentOptions(
95
99
  args: ListFulfillmentOptionsCommandInput,
96
- options?: __HttpHandlerOptions,
100
+ options?: MarketplaceDiscoveryRequestOptions,
97
101
  ): Promise<ListFulfillmentOptionsCommandOutput>;
98
102
  listFulfillmentOptions(
99
103
  args: ListFulfillmentOptionsCommandInput,
@@ -101,13 +105,13 @@ export interface MarketplaceDiscovery {
101
105
  ): void;
102
106
  listFulfillmentOptions(
103
107
  args: ListFulfillmentOptionsCommandInput,
104
- options: __HttpHandlerOptions,
108
+ options: MarketplaceDiscoveryRequestOptions,
105
109
  cb: (err: any, data?: ListFulfillmentOptionsCommandOutput) => void,
106
110
  ): void;
107
111
  listPurchaseOptions(): Promise<ListPurchaseOptionsCommandOutput>;
108
112
  listPurchaseOptions(
109
113
  args: ListPurchaseOptionsCommandInput,
110
- options?: __HttpHandlerOptions,
114
+ options?: MarketplaceDiscoveryRequestOptions,
111
115
  ): Promise<ListPurchaseOptionsCommandOutput>;
112
116
  listPurchaseOptions(
113
117
  args: ListPurchaseOptionsCommandInput,
@@ -115,13 +119,13 @@ export interface MarketplaceDiscovery {
115
119
  ): void;
116
120
  listPurchaseOptions(
117
121
  args: ListPurchaseOptionsCommandInput,
118
- options: __HttpHandlerOptions,
122
+ options: MarketplaceDiscoveryRequestOptions,
119
123
  cb: (err: any, data?: ListPurchaseOptionsCommandOutput) => void,
120
124
  ): void;
121
125
  searchFacets(): Promise<SearchFacetsCommandOutput>;
122
126
  searchFacets(
123
127
  args: SearchFacetsCommandInput,
124
- options?: __HttpHandlerOptions,
128
+ options?: MarketplaceDiscoveryRequestOptions,
125
129
  ): Promise<SearchFacetsCommandOutput>;
126
130
  searchFacets(
127
131
  args: SearchFacetsCommandInput,
@@ -129,13 +133,13 @@ export interface MarketplaceDiscovery {
129
133
  ): void;
130
134
  searchFacets(
131
135
  args: SearchFacetsCommandInput,
132
- options: __HttpHandlerOptions,
136
+ options: MarketplaceDiscoveryRequestOptions,
133
137
  cb: (err: any, data?: SearchFacetsCommandOutput) => void,
134
138
  ): void;
135
139
  searchListings(): Promise<SearchListingsCommandOutput>;
136
140
  searchListings(
137
141
  args: SearchListingsCommandInput,
138
- options?: __HttpHandlerOptions,
142
+ options?: MarketplaceDiscoveryRequestOptions,
139
143
  ): Promise<SearchListingsCommandOutput>;
140
144
  searchListings(
141
145
  args: SearchListingsCommandInput,
@@ -143,7 +147,7 @@ export interface MarketplaceDiscovery {
143
147
  ): void;
144
148
  searchListings(
145
149
  args: SearchListingsCommandInput,
146
- options: __HttpHandlerOptions,
150
+ options: MarketplaceDiscoveryRequestOptions,
147
151
  cb: (err: any, data?: SearchListingsCommandOutput) => void,
148
152
  ): void;
149
153
  paginateGetOfferTerms(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-marketplace-discovery",
3
- "version": "3.1136.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Marketplace Discovery Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-marketplace-discovery",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {