@aws-sdk/client-freetier 3.1087.0 → 3.1088.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -67,7 +67,7 @@ const commonParams = {
67
67
  Region: { type: "builtInParams", name: "region" },
68
68
  };
69
69
 
70
- var version = "3.1086.0";
70
+ var version = "3.1087.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
@@ -27,85 +27,85 @@ import { FreeTierClient } from "./FreeTierClient";
27
27
  export interface FreeTier {
28
28
  getAccountActivity(
29
29
  args: GetAccountActivityCommandInput,
30
- options?: __HttpHandlerOptions
30
+ options?: __HttpHandlerOptions,
31
31
  ): Promise<GetAccountActivityCommandOutput>;
32
32
  getAccountActivity(
33
33
  args: GetAccountActivityCommandInput,
34
- cb: (err: any, data?: GetAccountActivityCommandOutput) => void
34
+ cb: (err: any, data?: GetAccountActivityCommandOutput) => void,
35
35
  ): void;
36
36
  getAccountActivity(
37
37
  args: GetAccountActivityCommandInput,
38
38
  options: __HttpHandlerOptions,
39
- cb: (err: any, data?: GetAccountActivityCommandOutput) => void
39
+ cb: (err: any, data?: GetAccountActivityCommandOutput) => void,
40
40
  ): void;
41
41
  getAccountPlanState(): Promise<GetAccountPlanStateCommandOutput>;
42
42
  getAccountPlanState(
43
43
  args: GetAccountPlanStateCommandInput,
44
- options?: __HttpHandlerOptions
44
+ options?: __HttpHandlerOptions,
45
45
  ): Promise<GetAccountPlanStateCommandOutput>;
46
46
  getAccountPlanState(
47
47
  args: GetAccountPlanStateCommandInput,
48
- cb: (err: any, data?: GetAccountPlanStateCommandOutput) => void
48
+ cb: (err: any, data?: GetAccountPlanStateCommandOutput) => void,
49
49
  ): void;
50
50
  getAccountPlanState(
51
51
  args: GetAccountPlanStateCommandInput,
52
52
  options: __HttpHandlerOptions,
53
- cb: (err: any, data?: GetAccountPlanStateCommandOutput) => void
53
+ cb: (err: any, data?: GetAccountPlanStateCommandOutput) => void,
54
54
  ): void;
55
55
  getFreeTierUsage(): Promise<GetFreeTierUsageCommandOutput>;
56
56
  getFreeTierUsage(
57
57
  args: GetFreeTierUsageCommandInput,
58
- options?: __HttpHandlerOptions
58
+ options?: __HttpHandlerOptions,
59
59
  ): Promise<GetFreeTierUsageCommandOutput>;
60
60
  getFreeTierUsage(
61
61
  args: GetFreeTierUsageCommandInput,
62
- cb: (err: any, data?: GetFreeTierUsageCommandOutput) => void
62
+ cb: (err: any, data?: GetFreeTierUsageCommandOutput) => void,
63
63
  ): void;
64
64
  getFreeTierUsage(
65
65
  args: GetFreeTierUsageCommandInput,
66
66
  options: __HttpHandlerOptions,
67
- cb: (err: any, data?: GetFreeTierUsageCommandOutput) => void
67
+ cb: (err: any, data?: GetFreeTierUsageCommandOutput) => void,
68
68
  ): void;
69
69
  listAccountActivities(): Promise<ListAccountActivitiesCommandOutput>;
70
70
  listAccountActivities(
71
71
  args: ListAccountActivitiesCommandInput,
72
- options?: __HttpHandlerOptions
72
+ options?: __HttpHandlerOptions,
73
73
  ): Promise<ListAccountActivitiesCommandOutput>;
74
74
  listAccountActivities(
75
75
  args: ListAccountActivitiesCommandInput,
76
- cb: (err: any, data?: ListAccountActivitiesCommandOutput) => void
76
+ cb: (err: any, data?: ListAccountActivitiesCommandOutput) => void,
77
77
  ): void;
78
78
  listAccountActivities(
79
79
  args: ListAccountActivitiesCommandInput,
80
80
  options: __HttpHandlerOptions,
81
- cb: (err: any, data?: ListAccountActivitiesCommandOutput) => void
81
+ cb: (err: any, data?: ListAccountActivitiesCommandOutput) => void,
82
82
  ): void;
83
83
  upgradeAccountPlan(
84
84
  args: UpgradeAccountPlanCommandInput,
85
- options?: __HttpHandlerOptions
85
+ options?: __HttpHandlerOptions,
86
86
  ): Promise<UpgradeAccountPlanCommandOutput>;
87
87
  upgradeAccountPlan(
88
88
  args: UpgradeAccountPlanCommandInput,
89
- cb: (err: any, data?: UpgradeAccountPlanCommandOutput) => void
89
+ cb: (err: any, data?: UpgradeAccountPlanCommandOutput) => void,
90
90
  ): void;
91
91
  upgradeAccountPlan(
92
92
  args: UpgradeAccountPlanCommandInput,
93
93
  options: __HttpHandlerOptions,
94
- cb: (err: any, data?: UpgradeAccountPlanCommandOutput) => void
94
+ cb: (err: any, data?: UpgradeAccountPlanCommandOutput) => void,
95
95
  ): void;
96
96
  paginateGetFreeTierUsage(
97
97
  args?: GetFreeTierUsageCommandInput,
98
98
  paginationConfig?: Pick<
99
99
  PaginationConfiguration,
100
100
  Exclude<keyof PaginationConfiguration, "client">
101
- >
101
+ >,
102
102
  ): Paginator<GetFreeTierUsageCommandOutput>;
103
103
  paginateListAccountActivities(
104
104
  args?: ListAccountActivitiesCommandInput,
105
105
  paginationConfig?: Pick<
106
106
  PaginationConfiguration,
107
107
  Exclude<keyof PaginationConfiguration, "client">
108
- >
108
+ >,
109
109
  ): Paginator<ListAccountActivitiesCommandOutput>;
110
110
  }
