@aws-sdk/client-marketplace-agreement 3.477.0 → 3.481.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 (25) hide show
  1. package/dist-cjs/commands/DescribeAgreementCommand.js +18 -41
  2. package/dist-cjs/commands/GetAgreementTermsCommand.js +18 -41
  3. package/dist-cjs/commands/SearchAgreementsCommand.js +18 -41
  4. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  5. package/dist-cjs/pagination/GetAgreementTermsPaginator.js +2 -24
  6. package/dist-cjs/pagination/SearchAgreementsPaginator.js +2 -24
  7. package/dist-es/commands/DescribeAgreementCommand.js +18 -41
  8. package/dist-es/commands/GetAgreementTermsCommand.js +18 -41
  9. package/dist-es/commands/SearchAgreementsCommand.js +18 -41
  10. package/dist-es/endpoint/EndpointParameters.js +6 -0
  11. package/dist-es/pagination/GetAgreementTermsPaginator.js +2 -23
  12. package/dist-es/pagination/SearchAgreementsPaginator.js +2 -23
  13. package/dist-types/commands/DescribeAgreementCommand.d.ts +6 -21
  14. package/dist-types/commands/GetAgreementTermsCommand.d.ts +6 -21
  15. package/dist-types/commands/SearchAgreementsCommand.d.ts +6 -21
  16. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  17. package/dist-types/pagination/GetAgreementTermsPaginator.d.ts +1 -1
  18. package/dist-types/pagination/SearchAgreementsPaginator.d.ts +1 -1
  19. package/dist-types/ts3.4/commands/DescribeAgreementCommand.d.ts +14 -23
  20. package/dist-types/ts3.4/commands/GetAgreementTermsCommand.d.ts +14 -23
  21. package/dist-types/ts3.4/commands/SearchAgreementsCommand.d.ts +14 -23
  22. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  23. package/dist-types/ts3.4/pagination/GetAgreementTermsPaginator.d.ts +3 -3
  24. package/dist-types/ts3.4/pagination/SearchAgreementsPaginator.d.ts +3 -3
  25. package/package.json +11 -10
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
- class DescribeAgreementCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeAgreementCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MarketplaceAgreementClient";
29
- const commandName = "DescribeAgreementCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSMPCommerceService_v20200301",
38
- operation: "DescribeAgreement",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_0_1.se_DescribeAgreementCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_0_1.de_DescribeAgreementCommand)(output, context);
49
- }
10
+ class DescribeAgreementCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSMPCommerceService_v20200301", "DescribeAgreement", {})
22
+ .n("MarketplaceAgreementClient", "DescribeAgreementCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_0_1.se_DescribeAgreementCommand)
25
+ .de(Aws_json1_0_1.de_DescribeAgreementCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeAgreementCommand = DescribeAgreementCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
- class GetAgreementTermsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAgreementTermsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MarketplaceAgreementClient";
29
- const commandName = "GetAgreementTermsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSMPCommerceService_v20200301",
38
- operation: "GetAgreementTerms",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_0_1.se_GetAgreementTermsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_0_1.de_GetAgreementTermsCommand)(output, context);
49
- }
10
+ class GetAgreementTermsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSMPCommerceService_v20200301", "GetAgreementTerms", {})
22
+ .n("MarketplaceAgreementClient", "GetAgreementTermsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_0_1.se_GetAgreementTermsCommand)
25
+ .de(Aws_json1_0_1.de_GetAgreementTermsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetAgreementTermsCommand = GetAgreementTermsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
- class SearchAgreementsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SearchAgreementsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MarketplaceAgreementClient";
29
- const commandName = "SearchAgreementsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSMPCommerceService_v20200301",
38
- operation: "SearchAgreements",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_0_1.se_SearchAgreementsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_0_1.de_SearchAgreementsCommand)(output, context);
49
- }
10
+ class SearchAgreementsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSMPCommerceService_v20200301", "SearchAgreements", {})
22
+ .n("MarketplaceAgreementClient", "SearchAgreementsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_0_1.se_SearchAgreementsCommand)
25
+ .de(Aws_json1_0_1.de_SearchAgreementsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.SearchAgreementsCommand = SearchAgreementsCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetAgreementTerms = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetAgreementTermsCommand_1 = require("../commands/GetAgreementTermsCommand");
5
6
  const MarketplaceAgreementClient_1 = require("../MarketplaceAgreementClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetAgreementTermsCommand_1.GetAgreementTermsCommand(input), ...args);
8
- };
9
- async function* paginateGetAgreementTerms(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof MarketplaceAgreementClient_1.MarketplaceAgreementClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected MarketplaceAgreement | MarketplaceAgreementClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetAgreementTerms = paginateGetAgreementTerms;
7
+ exports.paginateGetAgreementTerms = (0, core_1.createPaginator)(MarketplaceAgreementClient_1.MarketplaceAgreementClient, GetAgreementTermsCommand_1.GetAgreementTermsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateSearchAgreements = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const SearchAgreementsCommand_1 = require("../commands/SearchAgreementsCommand");
5
6
  const MarketplaceAgreementClient_1 = require("../MarketplaceAgreementClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new SearchAgreementsCommand_1.SearchAgreementsCommand(input), ...args);
8
- };
9
- async function* paginateSearchAgreements(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof MarketplaceAgreementClient_1.MarketplaceAgreementClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected MarketplaceAgreement | MarketplaceAgreementClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateSearchAgreements = paginateSearchAgreements;
7
+ exports.paginateSearchAgreements = (0, core_1.createPaginator)(MarketplaceAgreementClient_1.MarketplaceAgreementClient, SearchAgreementsCommand_1.SearchAgreementsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeAgreementCommand, se_DescribeAgreementCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class DescribeAgreementCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeAgreementCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MarketplaceAgreementClient";
26
- const commandName = "DescribeAgreementCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSMPCommerceService_v20200301",
35
- operation: "DescribeAgreement",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeAgreementCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeAgreementCommand(output, context);
46
- }
7
+ export class DescribeAgreementCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSMPCommerceService_v20200301", "DescribeAgreement", {})
19
+ .n("MarketplaceAgreementClient", "DescribeAgreementCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeAgreementCommand)
22
+ .de(de_DescribeAgreementCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetAgreementTermsCommand, se_GetAgreementTermsCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class GetAgreementTermsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetAgreementTermsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MarketplaceAgreementClient";
26
- const commandName = "GetAgreementTermsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSMPCommerceService_v20200301",
35
- operation: "GetAgreementTerms",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetAgreementTermsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetAgreementTermsCommand(output, context);
46
- }
7
+ export class GetAgreementTermsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSMPCommerceService_v20200301", "GetAgreementTerms", {})
19
+ .n("MarketplaceAgreementClient", "GetAgreementTermsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetAgreementTermsCommand)
22
+ .de(de_GetAgreementTermsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_SearchAgreementsCommand, se_SearchAgreementsCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class SearchAgreementsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, SearchAgreementsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MarketplaceAgreementClient";
26
- const commandName = "SearchAgreementsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSMPCommerceService_v20200301",
35
- operation: "SearchAgreements",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_SearchAgreementsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_SearchAgreementsCommand(output, context);
46
- }
7
+ export class SearchAgreementsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSMPCommerceService_v20200301", "SearchAgreements", {})
19
+ .n("MarketplaceAgreementClient", "SearchAgreementsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_SearchAgreementsCommand)
22
+ .de(de_SearchAgreementsCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "aws-marketplace",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetAgreementTermsCommand, } from "../commands/GetAgreementTermsCommand";
2
3
  import { MarketplaceAgreementClient } from "../MarketplaceAgreementClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetAgreementTermsCommand(input), ...args);
5
- };
6
- export async function* paginateGetAgreementTerms(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof MarketplaceAgreementClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected MarketplaceAgreement | MarketplaceAgreementClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetAgreementTerms = createPaginator(MarketplaceAgreementClient, GetAgreementTermsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { SearchAgreementsCommand, } from "../commands/SearchAgreementsCommand";
2
3
  import { MarketplaceAgreementClient } from "../MarketplaceAgreementClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new SearchAgreementsCommand(input), ...args);
5
- };
6
- export async function* paginateSearchAgreements(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof MarketplaceAgreementClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected MarketplaceAgreement | MarketplaceAgreementClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateSearchAgreements = createPaginator(MarketplaceAgreementClient, SearchAgreementsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MarketplaceAgreementClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceAgreementClient";
5
4
  import { DescribeAgreementInput, DescribeAgreementOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeAgreementCommandInput extends DescribeAgreementInput {
21
20
  */
22
21
  export interface DescribeAgreementCommandOutput extends DescribeAgreementOutput, __MetadataBearer {
23
22
  }
23
+ declare const DescribeAgreementCommand_base: {
24
+ new (input: DescribeAgreementCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAgreementCommandInput, DescribeAgreementCommandOutput, MarketplaceAgreementClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Provides details about an agreement, such as the proposer, acceptor, start date, and end date.</p>
@@ -90,23 +93,5 @@ export interface DescribeAgreementCommandOutput extends DescribeAgreementOutput,
90
93
  * <p>Base exception class for all service exceptions from MarketplaceAgreement service.</p>
91
94
  *
92
95
  */
93
- export declare class DescribeAgreementCommand extends $Command<DescribeAgreementCommandInput, DescribeAgreementCommandOutput, MarketplaceAgreementClientResolvedConfig> {
94
- readonly input: DescribeAgreementCommandInput;
95
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
96
- /**
97
- * @public
98
- */
99
- constructor(input: DescribeAgreementCommandInput);
100
- /**
101
- * @internal
102
- */
103
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MarketplaceAgreementClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeAgreementCommandInput, DescribeAgreementCommandOutput>;
104
- /**
105
- * @internal
106
- */
107
- private serialize;
108
- /**
109
- * @internal
110
- */
111
- private deserialize;
96
+ export declare class DescribeAgreementCommand extends DescribeAgreementCommand_base {
112
97
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MarketplaceAgreementClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceAgreementClient";
5
4
  import { GetAgreementTermsInput, GetAgreementTermsOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetAgreementTermsCommandInput extends GetAgreementTermsInput {
21
20
  */
22
21
  export interface GetAgreementTermsCommandOutput extends GetAgreementTermsOutput, __MetadataBearer {
23
22
  }
23
+ declare const GetAgreementTermsCommand_base: {
24
+ new (input: GetAgreementTermsCommandInput): import("@smithy/smithy-client").CommandImpl<GetAgreementTermsCommandInput, GetAgreementTermsCommandOutput, MarketplaceAgreementClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Obtains details about the terms in an agreement that you participated in as proposer or
@@ -213,23 +216,5 @@ export interface GetAgreementTermsCommandOutput extends GetAgreementTermsOutput,
213
216
  * <p>Base exception class for all service exceptions from MarketplaceAgreement service.</p>
214
217
  *
215
218
  */
216
- export declare class GetAgreementTermsCommand extends $Command<GetAgreementTermsCommandInput, GetAgreementTermsCommandOutput, MarketplaceAgreementClientResolvedConfig> {
217
- readonly input: GetAgreementTermsCommandInput;
218
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
219
- /**
220
- * @public
221
- */
222
- constructor(input: GetAgreementTermsCommandInput);
223
- /**
224
- * @internal
225
- */
226
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MarketplaceAgreementClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAgreementTermsCommandInput, GetAgreementTermsCommandOutput>;
227
- /**
228
- * @internal
229
- */
230
- private serialize;
231
- /**
232
- * @internal
233
- */
234
- private deserialize;
219
+ export declare class GetAgreementTermsCommand extends GetAgreementTermsCommand_base {
235
220
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MarketplaceAgreementClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceAgreementClient";
5
4
  import { SearchAgreementsInput, SearchAgreementsOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface SearchAgreementsCommandInput extends SearchAgreementsInput {
21
20
  */
22
21
  export interface SearchAgreementsCommandOutput extends SearchAgreementsOutput, __MetadataBearer {
23
22
  }
23
+ declare const SearchAgreementsCommand_base: {
24
+ new (input: SearchAgreementsCommandInput): import("@smithy/smithy-client").CommandImpl<SearchAgreementsCommandInput, SearchAgreementsCommandOutput, MarketplaceAgreementClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
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>
@@ -191,23 +194,5 @@ export interface SearchAgreementsCommandOutput extends SearchAgreementsOutput, _
191
194
  * <p>Base exception class for all service exceptions from MarketplaceAgreement service.</p>
192
195
  *
193
196
  */
194
- export declare class SearchAgreementsCommand extends $Command<SearchAgreementsCommandInput, SearchAgreementsCommandOutput, MarketplaceAgreementClientResolvedConfig> {
195
- readonly input: SearchAgreementsCommandInput;
196
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
197
- /**
198
- * @public
199
- */
200
- constructor(input: SearchAgreementsCommandInput);
201
- /**
202
- * @internal
203
- */
204
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MarketplaceAgreementClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchAgreementsCommandInput, SearchAgreementsCommandOutput>;
205
- /**
206
- * @internal
207
- */
208
- private serialize;
209
- /**
210
- * @internal
211
- */
212
- private deserialize;
197
+ export declare class SearchAgreementsCommand extends SearchAgreementsCommand_base {
213
198
  }
@@ -14,6 +14,24 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
14
14
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
15
  defaultSigningName: string;
16
16
  };
17
+ export declare const commonParams: {
18
+ readonly UseFIPS: {
19
+ readonly type: "builtInParams";
20
+ readonly name: "useFipsEndpoint";
21
+ };
22
+ readonly Endpoint: {
23
+ readonly type: "builtInParams";
24
+ readonly name: "endpoint";
25
+ };
26
+ readonly Region: {
27
+ readonly type: "builtInParams";
28
+ readonly name: "region";
29
+ };
30
+ readonly UseDualStack: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "useDualstackEndpoint";
33
+ };
34
+ };
17
35
  export interface EndpointParameters extends __EndpointParameters {
18
36
  Region?: string;
19
37
  UseDualStack?: boolean;
@@ -4,4 +4,4 @@ import { MarketplaceAgreementPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetAgreementTerms(config: MarketplaceAgreementPaginationConfiguration, input: GetAgreementTermsCommandInput, ...additionalArguments: any): Paginator<GetAgreementTermsCommandOutput>;
7
+ export declare const paginateGetAgreementTerms: (config: MarketplaceAgreementPaginationConfiguration, input: GetAgreementTermsCommandInput, ...rest: any[]) => Paginator<GetAgreementTermsCommandOutput>;
@@ -4,4 +4,4 @@ import { MarketplaceAgreementPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateSearchAgreements(config: MarketplaceAgreementPaginationConfiguration, input: SearchAgreementsCommandInput, ...additionalArguments: any): Paginator<SearchAgreementsCommandOutput>;
7
+ export declare const paginateSearchAgreements: (config: MarketplaceAgreementPaginationConfiguration, input: SearchAgreementsCommandInput, ...rest: any[]) => Paginator<SearchAgreementsCommandOutput>;
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  MarketplaceAgreementClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -20,19 +14,16 @@ export interface DescribeAgreementCommandInput extends DescribeAgreementInput {}
20
14
  export interface DescribeAgreementCommandOutput
21
15
  extends DescribeAgreementOutput,
22
16
  __MetadataBearer {}
23
- export declare class DescribeAgreementCommand extends $Command<
24
- DescribeAgreementCommandInput,
25
- DescribeAgreementCommandOutput,
26
- MarketplaceAgreementClientResolvedConfig
27
- > {
28
- readonly input: DescribeAgreementCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: DescribeAgreementCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: MarketplaceAgreementClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<DescribeAgreementCommandInput, DescribeAgreementCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
17
+ declare const DescribeAgreementCommand_base: {
18
+ new (
19
+ input: DescribeAgreementCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ DescribeAgreementCommandInput,
22
+ DescribeAgreementCommandOutput,
23
+ MarketplaceAgreementClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class DescribeAgreementCommand extends DescribeAgreementCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  MarketplaceAgreementClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -20,19 +14,16 @@ export interface GetAgreementTermsCommandInput extends GetAgreementTermsInput {}
20
14
  export interface GetAgreementTermsCommandOutput
21
15
  extends GetAgreementTermsOutput,
22
16
  __MetadataBearer {}
23
- export declare class GetAgreementTermsCommand extends $Command<
24
- GetAgreementTermsCommandInput,
25
- GetAgreementTermsCommandOutput,
26
- MarketplaceAgreementClientResolvedConfig
27
- > {
28
- readonly input: GetAgreementTermsCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: GetAgreementTermsCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: MarketplaceAgreementClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<GetAgreementTermsCommandInput, GetAgreementTermsCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
17
+ declare const GetAgreementTermsCommand_base: {
18
+ new (
19
+ input: GetAgreementTermsCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ GetAgreementTermsCommandInput,
22
+ GetAgreementTermsCommandOutput,
23
+ MarketplaceAgreementClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class GetAgreementTermsCommand extends GetAgreementTermsCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  MarketplaceAgreementClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -20,19 +14,16 @@ export interface SearchAgreementsCommandInput extends SearchAgreementsInput {}
20
14
  export interface SearchAgreementsCommandOutput
21
15
  extends SearchAgreementsOutput,
22
16
  __MetadataBearer {}
23
- export declare class SearchAgreementsCommand extends $Command<
24
- SearchAgreementsCommandInput,
25
- SearchAgreementsCommandOutput,
26
- MarketplaceAgreementClientResolvedConfig
27
- > {
28
- readonly input: SearchAgreementsCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: SearchAgreementsCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: MarketplaceAgreementClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<SearchAgreementsCommandInput, SearchAgreementsCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
17
+ declare const SearchAgreementsCommand_base: {
18
+ new (
19
+ input: SearchAgreementsCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ SearchAgreementsCommandInput,
22
+ SearchAgreementsCommandOutput,
23
+ MarketplaceAgreementClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class SearchAgreementsCommand extends SearchAgreementsCommand_base {}
@@ -25,6 +25,24 @@ export declare const resolveClientEndpointParameters: <T>(
25
25
  ClientInputEndpointParameters & {
26
26
  defaultSigningName: string;
27
27
  };
28
+ export declare const commonParams: {
29
+ readonly UseFIPS: {
30
+ readonly type: "builtInParams";
31
+ readonly name: "useFipsEndpoint";
32
+ };
33
+ readonly Endpoint: {
34
+ readonly type: "builtInParams";
35
+ readonly name: "endpoint";
36
+ };
37
+ readonly Region: {
38
+ readonly type: "builtInParams";
39
+ readonly name: "region";
40
+ };
41
+ readonly UseDualStack: {
42
+ readonly type: "builtInParams";
43
+ readonly name: "useDualstackEndpoint";
44
+ };
45
+ };
28
46
  export interface EndpointParameters extends __EndpointParameters {
29
47
  Region?: string;
30
48
  UseDualStack?: boolean;
@@ -4,8 +4,8 @@ import {
4
4
  GetAgreementTermsCommandOutput,
5
5
  } from "../commands/GetAgreementTermsCommand";
6
6
  import { MarketplaceAgreementPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetAgreementTerms(
7
+ export declare const paginateGetAgreementTerms: (
8
8
  config: MarketplaceAgreementPaginationConfiguration,
9
9
  input: GetAgreementTermsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetAgreementTermsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetAgreementTermsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  SearchAgreementsCommandOutput,
5
5
  } from "../commands/SearchAgreementsCommand";
6
6
  import { MarketplaceAgreementPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateSearchAgreements(
7
+ export declare const paginateSearchAgreements: (
8
8
  config: MarketplaceAgreementPaginationConfiguration,
9
9
  input: SearchAgreementsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<SearchAgreementsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<SearchAgreementsCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-marketplace-agreement",
3
3
  "description": "AWS SDK for JavaScript Marketplace Agreement Client for Node.js, Browser and React Native",
4
- "version": "3.477.0",
4
+ "version": "3.481.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",
@@ -20,39 +20,40 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.477.0",
24
- "@aws-sdk/core": "3.477.0",
25
- "@aws-sdk/credential-provider-node": "3.477.0",
23
+ "@aws-sdk/client-sts": "3.481.0",
24
+ "@aws-sdk/core": "3.481.0",
25
+ "@aws-sdk/credential-provider-node": "3.481.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
29
29
  "@aws-sdk/middleware-signing": "3.468.0",
30
- "@aws-sdk/middleware-user-agent": "3.470.0",
30
+ "@aws-sdk/middleware-user-agent": "3.478.0",
31
31
  "@aws-sdk/region-config-resolver": "3.470.0",
32
32
  "@aws-sdk/types": "3.468.0",
33
- "@aws-sdk/util-endpoints": "3.470.0",
33
+ "@aws-sdk/util-endpoints": "3.478.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.470.0",
36
36
  "@smithy/config-resolver": "^2.0.21",
37
+ "@smithy/core": "^1.2.1",
37
38
  "@smithy/fetch-http-handler": "^2.3.1",
38
39
  "@smithy/hash-node": "^2.0.17",
39
40
  "@smithy/invalid-dependency": "^2.0.15",
40
41
  "@smithy/middleware-content-length": "^2.0.17",
41
42
  "@smithy/middleware-endpoint": "^2.2.3",
42
- "@smithy/middleware-retry": "^2.0.24",
43
+ "@smithy/middleware-retry": "^2.0.25",
43
44
  "@smithy/middleware-serde": "^2.0.15",
44
45
  "@smithy/middleware-stack": "^2.0.9",
45
46
  "@smithy/node-config-provider": "^2.1.8",
46
47
  "@smithy/node-http-handler": "^2.2.1",
47
48
  "@smithy/protocol-http": "^3.0.11",
48
- "@smithy/smithy-client": "^2.1.18",
49
+ "@smithy/smithy-client": "^2.2.0",
49
50
  "@smithy/types": "^2.7.0",
50
51
  "@smithy/url-parser": "^2.0.15",
51
52
  "@smithy/util-base64": "^2.0.1",
52
53
  "@smithy/util-body-length-browser": "^2.0.1",
53
54
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.22",
55
- "@smithy/util-defaults-mode-node": "^2.0.29",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.23",
56
+ "@smithy/util-defaults-mode-node": "^2.0.30",
56
57
  "@smithy/util-endpoints": "^1.0.7",
57
58
  "@smithy/util-retry": "^2.0.8",
58
59
  "@smithy/util-utf8": "^2.0.2",