@aws-sdk/client-pricing 3.296.0 → 3.297.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.
- package/dist-types/Pricing.d.ts +6 -0
- package/dist-types/PricingClient.d.ts +24 -4
- package/dist-types/commands/DescribeServicesCommand.d.ts +16 -0
- package/dist-types/commands/GetAttributeValuesCommand.d.ts +16 -0
- package/dist-types/commands/GetPriceListFileUrlCommand.d.ts +16 -0
- package/dist-types/commands/GetProductsCommand.d.ts +16 -0
- package/dist-types/commands/ListPriceListsCommand.d.ts +16 -0
- package/dist-types/models/PricingServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +43 -0
- package/dist-types/pagination/DescribeServicesPaginator.d.ts +3 -0
- package/dist-types/pagination/GetAttributeValuesPaginator.d.ts +3 -0
- package/dist-types/pagination/GetProductsPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListPriceListsPaginator.d.ts +3 -0
- package/package.json +3 -3
package/dist-types/Pricing.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { GetProductsCommandInput, GetProductsCommandOutput } from "./commands/Ge
|
|
|
6
6
|
import { ListPriceListsCommandInput, ListPriceListsCommandOutput } from "./commands/ListPriceListsCommand";
|
|
7
7
|
import { PricingClient } from "./PricingClient";
|
|
8
8
|
/**
|
|
9
|
+
* @public
|
|
9
10
|
* <p>Amazon Web Services Price List API is a centralized and convenient way to
|
|
10
11
|
* programmatically query Amazon Web Services for services, products, and pricing information. The Amazon Web Services Price List
|
|
11
12
|
* uses standardized product attributes such as <code>Location</code>, <code>Storage
|
|
@@ -33,6 +34,7 @@ import { PricingClient } from "./PricingClient";
|
|
|
33
34
|
*/
|
|
34
35
|
export declare class Pricing extends PricingClient {
|
|
35
36
|
/**
|
|
37
|
+
* @public
|
|
36
38
|
* <p>Returns the metadata for one service or a list of the metadata for all services. Use
|
|
37
39
|
* this without a service code to get the service codes for all services.
|
|
38
40
|
* Use it with a service code, such as <code>AmazonEC2</code>, to get information specific to
|
|
@@ -45,6 +47,7 @@ export declare class Pricing extends PricingClient {
|
|
|
45
47
|
describeServices(args: DescribeServicesCommandInput, cb: (err: any, data?: DescribeServicesCommandOutput) => void): void;
|
|
46
48
|
describeServices(args: DescribeServicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeServicesCommandOutput) => void): void;
|
|
47
49
|
/**
|
|
50
|
+
* @public
|
|
48
51
|
* <p>Returns a list of attribute values. Attributes are similar to the details
|
|
49
52
|
* in a Price List API offer file. For a list of available attributes, see
|
|
50
53
|
* <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/reading-an-offer.html#pps-defs">Offer File Definitions</a>
|
|
@@ -54,6 +57,7 @@ export declare class Pricing extends PricingClient {
|
|
|
54
57
|
getAttributeValues(args: GetAttributeValuesCommandInput, cb: (err: any, data?: GetAttributeValuesCommandOutput) => void): void;
|
|
55
58
|
getAttributeValues(args: GetAttributeValuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAttributeValuesCommandOutput) => void): void;
|
|
56
59
|
/**
|
|
60
|
+
* @public
|
|
57
61
|
* <p>
|
|
58
62
|
* <i>
|
|
59
63
|
* <b>This feature is in preview release and is subject to change. Your use of Amazon Web Services Price List API is subject to the Beta Service Participation terms of the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a> (Section 1.10).</b>
|
|
@@ -68,12 +72,14 @@ export declare class Pricing extends PricingClient {
|
|
|
68
72
|
getPriceListFileUrl(args: GetPriceListFileUrlCommandInput, cb: (err: any, data?: GetPriceListFileUrlCommandOutput) => void): void;
|
|
69
73
|
getPriceListFileUrl(args: GetPriceListFileUrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPriceListFileUrlCommandOutput) => void): void;
|
|
70
74
|
/**
|
|
75
|
+
* @public
|
|
71
76
|
* <p>Returns a list of all products that match the filter criteria.</p>
|
|
72
77
|
*/
|
|
73
78
|
getProducts(args: GetProductsCommandInput, options?: __HttpHandlerOptions): Promise<GetProductsCommandOutput>;
|
|
74
79
|
getProducts(args: GetProductsCommandInput, cb: (err: any, data?: GetProductsCommandOutput) => void): void;
|
|
75
80
|
getProducts(args: GetProductsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProductsCommandOutput) => void): void;
|
|
76
81
|
/**
|
|
82
|
+
* @public
|
|
77
83
|
* <p>
|
|
78
84
|
* <i>
|
|
79
85
|
* <b>This feature is in preview release and is subject to change. Your use of Amazon Web Services Price List API is subject to the Beta Service Participation terms of the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a> (Section 1.10).</b>
|
|
@@ -13,15 +13,24 @@ import { GetPriceListFileUrlCommandInput, GetPriceListFileUrlCommandOutput } fro
|
|
|
13
13
|
import { GetProductsCommandInput, GetProductsCommandOutput } from "./commands/GetProductsCommand";
|
|
14
14
|
import { ListPriceListsCommandInput, ListPriceListsCommandOutput } from "./commands/ListPriceListsCommand";
|
|
15
15
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
16
19
|
export type ServiceInputTypes = DescribeServicesCommandInput | GetAttributeValuesCommandInput | GetPriceListFileUrlCommandInput | GetProductsCommandInput | ListPriceListsCommandInput;
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
17
23
|
export type ServiceOutputTypes = DescribeServicesCommandOutput | GetAttributeValuesCommandOutput | GetPriceListFileUrlCommandOutput | GetProductsCommandOutput | ListPriceListsCommandOutput;
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
18
27
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
19
28
|
/**
|
|
20
29
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
21
30
|
*/
|
|
22
31
|
requestHandler?: __HttpHandler;
|
|
23
32
|
/**
|
|
24
|
-
* A constructor for a class implementing the {@link
|
|
33
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
25
34
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
26
35
|
* @internal
|
|
27
36
|
*/
|
|
@@ -111,23 +120,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
111
120
|
*/
|
|
112
121
|
logger?: __Logger;
|
|
113
122
|
/**
|
|
114
|
-
* The {@link
|
|
123
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
115
124
|
*/
|
|
116
125
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
117
126
|
}
|
|
127
|
+
/**
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
118
130
|
type PricingClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
119
131
|
/**
|
|
120
|
-
*
|
|
132
|
+
* @public
|
|
133
|
+
*
|
|
134
|
+
* The configuration interface of PricingClient class constructor that set the region, credentials and other options.
|
|
121
135
|
*/
|
|
122
136
|
export interface PricingClientConfig extends PricingClientConfigType {
|
|
123
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
124
141
|
type PricingClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
125
142
|
/**
|
|
126
|
-
*
|
|
143
|
+
* @public
|
|
144
|
+
*
|
|
145
|
+
* The resolved configuration interface of PricingClient class. This is resolved and normalized from the {@link PricingClientConfig | constructor configuration interface}.
|
|
127
146
|
*/
|
|
128
147
|
export interface PricingClientResolvedConfig extends PricingClientResolvedConfigType {
|
|
129
148
|
}
|
|
130
149
|
/**
|
|
150
|
+
* @public
|
|
131
151
|
* <p>Amazon Web Services Price List API is a centralized and convenient way to
|
|
132
152
|
* programmatically query Amazon Web Services for services, products, and pricing information. The Amazon Web Services Price List
|
|
133
153
|
* uses standardized product attributes such as <code>Location</code>, <code>Storage
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DescribeServicesRequest, DescribeServicesResponse } from "../models/models_0";
|
|
5
5
|
import { PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PricingClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DescribeServicesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DescribeServicesCommandInput extends DescribeServicesRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DescribeServicesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DescribeServicesCommandOutput extends DescribeServicesResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns the metadata for one service or a list of the metadata for all services. Use
|
|
18
23
|
* this without a service code to get the service codes for all services.
|
|
19
24
|
* Use it with a service code, such as <code>AmazonEC2</code>, to get information specific to
|
|
@@ -31,6 +36,8 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse,
|
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
33
38
|
*
|
|
39
|
+
* @param DescribeServicesCommandInput - {@link DescribeServicesCommandInput}
|
|
40
|
+
* @returns {@link DescribeServicesCommandOutput}
|
|
34
41
|
* @see {@link DescribeServicesCommandInput} for command's `input` shape.
|
|
35
42
|
* @see {@link DescribeServicesCommandOutput} for command's `response` shape.
|
|
36
43
|
* @see {@link PricingClientResolvedConfig | config} for PricingClient's `config` shape.
|
|
@@ -86,11 +93,20 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse,
|
|
|
86
93
|
export declare class DescribeServicesCommand extends $Command<DescribeServicesCommandInput, DescribeServicesCommandOutput, PricingClientResolvedConfig> {
|
|
87
94
|
readonly input: DescribeServicesCommandInput;
|
|
88
95
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
89
99
|
constructor(input: DescribeServicesCommandInput);
|
|
90
100
|
/**
|
|
91
101
|
* @internal
|
|
92
102
|
*/
|
|
93
103
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PricingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeServicesCommandInput, DescribeServicesCommandOutput>;
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
94
107
|
private serialize;
|
|
108
|
+
/**
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
95
111
|
private deserialize;
|
|
96
112
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GetAttributeValuesRequest, GetAttributeValuesResponse } from "../models/models_0";
|
|
5
5
|
import { PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PricingClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetAttributeValuesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetAttributeValuesCommandInput extends GetAttributeValuesRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetAttributeValuesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetAttributeValuesCommandOutput extends GetAttributeValuesResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns a list of attribute values. Attributes are similar to the details
|
|
18
23
|
* in a Price List API offer file. For a list of available attributes, see
|
|
19
24
|
* <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/reading-an-offer.html#pps-defs">Offer File Definitions</a>
|
|
@@ -28,6 +33,8 @@ export interface GetAttributeValuesCommandOutput extends GetAttributeValuesRespo
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param GetAttributeValuesCommandInput - {@link GetAttributeValuesCommandInput}
|
|
37
|
+
* @returns {@link GetAttributeValuesCommandOutput}
|
|
31
38
|
* @see {@link GetAttributeValuesCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link GetAttributeValuesCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link PricingClientResolvedConfig | config} for PricingClient's `config` shape.
|
|
@@ -78,11 +85,20 @@ export interface GetAttributeValuesCommandOutput extends GetAttributeValuesRespo
|
|
|
78
85
|
export declare class GetAttributeValuesCommand extends $Command<GetAttributeValuesCommandInput, GetAttributeValuesCommandOutput, PricingClientResolvedConfig> {
|
|
79
86
|
readonly input: GetAttributeValuesCommandInput;
|
|
80
87
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
81
91
|
constructor(input: GetAttributeValuesCommandInput);
|
|
82
92
|
/**
|
|
83
93
|
* @internal
|
|
84
94
|
*/
|
|
85
95
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PricingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAttributeValuesCommandInput, GetAttributeValuesCommandOutput>;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
86
99
|
private serialize;
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
87
103
|
private deserialize;
|
|
88
104
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GetPriceListFileUrlRequest, GetPriceListFileUrlResponse } from "../models/models_0";
|
|
5
5
|
import { PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PricingClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetPriceListFileUrlCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetPriceListFileUrlCommandInput extends GetPriceListFileUrlRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetPriceListFileUrlCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetPriceListFileUrlCommandOutput extends GetPriceListFileUrlResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>
|
|
18
23
|
* <i>
|
|
19
24
|
* <b>This feature is in preview release and is subject to change. Your use of Amazon Web Services Price List API is subject to the Beta Service Participation terms of the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a> (Section 1.10).</b>
|
|
@@ -33,6 +38,8 @@ export interface GetPriceListFileUrlCommandOutput extends GetPriceListFileUrlRes
|
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
35
40
|
*
|
|
41
|
+
* @param GetPriceListFileUrlCommandInput - {@link GetPriceListFileUrlCommandInput}
|
|
42
|
+
* @returns {@link GetPriceListFileUrlCommandOutput}
|
|
36
43
|
* @see {@link GetPriceListFileUrlCommandInput} for command's `input` shape.
|
|
37
44
|
* @see {@link GetPriceListFileUrlCommandOutput} for command's `response` shape.
|
|
38
45
|
* @see {@link PricingClientResolvedConfig | config} for PricingClient's `config` shape.
|
|
@@ -54,11 +61,20 @@ export interface GetPriceListFileUrlCommandOutput extends GetPriceListFileUrlRes
|
|
|
54
61
|
export declare class GetPriceListFileUrlCommand extends $Command<GetPriceListFileUrlCommandInput, GetPriceListFileUrlCommandOutput, PricingClientResolvedConfig> {
|
|
55
62
|
readonly input: GetPriceListFileUrlCommandInput;
|
|
56
63
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
57
67
|
constructor(input: GetPriceListFileUrlCommandInput);
|
|
58
68
|
/**
|
|
59
69
|
* @internal
|
|
60
70
|
*/
|
|
61
71
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PricingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPriceListFileUrlCommandInput, GetPriceListFileUrlCommandOutput>;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
62
75
|
private serialize;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
63
79
|
private deserialize;
|
|
64
80
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GetProductsRequest, GetProductsResponse } from "../models/models_0";
|
|
5
5
|
import { PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PricingClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetProductsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetProductsCommandInput extends GetProductsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetProductsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetProductsCommandOutput extends GetProductsResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns a list of all products that match the filter criteria.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface GetProductsCommandOutput extends GetProductsResponse, __Metadat
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param GetProductsCommandInput - {@link GetProductsCommandInput}
|
|
34
|
+
* @returns {@link GetProductsCommandOutput}
|
|
28
35
|
* @see {@link GetProductsCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link GetProductsCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link PricingClientResolvedConfig | config} for PricingClient's `config` shape.
|
|
@@ -49,11 +56,20 @@ export interface GetProductsCommandOutput extends GetProductsResponse, __Metadat
|
|
|
49
56
|
export declare class GetProductsCommand extends $Command<GetProductsCommandInput, GetProductsCommandOutput, PricingClientResolvedConfig> {
|
|
50
57
|
readonly input: GetProductsCommandInput;
|
|
51
58
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
52
62
|
constructor(input: GetProductsCommandInput);
|
|
53
63
|
/**
|
|
54
64
|
* @internal
|
|
55
65
|
*/
|
|
56
66
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PricingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetProductsCommandInput, GetProductsCommandOutput>;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
57
70
|
private serialize;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
58
74
|
private deserialize;
|
|
59
75
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ListPriceListsRequest, ListPriceListsResponse } from "../models/models_0";
|
|
5
5
|
import { PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PricingClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListPriceListsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListPriceListsCommandInput extends ListPriceListsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListPriceListsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListPriceListsCommandOutput extends ListPriceListsResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>
|
|
18
23
|
* <i>
|
|
19
24
|
* <b>This feature is in preview release and is subject to change. Your use of Amazon Web Services Price List API is subject to the Beta Service Participation terms of the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a> (Section 1.10).</b>
|
|
@@ -37,6 +42,8 @@ export interface ListPriceListsCommandOutput extends ListPriceListsResponse, __M
|
|
|
37
42
|
* const response = await client.send(command);
|
|
38
43
|
* ```
|
|
39
44
|
*
|
|
45
|
+
* @param ListPriceListsCommandInput - {@link ListPriceListsCommandInput}
|
|
46
|
+
* @returns {@link ListPriceListsCommandOutput}
|
|
40
47
|
* @see {@link ListPriceListsCommandInput} for command's `input` shape.
|
|
41
48
|
* @see {@link ListPriceListsCommandOutput} for command's `response` shape.
|
|
42
49
|
* @see {@link PricingClientResolvedConfig | config} for PricingClient's `config` shape.
|
|
@@ -64,11 +71,20 @@ export interface ListPriceListsCommandOutput extends ListPriceListsResponse, __M
|
|
|
64
71
|
export declare class ListPriceListsCommand extends $Command<ListPriceListsCommandInput, ListPriceListsCommandOutput, PricingClientResolvedConfig> {
|
|
65
72
|
readonly input: ListPriceListsCommandInput;
|
|
66
73
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
67
77
|
constructor(input: ListPriceListsCommandInput);
|
|
68
78
|
/**
|
|
69
79
|
* @internal
|
|
70
80
|
*/
|
|
71
81
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PricingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListPriceListsCommandInput, ListPriceListsCommandOutput>;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
72
85
|
private serialize;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
73
89
|
private deserialize;
|
|
74
90
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from Pricing service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class PricingServiceException extends __ServiceException {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { PricingServiceException as __BaseException } from "./PricingServiceException";
|
|
3
3
|
/**
|
|
4
|
+
* @public
|
|
4
5
|
* <p>General authentication failure. The request wasn't signed correctly.</p>
|
|
5
6
|
*/
|
|
6
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
@@ -13,6 +14,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
13
14
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
15
|
}
|
|
15
16
|
/**
|
|
17
|
+
* @public
|
|
16
18
|
* <p>The values of a given attribute, such as <code>Throughput Optimized HDD</code> or <code>Provisioned
|
|
17
19
|
* IOPS</code> for the <code>Amazon EC2</code>
|
|
18
20
|
* <code>volumeType</code> attribute.</p>
|
|
@@ -23,6 +25,9 @@ export interface AttributeValue {
|
|
|
23
25
|
*/
|
|
24
26
|
Value?: string;
|
|
25
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
26
31
|
export interface DescribeServicesRequest {
|
|
27
32
|
/**
|
|
28
33
|
* <p>The code for the service whose information you want to retrieve, such as <code>AmazonEC2</code>.
|
|
@@ -47,6 +52,7 @@ export interface DescribeServicesRequest {
|
|
|
47
52
|
MaxResults?: number;
|
|
48
53
|
}
|
|
49
54
|
/**
|
|
55
|
+
* @public
|
|
50
56
|
* <p>The metadata for a service, such as the service code and available attribute names.</p>
|
|
51
57
|
*/
|
|
52
58
|
export interface Service {
|
|
@@ -59,6 +65,9 @@ export interface Service {
|
|
|
59
65
|
*/
|
|
60
66
|
AttributeNames?: string[];
|
|
61
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
62
71
|
export interface DescribeServicesResponse {
|
|
63
72
|
/**
|
|
64
73
|
* <p>The service metadata for the service or services in the response.</p>
|
|
@@ -74,6 +83,7 @@ export interface DescribeServicesResponse {
|
|
|
74
83
|
NextToken?: string;
|
|
75
84
|
}
|
|
76
85
|
/**
|
|
86
|
+
* @public
|
|
77
87
|
* <p>The pagination token expired. Try again without a pagination token.</p>
|
|
78
88
|
*/
|
|
79
89
|
export declare class ExpiredNextTokenException extends __BaseException {
|
|
@@ -86,6 +96,7 @@ export declare class ExpiredNextTokenException extends __BaseException {
|
|
|
86
96
|
constructor(opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>);
|
|
87
97
|
}
|
|
88
98
|
/**
|
|
99
|
+
* @public
|
|
89
100
|
* <p>An error on the server occurred during the processing of your request. Try again later.</p>
|
|
90
101
|
*/
|
|
91
102
|
export declare class InternalErrorException extends __BaseException {
|
|
@@ -98,6 +109,7 @@ export declare class InternalErrorException extends __BaseException {
|
|
|
98
109
|
constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
|
|
99
110
|
}
|
|
100
111
|
/**
|
|
112
|
+
* @public
|
|
101
113
|
* <p>The pagination token is invalid. Try again without a pagination token.</p>
|
|
102
114
|
*/
|
|
103
115
|
export declare class InvalidNextTokenException extends __BaseException {
|
|
@@ -110,6 +122,7 @@ export declare class InvalidNextTokenException extends __BaseException {
|
|
|
110
122
|
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
111
123
|
}
|
|
112
124
|
/**
|
|
125
|
+
* @public
|
|
113
126
|
* <p>One or more parameters had an invalid value.</p>
|
|
114
127
|
*/
|
|
115
128
|
export declare class InvalidParameterException extends __BaseException {
|
|
@@ -122,6 +135,7 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
122
135
|
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
123
136
|
}
|
|
124
137
|
/**
|
|
138
|
+
* @public
|
|
125
139
|
* <p>The requested resource can't be found.</p>
|
|
126
140
|
*/
|
|
127
141
|
export declare class NotFoundException extends __BaseException {
|
|
@@ -133,6 +147,9 @@ export declare class NotFoundException extends __BaseException {
|
|
|
133
147
|
*/
|
|
134
148
|
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
135
149
|
}
|
|
150
|
+
/**
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
136
153
|
export interface GetAttributeValuesRequest {
|
|
137
154
|
/**
|
|
138
155
|
* <p>The service code for the service whose attributes you want to retrieve. For example, if you want
|
|
@@ -152,6 +169,9 @@ export interface GetAttributeValuesRequest {
|
|
|
152
169
|
*/
|
|
153
170
|
MaxResults?: number;
|
|
154
171
|
}
|
|
172
|
+
/**
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
155
175
|
export interface GetAttributeValuesResponse {
|
|
156
176
|
/**
|
|
157
177
|
* <p>The list of values for an attribute. For example, <code>Throughput Optimized HDD</code> and
|
|
@@ -164,6 +184,9 @@ export interface GetAttributeValuesResponse {
|
|
|
164
184
|
*/
|
|
165
185
|
NextToken?: string;
|
|
166
186
|
}
|
|
187
|
+
/**
|
|
188
|
+
* @public
|
|
189
|
+
*/
|
|
167
190
|
export interface GetPriceListFileUrlRequest {
|
|
168
191
|
/**
|
|
169
192
|
* <p>The unique identifier that maps to where your Price List files are located.
|
|
@@ -180,16 +203,23 @@ export interface GetPriceListFileUrlRequest {
|
|
|
180
203
|
*/
|
|
181
204
|
FileFormat: string | undefined;
|
|
182
205
|
}
|
|
206
|
+
/**
|
|
207
|
+
* @public
|
|
208
|
+
*/
|
|
183
209
|
export interface GetPriceListFileUrlResponse {
|
|
184
210
|
/**
|
|
185
211
|
* <p>The URL to download your Price List file from. </p>
|
|
186
212
|
*/
|
|
187
213
|
Url?: string;
|
|
188
214
|
}
|
|
215
|
+
/**
|
|
216
|
+
* @public
|
|
217
|
+
*/
|
|
189
218
|
export declare enum FilterType {
|
|
190
219
|
TERM_MATCH = "TERM_MATCH"
|
|
191
220
|
}
|
|
192
221
|
/**
|
|
222
|
+
* @public
|
|
193
223
|
* <p>The constraints that you want all returned products to match.</p>
|
|
194
224
|
*/
|
|
195
225
|
export interface Filter {
|
|
@@ -217,6 +247,9 @@ export interface Filter {
|
|
|
217
247
|
*/
|
|
218
248
|
Value: string | undefined;
|
|
219
249
|
}
|
|
250
|
+
/**
|
|
251
|
+
* @public
|
|
252
|
+
*/
|
|
220
253
|
export interface GetProductsRequest {
|
|
221
254
|
/**
|
|
222
255
|
* <p>The code for the service whose products you want to retrieve. </p>
|
|
@@ -242,6 +275,9 @@ export interface GetProductsRequest {
|
|
|
242
275
|
*/
|
|
243
276
|
MaxResults?: number;
|
|
244
277
|
}
|
|
278
|
+
/**
|
|
279
|
+
* @public
|
|
280
|
+
*/
|
|
245
281
|
export interface GetProductsResponse {
|
|
246
282
|
/**
|
|
247
283
|
* <p>The format version of the response. For example, aws_v1.</p>
|
|
@@ -257,6 +293,9 @@ export interface GetProductsResponse {
|
|
|
257
293
|
*/
|
|
258
294
|
NextToken?: string;
|
|
259
295
|
}
|
|
296
|
+
/**
|
|
297
|
+
* @public
|
|
298
|
+
*/
|
|
260
299
|
export interface ListPriceListsRequest {
|
|
261
300
|
/**
|
|
262
301
|
* <p>The service code or the Savings Plan service code for the attributes that
|
|
@@ -298,6 +337,7 @@ export interface ListPriceListsRequest {
|
|
|
298
337
|
MaxResults?: number;
|
|
299
338
|
}
|
|
300
339
|
/**
|
|
340
|
+
* @public
|
|
301
341
|
* <p>
|
|
302
342
|
* <i>
|
|
303
343
|
* <b>This feature is in preview release and is subject to change. Your use of Amazon Web Services Price List API is subject to the Beta Service Participation terms of the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a> (Section 1.10).</b>
|
|
@@ -335,6 +375,9 @@ export interface PriceList {
|
|
|
335
375
|
*/
|
|
336
376
|
FileFormats?: string[];
|
|
337
377
|
}
|
|
378
|
+
/**
|
|
379
|
+
* @public
|
|
380
|
+
*/
|
|
338
381
|
export interface ListPriceListsResponse {
|
|
339
382
|
/**
|
|
340
383
|
* <p>The type of price list references that match your request. </p>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { DescribeServicesCommandInput, DescribeServicesCommandOutput } from "../commands/DescribeServicesCommand";
|
|
3
3
|
import { PricingPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateDescribeServices(config: PricingPaginationConfiguration, input: DescribeServicesCommandInput, ...additionalArguments: any): Paginator<DescribeServicesCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { GetAttributeValuesCommandInput, GetAttributeValuesCommandOutput } from "../commands/GetAttributeValuesCommand";
|
|
3
3
|
import { PricingPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateGetAttributeValues(config: PricingPaginationConfiguration, input: GetAttributeValuesCommandInput, ...additionalArguments: any): Paginator<GetAttributeValuesCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { GetProductsCommandInput, GetProductsCommandOutput } from "../commands/GetProductsCommand";
|
|
3
3
|
import { PricingPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateGetProducts(config: PricingPaginationConfiguration, input: GetProductsCommandInput, ...additionalArguments: any): Paginator<GetProductsCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListPriceListsCommandInput, ListPriceListsCommandOutput } from "../commands/ListPriceListsCommand";
|
|
3
3
|
import { PricingPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListPriceLists(config: PricingPaginationConfiguration, input: ListPriceListsCommandInput, ...additionalArguments: any): 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.
|
|
4
|
+
"version": "3.297.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.
|
|
23
|
+
"@aws-sdk/client-sts": "3.297.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.297.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.296.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.296.0",
|