@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,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;
@@ -4,8 +4,8 @@ import {
4
4
  DescribeServicesCommandOutput,
5
5
  } from "../commands/DescribeServicesCommand";
6
6
  import { PricingPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateDescribeServices(
7
+ export declare const paginateDescribeServices: (
8
8
  config: PricingPaginationConfiguration,
9
9
  input: DescribeServicesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<DescribeServicesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeServicesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetAttributeValuesCommandOutput,
5
5
  } from "../commands/GetAttributeValuesCommand";
6
6
  import { PricingPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetAttributeValues(
7
+ export declare const paginateGetAttributeValues: (
8
8
  config: PricingPaginationConfiguration,
9
9
  input: GetAttributeValuesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetAttributeValuesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetAttributeValuesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetProductsCommandOutput,
5
5
  } from "../commands/GetProductsCommand";
6
6
  import { PricingPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetProducts(
7
+ export declare const paginateGetProducts: (
8
8
  config: PricingPaginationConfiguration,
9
9
  input: GetProductsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetProductsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetProductsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListPriceListsCommandOutput,
5
5
  } from "../commands/ListPriceListsCommand";
6
6
  import { PricingPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListPriceLists(
7
+ export declare const paginateListPriceLists: (
8
8
  config: PricingPaginationConfiguration,
9
9
  input: ListPriceListsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListPriceListsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListPriceListsCommandOutput>;
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.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",