@aws-sdk/client-billing 3.691.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 (95) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +219 -0
  3. package/dist-cjs/Billing.js +13 -0
  4. package/dist-cjs/BillingClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/ListBillingViewsCommand.js +27 -0
  8. package/dist-cjs/commands/index.js +4 -0
  9. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  10. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  11. package/dist-cjs/endpoint/ruleset.js +7 -0
  12. package/dist-cjs/extensionConfiguration.js +2 -0
  13. package/dist-cjs/index.js +11 -0
  14. package/dist-cjs/models/BillingServiceException.js +12 -0
  15. package/dist-cjs/models/index.js +4 -0
  16. package/dist-cjs/models/models_0.js +81 -0
  17. package/dist-cjs/pagination/Interfaces.js +2 -0
  18. package/dist-cjs/pagination/ListBillingViewsPaginator.js +7 -0
  19. package/dist-cjs/pagination/index.js +5 -0
  20. package/dist-cjs/protocols/Aws_json1_0.js +138 -0
  21. package/dist-cjs/runtimeConfig.browser.js +39 -0
  22. package/dist-cjs/runtimeConfig.js +50 -0
  23. package/dist-cjs/runtimeConfig.native.js +15 -0
  24. package/dist-cjs/runtimeConfig.shared.js +34 -0
  25. package/dist-cjs/runtimeExtensions.js +25 -0
  26. package/dist-es/Billing.js +9 -0
  27. package/dist-es/BillingClient.js +46 -0
  28. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  29. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  30. package/dist-es/commands/ListBillingViewsCommand.js +23 -0
  31. package/dist-es/commands/index.js +1 -0
  32. package/dist-es/endpoint/EndpointParameters.js +12 -0
  33. package/dist-es/endpoint/endpointResolver.js +14 -0
  34. package/dist-es/endpoint/ruleset.js +4 -0
  35. package/dist-es/extensionConfiguration.js +1 -0
  36. package/dist-es/index.js +6 -0
  37. package/dist-es/models/BillingServiceException.js +8 -0
  38. package/dist-es/models/index.js +1 -0
  39. package/dist-es/models/models_0.js +72 -0
  40. package/dist-es/pagination/Interfaces.js +1 -0
  41. package/dist-es/pagination/ListBillingViewsPaginator.js +4 -0
  42. package/dist-es/pagination/index.js +2 -0
  43. package/dist-es/protocols/Aws_json1_0.js +133 -0
  44. package/dist-es/runtimeConfig.browser.js +34 -0
  45. package/dist-es/runtimeConfig.js +45 -0
  46. package/dist-es/runtimeConfig.native.js +11 -0
  47. package/dist-es/runtimeConfig.shared.js +30 -0
  48. package/dist-es/runtimeExtensions.js +21 -0
  49. package/dist-types/Billing.d.ts +23 -0
  50. package/dist-types/BillingClient.d.ts +176 -0
  51. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  52. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  53. package/dist-types/commands/ListBillingViewsCommand.d.ts +141 -0
  54. package/dist-types/commands/index.d.ts +1 -0
  55. package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
  56. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  57. package/dist-types/endpoint/ruleset.d.ts +2 -0
  58. package/dist-types/extensionConfiguration.d.ts +9 -0
  59. package/dist-types/index.d.ts +20 -0
  60. package/dist-types/models/BillingServiceException.d.ts +14 -0
  61. package/dist-types/models/index.d.ts +1 -0
  62. package/dist-types/models/models_0.d.ts +202 -0
  63. package/dist-types/pagination/Interfaces.d.ts +8 -0
  64. package/dist-types/pagination/ListBillingViewsPaginator.d.ts +7 -0
  65. package/dist-types/pagination/index.d.ts +2 -0
  66. package/dist-types/protocols/Aws_json1_0.d.ts +11 -0
  67. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  68. package/dist-types/runtimeConfig.d.ts +48 -0
  69. package/dist-types/runtimeConfig.native.d.ts +47 -0
  70. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  71. package/dist-types/runtimeExtensions.d.ts +17 -0
  72. package/dist-types/ts3.4/Billing.d.ts +22 -0
  73. package/dist-types/ts3.4/BillingClient.d.ts +122 -0
  74. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  75. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  76. package/dist-types/ts3.4/commands/ListBillingViewsCommand.d.ts +46 -0
  77. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  78. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  79. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  80. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  81. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  82. package/dist-types/ts3.4/index.d.ts +9 -0
  83. package/dist-types/ts3.4/models/BillingServiceException.d.ts +9 -0
  84. package/dist-types/ts3.4/models/index.d.ts +1 -0
  85. package/dist-types/ts3.4/models/models_0.d.ts +75 -0
  86. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  87. package/dist-types/ts3.4/pagination/ListBillingViewsPaginator.d.ts +11 -0
  88. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  89. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +17 -0
  90. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  91. package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
  92. package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
  93. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  94. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  95. package/package.json +101 -0
