@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.
- package/LICENSE +201 -0
- package/README.md +219 -0
- package/dist-cjs/Billing.js +13 -0
- package/dist-cjs/BillingClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/ListBillingViewsCommand.js +27 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/BillingServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +81 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListBillingViewsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_json1_0.js +138 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/Billing.js +9 -0
- package/dist-es/BillingClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/ListBillingViewsCommand.js +23 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/BillingServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +72 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListBillingViewsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_0.js +133 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/Billing.d.ts +23 -0
- package/dist-types/BillingClient.d.ts +176 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/ListBillingViewsCommand.d.ts +141 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +20 -0
- package/dist-types/models/BillingServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +202 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListBillingViewsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +11 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/Billing.d.ts +22 -0
- package/dist-types/ts3.4/BillingClient.d.ts +122 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/ListBillingViewsCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/BillingServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +75 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListBillingViewsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +17 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { BillingClientConfig } from "./BillingClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: BillingClientConfig) => {
|
|
6
|
+
runtime: string;
|
|
7
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
+
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
|
+
apiVersion: string;
|
|
10
|
+
cacheMiddleware?: boolean | undefined;
|
|
11
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
12
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
14
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
15
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
16
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
18
|
+
disableHostPrefix: boolean;
|
|
19
|
+
serviceId: string;
|
|
20
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
23
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
24
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
26
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
27
|
+
logger: import("@smithy/types").Logger;
|
|
28
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
29
|
+
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
30
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
31
|
+
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
32
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
33
|
+
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> | undefined;
|
|
34
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
35
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
36
|
+
}) => import("@smithy/types").EndpointV2;
|
|
37
|
+
tls?: boolean | undefined;
|
|
38
|
+
serviceConfiguredEndpoint?: undefined;
|
|
39
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
40
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BillingHttpAuthSchemeProvider;
|
|
41
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
42
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
|
43
|
+
signingEscapePath?: boolean | undefined;
|
|
44
|
+
systemClockOffset?: number | undefined;
|
|
45
|
+
signingRegion?: string | undefined;
|
|
46
|
+
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
|
|
47
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BillingClientConfig } from "./BillingClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: BillingClientConfig) => {
|
|
6
|
+
apiVersion: string;
|
|
7
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
9
|
+
disableHostPrefix: boolean;
|
|
10
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
12
|
+
}) => import("@smithy/types").EndpointV2;
|
|
13
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
14
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BillingHttpAuthSchemeProvider;
|
|
15
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
|
+
logger: import("@smithy/types").Logger;
|
|
17
|
+
serviceId: string;
|
|
18
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
19
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
21
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BillingExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface RuntimeExtension {
|
|
6
|
+
configure(extensionConfiguration: BillingExtensionConfiguration): void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface RuntimeExtensionsConfig {
|
|
12
|
+
extensions: RuntimeExtension[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { BillingClient } from "./BillingClient";
|
|
3
|
+
import {
|
|
4
|
+
ListBillingViewsCommandInput,
|
|
5
|
+
ListBillingViewsCommandOutput,
|
|
6
|
+
} from "./commands/ListBillingViewsCommand";
|
|
7
|
+
export interface Billing {
|
|
8
|
+
listBillingViews(
|
|
9
|
+
args: ListBillingViewsCommandInput,
|
|
10
|
+
options?: __HttpHandlerOptions
|
|
11
|
+
): Promise<ListBillingViewsCommandOutput>;
|
|
12
|
+
listBillingViews(
|
|
13
|
+
args: ListBillingViewsCommandInput,
|
|
14
|
+
cb: (err: any, data?: ListBillingViewsCommandOutput) => void
|
|
15
|
+
): void;
|
|
16
|
+
listBillingViews(
|
|
17
|
+
args: ListBillingViewsCommandInput,
|
|
18
|
+
options: __HttpHandlerOptions,
|
|
19
|
+
cb: (err: any, data?: ListBillingViewsCommandOutput) => void
|
|
20
|
+
): void;
|
|
21
|
+
}
|
|
22
|
+
export declare class Billing extends BillingClient implements Billing {}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HostHeaderInputConfig,
|
|
3
|
+
HostHeaderResolvedConfig,
|
|
4
|
+
} from "@aws-sdk/middleware-host-header";
|
|
5
|
+
import {
|
|
6
|
+
UserAgentInputConfig,
|
|
7
|
+
UserAgentResolvedConfig,
|
|
8
|
+
} from "@aws-sdk/middleware-user-agent";
|
|
9
|
+
import {
|
|
10
|
+
RegionInputConfig,
|
|
11
|
+
RegionResolvedConfig,
|
|
12
|
+
} from "@smithy/config-resolver";
|
|
13
|
+
import {
|
|
14
|
+
EndpointInputConfig,
|
|
15
|
+
EndpointResolvedConfig,
|
|
16
|
+
} from "@smithy/middleware-endpoint";
|
|
17
|
+
import {
|
|
18
|
+
RetryInputConfig,
|
|
19
|
+
RetryResolvedConfig,
|
|
20
|
+
} from "@smithy/middleware-retry";
|
|
21
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
|
+
import {
|
|
23
|
+
Client as __Client,
|
|
24
|
+
DefaultsMode as __DefaultsMode,
|
|
25
|
+
SmithyConfiguration as __SmithyConfiguration,
|
|
26
|
+
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
27
|
+
} from "@smithy/smithy-client";
|
|
28
|
+
import {
|
|
29
|
+
AwsCredentialIdentityProvider,
|
|
30
|
+
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
|
+
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
33
|
+
Decoder as __Decoder,
|
|
34
|
+
Encoder as __Encoder,
|
|
35
|
+
HashConstructor as __HashConstructor,
|
|
36
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
37
|
+
Logger as __Logger,
|
|
38
|
+
Provider as __Provider,
|
|
39
|
+
Provider,
|
|
40
|
+
StreamCollector as __StreamCollector,
|
|
41
|
+
UrlParser as __UrlParser,
|
|
42
|
+
UserAgent as __UserAgent,
|
|
43
|
+
} from "@smithy/types";
|
|
44
|
+
import {
|
|
45
|
+
HttpAuthSchemeInputConfig,
|
|
46
|
+
HttpAuthSchemeResolvedConfig,
|
|
47
|
+
} from "./auth/httpAuthSchemeProvider";
|
|
48
|
+
import {
|
|
49
|
+
ListBillingViewsCommandInput,
|
|
50
|
+
ListBillingViewsCommandOutput,
|
|
51
|
+
} from "./commands/ListBillingViewsCommand";
|
|
52
|
+
import {
|
|
53
|
+
ClientInputEndpointParameters,
|
|
54
|
+
ClientResolvedEndpointParameters,
|
|
55
|
+
EndpointParameters,
|
|
56
|
+
} from "./endpoint/EndpointParameters";
|
|
57
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
58
|
+
export { __Client };
|
|
59
|
+
export type ServiceInputTypes = ListBillingViewsCommandInput;
|
|
60
|
+
export type ServiceOutputTypes = ListBillingViewsCommandOutput;
|
|
61
|
+
export interface ClientDefaults
|
|
62
|
+
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
63
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
64
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
65
|
+
urlParser?: __UrlParser;
|
|
66
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
67
|
+
streamCollector?: __StreamCollector;
|
|
68
|
+
base64Decoder?: __Decoder;
|
|
69
|
+
base64Encoder?: __Encoder;
|
|
70
|
+
utf8Decoder?: __Decoder;
|
|
71
|
+
utf8Encoder?: __Encoder;
|
|
72
|
+
runtime?: string;
|
|
73
|
+
disableHostPrefix?: boolean;
|
|
74
|
+
serviceId?: string;
|
|
75
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
76
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
77
|
+
region?: string | __Provider<string>;
|
|
78
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
79
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
80
|
+
maxAttempts?: number | __Provider<number>;
|
|
81
|
+
retryMode?: string | __Provider<string>;
|
|
82
|
+
logger?: __Logger;
|
|
83
|
+
extensions?: RuntimeExtension[];
|
|
84
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
85
|
+
}
|
|
86
|
+
export type BillingClientConfigType = Partial<
|
|
87
|
+
__SmithyConfiguration<__HttpHandlerOptions>
|
|
88
|
+
> &
|
|
89
|
+
ClientDefaults &
|
|
90
|
+
UserAgentInputConfig &
|
|
91
|
+
RetryInputConfig &
|
|
92
|
+
RegionInputConfig &
|
|
93
|
+
HostHeaderInputConfig &
|
|
94
|
+
EndpointInputConfig<EndpointParameters> &
|
|
95
|
+
HttpAuthSchemeInputConfig &
|
|
96
|
+
ClientInputEndpointParameters;
|
|
97
|
+
export interface BillingClientConfig extends BillingClientConfigType {}
|
|
98
|
+
export type BillingClientResolvedConfigType =
|
|
99
|
+
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
100
|
+
Required<ClientDefaults> &
|
|
101
|
+
RuntimeExtensionsConfig &
|
|
102
|
+
UserAgentResolvedConfig &
|
|
103
|
+
RetryResolvedConfig &
|
|
104
|
+
RegionResolvedConfig &
|
|
105
|
+
HostHeaderResolvedConfig &
|
|
106
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
107
|
+
HttpAuthSchemeResolvedConfig &
|
|
108
|
+
ClientResolvedEndpointParameters;
|
|
109
|
+
export interface BillingClientResolvedConfig
|
|
110
|
+
extends BillingClientResolvedConfigType {}
|
|
111
|
+
export declare class BillingClient extends __Client<
|
|
112
|
+
__HttpHandlerOptions,
|
|
113
|
+
ServiceInputTypes,
|
|
114
|
+
ServiceOutputTypes,
|
|
115
|
+
BillingClientResolvedConfig
|
|
116
|
+
> {
|
|
117
|
+
readonly config: BillingClientResolvedConfig;
|
|
118
|
+
constructor(
|
|
119
|
+
...[configuration]: __CheckOptionalClientConfig<BillingClientConfig>
|
|
120
|
+
);
|
|
121
|
+
destroy(): void;
|
|
122
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsCredentialIdentity,
|
|
3
|
+
AwsCredentialIdentityProvider,
|
|
4
|
+
HttpAuthScheme,
|
|
5
|
+
} from "@smithy/types";
|
|
6
|
+
import { BillingHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
+
setHttpAuthSchemeProvider(
|
|
11
|
+
httpAuthSchemeProvider: BillingHttpAuthSchemeProvider
|
|
12
|
+
): void;
|
|
13
|
+
httpAuthSchemeProvider(): BillingHttpAuthSchemeProvider;
|
|
14
|
+
setCredentials(
|
|
15
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
|
|
16
|
+
): void;
|
|
17
|
+
credentials():
|
|
18
|
+
| AwsCredentialIdentity
|
|
19
|
+
| AwsCredentialIdentityProvider
|
|
20
|
+
| undefined;
|
|
21
|
+
}
|
|
22
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
24
|
+
httpAuthSchemeProvider: BillingHttpAuthSchemeProvider;
|
|
25
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
+
runtimeConfig: HttpAuthRuntimeConfig
|
|
29
|
+
) => HttpAuthExtensionConfiguration;
|
|
30
|
+
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
+
config: HttpAuthExtensionConfiguration
|
|
32
|
+
) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsSdkSigV4AuthInputConfig,
|
|
3
|
+
AwsSdkSigV4AuthResolvedConfig,
|
|
4
|
+
AwsSdkSigV4PreviouslyResolved,
|
|
5
|
+
} from "@aws-sdk/core";
|
|
6
|
+
import {
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpAuthScheme,
|
|
9
|
+
HttpAuthSchemeParameters,
|
|
10
|
+
HttpAuthSchemeParametersProvider,
|
|
11
|
+
HttpAuthSchemeProvider,
|
|
12
|
+
} from "@smithy/types";
|
|
13
|
+
import { BillingClientResolvedConfig } from "../BillingClient";
|
|
14
|
+
export interface BillingHttpAuthSchemeParameters
|
|
15
|
+
extends HttpAuthSchemeParameters {
|
|
16
|
+
region?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface BillingHttpAuthSchemeParametersProvider
|
|
19
|
+
extends HttpAuthSchemeParametersProvider<
|
|
20
|
+
BillingClientResolvedConfig,
|
|
21
|
+
HandlerExecutionContext,
|
|
22
|
+
BillingHttpAuthSchemeParameters,
|
|
23
|
+
object
|
|
24
|
+
> {}
|
|
25
|
+
export declare const defaultBillingHttpAuthSchemeParametersProvider: (
|
|
26
|
+
config: BillingClientResolvedConfig,
|
|
27
|
+
context: HandlerExecutionContext,
|
|
28
|
+
input: object
|
|
29
|
+
) => Promise<BillingHttpAuthSchemeParameters>;
|
|
30
|
+
export interface BillingHttpAuthSchemeProvider
|
|
31
|
+
extends HttpAuthSchemeProvider<BillingHttpAuthSchemeParameters> {}
|
|
32
|
+
export declare const defaultBillingHttpAuthSchemeProvider: BillingHttpAuthSchemeProvider;
|
|
33
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
34
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
35
|
+
httpAuthSchemeProvider?: BillingHttpAuthSchemeProvider;
|
|
36
|
+
}
|
|
37
|
+
export interface HttpAuthSchemeResolvedConfig
|
|
38
|
+
extends AwsSdkSigV4AuthResolvedConfig {
|
|
39
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
40
|
+
readonly httpAuthSchemeProvider: BillingHttpAuthSchemeProvider;
|
|
41
|
+
}
|
|
42
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
43
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
44
|
+
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BillingClientResolvedConfig } from "../BillingClient";
|
|
4
|
+
import {
|
|
5
|
+
ListBillingViewsRequest,
|
|
6
|
+
ListBillingViewsResponse,
|
|
7
|
+
} from "../models/models_0";
|
|
8
|
+
export { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
export interface ListBillingViewsCommandInput extends ListBillingViewsRequest {}
|
|
11
|
+
export interface ListBillingViewsCommandOutput
|
|
12
|
+
extends ListBillingViewsResponse,
|
|
13
|
+
__MetadataBearer {}
|
|
14
|
+
declare const ListBillingViewsCommand_base: {
|
|
15
|
+
new (
|
|
16
|
+
input: ListBillingViewsCommandInput
|
|
17
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
18
|
+
ListBillingViewsCommandInput,
|
|
19
|
+
ListBillingViewsCommandOutput,
|
|
20
|
+
BillingClientResolvedConfig,
|
|
21
|
+
ListBillingViewsCommandInput,
|
|
22
|
+
ListBillingViewsCommandOutput
|
|
23
|
+
>;
|
|
24
|
+
new (
|
|
25
|
+
__0_0: ListBillingViewsCommandInput
|
|
26
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
27
|
+
ListBillingViewsCommandInput,
|
|
28
|
+
ListBillingViewsCommandOutput,
|
|
29
|
+
BillingClientResolvedConfig,
|
|
30
|
+
ListBillingViewsCommandInput,
|
|
31
|
+
ListBillingViewsCommandOutput
|
|
32
|
+
>;
|
|
33
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
34
|
+
};
|
|
35
|
+
export declare class ListBillingViewsCommand extends ListBillingViewsCommand_base {
|
|
36
|
+
protected static __types: {
|
|
37
|
+
api: {
|
|
38
|
+
input: ListBillingViewsRequest;
|
|
39
|
+
output: ListBillingViewsResponse;
|
|
40
|
+
};
|
|
41
|
+
sdk: {
|
|
42
|
+
input: ListBillingViewsCommandInput;
|
|
43
|
+
output: ListBillingViewsCommandOutput;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ListBillingViewsCommand";
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters as __EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Provider,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export interface ClientInputEndpointParameters {
|
|
8
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
9
|
+
endpoint?:
|
|
10
|
+
| string
|
|
11
|
+
| Provider<string>
|
|
12
|
+
| Endpoint
|
|
13
|
+
| Provider<Endpoint>
|
|
14
|
+
| EndpointV2
|
|
15
|
+
| Provider<EndpointV2>;
|
|
16
|
+
region?: string | Provider<string>;
|
|
17
|
+
}
|
|
18
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
19
|
+
defaultSigningName: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
22
|
+
options: T & ClientInputEndpointParameters
|
|
23
|
+
) => T &
|
|
24
|
+
ClientInputEndpointParameters & {
|
|
25
|
+
defaultSigningName: string;
|
|
26
|
+
};
|
|
27
|
+
export declare const commonParams: {
|
|
28
|
+
readonly UseFIPS: {
|
|
29
|
+
readonly type: "builtInParams";
|
|
30
|
+
readonly name: "useFipsEndpoint";
|
|
31
|
+
};
|
|
32
|
+
readonly Endpoint: {
|
|
33
|
+
readonly type: "builtInParams";
|
|
34
|
+
readonly name: "endpoint";
|
|
35
|
+
};
|
|
36
|
+
readonly Region: {
|
|
37
|
+
readonly type: "builtInParams";
|
|
38
|
+
readonly name: "region";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
42
|
+
UseFIPS?: boolean;
|
|
43
|
+
Endpoint?: string;
|
|
44
|
+
Region?: string;
|
|
45
|
+
}
|
|
@@ -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
|
+
export interface BillingExtensionConfiguration
|
|
6
|
+
extends HttpHandlerExtensionConfiguration,
|
|
7
|
+
DefaultExtensionConfiguration,
|
|
8
|
+
AwsRegionExtensionConfiguration,
|
|
9
|
+
HttpAuthExtensionConfiguration {}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./BillingClient";
|
|
2
|
+
export * from "./Billing";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { BillingExtensionConfiguration } from "./extensionConfiguration";
|
|
6
|
+
export * from "./commands";
|
|
7
|
+
export * from "./pagination";
|
|
8
|
+
export * from "./models";
|
|
9
|
+
export { BillingServiceException } from "./models/BillingServiceException";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ServiceException as __ServiceException,
|
|
3
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
|
+
} from "@smithy/smithy-client";
|
|
5
|
+
export { __ServiceExceptionOptions };
|
|
6
|
+
export { __ServiceException };
|
|
7
|
+
export declare class BillingServiceException extends __ServiceException {
|
|
8
|
+
constructor(options: __ServiceExceptionOptions);
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { BillingServiceException as __BaseException } from "./BillingServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export interface ActiveTimeRange {
|
|
11
|
+
activeAfterInclusive: Date | undefined;
|
|
12
|
+
activeBeforeInclusive: Date | undefined;
|
|
13
|
+
}
|
|
14
|
+
export declare class InternalServerException extends __BaseException {
|
|
15
|
+
readonly name: "InternalServerException";
|
|
16
|
+
readonly $fault: "server";
|
|
17
|
+
constructor(
|
|
18
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
export interface ListBillingViewsRequest {
|
|
22
|
+
activeTimeRange: ActiveTimeRange | undefined;
|
|
23
|
+
maxResults?: number | undefined;
|
|
24
|
+
nextToken?: string | undefined;
|
|
25
|
+
}
|
|
26
|
+
export declare const BillingViewType: {
|
|
27
|
+
readonly BILLING_GROUP: "BILLING_GROUP";
|
|
28
|
+
readonly PRIMARY: "PRIMARY";
|
|
29
|
+
};
|
|
30
|
+
export type BillingViewType =
|
|
31
|
+
(typeof BillingViewType)[keyof typeof BillingViewType];
|
|
32
|
+
export interface BillingViewListElement {
|
|
33
|
+
arn?: string | undefined;
|
|
34
|
+
name?: string | undefined;
|
|
35
|
+
ownerAccountId?: string | undefined;
|
|
36
|
+
billingViewType?: BillingViewType | undefined;
|
|
37
|
+
}
|
|
38
|
+
export interface ListBillingViewsResponse {
|
|
39
|
+
billingViews: BillingViewListElement[] | undefined;
|
|
40
|
+
nextToken?: string | undefined;
|
|
41
|
+
}
|
|
42
|
+
export declare class ThrottlingException extends __BaseException {
|
|
43
|
+
readonly name: "ThrottlingException";
|
|
44
|
+
readonly $fault: "client";
|
|
45
|
+
constructor(
|
|
46
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
export interface ValidationExceptionField {
|
|
50
|
+
name: string | undefined;
|
|
51
|
+
message: string | undefined;
|
|
52
|
+
}
|
|
53
|
+
export declare const ValidationExceptionReason: {
|
|
54
|
+
readonly CANNOT_PARSE: "cannotParse";
|
|
55
|
+
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
56
|
+
readonly OTHER: "other";
|
|
57
|
+
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
58
|
+
};
|
|
59
|
+
export type ValidationExceptionReason =
|
|
60
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
61
|
+
export declare class ValidationException extends __BaseException {
|
|
62
|
+
readonly name: "ValidationException";
|
|
63
|
+
readonly $fault: "client";
|
|
64
|
+
reason: ValidationExceptionReason | undefined;
|
|
65
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
66
|
+
constructor(
|
|
67
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
export declare const BillingViewListElementFilterSensitiveLog: (
|
|
71
|
+
obj: BillingViewListElement
|
|
72
|
+
) => any;
|
|
73
|
+
export declare const ListBillingViewsResponseFilterSensitiveLog: (
|
|
74
|
+
obj: ListBillingViewsResponse
|
|
75
|
+
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListBillingViewsCommandInput,
|
|
4
|
+
ListBillingViewsCommandOutput,
|
|
5
|
+
} from "../commands/ListBillingViewsCommand";
|
|
6
|
+
import { BillingPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListBillingViews: (
|
|
8
|
+
config: BillingPaginationConfiguration,
|
|
9
|
+
input: ListBillingViewsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListBillingViewsCommandOutput>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HttpRequest as __HttpRequest,
|
|
3
|
+
HttpResponse as __HttpResponse,
|
|
4
|
+
} from "@smithy/protocol-http";
|
|
5
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
+
import {
|
|
7
|
+
ListBillingViewsCommandInput,
|
|
8
|
+
ListBillingViewsCommandOutput,
|
|
9
|
+
} from "../commands/ListBillingViewsCommand";
|
|
10
|
+
export declare const se_ListBillingViewsCommand: (
|
|
11
|
+
input: ListBillingViewsCommandInput,
|
|
12
|
+
context: __SerdeContext
|
|
13
|
+
) => Promise<__HttpRequest>;
|
|
14
|
+
export declare const de_ListBillingViewsCommand: (
|
|
15
|
+
output: __HttpResponse,
|
|
16
|
+
context: __SerdeContext
|
|
17
|
+
) => Promise<ListBillingViewsCommandOutput>;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import { BillingClientConfig } from "./BillingClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: BillingClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
+
credentialDefaultProvider: (
|
|
10
|
+
input: any
|
|
11
|
+
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
12
|
+
defaultUserAgentProvider: (
|
|
13
|
+
config?:
|
|
14
|
+
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
15
|
+
| undefined
|
|
16
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
19
|
+
requestHandler:
|
|
20
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
21
|
+
| RequestHandler;
|
|
22
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
24
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
25
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
26
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
27
|
+
apiVersion: string;
|
|
28
|
+
cacheMiddleware?: boolean | undefined;
|
|
29
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
30
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
31
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
32
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
33
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
34
|
+
disableHostPrefix: boolean;
|
|
35
|
+
serviceId: string;
|
|
36
|
+
logger: import("@smithy/types").Logger;
|
|
37
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
38
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
39
|
+
userAgentAppId?:
|
|
40
|
+
| string
|
|
41
|
+
| import("@smithy/types").Provider<string | undefined>
|
|
42
|
+
| undefined;
|
|
43
|
+
retryStrategy?:
|
|
44
|
+
| import("@smithy/types").RetryStrategy
|
|
45
|
+
| import("@smithy/types").RetryStrategyV2
|
|
46
|
+
| undefined;
|
|
47
|
+
endpoint?:
|
|
48
|
+
| ((
|
|
49
|
+
| string
|
|
50
|
+
| import("@smithy/types").Endpoint
|
|
51
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
52
|
+
| import("@smithy/types").EndpointV2
|
|
53
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
54
|
+
) &
|
|
55
|
+
(
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Provider<string>
|
|
58
|
+
| import("@smithy/types").Endpoint
|
|
59
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
60
|
+
| import("@smithy/types").EndpointV2
|
|
61
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
62
|
+
))
|
|
63
|
+
| undefined;
|
|
64
|
+
endpointProvider: (
|
|
65
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
66
|
+
context?: {
|
|
67
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
68
|
+
}
|
|
69
|
+
) => import("@smithy/types").EndpointV2;
|
|
70
|
+
tls?: boolean | undefined;
|
|
71
|
+
serviceConfiguredEndpoint?: undefined;
|
|
72
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
73
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BillingHttpAuthSchemeProvider;
|
|
74
|
+
credentials?:
|
|
75
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
76
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
77
|
+
| undefined;
|
|
78
|
+
signer?:
|
|
79
|
+
| import("@smithy/types").RequestSigner
|
|
80
|
+
| ((
|
|
81
|
+
authScheme?: import("@smithy/types").AuthScheme | undefined
|
|
82
|
+
) => Promise<import("@smithy/types").RequestSigner>)
|
|
83
|
+
| undefined;
|
|
84
|
+
signingEscapePath?: boolean | undefined;
|
|
85
|
+
systemClockOffset?: number | undefined;
|
|
86
|
+
signingRegion?: string | undefined;
|
|
87
|
+
signerConstructor?:
|
|
88
|
+
| (new (
|
|
89
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
90
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
) => import("@smithy/types").RequestSigner)
|
|
92
|
+
| undefined;
|
|
93
|
+
};
|