@aws-sdk/client-billing 3.864.0 → 3.873.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/README.md +1 -7
- package/dist-cjs/endpoint/EndpointParameters.js +2 -0
- package/dist-cjs/endpoint/endpointResolver.js +1 -1
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -0
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-types/Billing.d.ts +1 -7
- package/dist-types/BillingClient.d.ts +1 -7
- package/dist-types/commands/CreateBillingViewCommand.d.ts +6 -15
- package/dist-types/commands/DeleteBillingViewCommand.d.ts +4 -9
- package/dist-types/commands/GetBillingViewCommand.d.ts +5 -11
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +5 -11
- package/dist-types/commands/ListBillingViewsCommand.d.ts +4 -9
- package/dist-types/commands/ListSourceViewsForBillingViewCommand.d.ts +5 -11
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -11
- package/dist-types/commands/TagResourceCommand.d.ts +5 -12
- package/dist-types/commands/UntagResourceCommand.d.ts +5 -12
- package/dist-types/commands/UpdateBillingViewCommand.d.ts +7 -17
- package/dist-types/endpoint/EndpointParameters.d.ts +6 -0
- package/dist-types/index.d.ts +1 -7
- package/dist-types/models/models_0.d.ts +77 -211
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -1
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -6,13 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript Billing Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>
|
|
10
|
-
You can use the Billing API to programatically list the billing views available to you for a given time period. A billing view represents a set of billing data.
|
|
11
|
-
</p>
|
|
12
|
-
<p>The Billing API provides the following endpoint:</p>
|
|
13
|
-
<p>
|
|
14
|
-
<code>https://billing.us-east-1.api.aws</code>
|
|
15
|
-
</p>
|
|
9
|
+
<p> You can use the Billing API to programatically list the billing views available to you for a given time period. A billing view represents a set of billing data. </p> <p>The Billing API provides the following endpoint:</p> <p> <code>https://billing.us-east-1.api.aws</code> </p>
|
|
16
10
|
|
|
17
11
|
## Installing
|
|
18
12
|
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return Object.assign(options, {
|
|
6
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
6
7
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
7
8
|
defaultSigningName: "billing",
|
|
8
9
|
});
|
|
@@ -12,4 +13,5 @@ exports.commonParams = {
|
|
|
12
13
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
14
|
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
15
|
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
17
|
};
|
|
@@ -6,7 +6,7 @@ const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
|
6
6
|
const ruleset_1 = require("./ruleset");
|
|
7
7
|
const cache = new util_endpoints_2.EndpointCache({
|
|
8
8
|
size: 50,
|
|
9
|
-
params: ["Endpoint", "Region", "UseFIPS"],
|
|
9
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
10
|
});
|
|
11
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
12
12
|
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = true, b =
|
|
6
|
-
const _data = { version: "1.0", parameters: {
|
|
4
|
+
const v = "required", w = "fn", x = "argv", y = "ref", z = "authSchemes", A = "signingRegion";
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [v]: true, "default": false, "type": "Boolean" }, i = { [v]: false, "type": "String" }, j = { [y]: "Endpoint" }, k = { [w]: c, [x]: [{ [y]: "UseFIPS" }, true] }, l = { [w]: c, [x]: [{ [y]: "UseDualStack" }, true] }, m = {}, n = { [w]: "stringEquals", [x]: [{ [w]: "getAttr", [x]: [{ [y]: g }, "name"] }, "aws"] }, o = { [w]: c, [x]: [{ [y]: "UseFIPS" }, false] }, p = { "url": "https://billing.us-east-1.api.aws", "properties": { [z]: [{ "name": "sigv4", [A]: "us-east-1" }] }, "headers": {} }, q = { [w]: c, [x]: [{ [y]: "UseDualStack" }, false] }, r = { [w]: "getAttr", [x]: [{ [y]: g }, "supportsFIPS"] }, s = { [w]: c, [x]: [true, { [w]: "getAttr", [x]: [{ [y]: g }, "supportsDualStack"] }] }, t = { [z]: [{ "name": "sigv4", [A]: "{PartitionResult#implicitGlobalRegion}" }] }, u = [{ [y]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { UseDualStack: h, UseFIPS: h, Endpoint: i, Region: i }, rules: [{ conditions: [{ [w]: b, [x]: [j] }], rules: [{ conditions: [k], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: [l], error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [w]: b, [x]: u }], rules: [{ conditions: [{ [w]: "aws.partition", [x]: u, assign: g }], rules: [{ conditions: [n, o, l], endpoint: p, type: e }, { conditions: [n, o, q], endpoint: p, type: e }, { conditions: [k, l], rules: [{ conditions: [{ [w]: c, [x]: [a, r] }, s], rules: [{ endpoint: { url: "https://billing-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: t, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: [k, q], rules: [{ conditions: [{ [w]: c, [x]: [r, a] }], rules: [{ endpoint: { url: "https://billing-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", properties: t, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: [o, l], rules: [{ conditions: [s], rules: [{ endpoint: { url: "https://billing.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: t, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://billing.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", properties: t, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export const resolveClientEndpointParameters = (options) => {
|
|
2
2
|
return Object.assign(options, {
|
|
3
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
3
4
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
4
5
|
defaultSigningName: "billing",
|
|
5
6
|
});
|
|
@@ -8,4 +9,5 @@ export const commonParams = {
|
|
|
8
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
10
|
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
11
|
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
11
13
|
};
|
|
@@ -3,7 +3,7 @@ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy
|
|
|
3
3
|
import { ruleSet } from "./ruleset";
|
|
4
4
|
const cache = new EndpointCache({
|
|
5
5
|
size: 50,
|
|
6
|
-
params: ["Endpoint", "Region", "UseFIPS"],
|
|
6
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
7
|
});
|
|
8
8
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
9
|
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = true, b =
|
|
3
|
-
const _data = { version: "1.0", parameters: {
|
|
1
|
+
const v = "required", w = "fn", x = "argv", y = "ref", z = "authSchemes", A = "signingRegion";
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [v]: true, "default": false, "type": "Boolean" }, i = { [v]: false, "type": "String" }, j = { [y]: "Endpoint" }, k = { [w]: c, [x]: [{ [y]: "UseFIPS" }, true] }, l = { [w]: c, [x]: [{ [y]: "UseDualStack" }, true] }, m = {}, n = { [w]: "stringEquals", [x]: [{ [w]: "getAttr", [x]: [{ [y]: g }, "name"] }, "aws"] }, o = { [w]: c, [x]: [{ [y]: "UseFIPS" }, false] }, p = { "url": "https://billing.us-east-1.api.aws", "properties": { [z]: [{ "name": "sigv4", [A]: "us-east-1" }] }, "headers": {} }, q = { [w]: c, [x]: [{ [y]: "UseDualStack" }, false] }, r = { [w]: "getAttr", [x]: [{ [y]: g }, "supportsFIPS"] }, s = { [w]: c, [x]: [true, { [w]: "getAttr", [x]: [{ [y]: g }, "supportsDualStack"] }] }, t = { [z]: [{ "name": "sigv4", [A]: "{PartitionResult#implicitGlobalRegion}" }] }, u = [{ [y]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { UseDualStack: h, UseFIPS: h, Endpoint: i, Region: i }, rules: [{ conditions: [{ [w]: b, [x]: [j] }], rules: [{ conditions: [k], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: [l], error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [w]: b, [x]: u }], rules: [{ conditions: [{ [w]: "aws.partition", [x]: u, assign: g }], rules: [{ conditions: [n, o, l], endpoint: p, type: e }, { conditions: [n, o, q], endpoint: p, type: e }, { conditions: [k, l], rules: [{ conditions: [{ [w]: c, [x]: [a, r] }, s], rules: [{ endpoint: { url: "https://billing-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: t, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: [k, q], rules: [{ conditions: [{ [w]: c, [x]: [r, a] }], rules: [{ endpoint: { url: "https://billing-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", properties: t, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: [o, l], rules: [{ conditions: [s], rules: [{ endpoint: { url: "https://billing.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: t, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://billing.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", properties: t, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
4
4
|
export const ruleSet = _data;
|
package/dist-types/Billing.d.ts
CHANGED
|
@@ -74,13 +74,7 @@ export interface Billing {
|
|
|
74
74
|
updateBillingView(args: UpdateBillingViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBillingViewCommandOutput) => void): void;
|
|
75
75
|
}
|
|
76
76
|
/**
|
|
77
|
-
* <p>
|
|
78
|
-
* You can use the Billing API to programatically list the billing views available to you for a given time period. A billing view represents a set of billing data.
|
|
79
|
-
* </p>
|
|
80
|
-
* <p>The Billing API provides the following endpoint:</p>
|
|
81
|
-
* <p>
|
|
82
|
-
* <code>https://billing.us-east-1.api.aws</code>
|
|
83
|
-
* </p>
|
|
77
|
+
* <p> You can use the Billing API to programatically list the billing views available to you for a given time period. A billing view represents a set of billing data. </p> <p>The Billing API provides the following endpoint:</p> <p> <code>https://billing.us-east-1.api.aws</code> </p>
|
|
84
78
|
* @public
|
|
85
79
|
*/
|
|
86
80
|
export declare class Billing extends BillingClient implements Billing {
|
|
@@ -179,13 +179,7 @@ export type BillingClientResolvedConfigType = __SmithyResolvedConfiguration<__Ht
|
|
|
179
179
|
export interface BillingClientResolvedConfig extends BillingClientResolvedConfigType {
|
|
180
180
|
}
|
|
181
181
|
/**
|
|
182
|
-
* <p>
|
|
183
|
-
* You can use the Billing API to programatically list the billing views available to you for a given time period. A billing view represents a set of billing data.
|
|
184
|
-
* </p>
|
|
185
|
-
* <p>The Billing API provides the following endpoint:</p>
|
|
186
|
-
* <p>
|
|
187
|
-
* <code>https://billing.us-east-1.api.aws</code>
|
|
188
|
-
* </p>
|
|
182
|
+
* <p> You can use the Billing API to programatically list the billing views available to you for a given time period. A billing view represents a set of billing data. </p> <p>The Billing API provides the following endpoint:</p> <p> <code>https://billing.us-east-1.api.aws</code> </p>
|
|
189
183
|
* @public
|
|
190
184
|
*/
|
|
191
185
|
export declare class BillingClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, BillingClientResolvedConfig> {
|
|
@@ -27,9 +27,7 @@ declare const CreateBillingViewCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
* Creates a billing view with the specified billing view attributes.
|
|
32
|
-
* </p>
|
|
30
|
+
* <p> Creates a billing view with the specified billing view attributes. </p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -83,26 +81,19 @@ declare const CreateBillingViewCommand_base: {
|
|
|
83
81
|
* <p>You don't have sufficient access to perform this action.</p>
|
|
84
82
|
*
|
|
85
83
|
* @throws {@link ConflictException} (client fault)
|
|
86
|
-
* <p>
|
|
87
|
-
* The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.
|
|
88
|
-
* </p>
|
|
84
|
+
* <p> The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. </p>
|
|
89
85
|
*
|
|
90
86
|
* @throws {@link InternalServerException} (server fault)
|
|
91
|
-
* <p>The request processing failed because of an unknown error, exception, or failure.
|
|
92
|
-
* </p>
|
|
87
|
+
* <p>The request processing failed because of an unknown error, exception, or failure. </p>
|
|
93
88
|
*
|
|
94
89
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
95
|
-
* <p>
|
|
96
|
-
* You've reached the limit of resources you can create, or exceeded the size of an individual resource.
|
|
97
|
-
* </p>
|
|
90
|
+
* <p> You've reached the limit of resources you can create, or exceeded the size of an individual resource. </p>
|
|
98
91
|
*
|
|
99
92
|
* @throws {@link ThrottlingException} (client fault)
|
|
100
|
-
* <p>The request was denied due to request throttling.
|
|
101
|
-
* </p>
|
|
93
|
+
* <p>The request was denied due to request throttling. </p>
|
|
102
94
|
*
|
|
103
95
|
* @throws {@link ValidationException} (client fault)
|
|
104
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
105
|
-
* </p>
|
|
96
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
|
|
106
97
|
*
|
|
107
98
|
* @throws {@link BillingServiceException}
|
|
108
99
|
* <p>Base exception class for all service exceptions from Billing service.</p>
|
|
@@ -55,21 +55,16 @@ declare const DeleteBillingViewCommand_base: {
|
|
|
55
55
|
* <p>You don't have sufficient access to perform this action.</p>
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link ConflictException} (client fault)
|
|
58
|
-
* <p>
|
|
59
|
-
* The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.
|
|
60
|
-
* </p>
|
|
58
|
+
* <p> The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. </p>
|
|
61
59
|
*
|
|
62
60
|
* @throws {@link InternalServerException} (server fault)
|
|
63
|
-
* <p>The request processing failed because of an unknown error, exception, or failure.
|
|
64
|
-
* </p>
|
|
61
|
+
* <p>The request processing failed because of an unknown error, exception, or failure. </p>
|
|
65
62
|
*
|
|
66
63
|
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
-
* <p>The request was denied due to request throttling.
|
|
68
|
-
* </p>
|
|
64
|
+
* <p>The request was denied due to request throttling. </p>
|
|
69
65
|
*
|
|
70
66
|
* @throws {@link ValidationException} (client fault)
|
|
71
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
72
|
-
* </p>
|
|
67
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
|
|
73
68
|
*
|
|
74
69
|
* @throws {@link BillingServiceException}
|
|
75
70
|
* <p>Base exception class for all service exceptions from Billing service.</p>
|
|
@@ -27,8 +27,7 @@ declare const GetBillingViewCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns the metadata associated to the specified billing view ARN.
|
|
31
|
-
* </p>
|
|
30
|
+
* <p>Returns the metadata associated to the specified billing view ARN. </p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -78,21 +77,16 @@ declare const GetBillingViewCommand_base: {
|
|
|
78
77
|
* <p>You don't have sufficient access to perform this action.</p>
|
|
79
78
|
*
|
|
80
79
|
* @throws {@link InternalServerException} (server fault)
|
|
81
|
-
* <p>The request processing failed because of an unknown error, exception, or failure.
|
|
82
|
-
* </p>
|
|
80
|
+
* <p>The request processing failed because of an unknown error, exception, or failure. </p>
|
|
83
81
|
*
|
|
84
82
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
85
|
-
* <p>
|
|
86
|
-
* The specified ARN in the request doesn't exist.
|
|
87
|
-
* </p>
|
|
83
|
+
* <p> The specified ARN in the request doesn't exist. </p>
|
|
88
84
|
*
|
|
89
85
|
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
-
* <p>The request was denied due to request throttling.
|
|
91
|
-
* </p>
|
|
86
|
+
* <p>The request was denied due to request throttling. </p>
|
|
92
87
|
*
|
|
93
88
|
* @throws {@link ValidationException} (client fault)
|
|
94
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
95
|
-
* </p>
|
|
89
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
|
|
96
90
|
*
|
|
97
91
|
* @throws {@link BillingServiceException}
|
|
98
92
|
* <p>Base exception class for all service exceptions from Billing service.</p>
|
|
@@ -27,8 +27,7 @@ declare const GetResourcePolicyCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns the resource-based policy document attached to the resource in <code>JSON</code> format.
|
|
31
|
-
* </p>
|
|
30
|
+
* <p>Returns the resource-based policy document attached to the resource in <code>JSON</code> format. </p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -57,21 +56,16 @@ declare const GetResourcePolicyCommand_base: {
|
|
|
57
56
|
* <p>You don't have sufficient access to perform this action.</p>
|
|
58
57
|
*
|
|
59
58
|
* @throws {@link InternalServerException} (server fault)
|
|
60
|
-
* <p>The request processing failed because of an unknown error, exception, or failure.
|
|
61
|
-
* </p>
|
|
59
|
+
* <p>The request processing failed because of an unknown error, exception, or failure. </p>
|
|
62
60
|
*
|
|
63
61
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
-
* <p>
|
|
65
|
-
* The specified ARN in the request doesn't exist.
|
|
66
|
-
* </p>
|
|
62
|
+
* <p> The specified ARN in the request doesn't exist. </p>
|
|
67
63
|
*
|
|
68
64
|
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
-
* <p>The request was denied due to request throttling.
|
|
70
|
-
* </p>
|
|
65
|
+
* <p>The request was denied due to request throttling. </p>
|
|
71
66
|
*
|
|
72
67
|
* @throws {@link ValidationException} (client fault)
|
|
73
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
74
|
-
* </p>
|
|
68
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
|
|
75
69
|
*
|
|
76
70
|
* @throws {@link BillingServiceException}
|
|
77
71
|
* <p>Base exception class for all service exceptions from Billing service.</p>
|
|
@@ -27,9 +27,7 @@ declare const ListBillingViewsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists the billing views available for a given time period.
|
|
31
|
-
* </p>
|
|
32
|
-
* <p>Every Amazon Web Services account has a unique <code>PRIMARY</code> billing view that represents the billing data available by default. Accounts that use Billing Conductor also have <code>BILLING_GROUP</code> billing views representing pro forma costs associated with each created billing group.</p>
|
|
30
|
+
* <p>Lists the billing views available for a given time period. </p> <p>Every Amazon Web Services account has a unique <code>PRIMARY</code> billing view that represents the billing data available by default. Accounts that use Billing Conductor also have <code>BILLING_GROUP</code> billing views representing pro forma costs associated with each created billing group.</p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -78,16 +76,13 @@ declare const ListBillingViewsCommand_base: {
|
|
|
78
76
|
* <p>You don't have sufficient access to perform this action.</p>
|
|
79
77
|
*
|
|
80
78
|
* @throws {@link InternalServerException} (server fault)
|
|
81
|
-
* <p>The request processing failed because of an unknown error, exception, or failure.
|
|
82
|
-
* </p>
|
|
79
|
+
* <p>The request processing failed because of an unknown error, exception, or failure. </p>
|
|
83
80
|
*
|
|
84
81
|
* @throws {@link ThrottlingException} (client fault)
|
|
85
|
-
* <p>The request was denied due to request throttling.
|
|
86
|
-
* </p>
|
|
82
|
+
* <p>The request was denied due to request throttling. </p>
|
|
87
83
|
*
|
|
88
84
|
* @throws {@link ValidationException} (client fault)
|
|
89
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
90
|
-
* </p>
|
|
85
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
|
|
91
86
|
*
|
|
92
87
|
* @throws {@link BillingServiceException}
|
|
93
88
|
* <p>Base exception class for all service exceptions from Billing service.</p>
|
|
@@ -27,8 +27,7 @@ declare const ListSourceViewsForBillingViewCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists the source views (managed Amazon Web Services billing views) associated with the billing view.
|
|
31
|
-
* </p>
|
|
30
|
+
* <p>Lists the source views (managed Amazon Web Services billing views) associated with the billing view. </p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -61,21 +60,16 @@ declare const ListSourceViewsForBillingViewCommand_base: {
|
|
|
61
60
|
* <p>You don't have sufficient access to perform this action.</p>
|
|
62
61
|
*
|
|
63
62
|
* @throws {@link InternalServerException} (server fault)
|
|
64
|
-
* <p>The request processing failed because of an unknown error, exception, or failure.
|
|
65
|
-
* </p>
|
|
63
|
+
* <p>The request processing failed because of an unknown error, exception, or failure. </p>
|
|
66
64
|
*
|
|
67
65
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
-
* <p>
|
|
69
|
-
* The specified ARN in the request doesn't exist.
|
|
70
|
-
* </p>
|
|
66
|
+
* <p> The specified ARN in the request doesn't exist. </p>
|
|
71
67
|
*
|
|
72
68
|
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
-
* <p>The request was denied due to request throttling.
|
|
74
|
-
* </p>
|
|
69
|
+
* <p>The request was denied due to request throttling. </p>
|
|
75
70
|
*
|
|
76
71
|
* @throws {@link ValidationException} (client fault)
|
|
77
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
78
|
-
* </p>
|
|
72
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
|
|
79
73
|
*
|
|
80
74
|
* @throws {@link BillingServiceException}
|
|
81
75
|
* <p>Base exception class for all service exceptions from Billing service.</p>
|
|
@@ -27,8 +27,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists tags associated with the billing view resource.
|
|
31
|
-
* </p>
|
|
30
|
+
* <p>Lists tags associated with the billing view resource. </p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -61,21 +60,16 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
61
60
|
* <p>You don't have sufficient access to perform this action.</p>
|
|
62
61
|
*
|
|
63
62
|
* @throws {@link InternalServerException} (server fault)
|
|
64
|
-
* <p>The request processing failed because of an unknown error, exception, or failure.
|
|
65
|
-
* </p>
|
|
63
|
+
* <p>The request processing failed because of an unknown error, exception, or failure. </p>
|
|
66
64
|
*
|
|
67
65
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
-
* <p>
|
|
69
|
-
* The specified ARN in the request doesn't exist.
|
|
70
|
-
* </p>
|
|
66
|
+
* <p> The specified ARN in the request doesn't exist. </p>
|
|
71
67
|
*
|
|
72
68
|
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
-
* <p>The request was denied due to request throttling.
|
|
74
|
-
* </p>
|
|
69
|
+
* <p>The request was denied due to request throttling. </p>
|
|
75
70
|
*
|
|
76
71
|
* @throws {@link ValidationException} (client fault)
|
|
77
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
78
|
-
* </p>
|
|
72
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
|
|
79
73
|
*
|
|
80
74
|
* @throws {@link BillingServiceException}
|
|
81
75
|
* <p>Base exception class for all service exceptions from Billing service.</p>
|
|
@@ -27,9 +27,7 @@ declare const TagResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
* An API operation for adding one or more tags (key-value pairs) to a resource.
|
|
32
|
-
* </p>
|
|
30
|
+
* <p> An API operation for adding one or more tags (key-value pairs) to a resource. </p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -61,21 +59,16 @@ declare const TagResourceCommand_base: {
|
|
|
61
59
|
* <p>You don't have sufficient access to perform this action.</p>
|
|
62
60
|
*
|
|
63
61
|
* @throws {@link InternalServerException} (server fault)
|
|
64
|
-
* <p>The request processing failed because of an unknown error, exception, or failure.
|
|
65
|
-
* </p>
|
|
62
|
+
* <p>The request processing failed because of an unknown error, exception, or failure. </p>
|
|
66
63
|
*
|
|
67
64
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
-
* <p>
|
|
69
|
-
* The specified ARN in the request doesn't exist.
|
|
70
|
-
* </p>
|
|
65
|
+
* <p> The specified ARN in the request doesn't exist. </p>
|
|
71
66
|
*
|
|
72
67
|
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
-
* <p>The request was denied due to request throttling.
|
|
74
|
-
* </p>
|
|
68
|
+
* <p>The request was denied due to request throttling. </p>
|
|
75
69
|
*
|
|
76
70
|
* @throws {@link ValidationException} (client fault)
|
|
77
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
78
|
-
* </p>
|
|
71
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
|
|
79
72
|
*
|
|
80
73
|
* @throws {@link BillingServiceException}
|
|
81
74
|
* <p>Base exception class for all service exceptions from Billing service.</p>
|
|
@@ -27,9 +27,7 @@ declare const UntagResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
* Removes one or more tags from a resource. Specify only tag keys in your request. Don't specify the value.
|
|
32
|
-
* </p>
|
|
30
|
+
* <p> Removes one or more tags from a resource. Specify only tag keys in your request. Don't specify the value. </p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -58,21 +56,16 @@ declare const UntagResourceCommand_base: {
|
|
|
58
56
|
* <p>You don't have sufficient access to perform this action.</p>
|
|
59
57
|
*
|
|
60
58
|
* @throws {@link InternalServerException} (server fault)
|
|
61
|
-
* <p>The request processing failed because of an unknown error, exception, or failure.
|
|
62
|
-
* </p>
|
|
59
|
+
* <p>The request processing failed because of an unknown error, exception, or failure. </p>
|
|
63
60
|
*
|
|
64
61
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
-
* <p>
|
|
66
|
-
* The specified ARN in the request doesn't exist.
|
|
67
|
-
* </p>
|
|
62
|
+
* <p> The specified ARN in the request doesn't exist. </p>
|
|
68
63
|
*
|
|
69
64
|
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
-
* <p>The request was denied due to request throttling.
|
|
71
|
-
* </p>
|
|
65
|
+
* <p>The request was denied due to request throttling. </p>
|
|
72
66
|
*
|
|
73
67
|
* @throws {@link ValidationException} (client fault)
|
|
74
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
75
|
-
* </p>
|
|
68
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
|
|
76
69
|
*
|
|
77
70
|
* @throws {@link BillingServiceException}
|
|
78
71
|
* <p>Base exception class for all service exceptions from Billing service.</p>
|
|
@@ -27,8 +27,7 @@ declare const UpdateBillingViewCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>An API to update the attributes of the billing view.
|
|
31
|
-
* </p>
|
|
30
|
+
* <p>An API to update the attributes of the billing view. </p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -73,31 +72,22 @@ declare const UpdateBillingViewCommand_base: {
|
|
|
73
72
|
* <p>You don't have sufficient access to perform this action.</p>
|
|
74
73
|
*
|
|
75
74
|
* @throws {@link ConflictException} (client fault)
|
|
76
|
-
* <p>
|
|
77
|
-
* The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.
|
|
78
|
-
* </p>
|
|
75
|
+
* <p> The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. </p>
|
|
79
76
|
*
|
|
80
77
|
* @throws {@link InternalServerException} (server fault)
|
|
81
|
-
* <p>The request processing failed because of an unknown error, exception, or failure.
|
|
82
|
-
* </p>
|
|
78
|
+
* <p>The request processing failed because of an unknown error, exception, or failure. </p>
|
|
83
79
|
*
|
|
84
80
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
85
|
-
* <p>
|
|
86
|
-
* The specified ARN in the request doesn't exist.
|
|
87
|
-
* </p>
|
|
81
|
+
* <p> The specified ARN in the request doesn't exist. </p>
|
|
88
82
|
*
|
|
89
83
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
90
|
-
* <p>
|
|
91
|
-
* You've reached the limit of resources you can create, or exceeded the size of an individual resource.
|
|
92
|
-
* </p>
|
|
84
|
+
* <p> You've reached the limit of resources you can create, or exceeded the size of an individual resource. </p>
|
|
93
85
|
*
|
|
94
86
|
* @throws {@link ThrottlingException} (client fault)
|
|
95
|
-
* <p>The request was denied due to request throttling.
|
|
96
|
-
* </p>
|
|
87
|
+
* <p>The request was denied due to request throttling. </p>
|
|
97
88
|
*
|
|
98
89
|
* @throws {@link ValidationException} (client fault)
|
|
99
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
100
|
-
* </p>
|
|
90
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
|
|
101
91
|
*
|
|
102
92
|
* @throws {@link BillingServiceException}
|
|
103
93
|
* <p>Base exception class for all service exceptions from Billing service.</p>
|
|
@@ -3,6 +3,7 @@ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provi
|
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface ClientInputEndpointParameters {
|
|
6
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
6
7
|
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
7
8
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
8
9
|
region?: string | undefined | Provider<string | undefined>;
|
|
@@ -24,8 +25,13 @@ export declare const commonParams: {
|
|
|
24
25
|
readonly type: "builtInParams";
|
|
25
26
|
readonly name: "region";
|
|
26
27
|
};
|
|
28
|
+
readonly UseDualStack: {
|
|
29
|
+
readonly type: "builtInParams";
|
|
30
|
+
readonly name: "useDualstackEndpoint";
|
|
31
|
+
};
|
|
27
32
|
};
|
|
28
33
|
export interface EndpointParameters extends __EndpointParameters {
|
|
34
|
+
UseDualStack?: boolean | undefined;
|
|
29
35
|
UseFIPS?: boolean | undefined;
|
|
30
36
|
Endpoint?: string | undefined;
|
|
31
37
|
Region?: string | undefined;
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>
|
|
3
|
-
* You can use the Billing API to programatically list the billing views available to you for a given time period. A billing view represents a set of billing data.
|
|
4
|
-
* </p>
|
|
5
|
-
* <p>The Billing API provides the following endpoint:</p>
|
|
6
|
-
* <p>
|
|
7
|
-
* <code>https://billing.us-east-1.api.aws</code>
|
|
8
|
-
* </p>
|
|
2
|
+
* <p> You can use the Billing API to programatically list the billing views available to you for a given time period. A billing view represents a set of billing data. </p> <p>The Billing API provides the following endpoint:</p> <p> <code>https://billing.us-east-1.api.aws</code> </p>
|
|
9
3
|
*
|
|
10
4
|
* @packageDocumentation
|
|
11
5
|
*/
|