@@ -0,0 +1,61 @@
1
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
3
+ import { BillingClientResolvedConfig } from "../BillingClient";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface BillingHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
8
+ region?: string;
9
+ }
10
+ /**
11
+ * @internal
12
+ */
13
+ export interface BillingHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<BillingClientResolvedConfig, HandlerExecutionContext, BillingHttpAuthSchemeParameters, object> {
14
+ }
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const defaultBillingHttpAuthSchemeParametersProvider: (config: BillingClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<BillingHttpAuthSchemeParameters>;
19
+ /**
20
+ * @internal
21
+ */
22
+ export interface BillingHttpAuthSchemeProvider extends HttpAuthSchemeProvider<BillingHttpAuthSchemeParameters> {
23
+ }
24
+ /**
25
+ * @internal
26
+ */
27
+ export declare const defaultBillingHttpAuthSchemeProvider: BillingHttpAuthSchemeProvider;
28
+ /**
29
+ * @internal
30
+ */
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ /**
33
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
34
+ * @internal
35
+ */
36
+ httpAuthSchemes?: HttpAuthScheme[];
37
+ /**
38
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
39
+ * @internal
40
+ */
41
+ httpAuthSchemeProvider?: BillingHttpAuthSchemeProvider;
42
+ }
43
+ /**
44
+ * @internal
45
+ */
46
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
47
+ /**
48
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
49
+ * @internal
50
+ */
51
+ readonly httpAuthSchemes: HttpAuthScheme[];
52
+ /**
53
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
54
+ * @internal
55
+ */
56
+ readonly httpAuthSchemeProvider: BillingHttpAuthSchemeProvider;
57
+ }
58
+ /**
59
+ * @internal
60
+ */
61
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,141 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BillingClientResolvedConfig } from "../BillingClient";
4
+ import { ListBillingViewsRequest, ListBillingViewsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListBillingViewsCommand}.
14
+ */
15
+ export interface ListBillingViewsCommandInput extends ListBillingViewsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListBillingViewsCommand}.
21
+ */
22
+ export interface ListBillingViewsCommandOutput extends ListBillingViewsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListBillingViewsCommand_base: {
25
+ new (input: ListBillingViewsCommandInput): import("@smithy/smithy-client").CommandImpl<ListBillingViewsCommandInput, ListBillingViewsCommandOutput, BillingClientResolvedConfig, ListBillingViewsCommandInput, ListBillingViewsCommandOutput>;
26
+ new (__0_0: ListBillingViewsCommandInput): import("@smithy/smithy-client").CommandImpl<ListBillingViewsCommandInput, ListBillingViewsCommandOutput, BillingClientResolvedConfig, ListBillingViewsCommandInput, ListBillingViewsCommandOutput>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
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>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { BillingClient, ListBillingViewsCommand } from "@aws-sdk/client-billing"; // ES Modules import
37
+ * // const { BillingClient, ListBillingViewsCommand } = require("@aws-sdk/client-billing"); // CommonJS import
38
+ * const client = new BillingClient(config);
39
+ * const input = { // ListBillingViewsRequest
40
+ * activeTimeRange: { // ActiveTimeRange
41
+ * activeAfterInclusive: new Date("TIMESTAMP"), // required
42
+ * activeBeforeInclusive: new Date("TIMESTAMP"), // required
43
+ * },
44
+ * maxResults: Number("int"),
45
+ * nextToken: "STRING_VALUE",
46
+ * };
47
+ * const command = new ListBillingViewsCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // ListBillingViewsResponse
50
+ * // billingViews: [ // BillingViewList // required
51
+ * // { // BillingViewListElement
52
+ * // arn: "STRING_VALUE",
53
+ * // name: "STRING_VALUE",
54
+ * // ownerAccountId: "STRING_VALUE",
55
+ * // billingViewType: "PRIMARY" || "BILLING_GROUP",
56
+ * // },
57
+ * // ],
58
+ * // nextToken: "STRING_VALUE",
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param ListBillingViewsCommandInput - {@link ListBillingViewsCommandInput}
64
+ * @returns {@link ListBillingViewsCommandOutput}
65
+ * @see {@link ListBillingViewsCommandInput} for command's `input` shape.
66
+ * @see {@link ListBillingViewsCommandOutput} for command's `response` shape.
67
+ * @see {@link BillingClientResolvedConfig | config} for BillingClient's `config` shape.
68
+ *
69
+ * @throws {@link AccessDeniedException} (client fault)
70
+ * <p>You don't have sufficient access to perform this action.</p>
71
+ *
72
+ * @throws {@link InternalServerException} (server fault)
73
+ * <p>The request processing failed because of an unknown error, exception, or failure.
74
+ * </p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>The request was denied due to request throttling.
78
+ * </p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.
82
+ * </p>
83
+ *
84
+ * @throws {@link BillingServiceException}
85
+ * <p>Base exception class for all service exceptions from Billing service.</p>
86
+ *
87
+ * @public
88
+ * @example Invoke ListBillingViews
89
+ * ```javascript
90
+ * //
91
+ * const input = {
92
+ * "activeTimeRange": {
93
+ * "activeAfterInclusive": 1719792000,
94
+ * "activeBeforeInclusive": 1722470399.999
95
+ * }
96
+ * };
97
+ * const command = new ListBillingViewsCommand(input);
98
+ * const response = await client.send(command);
99
+ * /* response ==
100
+ * {
101
+ * "billingViews": [
102
+ * {
103
+ * "name": "Primary Billing View Account 123456789101",
104
+ * "arn": "arn:aws:billing::123456789101:billingview/primary",
105
+ * "billingViewType": "PRIMARY",
106
+ * "ownerAccountId": "123456789101"
107
+ * }
108
+ * ]
109
+ * }
110
+ * *\/
111
+ * // example id: example-1
112
+ * ```
113
+ *
114
+ * @example Error example for ListBillingViews
115
+ * ```javascript
116
+ * //
117
+ * const input = {
118
+ * "activeTimeRange": {
119
+ * "activeAfterInclusive": 1719792001,
120
+ * "activeBeforeInclusive": 1719792000
121
+ * }
122
+ * };
123
+ * const command = new ListBillingViewsCommand(input);
124
+ * await client.send(command);
125
+ * // example id: example-2
126
+ * ```
127
+ *
128
+ */
129
+ export declare class ListBillingViewsCommand extends ListBillingViewsCommand_base {
130
+ /** @internal type navigation helper, not in runtime. */
131
+ protected static __types: {
132
+ api: {
133
+ input: ListBillingViewsRequest;
134
+ output: ListBillingViewsResponse;
135
+ };
136
+ sdk: {
137
+ input: ListBillingViewsCommandInput;
138
+ output: ListBillingViewsCommandOutput;
139
+ };
140
+ };
141
+ }
@@ -0,0 +1 @@
1
+ export * from "./ListBillingViewsCommand";
@@ -0,0 +1,34 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ useFipsEndpoint?: boolean | Provider<boolean>;
7
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
8
+ region?: string | Provider<string>;
9
+ }
10
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
11
+ defaultSigningName: string;
12
+ };
13
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
14
+ defaultSigningName: string;
15
+ };
16
+ export declare const commonParams: {
17
+ readonly UseFIPS: {
18
+ readonly type: "builtInParams";
19
+ readonly name: "useFipsEndpoint";
20
+ };
21
+ readonly Endpoint: {
22
+ readonly type: "builtInParams";
23
+ readonly name: "endpoint";
24
+ };
25
+ readonly Region: {
26
+ readonly type: "builtInParams";
27
+ readonly name: "region";
28
+ };
29
+ };
30
+ export interface EndpointParameters extends __EndpointParameters {
31
+ UseFIPS?: boolean;
32
+ Endpoint?: string;
33
+ Region?: string;
34
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,9 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface BillingExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,20 @@
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>
9
+ *
10
+ * @packageDocumentation
11
+ */
12
+ export * from "./BillingClient";
13
+ export * from "./Billing";
14
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
15
+ export type { RuntimeExtension } from "./runtimeExtensions";
16
+ export type { BillingExtensionConfiguration } from "./extensionConfiguration";
17
+ export * from "./commands";
18
+ export * from "./pagination";
19
+ export * from "./models";
20
+ export { BillingServiceException } from "./models/BillingServiceException";
@@ -0,0 +1,14 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from Billing service.
8
+ */
9
+ export declare class BillingServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,202 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { BillingServiceException as __BaseException } from "./BillingServiceException";
3
+ /**
4
+ * <p>You don't have sufficient access to perform this action.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>A time range with a start and end time.</p>
17
+ * @public
18
+ */
19
+ export interface ActiveTimeRange {
20
+ /**
21
+ * <p>The inclusive time range start date.</p>
22
+ * @public
23
+ */
24
+ activeAfterInclusive: Date | undefined;
25
+ /**
26
+ * <p>
27
+ * The inclusive time range end date.
28
+ * </p>
29
+ * @public
30
+ */
31
+ activeBeforeInclusive: Date | undefined;
32
+ }
33
+ /**
34
+ * <p>The request processing failed because of an unknown error, exception, or failure.
35
+ * </p>
36
+ * @public
37
+ */
38
+ export declare class InternalServerException extends __BaseException {
39
+ readonly name: "InternalServerException";
40
+ readonly $fault: "server";
41
+ /**
42
+ * @internal
43
+ */
44
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
45
+ }
46
+ /**
47
+ * @public
48
+ */
49
+ export interface ListBillingViewsRequest {
50
+ /**
51
+ * <p>
52
+ * The time range for the billing views listed. <code>PRIMARY</code> billing view is always listed. <code>BILLING_GROUP</code> billing views are listed for time ranges when the associated billing group resource in Billing Conductor is active. The time range must be within one calendar month.
53
+ * </p>
54
+ * @public
55
+ */
56
+ activeTimeRange: ActiveTimeRange | undefined;
57
+ /**
58
+ * <p>The maximum number of billing views to retrieve. Default is 100.
59
+ * </p>
60
+ * @public
61
+ */
62
+ maxResults?: number | undefined;
63
+ /**
64
+ * <p>The pagination token that is used on subsequent calls to list billing views.</p>
65
+ * @public
66
+ */
67
+ nextToken?: string | undefined;
68
+ }
69
+ /**
70
+ * @public
71
+ * @enum
72
+ */
73
+ export declare const BillingViewType: {
74
+ readonly BILLING_GROUP: "BILLING_GROUP";
75
+ readonly PRIMARY: "PRIMARY";
76
+ };
77
+ /**
78
+ * @public
79
+ */
80
+ export type BillingViewType = (typeof BillingViewType)[keyof typeof BillingViewType];
81
+ /**
82
+ * <p>A representation of a billing view.</p>
83
+ * @public
84
+ */
85
+ export interface BillingViewListElement {
86
+ /**
87
+ * <p>The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
88
+ * </p>
89
+ * @public
90
+ */
91
+ arn?: string | undefined;
92
+ /**
93
+ * <p>
94
+ * A list of names of the Billing view.
95
+ * </p>
96
+ * @public
97
+ */
98
+ name?: string | undefined;
99
+ /**
100
+ * <p>
101
+ * The list of owners of the Billing view.
102
+ * </p>
103
+ * @public
104
+ */
105
+ ownerAccountId?: string | undefined;
106
+ /**
107
+ * <p>The type of billing view.</p>
108
+ * @public
109
+ */
110
+ billingViewType?: BillingViewType | undefined;
111
+ }
112
+ /**
113
+ * @public
114
+ */
115
+ export interface ListBillingViewsResponse {
116
+ /**
117
+ * <p>A list of <code>BillingViewListElement</code> retrieved.</p>
118
+ * @public
119
+ */
120
+ billingViews: BillingViewListElement[] | undefined;
121
+ /**
122
+ * <p>The pagination token to use on subsequent calls to list billing views.
123
+ * </p>
124
+ * @public
125
+ */
126
+ nextToken?: string | undefined;
127
+ }
128
+ /**
129
+ * <p>The request was denied due to request throttling.
130
+ * </p>
131
+ * @public
132
+ */
133
+ export declare class ThrottlingException extends __BaseException {
134
+ readonly name: "ThrottlingException";
135
+ readonly $fault: "client";
136
+ /**
137
+ * @internal
138
+ */
139
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
140
+ }
141
+ /**
142
+ * <p>The field's information of a request that resulted in an exception.
143
+ * </p>
144
+ * @public
145
+ */
146
+ export interface ValidationExceptionField {
147
+ /**
148
+ * <p>The name of the field.</p>
149
+ * @public
150
+ */
151
+ name: string | undefined;
152
+ /**
153
+ * <p>The message describing why the field failed validation.</p>
154
+ * @public
155
+ */
156
+ message: string | undefined;
157
+ }
158
+ /**
159
+ * @public
160
+ * @enum
161
+ */
162
+ export declare const ValidationExceptionReason: {
163
+ readonly CANNOT_PARSE: "cannotParse";
164
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
165
+ readonly OTHER: "other";
166
+ readonly UNKNOWN_OPERATION: "unknownOperation";
167
+ };
168
+ /**
169
+ * @public
170
+ */
171
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
172
+ /**
173
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.
174
+ * </p>
175
+ * @public
176
+ */
177
+ export declare class ValidationException extends __BaseException {
178
+ readonly name: "ValidationException";
179
+ readonly $fault: "client";
180
+ /**
181
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
182
+ * @public
183
+ */
184
+ reason: ValidationExceptionReason | undefined;
185
+ /**
186
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
187
+ * @public
188
+ */
189
+ fieldList?: ValidationExceptionField[] | undefined;
190
+ /**
191
+ * @internal
192
+ */
193
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
194
+ }
195
+ /**
196
+ * @internal
197
+ */
198
+ export declare const BillingViewListElementFilterSensitiveLog: (obj: BillingViewListElement) => any;
199
+ /**
200
+ * @internal
201
+ */
202
+ export declare const ListBillingViewsResponseFilterSensitiveLog: (obj: ListBillingViewsResponse) => any;
@@ -0,0 +1,8 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { BillingClient } from "../BillingClient";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface BillingPaginationConfiguration extends PaginationConfiguration {
7
+ client: BillingClient;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListBillingViewsCommandInput, ListBillingViewsCommandOutput } from "../commands/ListBillingViewsCommand";
3
+ import { BillingPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListBillingViews: (config: BillingPaginationConfiguration, input: ListBillingViewsCommandInput, ...rest: any[]) => Paginator<ListBillingViewsCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListBillingViewsPaginator";
@@ -0,0 +1,11 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { ListBillingViewsCommandInput, ListBillingViewsCommandOutput } from "../commands/ListBillingViewsCommand";
4
+ /**
5
+ * serializeAws_json1_0ListBillingViewsCommand
6
+ */
7
+ export declare const se_ListBillingViewsCommand: (input: ListBillingViewsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
8
+ /**
9
+ * deserializeAws_json1_0ListBillingViewsCommand
10
+ */
11
+ export declare const de_ListBillingViewsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBillingViewsCommandOutput>;
@@ -0,0 +1,48 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { BillingClientConfig } from "./BillingClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: BillingClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<any>;
14
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
22
+ urlParser: import("@smithy/types").UrlParser;
23
+ base64Decoder: import("@smithy/types").Decoder;
24
+ base64Encoder: (_input: string | Uint8Array) => string;
25
+ utf8Decoder: import("@smithy/types").Decoder;
26
+ utf8Encoder: (input: string | Uint8Array) => string;
27
+ disableHostPrefix: boolean;
28
+ serviceId: string;
29
+ logger: import("@smithy/types").Logger;
30
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
31
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
+ logger?: import("@smithy/types").Logger | undefined;
37
+ }) => import("@smithy/types").EndpointV2;
38
+ tls?: boolean | undefined;
39
+ serviceConfiguredEndpoint?: undefined;
40
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
41
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BillingHttpAuthSchemeProvider;
42
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
43
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
44
+ signingEscapePath?: boolean | undefined;
45
+ systemClockOffset?: number | undefined;
46
+ signingRegion?: string | undefined;
47
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
48
+ };
@@ -0,0 +1,48 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { BillingClientConfig } from "./BillingClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: BillingClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<string>;
14
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
21
+ apiVersion: string;
22
+ cacheMiddleware?: boolean | undefined;
23
+ urlParser: import("@smithy/types").UrlParser;
24
+ base64Decoder: import("@smithy/types").Decoder;
25
+ base64Encoder: (_input: string | Uint8Array) => string;
26
+ utf8Decoder: import("@smithy/types").Decoder;
27
+ utf8Encoder: (input: string | Uint8Array) => string;
28
+ disableHostPrefix: boolean;
29
+ serviceId: string;
30
+ logger: import("@smithy/types").Logger;
31
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
33
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
+ logger?: import("@smithy/types").Logger | undefined;
37
+ }) => import("@smithy/types").EndpointV2;
38
+ tls?: boolean | undefined;
39
+ serviceConfiguredEndpoint?: undefined;
40
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
41
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BillingHttpAuthSchemeProvider;
42
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
43
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
44
+ signingEscapePath?: boolean | undefined;
45
+ systemClockOffset?: number | undefined;
46
+ signingRegion?: string | undefined;
47
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
48
+ };