@aws-sdk/client-marketplace-agreement 3.533.0 → 3.540.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.
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@smithy/util-endpoints");
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
5
6
  const ruleset_1 = require("./ruleset");
6
7
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
- return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
8
+ return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
8
9
  endpointParams: endpointParams,
9
10
  logger: context.logger,
10
11
  });
11
12
  };
12
13
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -738,9 +738,6 @@ var paginateGetAgreementTerms = (0, import_core.createPaginator)(MarketplaceAgre
738
738
  // src/pagination/SearchAgreementsPaginator.ts
739
739
 
740
740
  var paginateSearchAgreements = (0, import_core.createPaginator)(MarketplaceAgreementClient, SearchAgreementsCommand, "nextToken", "nextToken", "maxResults");
741
-
742
- // src/index.ts
743
- var import_util_endpoints = require("@aws-sdk/util-endpoints");
744
741
  // Annotate the CommonJS export names for ESM import in node:
745
742
 
746
743
  0 && (module.exports = {
@@ -1,4 +1,5 @@
1
- import { resolveEndpoint } from "@smithy/util-endpoints";
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
3
  import { ruleSet } from "./ruleset";
3
4
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
5
  return resolveEndpoint(ruleSet, {
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
6
7
  logger: context.logger,
7
8
  });
8
9
  };
10
+ customEndpointFunctions.aws = awsEndpointFunctions;
package/dist-es/index.js CHANGED
@@ -3,5 +3,4 @@ export * from "./MarketplaceAgreement";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./models";
6
- import "@aws-sdk/util-endpoints";
7
6
  export { MarketplaceAgreementServiceException } from "./models/MarketplaceAgreementServiceException";
@@ -19,12 +19,12 @@ export interface MarketplaceAgreement {
19
19
  /**
20
20
  * @see {@link SearchAgreementsCommand}
21
21
  */
22
+ searchAgreements(): Promise<SearchAgreementsCommandOutput>;
22
23
  searchAgreements(args: SearchAgreementsCommandInput, options?: __HttpHandlerOptions): Promise<SearchAgreementsCommandOutput>;
23
24
  searchAgreements(args: SearchAgreementsCommandInput, cb: (err: any, data?: SearchAgreementsCommandOutput) => void): void;
24
25
  searchAgreements(args: SearchAgreementsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchAgreementsCommandOutput) => void): void;
25
26
  }
26
27
  /**
27
- * @public
28
28
  * <p>AWS Marketplace is a curated digital catalog that customers can use to find, buy, deploy, and manage third-party software, data, and services to build solutions and run their businesses. The AWS Marketplace Agreement Service provides an API interface that helps AWS Marketplace sellers manage their product-related agreements, including listing, searching, and filtering agreements.</p>
29
29
  * <p>To manage agreements in AWS Marketplace, you must ensure that your AWS Identity and
30
30
  * Access Management (IAM) policies and roles are set up. The user must have the required
@@ -46,6 +46,7 @@ export interface MarketplaceAgreement {
46
46
  * their agreements.</p>
47
47
  * </li>
48
48
  * </ul>
49
+ * @public
49
50
  */
50
51
  export declare class MarketplaceAgreement extends MarketplaceAgreementClient implements MarketplaceAgreement {
51
52
  }
@@ -154,7 +154,6 @@ export type MarketplaceAgreementClientResolvedConfigType = __SmithyResolvedConfi
154
154
  export interface MarketplaceAgreementClientResolvedConfig extends MarketplaceAgreementClientResolvedConfigType {
155
155
  }
156
156
  /**
157
- * @public
158
157
  * <p>AWS Marketplace is a curated digital catalog that customers can use to find, buy, deploy, and manage third-party software, data, and services to build solutions and run their businesses. The AWS Marketplace Agreement Service provides an API interface that helps AWS Marketplace sellers manage their product-related agreements, including listing, searching, and filtering agreements.</p>
159
158
  * <p>To manage agreements in AWS Marketplace, you must ensure that your AWS Identity and
160
159
  * Access Management (IAM) policies and roles are set up. The user must have the required
@@ -176,6 +175,7 @@ export interface MarketplaceAgreementClientResolvedConfig extends MarketplaceAgr
176
175
  * their agreements.</p>
177
176
  * </li>
178
177
  * </ul>
178
+ * @public
179
179
  */
180
180
  export declare class MarketplaceAgreementClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MarketplaceAgreementClientResolvedConfig> {
181
181
  /**
@@ -22,10 +22,10 @@ export interface DescribeAgreementCommandOutput extends DescribeAgreementOutput,
22
22
  }
23
23
  declare const DescribeAgreementCommand_base: {
24
24
  new (input: DescribeAgreementCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAgreementCommandInput, DescribeAgreementCommandOutput, MarketplaceAgreementClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DescribeAgreementCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAgreementCommandInput, DescribeAgreementCommandOutput, MarketplaceAgreementClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Provides details about an agreement, such as the proposer, acceptor, start date, and end date.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -92,6 +92,7 @@ declare const DescribeAgreementCommand_base: {
92
92
  * @throws {@link MarketplaceAgreementServiceException}
93
93
  * <p>Base exception class for all service exceptions from MarketplaceAgreement service.</p>
94
94
  *
95
+ * @public
95
96
  */
96
97
  export declare class DescribeAgreementCommand extends DescribeAgreementCommand_base {
97
98
  }
@@ -22,10 +22,10 @@ export interface GetAgreementTermsCommandOutput extends GetAgreementTermsOutput,
22
22
  }
23
23
  declare const GetAgreementTermsCommand_base: {
24
24
  new (input: GetAgreementTermsCommandInput): import("@smithy/smithy-client").CommandImpl<GetAgreementTermsCommandInput, GetAgreementTermsCommandOutput, MarketplaceAgreementClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetAgreementTermsCommandInput): import("@smithy/smithy-client").CommandImpl<GetAgreementTermsCommandInput, GetAgreementTermsCommandOutput, MarketplaceAgreementClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Obtains details about the terms in an agreement that you participated in as proposer or
30
30
  * acceptor.</p>
31
31
  * <p>The details include:</p>
@@ -215,6 +215,7 @@ declare const GetAgreementTermsCommand_base: {
215
215
  * @throws {@link MarketplaceAgreementServiceException}
216
216
  * <p>Base exception class for all service exceptions from MarketplaceAgreement service.</p>
217
217
  *
218
+ * @public
218
219
  */
219
220
  export declare class GetAgreementTermsCommand extends GetAgreementTermsCommand_base {
220
221
  }
@@ -22,10 +22,10 @@ export interface SearchAgreementsCommandOutput extends SearchAgreementsOutput, _
22
22
  }
23
23
  declare const SearchAgreementsCommand_base: {
24
24
  new (input: SearchAgreementsCommandInput): import("@smithy/smithy-client").CommandImpl<SearchAgreementsCommandInput, SearchAgreementsCommandOutput, MarketplaceAgreementClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [SearchAgreementsCommandInput]): import("@smithy/smithy-client").CommandImpl<SearchAgreementsCommandInput, SearchAgreementsCommandOutput, MarketplaceAgreementClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Searches across all agreements that a proposer or an acceptor has in AWS Marketplace. The search returns a list of agreements with basic agreement information.</p>
30
30
  * <p>The following filter combinations are supported:</p>
31
31
  * <ul>
@@ -193,6 +193,7 @@ declare const SearchAgreementsCommand_base: {
193
193
  * @throws {@link MarketplaceAgreementServiceException}
194
194
  * <p>Base exception class for all service exceptions from MarketplaceAgreement service.</p>
195
195
  *
196
+ * @public
196
197
  */
197
198
  export declare class SearchAgreementsCommand extends SearchAgreementsCommand_base {
198
199
  }
@@ -31,5 +31,4 @@ export { MarketplaceAgreementExtensionConfiguration } from "./extensionConfigura
31
31
  export * from "./commands";
32
32
  export * from "./pagination";
33
33
  export * from "./models";
34
- import "@aws-sdk/util-endpoints";
35
34
  export { MarketplaceAgreementServiceException } from "./models/MarketplaceAgreementServiceException";