111
111
  export declare class FreeTier extends FreeTierClient implements FreeTier {}
@@ -11,10 +11,7 @@ import {
11
11
  Client as __Client,
12
12
  } from "@smithy/core/client";
13
13
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
14
- import {
15
- EndpointInputConfig,
16
- EndpointResolvedConfig,
17
- } from "@smithy/core/endpoints";
14
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
18
15
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
19
16
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
20
17
  import {
@@ -75,8 +72,7 @@ export type ServiceOutputTypes =
75
72
  | GetFreeTierUsageCommandOutput
76
73
  | ListAccountActivitiesCommandOutput
77
74
  | UpgradeAccountPlanCommandOutput;
78
- export interface ClientDefaults
79
- extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
75
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
80
76
  requestHandler?: __HttpHandlerUserInput;
81
77
  sha256?: __ChecksumConstructor | __HashConstructor;
82
78
  urlParser?: __UrlParser;
@@ -101,9 +97,7 @@ export interface ClientDefaults
101
97
  extensions?: RuntimeExtension[];
102
98
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
103
99
  }
104
- export type FreeTierClientConfigType = Partial<
105
- __SmithyConfiguration<__HttpHandlerOptions>
106
- > &
100
+ export type FreeTierClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
107
101
  ClientDefaults &
108
102
  UserAgentInputConfig &
109
103
  RetryInputConfig &
@@ -113,19 +107,17 @@ export type FreeTierClientConfigType = Partial<
113
107
  HttpAuthSchemeInputConfig &
114
108
  ClientInputEndpointParameters;
115
109
  export interface FreeTierClientConfig extends FreeTierClientConfigType {}
116
- export type FreeTierClientResolvedConfigType =
117
- __SmithyResolvedConfiguration<__HttpHandlerOptions> &
118
- Required<ClientDefaults> &
119
- RuntimeExtensionsConfig &
120
- UserAgentResolvedConfig &
121
- RetryResolvedConfig &
122
- RegionResolvedConfig &
123
- HostHeaderResolvedConfig &
124
- EndpointResolvedConfig<EndpointParameters> &
125
- HttpAuthSchemeResolvedConfig &
126
- ClientResolvedEndpointParameters;
127
- export interface FreeTierClientResolvedConfig
128
- extends FreeTierClientResolvedConfigType {}
110
+ export type FreeTierClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
111
+ Required<ClientDefaults> &
112
+ RuntimeExtensionsConfig &
113
+ UserAgentResolvedConfig &
114
+ RetryResolvedConfig &
115
+ RegionResolvedConfig &
116
+ HostHeaderResolvedConfig &
117
+ EndpointResolvedConfig<EndpointParameters> &
118
+ HttpAuthSchemeResolvedConfig &
119
+ ClientResolvedEndpointParameters;
120
+ export interface FreeTierClientResolvedConfig extends FreeTierClientResolvedConfigType {}
129
121
  export declare class FreeTierClient extends __Client<
