@aws-sdk/client-pricing 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 (41) hide show
  1. package/dist-cjs/commands/DescribeServicesCommand.js +18 -41
  2. package/dist-cjs/commands/GetAttributeValuesCommand.js +18 -41
  3. package/dist-cjs/commands/GetPriceListFileUrlCommand.js +18 -41
  4. package/dist-cjs/commands/GetProductsCommand.js +18 -41
  5. package/dist-cjs/commands/ListPriceListsCommand.js +18 -41
  6. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  7. package/dist-cjs/pagination/DescribeServicesPaginator.js +2 -24
  8. package/dist-cjs/pagination/GetAttributeValuesPaginator.js +2 -24
  9. package/dist-cjs/pagination/GetProductsPaginator.js +2 -24
  10. package/dist-cjs/pagination/ListPriceListsPaginator.js +2 -24
  11. package/dist-es/commands/DescribeServicesCommand.js +18 -41
  12. package/dist-es/commands/GetAttributeValuesCommand.js +18 -41
  13. package/dist-es/commands/GetPriceListFileUrlCommand.js +18 -41
  14. package/dist-es/commands/GetProductsCommand.js +18 -41
  15. package/dist-es/commands/ListPriceListsCommand.js +18 -41
  16. package/dist-es/endpoint/EndpointParameters.js +6 -0
  17. package/dist-es/pagination/DescribeServicesPaginator.js +2 -23
  18. package/dist-es/pagination/GetAttributeValuesPaginator.js +2 -23
  19. package/dist-es/pagination/GetProductsPaginator.js +2 -23
  20. package/dist-es/pagination/ListPriceListsPaginator.js +2 -23
  21. package/dist-types/commands/DescribeServicesCommand.d.ts +6 -21
  22. package/dist-types/commands/GetAttributeValuesCommand.d.ts +6 -21
  23. package/dist-types/commands/GetPriceListFileUrlCommand.d.ts +6 -21
  24. package/dist-types/commands/GetProductsCommand.d.ts +6 -21
  25. package/dist-types/commands/ListPriceListsCommand.d.ts +6 -21
  26. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  27. package/dist-types/pagination/DescribeServicesPaginator.d.ts +1 -1
  28. package/dist-types/pagination/GetAttributeValuesPaginator.d.ts +1 -1
  29. package/dist-types/pagination/GetProductsPaginator.d.ts +1 -1
  30. package/dist-types/pagination/ListPriceListsPaginator.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +14 -23
  32. package/dist-types/ts3.4/commands/GetAttributeValuesCommand.d.ts +14 -23
  33. package/dist-types/ts3.4/commands/GetPriceListFileUrlCommand.d.ts +14 -23
  34. package/dist-types/ts3.4/commands/GetProductsCommand.d.ts +14 -23
  35. package/dist-types/ts3.4/commands/ListPriceListsCommand.d.ts +14 -23
  36. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  37. package/dist-types/ts3.4/pagination/DescribeServicesPaginator.d.ts +3 -3
  38. package/dist-types/ts3.4/pagination/GetAttributeValuesPaginator.d.ts +3 -3
  39. package/dist-types/ts3.4/pagination/GetProductsPaginator.d.ts +3 -3
  40. package/dist-types/ts3.4/pagination/ListPriceListsPaginator.d.ts +3 -3
  41. package/package.json +11 -10
