@aws-sdk/client-freetier 3.458.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 +223 -0
- package/dist-cjs/FreeTier.js +13 -0
- package/dist-cjs/FreeTierClient.js +43 -0
- package/dist-cjs/commands/GetFreeTierUsageCommand.js +50 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/endpoint/EndpointParameters.js +11 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/FreeTierServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +59 -0
- package/dist-cjs/pagination/GetFreeTierUsagePaginator.js +29 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_json1_0.js +202 -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 +24 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/FreeTier.js +9 -0
- package/dist-es/FreeTierClient.js +39 -0
- package/dist-es/commands/GetFreeTierUsageCommand.js +46 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/EndpointParameters.js +7 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/FreeTierServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +53 -0
- package/dist-es/pagination/GetFreeTierUsagePaginator.js +25 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_0.js +197 -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 +20 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/FreeTier.d.ts +27 -0
- package/dist-types/FreeTierClient.d.ts +180 -0
- package/dist-types/commands/GetFreeTierUsageCommand.d.ts +132 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +20 -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 +8 -0
- package/dist-types/index.d.ts +25 -0
- package/dist-types/models/FreeTierServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +254 -0
- package/dist-types/pagination/GetFreeTierUsagePaginator.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -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 +46 -0
- package/dist-types/runtimeConfig.d.ts +46 -0
- package/dist-types/runtimeConfig.native.d.ts +45 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/FreeTier.d.ts +22 -0
- package/dist-types/ts3.4/FreeTierClient.d.ts +122 -0
- package/dist-types/ts3.4/commands/GetFreeTierUsageCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +31 -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 +7 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/FreeTierServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +73 -0
- package/dist-types/ts3.4/pagination/GetFreeTierUsagePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -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 +97 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +102 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FreeTierClientConfig } from "./FreeTierClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
|
|
6
|
+
apiVersion: string;
|
|
7
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
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
|
+
logger: import("@smithy/types").Logger;
|
|
15
|
+
serviceId: string;
|
|
16
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
17
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
18
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
19
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FreeTierExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface RuntimeExtension {
|
|
6
|
+
configure(extensionConfiguration: FreeTierExtensionConfiguration): 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 {
|
|
3
|
+
GetFreeTierUsageCommandInput,
|
|
4
|
+
GetFreeTierUsageCommandOutput,
|
|
5
|
+
} from "./commands/GetFreeTierUsageCommand";
|
|
6
|
+
import { FreeTierClient } from "./FreeTierClient";
|
|
7
|
+
export interface FreeTier {
|
|
8
|
+
getFreeTierUsage(
|
|
9
|
+
args: GetFreeTierUsageCommandInput,
|
|
10
|
+
options?: __HttpHandlerOptions
|
|
11
|
+
): Promise<GetFreeTierUsageCommandOutput>;
|
|
12
|
+
getFreeTierUsage(
|
|
13
|
+
args: GetFreeTierUsageCommandInput,
|
|
14
|
+
cb: (err: any, data?: GetFreeTierUsageCommandOutput) => void
|
|
15
|
+
): void;
|
|
16
|
+
getFreeTierUsage(
|
|
17
|
+
args: GetFreeTierUsageCommandInput,
|
|
18
|
+
options: __HttpHandlerOptions,
|
|
19
|
+
cb: (err: any, data?: GetFreeTierUsageCommandOutput) => void
|
|
20
|
+
): void;
|
|
21
|
+
}
|
|
22
|
+
export declare class FreeTier extends FreeTierClient implements FreeTier {}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HostHeaderInputConfig,
|
|
3
|
+
HostHeaderResolvedConfig,
|
|
4
|
+
} from "@aws-sdk/middleware-host-header";
|
|
5
|
+
import {
|
|
6
|
+
AwsAuthInputConfig,
|
|
7
|
+
AwsAuthResolvedConfig,
|
|
8
|
+
} from "@aws-sdk/middleware-signing";
|
|
9
|
+
import {
|
|
10
|
+
UserAgentInputConfig,
|
|
11
|
+
UserAgentResolvedConfig,
|
|
12
|
+
} from "@aws-sdk/middleware-user-agent";
|
|
13
|
+
import { Credentials as __Credentials } from "@aws-sdk/types";
|
|
14
|
+
import {
|
|
15
|
+
RegionInputConfig,
|
|
16
|
+
RegionResolvedConfig,
|
|
17
|
+
} from "@smithy/config-resolver";
|
|
18
|
+
import {
|
|
19
|
+
EndpointInputConfig,
|
|
20
|
+
EndpointResolvedConfig,
|
|
21
|
+
} from "@smithy/middleware-endpoint";
|
|
22
|
+
import {
|
|
23
|
+
RetryInputConfig,
|
|
24
|
+
RetryResolvedConfig,
|
|
25
|
+
} from "@smithy/middleware-retry";
|
|
26
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
27
|
+
import {
|
|
28
|
+
Client as __Client,
|
|
29
|
+
DefaultsMode as __DefaultsMode,
|
|
30
|
+
SmithyConfiguration as __SmithyConfiguration,
|
|
31
|
+
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
32
|
+
} from "@smithy/smithy-client";
|
|
33
|
+
import {
|
|
34
|
+
BodyLengthCalculator as __BodyLengthCalculator,
|
|
35
|
+
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
36
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
37
|
+
Decoder as __Decoder,
|
|
38
|
+
Encoder as __Encoder,
|
|
39
|
+
HashConstructor as __HashConstructor,
|
|
40
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
41
|
+
Logger as __Logger,
|
|
42
|
+
Provider as __Provider,
|
|
43
|
+
Provider,
|
|
44
|
+
StreamCollector as __StreamCollector,
|
|
45
|
+
UrlParser as __UrlParser,
|
|
46
|
+
UserAgent as __UserAgent,
|
|
47
|
+
} from "@smithy/types";
|
|
48
|
+
import {
|
|
49
|
+
GetFreeTierUsageCommandInput,
|
|
50
|
+
GetFreeTierUsageCommandOutput,
|
|
51
|
+
} from "./commands/GetFreeTierUsageCommand";
|
|
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 = GetFreeTierUsageCommandInput;
|
|
60
|
+
export type ServiceOutputTypes = GetFreeTierUsageCommandOutput;
|
|
61
|
+
export interface ClientDefaults
|
|
62
|
+
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
63
|
+
requestHandler?: __HttpHandler;
|
|
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
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
79
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
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 FreeTierClientConfigType = Partial<
|
|
87
|
+
__SmithyConfiguration<__HttpHandlerOptions>
|
|
88
|
+
> &
|
|
89
|
+
ClientDefaults &
|
|
90
|
+
RegionInputConfig &
|
|
91
|
+
EndpointInputConfig<EndpointParameters> &
|
|
92
|
+
RetryInputConfig &
|
|
93
|
+
HostHeaderInputConfig &
|
|
94
|
+
AwsAuthInputConfig &
|
|
95
|
+
UserAgentInputConfig &
|
|
96
|
+
ClientInputEndpointParameters;
|
|
97
|
+
export interface FreeTierClientConfig extends FreeTierClientConfigType {}
|
|
98
|
+
export type FreeTierClientResolvedConfigType =
|
|
99
|
+
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
100
|
+
Required<ClientDefaults> &
|
|
101
|
+
RuntimeExtensionsConfig &
|
|
102
|
+
RegionResolvedConfig &
|
|
103
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
104
|
+
RetryResolvedConfig &
|
|
105
|
+
HostHeaderResolvedConfig &
|
|
106
|
+
AwsAuthResolvedConfig &
|
|
107
|
+
UserAgentResolvedConfig &
|
|
108
|
+
ClientResolvedEndpointParameters;
|
|
109
|
+
export interface FreeTierClientResolvedConfig
|
|
110
|
+
extends FreeTierClientResolvedConfigType {}
|
|
111
|
+
export declare class FreeTierClient extends __Client<
|
|
112
|
+
__HttpHandlerOptions,
|
|
113
|
+
ServiceInputTypes,
|
|
114
|
+
ServiceOutputTypes,
|
|
115
|
+
FreeTierClientResolvedConfig
|
|
116
|
+
> {
|
|
117
|
+
readonly config: FreeTierClientResolvedConfig;
|
|
118
|
+
constructor(
|
|
119
|
+
...[configuration]: __CheckOptionalClientConfig<FreeTierClientConfig>
|
|
120
|
+
);
|
|
121
|
+
destroy(): void;
|
|
122
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
FreeTierClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../FreeTierClient";
|
|
14
|
+
import {
|
|
15
|
+
GetFreeTierUsageRequest,
|
|
16
|
+
GetFreeTierUsageResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface GetFreeTierUsageCommandInput extends GetFreeTierUsageRequest {}
|
|
20
|
+
export interface GetFreeTierUsageCommandOutput
|
|
21
|
+
extends GetFreeTierUsageResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class GetFreeTierUsageCommand extends $Command<
|
|
24
|
+
GetFreeTierUsageCommandInput,
|
|
25
|
+
GetFreeTierUsageCommandOutput,
|
|
26
|
+
FreeTierClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: GetFreeTierUsageCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetFreeTierUsageCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: FreeTierClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<GetFreeTierUsageCommandInput, GetFreeTierUsageCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./GetFreeTierUsageCommand";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters as __EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Provider,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export interface ClientInputEndpointParameters {
|
|
8
|
+
region?: string | Provider<string>;
|
|
9
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
10
|
+
endpoint?:
|
|
11
|
+
| string
|
|
12
|
+
| Provider<string>
|
|
13
|
+
| Endpoint
|
|
14
|
+
| Provider<Endpoint>
|
|
15
|
+
| EndpointV2
|
|
16
|
+
| Provider<EndpointV2>;
|
|
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 interface EndpointParameters extends __EndpointParameters {
|
|
28
|
+
Region?: string;
|
|
29
|
+
UseFIPS?: boolean;
|
|
30
|
+
Endpoint?: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
export interface FreeTierExtensionConfiguration
|
|
5
|
+
extends HttpHandlerExtensionConfiguration,
|
|
6
|
+
DefaultExtensionConfiguration,
|
|
7
|
+
AwsRegionExtensionConfiguration {}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./FreeTierClient";
|
|
2
|
+
export * from "./FreeTier";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { FreeTierExtensionConfiguration } from "./extensionConfiguration";
|
|
6
|
+
export * from "./commands";
|
|
7
|
+
export * from "./pagination";
|
|
8
|
+
export * from "./models";
|
|
9
|
+
import "@aws-sdk/util-endpoints";
|
|
10
|
+
export { FreeTierServiceException } from "./models/FreeTierServiceException";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ServiceException as __ServiceException,
|
|
3
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
|
+
} from "@smithy/smithy-client";
|
|
5
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
6
|
+
export declare class FreeTierServiceException extends __ServiceException {
|
|
7
|
+
constructor(options: __ServiceExceptionOptions);
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { FreeTierServiceException as __BaseException } from "./FreeTierServiceException";
|
|
3
|
+
export declare const Dimension: {
|
|
4
|
+
readonly DESCRIPTION: "DESCRIPTION";
|
|
5
|
+
readonly FREE_TIER_TYPE: "FREE_TIER_TYPE";
|
|
6
|
+
readonly OPERATION: "OPERATION";
|
|
7
|
+
readonly REGION: "REGION";
|
|
8
|
+
readonly SERVICE: "SERVICE";
|
|
9
|
+
readonly USAGE_PERCENTAGE: "USAGE_PERCENTAGE";
|
|
10
|
+
readonly USAGE_TYPE: "USAGE_TYPE";
|
|
11
|
+
};
|
|
12
|
+
export type Dimension = (typeof Dimension)[keyof typeof Dimension];
|
|
13
|
+
export declare const MatchOption: {
|
|
14
|
+
readonly CONTAINS: "CONTAINS";
|
|
15
|
+
readonly ENDS_WITH: "ENDS_WITH";
|
|
16
|
+
readonly EQUALS: "EQUALS";
|
|
17
|
+
readonly GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL";
|
|
18
|
+
readonly STARTS_WITH: "STARTS_WITH";
|
|
19
|
+
};
|
|
20
|
+
export type MatchOption = (typeof MatchOption)[keyof typeof MatchOption];
|
|
21
|
+
export interface DimensionValues {
|
|
22
|
+
Key: Dimension | undefined;
|
|
23
|
+
Values: string[] | undefined;
|
|
24
|
+
MatchOptions: MatchOption[] | undefined;
|
|
25
|
+
}
|
|
26
|
+
export interface FreeTierUsage {
|
|
27
|
+
service?: string;
|
|
28
|
+
operation?: string;
|
|
29
|
+
usageType?: string;
|
|
30
|
+
region?: string;
|
|
31
|
+
actualUsageAmount?: number;
|
|
32
|
+
forecastedUsageAmount?: number;
|
|
33
|
+
limit?: number;
|
|
34
|
+
unit?: string;
|
|
35
|
+
description?: string;
|
|
36
|
+
freeTierType?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface GetFreeTierUsageResponse {
|
|
39
|
+
freeTierUsages: FreeTierUsage[] | undefined;
|
|
40
|
+
nextToken?: string;
|
|
41
|
+
}
|
|
42
|
+
export declare class InternalServerException extends __BaseException {
|
|
43
|
+
readonly name: "InternalServerException";
|
|
44
|
+
readonly $fault: "server";
|
|
45
|
+
constructor(
|
|
46
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
export declare class ThrottlingException extends __BaseException {
|
|
50
|
+
readonly name: "ThrottlingException";
|
|
51
|
+
readonly $fault: "client";
|
|
52
|
+
constructor(
|
|
53
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
export declare class ValidationException extends __BaseException {
|
|
57
|
+
readonly name: "ValidationException";
|
|
58
|
+
readonly $fault: "client";
|
|
59
|
+
constructor(
|
|
60
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
export interface Expression {
|
|
64
|
+
Or?: Expression[];
|
|
65
|
+
And?: Expression[];
|
|
66
|
+
Not?: Expression;
|
|
67
|
+
Dimensions?: DimensionValues;
|
|
68
|
+
}
|
|
69
|
+
export interface GetFreeTierUsageRequest {
|
|
70
|
+
filter?: Expression;
|
|
71
|
+
maxResults?: number;
|
|
72
|
+
nextToken?: string;
|
|
73
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
GetFreeTierUsageCommandInput,
|
|
4
|
+
GetFreeTierUsageCommandOutput,
|
|
5
|
+
} from "../commands/GetFreeTierUsageCommand";
|
|
6
|
+
import { FreeTierPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateGetFreeTierUsage(
|
|
8
|
+
config: FreeTierPaginationConfiguration,
|
|
9
|
+
input: GetFreeTierUsageCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<GetFreeTierUsageCommandOutput>;
|
|
@@ -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
|
+
GetFreeTierUsageCommandInput,
|
|
8
|
+
GetFreeTierUsageCommandOutput,
|
|
9
|
+
} from "../commands/GetFreeTierUsageCommand";
|
|
10
|
+
export declare const se_GetFreeTierUsageCommand: (
|
|
11
|
+
input: GetFreeTierUsageCommandInput,
|
|
12
|
+
context: __SerdeContext
|
|
13
|
+
) => Promise<__HttpRequest>;
|
|
14
|
+
export declare const de_GetFreeTierUsageCommand: (
|
|
15
|
+
output: __HttpResponse,
|
|
16
|
+
context: __SerdeContext
|
|
17
|
+
) => Promise<GetFreeTierUsageCommandOutput>;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import { FreeTierClientConfig } from "./FreeTierClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
|
|
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").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
13
|
+
import("@smithy/types").UserAgent
|
|
14
|
+
>;
|
|
15
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
16
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
17
|
+
requestHandler:
|
|
18
|
+
| (import("@smithy/types").RequestHandler<
|
|
19
|
+
any,
|
|
20
|
+
any,
|
|
21
|
+
import("@smithy/types").HttpHandlerOptions
|
|
22
|
+
> &
|
|
23
|
+
import("@smithy/types").RequestHandler<
|
|
24
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
25
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
26
|
+
import("@smithy/types").HttpHandlerOptions
|
|
27
|
+
> & {
|
|
28
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
29
|
+
httpHandlerConfigs(): {};
|
|
30
|
+
})
|
|
31
|
+
| RequestHandler;
|
|
32
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
33
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
34
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
35
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
36
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
37
|
+
apiVersion: string;
|
|
38
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
39
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
40
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
41
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
42
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
43
|
+
disableHostPrefix: boolean;
|
|
44
|
+
serviceId: string;
|
|
45
|
+
logger: import("@smithy/types").Logger;
|
|
46
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
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
|
+
retryStrategy?:
|
|
72
|
+
| import("@smithy/types").RetryStrategy
|
|
73
|
+
| import("@smithy/types").RetryStrategyV2
|
|
74
|
+
| undefined;
|
|
75
|
+
credentials?:
|
|
76
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
77
|
+
| import("@smithy/types").Provider<
|
|
78
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
79
|
+
>
|
|
80
|
+
| undefined;
|
|
81
|
+
signer?:
|
|
82
|
+
| import("@smithy/types").RequestSigner
|
|
83
|
+
| ((
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme | undefined
|
|
85
|
+
) => Promise<import("@smithy/types").RequestSigner>)
|
|
86
|
+
| undefined;
|
|
87
|
+
signingEscapePath?: boolean | undefined;
|
|
88
|
+
systemClockOffset?: number | undefined;
|
|
89
|
+
signingRegion?: string | undefined;
|
|
90
|
+
signerConstructor?:
|
|
91
|
+
| (new (
|
|
92
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
93
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
94
|
+
) => import("@smithy/types").RequestSigner)
|
|
95
|
+
| undefined;
|
|
96
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
97
|
+
};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import { FreeTierClientConfig } from "./FreeTierClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
|
|
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").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
13
|
+
import("@smithy/types").UserAgent
|
|
14
|
+
>;
|
|
15
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
16
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
17
|
+
requestHandler:
|
|
18
|
+
| (import("@smithy/types").RequestHandler<
|
|
19
|
+
any,
|
|
20
|
+
any,
|
|
21
|
+
import("@smithy/types").HttpHandlerOptions
|
|
22
|
+
> &
|
|
23
|
+
import("@smithy/types").RequestHandler<
|
|
24
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
25
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
26
|
+
import("@smithy/types").HttpHandlerOptions
|
|
27
|
+
> & {
|
|
28
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
29
|
+
httpHandlerConfigs(): {};
|
|
30
|
+
})
|
|
31
|
+
| RequestHandler;
|
|
32
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
33
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
34
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
35
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
36
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
37
|
+
apiVersion: string;
|
|
38
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
39
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
40
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
41
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
42
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
43
|
+
disableHostPrefix: boolean;
|
|
44
|
+
serviceId: string;
|
|
45
|
+
logger: import("@smithy/types").Logger;
|
|
46
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
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
|
+
retryStrategy?:
|
|
72
|
+
| import("@smithy/types").RetryStrategy
|
|
73
|
+
| import("@smithy/types").RetryStrategyV2
|
|
74
|
+
| undefined;
|
|
75
|
+
credentials?:
|
|
76
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
77
|
+
| import("@smithy/types").Provider<
|
|
78
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
79
|
+
>
|
|
80
|
+
| undefined;
|
|
81
|
+
signer?:
|
|
82
|
+
| import("@smithy/types").RequestSigner
|
|
83
|
+
| ((
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme | undefined
|
|
85
|
+
) => Promise<import("@smithy/types").RequestSigner>)
|
|
86
|
+
| undefined;
|
|
87
|
+
signingEscapePath?: boolean | undefined;
|
|
88
|
+
systemClockOffset?: number | undefined;
|
|
89
|
+
signingRegion?: string | undefined;
|
|
90
|
+
signerConstructor?:
|
|
91
|
+
| (new (
|
|
92
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
93
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
94
|
+
) => import("@smithy/types").RequestSigner)
|
|
95
|
+
| undefined;
|
|
96
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
97
|
+
};
|