130
122
  __HttpHandlerOptions,
131
123
  ServiceInputTypes,
@@ -133,8 +125,6 @@ export declare class FreeTierClient extends __Client<
133
125
  FreeTierClientResolvedConfig
134
126
  > {
135
127
  readonly config: FreeTierClientResolvedConfig;
136
- constructor(
137
- ...[configuration]: __CheckOptionalClientConfig<FreeTierClientConfig>
138
- );
128
+ constructor(...[configuration]: __CheckOptionalClientConfig<FreeTierClientConfig>);
139
129
  destroy(): void;
140
130
  }
@@ -7,17 +7,10 @@ import { FreeTierHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
9
  httpAuthSchemes(): HttpAuthScheme[];
10
- setHttpAuthSchemeProvider(
11
- httpAuthSchemeProvider: FreeTierHttpAuthSchemeProvider
12
- ): void;
10
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: FreeTierHttpAuthSchemeProvider): void;
13
11
  httpAuthSchemeProvider(): FreeTierHttpAuthSchemeProvider;
14
- setCredentials(
15
- credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
- ): void;
17
- credentials():
18
- | AwsCredentialIdentity
19
- | AwsCredentialIdentityProvider
20
- | undefined;
12
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
13
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
21
14
  }
22
15
  export type HttpAuthRuntimeConfig = Partial<{
23
16
  httpAuthSchemes: HttpAuthScheme[];
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
25
18
  credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
19
  }>;
27
20
  export declare const getHttpAuthExtensionConfiguration: (
28
- runtimeConfig: HttpAuthRuntimeConfig
21
+ runtimeConfig: HttpAuthRuntimeConfig,
29
22
  ) => HttpAuthExtensionConfiguration;
30
23
  export declare const resolveHttpAuthRuntimeConfig: (
31
- config: HttpAuthExtensionConfiguration
24
+ config: HttpAuthExtensionConfiguration,
32
25
  ) => HttpAuthRuntimeConfig;
@@ -12,36 +12,32 @@ import {
12
12
  Provider,
13
13
  } from "@smithy/types";
14
14
  import { FreeTierClientResolvedConfig } from "../FreeTierClient";
15
- export interface FreeTierHttpAuthSchemeParameters
16
- extends HttpAuthSchemeParameters {
15
+ export interface FreeTierHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
17
16
  region?: string;
18
17
  }
19
- export interface FreeTierHttpAuthSchemeParametersProvider
20
- extends HttpAuthSchemeParametersProvider<
21
- FreeTierClientResolvedConfig,
22
- HandlerExecutionContext,
23
- FreeTierHttpAuthSchemeParameters,
24
- object
25
- > {}
18
+ export interface FreeTierHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
19
+ FreeTierClientResolvedConfig,
20
+ HandlerExecutionContext,
21
+ FreeTierHttpAuthSchemeParameters,
22
+ object
23
+ > {}
26
24
  export declare const defaultFreeTierHttpAuthSchemeParametersProvider: (
27
25
  config: FreeTierClientResolvedConfig,
28
26
  context: HandlerExecutionContext,
29
- input: object
27
+ input: object,
30
28
  ) => Promise<FreeTierHttpAuthSchemeParameters>;
31
- export interface FreeTierHttpAuthSchemeProvider
32
- extends HttpAuthSchemeProvider<FreeTierHttpAuthSchemeParameters> {}
29
+ export interface FreeTierHttpAuthSchemeProvider extends HttpAuthSchemeProvider<FreeTierHttpAuthSchemeParameters> {}
33
30
  export declare const defaultFreeTierHttpAuthSchemeProvider: FreeTierHttpAuthSchemeProvider;
34
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
32
  authSchemePreference?: string[] | Provider<string[]>;
36
33
  httpAuthSchemes?: HttpAuthScheme[];
37
34
  httpAuthSchemeProvider?: FreeTierHttpAuthSchemeProvider;