@@ -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_GetPriceListFileUrlCommand, se_GetPriceListFileUrlCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetPriceListFileUrlCommand 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, GetPriceListFileUrlCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PricingClient";
26
- const commandName = "GetPriceListFileUrlCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSPriceListService",
35
- operation: "GetPriceListFileUrl",
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_GetPriceListFileUrlCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetPriceListFileUrlCommand(output, context);
46
- }
7
+ export class GetPriceListFileUrlCommand 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("AWSPriceListService", "GetPriceListFileUrl", {})
19
+ .n("PricingClient", "GetPriceListFileUrlCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetPriceListFileUrlCommand)
22
+ .de(de_GetPriceListFileUrlCommand)
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_GetProductsCommand, se_GetProductsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetProductsCommand 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, GetProductsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PricingClient";
26
- const commandName = "GetProductsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSPriceListService",
35
- operation: "GetProducts",
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_GetProductsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetProductsCommand(output, context);
46
- }
7
+ export class GetProductsCommand 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("AWSPriceListService", "GetProducts", {})
19
+ .n("PricingClient", "GetProductsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetProductsCommand)
22
+ .de(de_GetProductsCommand)
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_ListPriceListsCommand, se_ListPriceListsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListPriceListsCommand 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, ListPriceListsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PricingClient";
26
- const commandName = "ListPriceListsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSPriceListService",
35
- operation: "ListPriceLists",
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_ListPriceListsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListPriceListsCommand(output, context);
46
- }
7
+ export class ListPriceListsCommand 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("AWSPriceListService", "ListPriceLists", {})
19
+ .n("PricingClient", "ListPriceListsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListPriceListsCommand)
22
+ .de(de_ListPriceListsCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "pricing",
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 { DescribeServicesCommand, } from "../commands/DescribeServicesCommand";
2
3
  import { PricingClient } from "../PricingClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeServicesCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeServices(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 PricingClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Pricing | PricingClient");
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 paginateDescribeServices = createPaginator(PricingClient, DescribeServicesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetAttributeValuesCommand, } from "../commands/GetAttributeValuesCommand";
2
3
  import { PricingClient } from "../PricingClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetAttributeValuesCommand(input), ...args);
5
- };
6
- export async function* paginateGetAttributeValues(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 PricingClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Pricing | PricingClient");
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 paginateGetAttributeValues = createPaginator(PricingClient, GetAttributeValuesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetProductsCommand } from "../commands/GetProductsCommand";
2
3
  import { PricingClient } from "../PricingClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetProductsCommand(input), ...args);
5
- };
6
- export async function* paginateGetProducts(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 PricingClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Pricing | PricingClient");
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 paginateGetProducts = createPaginator(PricingClient, GetProductsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListPriceListsCommand, } from "../commands/ListPriceListsCommand";
2
3
  import { PricingClient } from "../PricingClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListPriceListsCommand(input), ...args);
5
- };
6
- export async function* paginateListPriceLists(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 PricingClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Pricing | PricingClient");
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 paginateListPriceLists = createPaginator(PricingClient, ListPriceListsCommand, "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 { DescribeServicesRequest, DescribeServicesResponse } from "../models/models_0";
5
4
  import { PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PricingClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeServicesCommandInput extends DescribeServicesRequest {
21
20
  */
22
21
  export interface DescribeServicesCommandOutput extends DescribeServicesResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeServicesCommand_base: {
24
+ new (input: DescribeServicesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeServicesCommandInput, DescribeServicesCommandOutput, PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns the metadata for one service or a list of the metadata for all services. Use
@@ -84,23 +87,5 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse,
84
87
  * <p>Base exception class for all service exceptions from Pricing service.</p>
85
88
  *
86
89
  */
87
- export declare class DescribeServicesCommand extends $Command<DescribeServicesCommandInput, DescribeServicesCommandOutput, PricingClientResolvedConfig> {
88
- readonly input: DescribeServicesCommandInput;
89
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
90
- /**
91
- * @public
92
- */
93
- constructor(input: DescribeServicesCommandInput);
94
- /**
95
- * @internal
96
- */
97
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PricingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeServicesCommandInput, DescribeServicesCommandOutput>;
98
- /**
99
- * @internal
100
- */
101
- private serialize;
102
- /**
103
- * @internal
104
- */
105
- private deserialize;
90
+ export declare class DescribeServicesCommand extends DescribeServicesCommand_base {
106
91
  }
@@ -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 { GetAttributeValuesRequest, GetAttributeValuesResponse } from "../models/models_0";
5
4
  import { PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PricingClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetAttributeValuesCommandInput extends GetAttributeValuesReques
21
20
  */
22
21
  export interface GetAttributeValuesCommandOutput extends GetAttributeValuesResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetAttributeValuesCommand_base: {
24
+ new (input: GetAttributeValuesCommandInput): import("@smithy/smithy-client").CommandImpl<GetAttributeValuesCommandInput, GetAttributeValuesCommandOutput, PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns a list of attribute values. Attributes are similar to the details
@@ -77,23 +80,5 @@ export interface GetAttributeValuesCommandOutput extends GetAttributeValuesRespo
77
80
  * <p>Base exception class for all service exceptions from Pricing service.</p>
78
81
  *
79
82
  */
80
- export declare class GetAttributeValuesCommand extends $Command<GetAttributeValuesCommandInput, GetAttributeValuesCommandOutput, PricingClientResolvedConfig> {
81
- readonly input: GetAttributeValuesCommandInput;
82
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
83
- /**
84
- * @public
85
- */
86
- constructor(input: GetAttributeValuesCommandInput);
87
- /**
88
- * @internal
89
- */
90
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PricingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAttributeValuesCommandInput, GetAttributeValuesCommandOutput>;
91
- /**
92
- * @internal
93
- */
94
- private serialize;
95
- /**
96
- * @internal
97
- */
98
- private deserialize;
83
+ export declare class GetAttributeValuesCommand extends GetAttributeValuesCommand_base {
99
84
  }
@@ -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 { GetPriceListFileUrlRequest, GetPriceListFileUrlResponse } from "../models/models_0";
5
4
  import { PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PricingClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetPriceListFileUrlCommandInput extends GetPriceListFileUrlRequ
21
20
  */
22
21
  export interface GetPriceListFileUrlCommandOutput extends GetPriceListFileUrlResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetPriceListFileUrlCommand_base: {
24
+ new (input: GetPriceListFileUrlCommandInput): import("@smithy/smithy-client").CommandImpl<GetPriceListFileUrlCommandInput, GetPriceListFileUrlCommandOutput, PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>
@@ -71,23 +74,5 @@ export interface GetPriceListFileUrlCommandOutput extends GetPriceListFileUrlRes
71
74
  * <p>Base exception class for all service exceptions from Pricing service.</p>
72
75
  *
73
76
  */
74
- export declare class GetPriceListFileUrlCommand extends $Command<GetPriceListFileUrlCommandInput, GetPriceListFileUrlCommandOutput, PricingClientResolvedConfig> {
75
- readonly input: GetPriceListFileUrlCommandInput;
76
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
- /**
78
- * @public
79
- */
80
- constructor(input: GetPriceListFileUrlCommandInput);
81
- /**
82
- * @internal
83
- */
84
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PricingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPriceListFileUrlCommandInput, GetPriceListFileUrlCommandOutput>;
85
- /**
86
- * @internal
87
- */
88
- private serialize;
89
- /**
90
- * @internal
91
- */
92
- private deserialize;
77
+ export declare class GetPriceListFileUrlCommand extends GetPriceListFileUrlCommand_base {
93
78
  }
@@ -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 { GetProductsRequest, GetProductsResponse } from "../models/models_0";
5
4
  import { PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PricingClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetProductsCommandInput extends GetProductsRequest {
21
20
  */
22
21
  export interface GetProductsCommandOutput extends GetProductsResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetProductsCommand_base: {
24
+ new (input: GetProductsCommandInput): import("@smithy/smithy-client").CommandImpl<GetProductsCommandInput, GetProductsCommandOutput, PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns a list of all products that match the filter criteria.</p>
@@ -80,23 +83,5 @@ export interface GetProductsCommandOutput extends GetProductsResponse, __Metadat
80
83
  * <p>Base exception class for all service exceptions from Pricing service.</p>
81
84
  *
82
85
  */
83
- export declare class GetProductsCommand extends $Command<GetProductsCommandInput, GetProductsCommandOutput, PricingClientResolvedConfig> {
84
- readonly input: GetProductsCommandInput;
85
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
- /**
87
- * @public
88
- */
89
- constructor(input: GetProductsCommandInput);
90
- /**
91
- * @internal
92
- */
93
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PricingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetProductsCommandInput, GetProductsCommandOutput>;
94
- /**
95
- * @internal
96
- */
97
- private serialize;
98
- /**
99
- * @internal
100
- */
101
- private deserialize;
86
+ export declare class GetProductsCommand extends GetProductsCommand_base {
102
87
  }
@@ -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 { ListPriceListsRequest, ListPriceListsResponse } from "../models/models_0";
5
4
  import { PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PricingClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListPriceListsCommandInput extends ListPriceListsRequest {
21
20
  */
22
21
  export interface ListPriceListsCommandOutput extends ListPriceListsResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListPriceListsCommand_base: {
24
+ new (input: ListPriceListsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPriceListsCommandInput, ListPriceListsCommandOutput, PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>
@@ -95,23 +98,5 @@ export interface ListPriceListsCommandOutput extends ListPriceListsResponse, __M
95
98
  * <p>Base exception class for all service exceptions from Pricing service.</p>
96
99
  *
97
100
  */
98
- export declare class ListPriceListsCommand extends $Command<ListPriceListsCommandInput, ListPriceListsCommandOutput, PricingClientResolvedConfig> {
99
- readonly input: ListPriceListsCommandInput;
100
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
101
- /**
102
- * @public
103
- */
104
- constructor(input: ListPriceListsCommandInput);
105
- /**
106
- * @internal
107
- */
108
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PricingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListPriceListsCommandInput, ListPriceListsCommandOutput>;
109
- /**
110
- * @internal
111
- */
112
- private serialize;
113
- /**
114
- * @internal
115
- */
116
- private deserialize;
101
+ export declare class ListPriceListsCommand extends ListPriceListsCommand_base {
117
102
  }
@@ -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 { PricingPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateDescribeServices(config: PricingPaginationConfiguration, input: DescribeServicesCommandInput, ...additionalArguments: any): Paginator<DescribeServicesCommandOutput>;
7
+ export declare const paginateDescribeServices: (config: PricingPaginationConfiguration, input: DescribeServicesCommandInput, ...rest: any[]) => Paginator<DescribeServicesCommandOutput>;
@@ -4,4 +4,4 @@ import { PricingPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetAttributeValues(config: PricingPaginationConfiguration, input: GetAttributeValuesCommandInput, ...additionalArguments: any): Paginator<GetAttributeValuesCommandOutput>;
7
+ export declare const paginateGetAttributeValues: (config: PricingPaginationConfiguration, input: GetAttributeValuesCommandInput, ...rest: any[]) => Paginator<GetAttributeValuesCommandOutput>;
@@ -4,4 +4,4 @@ import { PricingPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetProducts(config: PricingPaginationConfiguration, input: GetProductsCommandInput, ...additionalArguments: any): Paginator<GetProductsCommandOutput>;
7
+ export declare const paginateGetProducts: (config: PricingPaginationConfiguration, input: GetProductsCommandInput, ...rest: any[]) => Paginator<GetProductsCommandOutput>;
@@ -4,4 +4,4 @@ import { PricingPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListPriceLists(config: PricingPaginationConfiguration, input: ListPriceListsCommandInput, ...additionalArguments: any): Paginator<ListPriceListsCommandOutput>;
7
+ export declare const paginateListPriceLists: (config: PricingPaginationConfiguration, input: ListPriceListsCommandInput, ...rest: any[]) => Paginator<ListPriceListsCommandOutput>;
@@ -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
  DescribeServicesRequest,
11
5
  DescribeServicesResponse,
@@ -20,19 +14,16 @@ export interface DescribeServicesCommandInput extends DescribeServicesRequest {}
20
14
  export interface DescribeServicesCommandOutput
21
15
  extends DescribeServicesResponse,
22
16
  __MetadataBearer {}
23
- export declare class DescribeServicesCommand extends $Command<
24
- DescribeServicesCommandInput,
25
- DescribeServicesCommandOutput,
26
- PricingClientResolvedConfig
27
- > {
28
- readonly input: DescribeServicesCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: DescribeServicesCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: PricingClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<DescribeServicesCommandInput, DescribeServicesCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
17
+ declare const DescribeServicesCommand_base: {
18
+ new (
19
+ input: DescribeServicesCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ DescribeServicesCommandInput,
22
+ DescribeServicesCommandOutput,
23
+ PricingClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class DescribeServicesCommand extends DescribeServicesCommand_base {}