@aws-sdk/client-pricing 3.478.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/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-es/commands/DescribeServicesCommand.js +18 -41
  8. package/dist-es/commands/GetAttributeValuesCommand.js +18 -41
  9. package/dist-es/commands/GetPriceListFileUrlCommand.js +18 -41
  10. package/dist-es/commands/GetProductsCommand.js +18 -41
  11. package/dist-es/commands/ListPriceListsCommand.js +18 -41
  12. package/dist-es/endpoint/EndpointParameters.js +6 -0
  13. package/dist-types/commands/DescribeServicesCommand.d.ts +6 -21
  14. package/dist-types/commands/GetAttributeValuesCommand.d.ts +6 -21
  15. package/dist-types/commands/GetPriceListFileUrlCommand.d.ts +6 -21
  16. package/dist-types/commands/GetProductsCommand.d.ts +6 -21
  17. package/dist-types/commands/ListPriceListsCommand.d.ts +6 -21
  18. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  19. package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +14 -23
  20. package/dist-types/ts3.4/commands/GetAttributeValuesCommand.d.ts +14 -23
  21. package/dist-types/ts3.4/commands/GetPriceListFileUrlCommand.d.ts +14 -23
  22. package/dist-types/ts3.4/commands/GetProductsCommand.d.ts +14 -23
  23. package/dist-types/ts3.4/commands/ListPriceListsCommand.d.ts +14 -23
  24. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  25. package/package.json +9 -9
@@ -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,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;
@@ -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 {}
@@ -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
  GetAttributeValuesRequest,
11
5
  GetAttributeValuesResponse,
@@ -21,19 +15,16 @@ export interface GetAttributeValuesCommandInput
21
15
  export interface GetAttributeValuesCommandOutput
22
16
  extends GetAttributeValuesResponse,
23
17
  __MetadataBearer {}
24
- export declare class GetAttributeValuesCommand extends $Command<
25
- GetAttributeValuesCommandInput,
26
- GetAttributeValuesCommandOutput,
27
- PricingClientResolvedConfig
28
- > {
29
- readonly input: GetAttributeValuesCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: GetAttributeValuesCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: PricingClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<GetAttributeValuesCommandInput, GetAttributeValuesCommandOutput>;
37
- private serialize;
38
- private deserialize;
39
- }
18
+ declare const GetAttributeValuesCommand_base: {
19
+ new (
20
+ input: GetAttributeValuesCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GetAttributeValuesCommandInput,
23
+ GetAttributeValuesCommandOutput,
24
+ PricingClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class GetAttributeValuesCommand extends GetAttributeValuesCommand_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
  GetPriceListFileUrlRequest,
11
5
  GetPriceListFileUrlResponse,
@@ -21,19 +15,16 @@ export interface GetPriceListFileUrlCommandInput
21
15
  export interface GetPriceListFileUrlCommandOutput
22
16
  extends GetPriceListFileUrlResponse,
23
17
  __MetadataBearer {}
24
- export declare class GetPriceListFileUrlCommand extends $Command<
25
- GetPriceListFileUrlCommandInput,
26
- GetPriceListFileUrlCommandOutput,
27
- PricingClientResolvedConfig
28
- > {
29
- readonly input: GetPriceListFileUrlCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: GetPriceListFileUrlCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: PricingClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<GetPriceListFileUrlCommandInput, GetPriceListFileUrlCommandOutput>;
37
- private serialize;
38
- private deserialize;
39
- }
18
+ declare const GetPriceListFileUrlCommand_base: {
19
+ new (
20
+ input: GetPriceListFileUrlCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GetPriceListFileUrlCommandInput,
23
+ GetPriceListFileUrlCommandOutput,
24
+ PricingClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class GetPriceListFileUrlCommand extends GetPriceListFileUrlCommand_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 { GetProductsRequest, GetProductsResponse } from "../models/models_0";
10
4
  import {
11
5
  PricingClientResolvedConfig,
@@ -17,19 +11,16 @@ export interface GetProductsCommandInput extends GetProductsRequest {}
17
11
  export interface GetProductsCommandOutput
18
12
  extends GetProductsResponse,
19
13
  __MetadataBearer {}
20
- export declare class GetProductsCommand extends $Command<
21
- GetProductsCommandInput,
22
- GetProductsCommandOutput,
23
- PricingClientResolvedConfig
24
- > {
25
- readonly input: GetProductsCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: GetProductsCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: PricingClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<GetProductsCommandInput, GetProductsCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
14
+ declare const GetProductsCommand_base: {
15
+ new (
16
+ input: GetProductsCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ GetProductsCommandInput,
19
+ GetProductsCommandOutput,
20
+ PricingClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class GetProductsCommand extends GetProductsCommand_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
  ListPriceListsRequest,
11
5
  ListPriceListsResponse,
@@ -20,19 +14,16 @@ export interface ListPriceListsCommandInput extends ListPriceListsRequest {}
20
14
  export interface ListPriceListsCommandOutput
21
15
  extends ListPriceListsResponse,
22
16
  __MetadataBearer {}
23
- export declare class ListPriceListsCommand extends $Command<
24
- ListPriceListsCommandInput,
25
- ListPriceListsCommandOutput,
26
- PricingClientResolvedConfig
27
- > {
28
- readonly input: ListPriceListsCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: ListPriceListsCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: PricingClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<ListPriceListsCommandInput, ListPriceListsCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
17
+ declare const ListPriceListsCommand_base: {
18
+ new (
19
+ input: ListPriceListsCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ ListPriceListsCommandInput,
22
+ ListPriceListsCommandOutput,
23
+ PricingClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class ListPriceListsCommand extends ListPriceListsCommand_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;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-pricing",
3
3
  "description": "AWS SDK for JavaScript Pricing Client for Node.js, Browser and React Native",
4
- "version": "3.478.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,9 +20,9 @@
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.478.0",
24
- "@aws-sdk/core": "3.477.0",
25
- "@aws-sdk/credential-provider-node": "3.478.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",
@@ -34,26 +34,26 @@
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.0",
37
+ "@smithy/core": "^1.2.1",
38
38
  "@smithy/fetch-http-handler": "^2.3.1",
39
39
  "@smithy/hash-node": "^2.0.17",
40
40
  "@smithy/invalid-dependency": "^2.0.15",
41
41
  "@smithy/middleware-content-length": "^2.0.17",
42
42
  "@smithy/middleware-endpoint": "^2.2.3",
43
- "@smithy/middleware-retry": "^2.0.24",
43
+ "@smithy/middleware-retry": "^2.0.25",
44
44
  "@smithy/middleware-serde": "^2.0.15",
45
45
  "@smithy/middleware-stack": "^2.0.9",
46
46
  "@smithy/node-config-provider": "^2.1.8",
47
47
  "@smithy/node-http-handler": "^2.2.1",
48
48
  "@smithy/protocol-http": "^3.0.11",
49
- "@smithy/smithy-client": "^2.1.18",
49
+ "@smithy/smithy-client": "^2.2.0",
50
50
  "@smithy/types": "^2.7.0",
51
51
  "@smithy/url-parser": "^2.0.15",
52
52
  "@smithy/util-base64": "^2.0.1",
53
53
  "@smithy/util-body-length-browser": "^2.0.1",
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.22",
56
- "@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",
57
57
  "@smithy/util-endpoints": "^1.0.7",
58
58
  "@smithy/util-retry": "^2.0.8",
59
59
  "@smithy/util-utf8": "^2.0.2",