38
35
  }
39
- export interface HttpAuthSchemeResolvedConfig
40
- extends AwsSdkSigV4AuthResolvedConfig {
36
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
41
37
  readonly authSchemePreference: Provider<string[]>;
42
38
  readonly httpAuthSchemes: HttpAuthScheme[];
43
39
  readonly httpAuthSchemeProvider: FreeTierHttpAuthSchemeProvider;
44
40
  }
45
41
  export declare const resolveHttpAuthSchemeConfig: <T>(
46
- config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
42
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
47
43
  ) => T & HttpAuthSchemeResolvedConfig;
@@ -4,22 +4,21 @@ import {
4
4
  ServiceInputTypes,
5
5
  ServiceOutputTypes,
6
6
  } from "./FreeTierClient";
7
- export declare const command: <
8
- I extends ServiceInputTypes,
9
- O extends ServiceOutputTypes
10
- >(
7
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
11
8
  added: EndpointParameterInstructions,
12
9
  plugins: (
13
10
  CommandCtor: any,
14
11
  clientStack: any,
15
12
  config: any,
16
- options: any
13
+ options: any,
17
14
  ) => import("@smithy/types").Pluggable<any, any>[],
18
15
  op: string,
19
16
  $: import("@smithy/types").StaticOperationSchema,
20
- smithyContext?: Record<string, unknown>
17
+ smithyContext?: Record<string, unknown>,
21
18
  ) => {
22
- new (input: I): import("@smithy/core/client").CommandImpl<
19
+ new (
20
+ input: I,
21
+ ): import("@smithy/core/client").CommandImpl<
23
22
  I,
24
23
  O,
25
24
  FreeTierClientResolvedConfig,
@@ -38,9 +37,4 @@ export declare const command: <
38
37
  getEndpointParameterInstructions(): EndpointParameterInstructions;
39
38
  };
40
39
  export declare const _ep0: EndpointParameterInstructions;
41
- export declare const _mw0: (
42
- Command: any,
43
- cs: any,
44
- config: any,
45
- o: any
46
- ) => never[];
40
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,17 +1,12 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- GetAccountActivityRequest,
4
- GetAccountActivityResponse,
5
- } from "../models/models_0";
2
+ import { GetAccountActivityRequest, GetAccountActivityResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
- export interface GetAccountActivityCommandInput
8
- extends GetAccountActivityRequest {}
4
+ export interface GetAccountActivityCommandInput extends GetAccountActivityRequest {}
9
5
  export interface GetAccountActivityCommandOutput
10
- extends GetAccountActivityResponse,
11
- __MetadataBearer {}
6
+ extends GetAccountActivityResponse, __MetadataBearer {}
12
7
  declare const GetAccountActivityCommand_base: {
13
8
  new (
14
- input: GetAccountActivityCommandInput
9
+ input: GetAccountActivityCommandInput,
15
10
  ): import("@smithy/core/client").CommandImpl<
16
11
  GetAccountActivityCommandInput,
17
12
  GetAccountActivityCommandOutput,
@@ -20,7 +15,7 @@ declare const GetAccountActivityCommand_base: {
20
15
  import("..").ServiceOutputTypes
21
16
  >;
22
17
  new (
23
- input: GetAccountActivityCommandInput
18
+ input: GetAccountActivityCommandInput,
24
19
  ): import("@smithy/core/client").CommandImpl<
25
20
  GetAccountActivityCommandInput,
26
21
  GetAccountActivityCommandOutput,
@@ -1,17 +1,12 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- GetAccountPlanStateRequest,
4
- GetAccountPlanStateResponse,
5
- } from "../models/models_0";
2
+ import { GetAccountPlanStateRequest, GetAccountPlanStateResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
- export interface GetAccountPlanStateCommandInput
8
- extends GetAccountPlanStateRequest {}
4
+ export interface GetAccountPlanStateCommandInput extends GetAccountPlanStateRequest {}
9
5
  export interface GetAccountPlanStateCommandOutput
10
- extends GetAccountPlanStateResponse,
11
- __MetadataBearer {}
6
+ extends GetAccountPlanStateResponse, __MetadataBearer {}
12
7
  declare const GetAccountPlanStateCommand_base: {
13
8
  new (
14
- input: GetAccountPlanStateCommandInput
9
+ input: GetAccountPlanStateCommandInput,
15
10
  ): import("@smithy/core/client").CommandImpl<
16
11
  GetAccountPlanStateCommandInput,
17
12
  GetAccountPlanStateCommandOutput,
@@ -1,16 +1,11 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- GetFreeTierUsageRequest,
4
- GetFreeTierUsageResponse,
5
- } from "../models/models_0";
2
+ import { GetFreeTierUsageRequest, GetFreeTierUsageResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
4
  export interface GetFreeTierUsageCommandInput extends GetFreeTierUsageRequest {}
8
- export interface GetFreeTierUsageCommandOutput
9
- extends GetFreeTierUsageResponse,
10
- __MetadataBearer {}
5
+ export interface GetFreeTierUsageCommandOutput extends GetFreeTierUsageResponse, __MetadataBearer {}
11
6
  declare const GetFreeTierUsageCommand_base: {
12
7
  new (
13
- input: GetFreeTierUsageCommandInput
8
+ input: GetFreeTierUsageCommandInput,
14
9
  ): import("@smithy/core/client").CommandImpl<
15
10
  GetFreeTierUsageCommandInput,
16
11
  GetFreeTierUsageCommandOutput,
@@ -1,17 +1,12 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- ListAccountActivitiesRequest,
4
- ListAccountActivitiesResponse,
5
- } from "../models/models_0";
2
+ import { ListAccountActivitiesRequest, ListAccountActivitiesResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
- export interface ListAccountActivitiesCommandInput
8
- extends ListAccountActivitiesRequest {}
4
+ export interface ListAccountActivitiesCommandInput extends ListAccountActivitiesRequest {}
9
5
  export interface ListAccountActivitiesCommandOutput
10
- extends ListAccountActivitiesResponse,
11
- __MetadataBearer {}
6
+ extends ListAccountActivitiesResponse, __MetadataBearer {}
12
7
  declare const ListAccountActivitiesCommand_base: {
13
8
  new (
14
- input: ListAccountActivitiesCommandInput
9
+ input: ListAccountActivitiesCommandInput,
15
10
  ): import("@smithy/core/client").CommandImpl<
16
11
  ListAccountActivitiesCommandInput,
17
12
  ListAccountActivitiesCommandOutput,
@@ -1,17 +1,12 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- UpgradeAccountPlanRequest,
4
- UpgradeAccountPlanResponse,
5
- } from "../models/models_0";
2
+ import { UpgradeAccountPlanRequest, UpgradeAccountPlanResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
- export interface UpgradeAccountPlanCommandInput
8
- extends UpgradeAccountPlanRequest {}
4
+ export interface UpgradeAccountPlanCommandInput extends UpgradeAccountPlanRequest {}
9
5
  export interface UpgradeAccountPlanCommandOutput
10
- extends UpgradeAccountPlanResponse,
11
- __MetadataBearer {}
6
+ extends UpgradeAccountPlanResponse, __MetadataBearer {}
12
7
  declare const UpgradeAccountPlanCommand_base: {
13
8
  new (
14
- input: UpgradeAccountPlanCommandInput
9
+ input: UpgradeAccountPlanCommandInput,
15
10
  ): import("@smithy/core/client").CommandImpl<
16
11
  UpgradeAccountPlanCommandInput,
17
12
  UpgradeAccountPlanCommandOutput,
@@ -20,7 +15,7 @@ declare const UpgradeAccountPlanCommand_base: {
20
15
  import("..").ServiceOutputTypes
21
16
  >;
22
17
  new (
23
- input: UpgradeAccountPlanCommandInput
18
+ input: UpgradeAccountPlanCommandInput,
24
19
  ): import("@smithy/core/client").CommandImpl<
25
20
  UpgradeAccountPlanCommandInput,
26
21
  UpgradeAccountPlanCommandOutput,
@@ -22,7 +22,7 @@ export type ClientResolvedEndpointParameters = Pick<
22
22
  defaultSigningName: string;
23
23
  };
24
24
  export declare const resolveClientEndpointParameters: <T>(
25
- options: T & ClientInputEndpointParameters
25
+ options: T & ClientInputEndpointParameters,
26
26
  ) => T & ClientResolvedEndpointParameters;
27
27
  export declare const commonParams: {
28
28
  readonly UseFIPS: {
@@ -4,5 +4,5 @@ export declare const defaultEndpointResolver: (
4
4
  endpointParams: EndpointParameters,
5
5
  context?: {
6
6
  logger?: Logger;
7
- }
7
+ },
8
8
  ) => EndpointV2;
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface FreeTierExtensionConfiguration
6
- extends HttpHandlerExtensionConfiguration,
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
7
8
  DefaultExtensionConfiguration,
8
9
  AwsRegionExtensionConfiguration,
9
10
  HttpAuthExtensionConfiguration {}
@@ -3,14 +3,12 @@ export declare const AccountPlanStatus: {
3
3
  readonly EXPIRED: "EXPIRED";
4
4
  readonly NOT_STARTED: "NOT_STARTED";
5
5
  };
6
- export type AccountPlanStatus =
7
- (typeof AccountPlanStatus)[keyof typeof AccountPlanStatus];
6
+ export type AccountPlanStatus = (typeof AccountPlanStatus)[keyof typeof AccountPlanStatus];
8
7
  export declare const AccountPlanType: {
9
8
  readonly FREE: "FREE";
10
9
  readonly PAID: "PAID";
11
10
  };
12
- export type AccountPlanType =
13
- (typeof AccountPlanType)[keyof typeof AccountPlanType];
11
+ export type AccountPlanType = (typeof AccountPlanType)[keyof typeof AccountPlanType];
14
12
  export declare const CurrencyCode: {
15
13
  readonly USD: "USD";
16
14
  };
@@ -21,8 +19,7 @@ export declare const ActivityStatus: {
21
19
  readonly IN_PROGRESS: "IN_PROGRESS";
22
20
  readonly NOT_STARTED: "NOT_STARTED";
23
21
  };
24
- export type ActivityStatus =
25
- (typeof ActivityStatus)[keyof typeof ActivityStatus];
22
+ export type ActivityStatus = (typeof ActivityStatus)[keyof typeof ActivityStatus];
26
23
  export declare const LanguageCode: {
27
24
  readonly DE_DE: "de-DE";
28
25
  readonly EN_GB: "en-GB";
@@ -3,35 +3,25 @@ import { FreeTierServiceException as __BaseException } from "./FreeTierServiceEx
3
3
  export declare class AccessDeniedException extends __BaseException {
4
4
  readonly name: "AccessDeniedException";
5
5
  readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
- );
6
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
7
  }
10
8
  export declare class InternalServerException extends __BaseException {
11
9
  readonly name: "InternalServerException";
12
10
  readonly $fault: "server";
13
- constructor(
14
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
15
- );
11
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
16
12
  }
17
13
  export declare class ResourceNotFoundException extends __BaseException {
18
14
  readonly name: "ResourceNotFoundException";
19
15
  readonly $fault: "client";
20
- constructor(
21
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
22
- );
16
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
23
17
  }
24
18
  export declare class ThrottlingException extends __BaseException {
25
19
  readonly name: "ThrottlingException";
26
20
  readonly $fault: "client";
27
- constructor(
28
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
29
- );
21
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
30
22
  }
31
23
  export declare class ValidationException extends __BaseException {
32
24
  readonly name: "ValidationException";
33
25
  readonly $fault: "client";
34
- constructor(
35
- opts: __ExceptionOptionType<ValidationException, __BaseException>
36
- );
26
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
37
27
  }
@@ -11,9 +11,7 @@ export interface MonetaryAmount {
11
11
  amount: number | undefined;
12
12
  unit: CurrencyCode | undefined;
13
13
  }
14
- export type ActivityReward =
15
- | ActivityReward.CreditMember
16
- | ActivityReward.$UnknownMember;
14
+ export type ActivityReward = ActivityReward.CreditMember | ActivityReward.$UnknownMember;
17
15
  export declare namespace ActivityReward {
18
16
  interface CreditMember {
19
17
  credit: MonetaryAmount;
@@ -1,6 +1,5 @@
1
1
  import { PaginationConfiguration } from "@smithy/types";
2
2
  import { FreeTierClient } from "../FreeTierClient";
3
- export interface FreeTierPaginationConfiguration
4
- extends PaginationConfiguration {
3
+ export interface FreeTierPaginationConfiguration extends PaginationConfiguration {
5
4
  client: FreeTierClient;
6
5
  }
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider:
10
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
- | ((
12
- _: unknown
13
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
12
  defaultUserAgentProvider: (
15
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
16
14
  ) => Promise<import("@smithy/types").UserAgent>;
17
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
18
16
  region: string | import("@smithy/types").Provider<any>;
19
- requestHandler:
20
- | import("@smithy/core/protocols").HttpHandler<any>
21
- | RequestHandler;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
22
18
  retryMode: string | import("@smithy/types").Provider<string>;
23
19
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
21
  ) => Promise<Uint8Array>;
30
22
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
31
23
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
53
45
  logger: import("@smithy/types").Logger;
54
46
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- userAgentAppId?:
57
- | string
58
- | undefined
59
- | import("@smithy/types").Provider<string | undefined>;
60
- retryStrategy?:
61
- | import("@smithy/types").RetryStrategy
62
- | import("@smithy/types").RetryStrategyV2;
48
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
63
50
  endpoint?:
64
51
  | ((
65
52
  | string
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
81
68
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
82
69
  context?: {
83
70
  logger?: import("@smithy/types").Logger;
84
- }
71
+ },
85
72
  ) => import("@smithy/types").EndpointV2;
86
73
  tls?: boolean;
87
74
  serviceConfiguredEndpoint?: never;
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
94
81
  signer?:
95
82
  | import("@smithy/types").RequestSigner
96
83
  | ((
97
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
98
85
  ) => Promise<import("@smithy/types").RequestSigner>);
99
86
  signingEscapePath?: boolean;
100
87
  systemClockOffset?: number;
101
88
  signingRegion?: string;
102
89
  signerConstructor?: new (
103
90
  options: import("@smithy/signature-v4").SignatureV4Init &
104
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
105
92
  ) => import("@smithy/types").RequestSigner;
106
93
  };
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
10
10
  credentialDefaultProvider:
11
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
12
  | ((
13
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
14
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
15
15
  defaultUserAgentProvider: (
16
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
17
17
  ) => Promise<import("@smithy/types").UserAgent>;
18
18
  maxAttempts: number | import("@smithy/types").Provider<number>;
19
19
  region: string | import("@smithy/types").Provider<string>;
20
- requestHandler:
21
- | RequestHandler
22
- | import("@smithy/core/protocols").HttpHandler<any>;
20
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
23
21
  retryMode: string | import("@smithy/types").Provider<string>;
24
22
  streamCollector: (
25
- stream:
26
- | import("stream").Readable
27
- | import("stream/web").ReadableStream
28
- | ReadableStream
29
- | Blob
23
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
30
24
  ) => Promise<Uint8Array>;
31
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
53
47
  logger: import("@smithy/types").Logger;
54
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- retryStrategy?:
57
- | import("@smithy/types").RetryStrategy
58
- | import("@smithy/types").RetryStrategyV2;
50
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
59
51
  endpoint?:
60
52
  | ((
61
53
  | string
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
77
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
78
70
  context?: {
79
71
  logger?: import("@smithy/types").Logger;
80
- }
72
+ },
81
73
  ) => import("@smithy/types").EndpointV2;
82
74
  tls?: boolean;
83
75
  serviceConfiguredEndpoint?: never;
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
89
81
  signer?:
90
82
  | import("@smithy/types").RequestSigner
91
83
  | ((
92
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
93
85
  ) => Promise<import("@smithy/types").RequestSigner>);
94
86
  signingEscapePath?: boolean;
95
87
  systemClockOffset?: number;
96
88
  signingRegion?: string;
97
89
  signerConstructor?: new (
98
90
  options: import("@smithy/signature-v4").SignatureV4Init &
99
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
100
92
  ) => import("@smithy/types").RequestSigner;
101
93
  };
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
25
  ) => Promise<Uint8Array>;
30
26
  base64Decoder: import("@smithy/types").Decoder;
31
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
40
36
  region: string | import("@smithy/types").Provider<any>;
41
37
  profile?: string;
42
38
  defaultUserAgentProvider: (
43
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
44
40
  ) => Promise<import("@smithy/types").UserAgent>;
45
41
  credentialDefaultProvider:
46
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
47
- | ((
48
- _: unknown
49
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
50
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
51
45
  retryMode: string | import("@smithy/types").Provider<string>;
52
46
  logger: import("@smithy/types").Logger;
53
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
54
48
  defaultsMode:
55
49
  | import("@smithy/core/client").DefaultsMode
56
- | import("@smithy/types").Provider<
57
- import("@smithy/core/client").DefaultsMode
58
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
59
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
60
- userAgentAppId?:
61
- | string
62
- | undefined
63
- | import("@smithy/types").Provider<string | undefined>;
64
- retryStrategy?:
65
- | import("@smithy/types").RetryStrategy
66
- | import("@smithy/types").RetryStrategyV2;
52
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
67
54
  endpoint?:
68
55
  | ((
69
56
  | string
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
85
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
86
73
  context?: {
87
74
  logger?: import("@smithy/types").Logger;
88
- }
75
+ },
89
76
  ) => import("@smithy/types").EndpointV2;
90
77
  tls?: boolean;
91
78
  serviceConfiguredEndpoint?: never;
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
98
85
  signer?:
99
86
  | import("@smithy/types").RequestSigner
100
87
  | ((
101
- authScheme?: import("@smithy/types").AuthScheme
88
+ authScheme?: import("@smithy/types").AuthScheme,
102
89
  ) => Promise<import("@smithy/types").RequestSigner>);
103
90
  signingEscapePath?: boolean;
104
91
  systemClockOffset?: number;
105
92
  signingRegion?: string;
106
93
  signerConstructor?: new (
107
94
  options: import("@smithy/signature-v4").SignatureV4Init &
108
- import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
109
96
  ) => import("@smithy/types").RequestSigner;
110
97
  };
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
9
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
10
10
  context?: {
11
11
  logger?: import("@smithy/types").Logger;
12
- }
12
+ },
13
13
  ) => import("@smithy/types").EndpointV2;
14
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
15
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").FreeTierHttpAuthSchemeProvider;
@@ -7,5 +7,5 @@ export interface RuntimeExtensionsConfig {
7
7
  }
8
8
  export declare const resolveRuntimeExtensions: (
9
9
  runtimeConfig: any,
10
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
11
11
  ) => any;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-freetier",
3
+ "version": "3.1088.0",
3
4
  "description": "AWS SDK for JavaScript Freetier Client for Node.js, Browser and React Native",
4
- "version": "3.1087.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-freetier",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-freetier"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -14,17 +45,13 @@
14
45
  "generate:client": "node ../../scripts/generate-clients/single-service",
15
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
47
  },
17
- "main": "./dist-cjs/index.js",
18
- "types": "./dist-types/index.d.ts",
19
- "module": "./dist-es/index.js",
20
- "sideEffects": false,
21
48
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.2",
23
- "@aws-sdk/credential-provider-node": "^3.972.68",
24
- "@aws-sdk/types": "^3.974.1",
25
- "@smithy/core": "^3.29.3",
26
- "@smithy/fetch-http-handler": "^5.6.5",
27
- "@smithy/node-http-handler": "^4.9.5",
49
+ "@aws-sdk/core": "^3.975.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.69",
51
+ "@aws-sdk/types": "^3.974.2",
52
+ "@smithy/core": "^3.29.4",
53
+ "@smithy/fetch-http-handler": "^5.6.6",
54
+ "@smithy/node-http-handler": "^4.9.6",
28
55
  "@smithy/types": "^4.16.1",
29
56
  "tslib": "^2.6.2"
30
57
  },
@@ -38,32 +65,5 @@
38
65
  },
39
66
  "engines": {
40
67
  "node": ">=20.0.0"
41
- },
42
- "typesVersions": {
43
- "<4.5": {
44
- "dist-types/*": [
45
- "dist-types/ts3.4/*"
46
- ]
47
- }
48
- },
49
- "files": [
50
- "dist-*/**"
51
- ],
52
- "author": {
53
- "name": "AWS SDK for JavaScript Team",
54
- "url": "https://aws.amazon.com/sdk-for-javascript/"
55
- },
56
- "license": "Apache-2.0",
57
- "browser": {
58
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
59
- },
60
- "react-native": {
61
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
62
- },
63
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-freetier",
64
- "repository": {
65
- "type": "git",
66
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
67
- "directory": "clients/client-freetier"
68
68
  }
69
69
  }