@aws-sdk/client-auto-scaling-plans 3.1087.0 → 3.1089.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 +1 -1
- package/dist-types/ts3.4/AutoScalingPlans.d.ts +19 -27
- package/dist-types/ts3.4/AutoScalingPlansClient.d.ts +5 -15
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/CreateScalingPlanCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteScalingPlanCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DescribeScalingPlanResourcesCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DescribeScalingPlansCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetScalingPlanResourceForecastDataCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/UpdateScalingPlanCommand.d.ts +5 -10
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +7 -14
- package/dist-types/ts3.4/models/errors.d.ts +6 -18
- package/dist-types/ts3.4/models/models_0.d.ts +5 -15
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -19
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -4
- package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +38 -38
package/dist-cjs/index.js
CHANGED
|
@@ -27,90 +27,82 @@ import {
|
|
|
27
27
|
export interface AutoScalingPlans {
|
|
28
28
|
createScalingPlan(
|
|
29
29
|
args: CreateScalingPlanCommandInput,
|
|
30
|
-
options?: __HttpHandlerOptions
|
|
30
|
+
options?: __HttpHandlerOptions,
|
|
31
31
|
): Promise<CreateScalingPlanCommandOutput>;
|
|
32
32
|
createScalingPlan(
|
|
33
33
|
args: CreateScalingPlanCommandInput,
|
|
34
|
-
cb: (err: any, data?: CreateScalingPlanCommandOutput) => void
|
|
34
|
+
cb: (err: any, data?: CreateScalingPlanCommandOutput) => void,
|
|
35
35
|
): void;
|
|
36
36
|
createScalingPlan(
|
|
37
37
|
args: CreateScalingPlanCommandInput,
|
|
38
38
|
options: __HttpHandlerOptions,
|
|
39
|
-
cb: (err: any, data?: CreateScalingPlanCommandOutput) => void
|
|
39
|
+
cb: (err: any, data?: CreateScalingPlanCommandOutput) => void,
|
|
40
40
|
): void;
|
|
41
41
|
deleteScalingPlan(
|
|
42
42
|
args: DeleteScalingPlanCommandInput,
|
|
43
|
-
options?: __HttpHandlerOptions
|
|
43
|
+
options?: __HttpHandlerOptions,
|
|
44
44
|
): Promise<DeleteScalingPlanCommandOutput>;
|
|
45
45
|
deleteScalingPlan(
|
|
46
46
|
args: DeleteScalingPlanCommandInput,
|
|
47
|
-
cb: (err: any, data?: DeleteScalingPlanCommandOutput) => void
|
|
47
|
+
cb: (err: any, data?: DeleteScalingPlanCommandOutput) => void,
|
|
48
48
|
): void;
|
|
49
49
|
deleteScalingPlan(
|
|
50
50
|
args: DeleteScalingPlanCommandInput,
|
|
51
51
|
options: __HttpHandlerOptions,
|
|
52
|
-
cb: (err: any, data?: DeleteScalingPlanCommandOutput) => void
|
|
52
|
+
cb: (err: any, data?: DeleteScalingPlanCommandOutput) => void,
|
|
53
53
|
): void;
|
|
54
54
|
describeScalingPlanResources(
|
|
55
55
|
args: DescribeScalingPlanResourcesCommandInput,
|
|
56
|
-
options?: __HttpHandlerOptions
|
|
56
|
+
options?: __HttpHandlerOptions,
|
|
57
57
|
): Promise<DescribeScalingPlanResourcesCommandOutput>;
|
|
58
58
|
describeScalingPlanResources(
|
|
59
59
|
args: DescribeScalingPlanResourcesCommandInput,
|
|
60
|
-
cb: (err: any, data?: DescribeScalingPlanResourcesCommandOutput) => void
|
|
60
|
+
cb: (err: any, data?: DescribeScalingPlanResourcesCommandOutput) => void,
|
|
61
61
|
): void;
|
|
62
62
|
describeScalingPlanResources(
|
|
63
63
|
args: DescribeScalingPlanResourcesCommandInput,
|
|
64
64
|
options: __HttpHandlerOptions,
|
|
65
|
-
cb: (err: any, data?: DescribeScalingPlanResourcesCommandOutput) => void
|
|
65
|
+
cb: (err: any, data?: DescribeScalingPlanResourcesCommandOutput) => void,
|
|
66
66
|
): void;
|
|
67
67
|
describeScalingPlans(): Promise<DescribeScalingPlansCommandOutput>;
|
|
68
68
|
describeScalingPlans(
|
|
69
69
|
args: DescribeScalingPlansCommandInput,
|
|
70
|
-
options?: __HttpHandlerOptions
|
|
70
|
+
options?: __HttpHandlerOptions,
|
|
71
71
|
): Promise<DescribeScalingPlansCommandOutput>;
|
|
72
72
|
describeScalingPlans(
|
|
73
73
|
args: DescribeScalingPlansCommandInput,
|
|
74
|
-
cb: (err: any, data?: DescribeScalingPlansCommandOutput) => void
|
|
74
|
+
cb: (err: any, data?: DescribeScalingPlansCommandOutput) => void,
|
|
75
75
|
): void;
|
|
76
76
|
describeScalingPlans(
|
|
77
77
|
args: DescribeScalingPlansCommandInput,
|
|
78
78
|
options: __HttpHandlerOptions,
|
|
79
|
-
cb: (err: any, data?: DescribeScalingPlansCommandOutput) => void
|
|
79
|
+
cb: (err: any, data?: DescribeScalingPlansCommandOutput) => void,
|
|
80
80
|
): void;
|
|
81
81
|
getScalingPlanResourceForecastData(
|
|
82
82
|
args: GetScalingPlanResourceForecastDataCommandInput,
|
|
83
|
-
options?: __HttpHandlerOptions
|
|
83
|
+
options?: __HttpHandlerOptions,
|
|
84
84
|
): Promise<GetScalingPlanResourceForecastDataCommandOutput>;
|
|
85
85
|
getScalingPlanResourceForecastData(
|
|
86
86
|
args: GetScalingPlanResourceForecastDataCommandInput,
|
|
87
|
-
cb: (
|
|
88
|
-
err: any,
|
|
89
|
-
data?: GetScalingPlanResourceForecastDataCommandOutput
|
|
90
|
-
) => void
|
|
87
|
+
cb: (err: any, data?: GetScalingPlanResourceForecastDataCommandOutput) => void,
|
|
91
88
|
): void;
|
|
92
89
|
getScalingPlanResourceForecastData(
|
|
93
90
|
args: GetScalingPlanResourceForecastDataCommandInput,
|
|
94
91
|
options: __HttpHandlerOptions,
|
|
95
|
-
cb: (
|
|
96
|
-
err: any,
|
|
97
|
-
data?: GetScalingPlanResourceForecastDataCommandOutput
|
|
98
|
-
) => void
|
|
92
|
+
cb: (err: any, data?: GetScalingPlanResourceForecastDataCommandOutput) => void,
|
|
99
93
|
): void;
|
|
100
94
|
updateScalingPlan(
|
|
101
95
|
args: UpdateScalingPlanCommandInput,
|
|
102
|
-
options?: __HttpHandlerOptions
|
|
96
|
+
options?: __HttpHandlerOptions,
|
|
103
97
|
): Promise<UpdateScalingPlanCommandOutput>;
|
|
104
98
|
updateScalingPlan(
|
|
105
99
|
args: UpdateScalingPlanCommandInput,
|
|
106
|
-
cb: (err: any, data?: UpdateScalingPlanCommandOutput) => void
|
|
100
|
+
cb: (err: any, data?: UpdateScalingPlanCommandOutput) => void,
|
|
107
101
|
): void;
|
|
108
102
|
updateScalingPlan(
|
|
109
103
|
args: UpdateScalingPlanCommandInput,
|
|
110
104
|
options: __HttpHandlerOptions,
|
|
111
|
-
cb: (err: any, data?: UpdateScalingPlanCommandOutput) => void
|
|
105
|
+
cb: (err: any, data?: UpdateScalingPlanCommandOutput) => void,
|
|
112
106
|
): void;
|
|
113
107
|
}
|
|
114
|
-
export declare class AutoScalingPlans
|
|
115
|
-
extends AutoScalingPlansClient
|
|
116
|
-
implements AutoScalingPlans {}
|
|
108
|
+
export declare class AutoScalingPlans extends AutoScalingPlansClient implements AutoScalingPlans {}
|
|
@@ -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 {
|
|
@@ -81,8 +78,7 @@ export type ServiceOutputTypes =
|
|
|
81
78
|
| DescribeScalingPlansCommandOutput
|
|
82
79
|
| GetScalingPlanResourceForecastDataCommandOutput
|
|
83
80
|
| UpdateScalingPlanCommandOutput;
|
|
84
|
-
export interface ClientDefaults
|
|
85
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
81
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
86
82
|
requestHandler?: __HttpHandlerUserInput;
|
|
87
83
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
88
84
|
urlParser?: __UrlParser;
|
|
@@ -118,8 +114,7 @@ export type AutoScalingPlansClientConfigType = Partial<
|
|
|
118
114
|
EndpointInputConfig<EndpointParameters> &
|
|
119
115
|
HttpAuthSchemeInputConfig &
|
|
120
116
|
ClientInputEndpointParameters;
|
|
121
|
-
export interface AutoScalingPlansClientConfig
|
|
122
|
-
extends AutoScalingPlansClientConfigType {}
|
|
117
|
+
export interface AutoScalingPlansClientConfig extends AutoScalingPlansClientConfigType {}
|
|
123
118
|
export type AutoScalingPlansClientResolvedConfigType =
|
|
124
119
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
125
120
|
Required<ClientDefaults> &
|
|
@@ -131,8 +126,7 @@ export type AutoScalingPlansClientResolvedConfigType =
|
|
|
131
126
|
EndpointResolvedConfig<EndpointParameters> &
|
|
132
127
|
HttpAuthSchemeResolvedConfig &
|
|
133
128
|
ClientResolvedEndpointParameters;
|
|
134
|
-
export interface AutoScalingPlansClientResolvedConfig
|
|
135
|
-
extends AutoScalingPlansClientResolvedConfigType {}
|
|
129
|
+
export interface AutoScalingPlansClientResolvedConfig extends AutoScalingPlansClientResolvedConfigType {}
|
|
136
130
|
export declare class AutoScalingPlansClient extends __Client<
|
|
137
131
|
__HttpHandlerOptions,
|
|
138
132
|
ServiceInputTypes,
|
|
@@ -140,10 +134,6 @@ export declare class AutoScalingPlansClient extends __Client<
|
|
|
140
134
|
AutoScalingPlansClientResolvedConfig
|
|
141
135
|
> {
|
|
142
136
|
readonly config: AutoScalingPlansClientResolvedConfig;
|
|
143
|
-
constructor(
|
|
144
|
-
...[
|
|
145
|
-
configuration,
|
|
146
|
-
]: __CheckOptionalClientConfig<AutoScalingPlansClientConfig>
|
|
147
|
-
);
|
|
137
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<AutoScalingPlansClientConfig>);
|
|
148
138
|
destroy(): void;
|
|
149
139
|
}
|
|
@@ -7,17 +7,10 @@ import { AutoScalingPlansHttpAuthSchemeProvider } from "./httpAuthSchemeProvider
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: AutoScalingPlansHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: AutoScalingPlansHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): AutoScalingPlansHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
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 { AutoScalingPlansClientResolvedConfig } from "../AutoScalingPlansClient";
|
|
15
|
-
export interface AutoScalingPlansHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface AutoScalingPlansHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface AutoScalingPlansHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface AutoScalingPlansHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
AutoScalingPlansClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
AutoScalingPlansHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultAutoScalingPlansHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: AutoScalingPlansClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<AutoScalingPlansHttpAuthSchemeParameters>;
|
|
31
|
-
export interface AutoScalingPlansHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<AutoScalingPlansHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface AutoScalingPlansHttpAuthSchemeProvider extends HttpAuthSchemeProvider<AutoScalingPlansHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultAutoScalingPlansHttpAuthSchemeProvider: AutoScalingPlansHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: AutoScalingPlansHttpAuthSchemeProvider;
|
|
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: AutoScalingPlansHttpAuthSchemeProvider;
|
|
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 "./AutoScalingPlansClient";
|
|
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 (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
AutoScalingPlansClientResolvedConfig,
|
|
@@ -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
|
-
CreateScalingPlanRequest,
|
|
4
|
-
CreateScalingPlanResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { CreateScalingPlanRequest, CreateScalingPlanResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface CreateScalingPlanCommandInput
|
|
8
|
-
extends CreateScalingPlanRequest {}
|
|
4
|
+
export interface CreateScalingPlanCommandInput extends CreateScalingPlanRequest {}
|
|
9
5
|
export interface CreateScalingPlanCommandOutput
|
|
10
|
-
extends CreateScalingPlanResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends CreateScalingPlanResponse, __MetadataBearer {}
|
|
12
7
|
declare const CreateScalingPlanCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: CreateScalingPlanCommandInput
|
|
9
|
+
input: CreateScalingPlanCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
CreateScalingPlanCommandInput,
|
|
17
12
|
CreateScalingPlanCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const CreateScalingPlanCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: CreateScalingPlanCommandInput
|
|
18
|
+
input: CreateScalingPlanCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
CreateScalingPlanCommandInput,
|
|
26
21
|
CreateScalingPlanCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
DeleteScalingPlanRequest,
|
|
4
|
-
DeleteScalingPlanResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { DeleteScalingPlanRequest, DeleteScalingPlanResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface DeleteScalingPlanCommandInput
|
|
8
|
-
extends DeleteScalingPlanRequest {}
|
|
4
|
+
export interface DeleteScalingPlanCommandInput extends DeleteScalingPlanRequest {}
|
|
9
5
|
export interface DeleteScalingPlanCommandOutput
|
|
10
|
-
extends DeleteScalingPlanResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends DeleteScalingPlanResponse, __MetadataBearer {}
|
|
12
7
|
declare const DeleteScalingPlanCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: DeleteScalingPlanCommandInput
|
|
9
|
+
input: DeleteScalingPlanCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
DeleteScalingPlanCommandInput,
|
|
17
12
|
DeleteScalingPlanCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const DeleteScalingPlanCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: DeleteScalingPlanCommandInput
|
|
18
|
+
input: DeleteScalingPlanCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
DeleteScalingPlanCommandInput,
|
|
26
21
|
DeleteScalingPlanCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
DescribeScalingPlanResourcesResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface DescribeScalingPlanResourcesCommandInput
|
|
8
|
-
extends DescribeScalingPlanResourcesRequest {}
|
|
7
|
+
export interface DescribeScalingPlanResourcesCommandInput extends DescribeScalingPlanResourcesRequest {}
|
|
9
8
|
export interface DescribeScalingPlanResourcesCommandOutput
|
|
10
|
-
extends DescribeScalingPlanResourcesResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends DescribeScalingPlanResourcesResponse, __MetadataBearer {}
|
|
12
10
|
declare const DescribeScalingPlanResourcesCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: DescribeScalingPlanResourcesCommandInput
|
|
12
|
+
input: DescribeScalingPlanResourcesCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
DescribeScalingPlanResourcesCommandInput,
|
|
17
15
|
DescribeScalingPlanResourcesCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const DescribeScalingPlanResourcesCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: DescribeScalingPlanResourcesCommandInput
|
|
21
|
+
input: DescribeScalingPlanResourcesCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
DescribeScalingPlanResourcesCommandInput,
|
|
26
24
|
DescribeScalingPlanResourcesCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
DescribeScalingPlansRequest,
|
|
4
|
-
DescribeScalingPlansResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { DescribeScalingPlansRequest, DescribeScalingPlansResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface DescribeScalingPlansCommandInput
|
|
8
|
-
extends DescribeScalingPlansRequest {}
|
|
4
|
+
export interface DescribeScalingPlansCommandInput extends DescribeScalingPlansRequest {}
|
|
9
5
|
export interface DescribeScalingPlansCommandOutput
|
|
10
|
-
extends DescribeScalingPlansResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends DescribeScalingPlansResponse, __MetadataBearer {}
|
|
12
7
|
declare const DescribeScalingPlansCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: DescribeScalingPlansCommandInput
|
|
9
|
+
input: DescribeScalingPlansCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
DescribeScalingPlansCommandInput,
|
|
17
12
|
DescribeScalingPlansCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
GetScalingPlanResourceForecastDataResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface GetScalingPlanResourceForecastDataCommandInput
|
|
8
|
-
extends GetScalingPlanResourceForecastDataRequest {}
|
|
7
|
+
export interface GetScalingPlanResourceForecastDataCommandInput extends GetScalingPlanResourceForecastDataRequest {}
|
|
9
8
|
export interface GetScalingPlanResourceForecastDataCommandOutput
|
|
10
|
-
extends GetScalingPlanResourceForecastDataResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends GetScalingPlanResourceForecastDataResponse, __MetadataBearer {}
|
|
12
10
|
declare const GetScalingPlanResourceForecastDataCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: GetScalingPlanResourceForecastDataCommandInput
|
|
12
|
+
input: GetScalingPlanResourceForecastDataCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
GetScalingPlanResourceForecastDataCommandInput,
|
|
17
15
|
GetScalingPlanResourceForecastDataCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const GetScalingPlanResourceForecastDataCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: GetScalingPlanResourceForecastDataCommandInput
|
|
21
|
+
input: GetScalingPlanResourceForecastDataCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
GetScalingPlanResourceForecastDataCommandInput,
|
|
26
24
|
GetScalingPlanResourceForecastDataCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
UpdateScalingPlanRequest,
|
|
4
|
-
UpdateScalingPlanResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { UpdateScalingPlanRequest, UpdateScalingPlanResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface UpdateScalingPlanCommandInput
|
|
8
|
-
extends UpdateScalingPlanRequest {}
|
|
4
|
+
export interface UpdateScalingPlanCommandInput extends UpdateScalingPlanRequest {}
|
|
9
5
|
export interface UpdateScalingPlanCommandOutput
|
|
10
|
-
extends UpdateScalingPlanResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends UpdateScalingPlanResponse, __MetadataBearer {}
|
|
12
7
|
declare const UpdateScalingPlanCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: UpdateScalingPlanCommandInput
|
|
9
|
+
input: UpdateScalingPlanCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
UpdateScalingPlanCommandInput,
|
|
17
12
|
UpdateScalingPlanCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const UpdateScalingPlanCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: UpdateScalingPlanCommandInput
|
|
18
|
+
input: UpdateScalingPlanCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
UpdateScalingPlanCommandInput,
|
|
26
21
|
UpdateScalingPlanCommandOutput,
|
|
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
|
|
|
23
23
|
defaultSigningName: string;
|
|
24
24
|
};
|
|
25
25
|
export declare const resolveClientEndpointParameters: <T>(
|
|
26
|
-
options: T & ClientInputEndpointParameters
|
|
26
|
+
options: T & ClientInputEndpointParameters,
|
|
27
27
|
) => T & ClientResolvedEndpointParameters;
|
|
28
28
|
export declare const commonParams: {
|
|
29
29
|
readonly UseFIPS: {
|
|
@@ -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 AutoScalingPlansExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -5,16 +5,14 @@ export declare const MetricStatistic: {
|
|
|
5
5
|
readonly SampleCount: "SampleCount";
|
|
6
6
|
readonly Sum: "Sum";
|
|
7
7
|
};
|
|
8
|
-
export type MetricStatistic =
|
|
9
|
-
(typeof MetricStatistic)[keyof typeof MetricStatistic];
|
|
8
|
+
export type MetricStatistic = (typeof MetricStatistic)[keyof typeof MetricStatistic];
|
|
10
9
|
export declare const LoadMetricType: {
|
|
11
10
|
readonly ALBTargetGroupRequestCount: "ALBTargetGroupRequestCount";
|
|
12
11
|
readonly ASGTotalCPUUtilization: "ASGTotalCPUUtilization";
|
|
13
12
|
readonly ASGTotalNetworkIn: "ASGTotalNetworkIn";
|
|
14
13
|
readonly ASGTotalNetworkOut: "ASGTotalNetworkOut";
|
|
15
14
|
};
|
|
16
|
-
export type LoadMetricType =
|
|
17
|
-
(typeof LoadMetricType)[keyof typeof LoadMetricType];
|
|
15
|
+
export type LoadMetricType = (typeof LoadMetricType)[keyof typeof LoadMetricType];
|
|
18
16
|
export declare const PredictiveScalingMaxCapacityBehavior: {
|
|
19
17
|
readonly SetForecastCapacityToMaxCapacity: "SetForecastCapacityToMaxCapacity";
|
|
20
18
|
readonly SetMaxCapacityAboveForecastCapacity: "SetMaxCapacityAboveForecastCapacity";
|
|
@@ -38,8 +36,7 @@ export declare const ScalableDimension: {
|
|
|
38
36
|
readonly ECSServiceDesiredCount: "ecs:service:DesiredCount";
|
|
39
37
|
readonly RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount";
|
|
40
38
|
};
|
|
41
|
-
export type ScalableDimension =
|
|
42
|
-
(typeof ScalableDimension)[keyof typeof ScalableDimension];
|
|
39
|
+
export type ScalableDimension = (typeof ScalableDimension)[keyof typeof ScalableDimension];
|
|
43
40
|
export declare const ScalingPolicyUpdateBehavior: {
|
|
44
41
|
readonly KeepExternalPolicies: "KeepExternalPolicies";
|
|
45
42
|
readonly ReplaceExternalPolicies: "ReplaceExternalPolicies";
|
|
@@ -53,8 +50,7 @@ export declare const ServiceNamespace: {
|
|
|
53
50
|
readonly ECS: "ecs";
|
|
54
51
|
readonly RDS: "rds";
|
|
55
52
|
};
|
|
56
|
-
export type ServiceNamespace =
|
|
57
|
-
(typeof ServiceNamespace)[keyof typeof ServiceNamespace];
|
|
53
|
+
export type ServiceNamespace = (typeof ServiceNamespace)[keyof typeof ServiceNamespace];
|
|
58
54
|
export declare const ScalingMetricType: {
|
|
59
55
|
readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
|
|
60
56
|
readonly ASGAverageCPUUtilization: "ASGAverageCPUUtilization";
|
|
@@ -70,8 +66,7 @@ export declare const ScalingMetricType: {
|
|
|
70
66
|
readonly RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization";
|
|
71
67
|
readonly RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections";
|
|
72
68
|
};
|
|
73
|
-
export type ScalingMetricType =
|
|
74
|
-
(typeof ScalingMetricType)[keyof typeof ScalingMetricType];
|
|
69
|
+
export type ScalingMetricType = (typeof ScalingMetricType)[keyof typeof ScalingMetricType];
|
|
75
70
|
export declare const PolicyType: {
|
|
76
71
|
readonly TargetTrackingScaling: "TargetTrackingScaling";
|
|
77
72
|
};
|
|
@@ -81,8 +76,7 @@ export declare const ScalingStatusCode: {
|
|
|
81
76
|
readonly Inactive: "Inactive";
|
|
82
77
|
readonly PartiallyActive: "PartiallyActive";
|
|
83
78
|
};
|
|
84
|
-
export type ScalingStatusCode =
|
|
85
|
-
(typeof ScalingStatusCode)[keyof typeof ScalingStatusCode];
|
|
79
|
+
export type ScalingStatusCode = (typeof ScalingStatusCode)[keyof typeof ScalingStatusCode];
|
|
86
80
|
export declare const ScalingPlanStatusCode: {
|
|
87
81
|
readonly Active: "Active";
|
|
88
82
|
readonly ActiveWithProblems: "ActiveWithProblems";
|
|
@@ -101,5 +95,4 @@ export declare const ForecastDataType: {
|
|
|
101
95
|
readonly ScheduledActionMaxCapacity: "ScheduledActionMaxCapacity";
|
|
102
96
|
readonly ScheduledActionMinCapacity: "ScheduledActionMinCapacity";
|
|
103
97
|
};
|
|
104
|
-
export type ForecastDataType =
|
|
105
|
-
(typeof ForecastDataType)[keyof typeof ForecastDataType];
|
|
98
|
+
export type ForecastDataType = (typeof ForecastDataType)[keyof typeof ForecastDataType];
|
|
@@ -4,47 +4,35 @@ export declare class ConcurrentUpdateException extends __BaseException {
|
|
|
4
4
|
readonly name: "ConcurrentUpdateException";
|
|
5
5
|
readonly $fault: "server";
|
|
6
6
|
Message?: string | undefined;
|
|
7
|
-
constructor(
|
|
8
|
-
opts: __ExceptionOptionType<ConcurrentUpdateException, __BaseException>
|
|
9
|
-
);
|
|
7
|
+
constructor(opts: __ExceptionOptionType<ConcurrentUpdateException, __BaseException>);
|
|
10
8
|
}
|
|
11
9
|
export declare class InternalServiceException extends __BaseException {
|
|
12
10
|
readonly name: "InternalServiceException";
|
|
13
11
|
readonly $fault: "server";
|
|
14
12
|
Message?: string | undefined;
|
|
15
|
-
constructor(
|
|
16
|
-
opts: __ExceptionOptionType<InternalServiceException, __BaseException>
|
|
17
|
-
);
|
|
13
|
+
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
18
14
|
}
|
|
19
15
|
export declare class LimitExceededException extends __BaseException {
|
|
20
16
|
readonly name: "LimitExceededException";
|
|
21
17
|
readonly $fault: "client";
|
|
22
18
|
Message?: string | undefined;
|
|
23
|
-
constructor(
|
|
24
|
-
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
25
|
-
);
|
|
19
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
26
20
|
}
|
|
27
21
|
export declare class ValidationException extends __BaseException {
|
|
28
22
|
readonly name: "ValidationException";
|
|
29
23
|
readonly $fault: "client";
|
|
30
24
|
Message?: string | undefined;
|
|
31
|
-
constructor(
|
|
32
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
33
|
-
);
|
|
25
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
34
26
|
}
|
|
35
27
|
export declare class ObjectNotFoundException extends __BaseException {
|
|
36
28
|
readonly name: "ObjectNotFoundException";
|
|
37
29
|
readonly $fault: "client";
|
|
38
30
|
Message?: string | undefined;
|
|
39
|
-
constructor(
|
|
40
|
-
opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>
|
|
41
|
-
);
|
|
31
|
+
constructor(opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>);
|
|
42
32
|
}
|
|
43
33
|
export declare class InvalidNextTokenException extends __BaseException {
|
|
44
34
|
readonly name: "InvalidNextTokenException";
|
|
45
35
|
readonly $fault: "client";
|
|
46
36
|
Message?: string | undefined;
|
|
47
|
-
constructor(
|
|
48
|
-
opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
|
|
49
|
-
);
|
|
37
|
+
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
50
38
|
}
|
|
@@ -47,12 +47,8 @@ export interface PredefinedScalingMetricSpecification {
|
|
|
47
47
|
ResourceLabel?: string | undefined;
|
|
48
48
|
}
|
|
49
49
|
export interface TargetTrackingConfiguration {
|
|
50
|
-
PredefinedScalingMetricSpecification?:
|
|
51
|
-
|
|
52
|
-
| undefined;
|
|
53
|
-
CustomizedScalingMetricSpecification?:
|
|
54
|
-
| CustomizedScalingMetricSpecification
|
|
55
|
-
| undefined;
|
|
50
|
+
PredefinedScalingMetricSpecification?: PredefinedScalingMetricSpecification | undefined;
|
|
51
|
+
CustomizedScalingMetricSpecification?: CustomizedScalingMetricSpecification | undefined;
|
|
56
52
|
TargetValue: number | undefined;
|
|
57
53
|
DisableScaleIn?: boolean | undefined;
|
|
58
54
|
ScaleOutCooldown?: number | undefined;
|
|
@@ -66,16 +62,10 @@ export interface ScalingInstruction {
|
|
|
66
62
|
MinCapacity: number | undefined;
|
|
67
63
|
MaxCapacity: number | undefined;
|
|
68
64
|
TargetTrackingConfigurations: TargetTrackingConfiguration[] | undefined;
|
|
69
|
-
PredefinedLoadMetricSpecification?:
|
|
70
|
-
|
|
71
|
-
| undefined;
|
|
72
|
-
CustomizedLoadMetricSpecification?:
|
|
73
|
-
| CustomizedLoadMetricSpecification
|
|
74
|
-
| undefined;
|
|
65
|
+
PredefinedLoadMetricSpecification?: PredefinedLoadMetricSpecification | undefined;
|
|
66
|
+
CustomizedLoadMetricSpecification?: CustomizedLoadMetricSpecification | undefined;
|
|
75
67
|
ScheduledActionBufferTime?: number | undefined;
|
|
76
|
-
PredictiveScalingMaxCapacityBehavior?:
|
|
77
|
-
| PredictiveScalingMaxCapacityBehavior
|
|
78
|
-
| undefined;
|
|
68
|
+
PredictiveScalingMaxCapacityBehavior?: PredictiveScalingMaxCapacityBehavior | undefined;
|
|
79
69
|
PredictiveScalingMaxCapacityBuffer?: number | undefined;
|
|
80
70
|
PredictiveScalingMode?: PredictiveScalingMode | undefined;
|
|
81
71
|
ScalingPolicyUpdateBehavior?: ScalingPolicyUpdateBehavior | undefined;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
2
|
import { AutoScalingPlansClientConfig } from "./AutoScalingPlansClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: AutoScalingPlansClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: AutoScalingPlansClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -10,24 +8,16 @@ export declare const getRuntimeConfig: (
|
|
|
10
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
9
|
credentialDefaultProvider:
|
|
12
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
-
| ((
|
|
14
|
-
_: unknown
|
|
15
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
16
12
|
defaultUserAgentProvider: (
|
|
17
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
18
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
19
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
21
|
-
requestHandler:
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
23
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
24
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
19
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
21
|
) => Promise<Uint8Array>;
|
|
32
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
33
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -55,13 +45,8 @@ export declare const getRuntimeConfig: (
|
|
|
55
45
|
logger: import("@smithy/types").Logger;
|
|
56
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
58
|
-
userAgentAppId?:
|
|
59
|
-
|
|
60
|
-
| undefined
|
|
61
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
62
|
-
retryStrategy?:
|
|
63
|
-
| import("@smithy/types").RetryStrategy
|
|
64
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
48
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
65
50
|
endpoint?:
|
|
66
51
|
| ((
|
|
67
52
|
| string
|
|
@@ -83,7 +68,7 @@ export declare const getRuntimeConfig: (
|
|
|
83
68
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
84
69
|
context?: {
|
|
85
70
|
logger?: import("@smithy/types").Logger;
|
|
86
|
-
}
|
|
71
|
+
},
|
|
87
72
|
) => import("@smithy/types").EndpointV2;
|
|
88
73
|
tls?: boolean;
|
|
89
74
|
serviceConfiguredEndpoint?: never;
|
|
@@ -96,13 +81,13 @@ export declare const getRuntimeConfig: (
|
|
|
96
81
|
signer?:
|
|
97
82
|
| import("@smithy/types").RequestSigner
|
|
98
83
|
| ((
|
|
99
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
100
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
101
86
|
signingEscapePath?: boolean;
|
|
102
87
|
systemClockOffset?: number;
|
|
103
88
|
signingRegion?: string;
|
|
104
89
|
signerConstructor?: new (
|
|
105
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
106
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
107
92
|
) => import("@smithy/types").RequestSigner;
|
|
108
93
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
2
|
import { AutoScalingPlansClientConfig } from "./AutoScalingPlansClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: AutoScalingPlansClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: AutoScalingPlansClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -12,23 +10,17 @@ export declare const getRuntimeConfig: (
|
|
|
12
10
|
credentialDefaultProvider:
|
|
13
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
14
12
|
| ((
|
|
15
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
16
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
17
15
|
defaultUserAgentProvider: (
|
|
18
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
19
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
20
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
21
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
22
|
-
requestHandler:
|
|
23
|
-
| RequestHandler
|
|
24
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
25
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
22
|
streamCollector: (
|
|
27
|
-
stream:
|
|
28
|
-
| import("stream").Readable
|
|
29
|
-
| import("stream/web").ReadableStream
|
|
30
|
-
| ReadableStream
|
|
31
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
32
24
|
) => Promise<Uint8Array>;
|
|
33
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
34
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -55,9 +47,7 @@ export declare const getRuntimeConfig: (
|
|
|
55
47
|
logger: import("@smithy/types").Logger;
|
|
56
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
58
|
-
retryStrategy?:
|
|
59
|
-
| import("@smithy/types").RetryStrategy
|
|
60
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
61
51
|
endpoint?:
|
|
62
52
|
| ((
|
|
63
53
|
| string
|
|
@@ -79,7 +69,7 @@ export declare const getRuntimeConfig: (
|
|
|
79
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
80
70
|
context?: {
|
|
81
71
|
logger?: import("@smithy/types").Logger;
|
|
82
|
-
}
|
|
72
|
+
},
|
|
83
73
|
) => import("@smithy/types").EndpointV2;
|
|
84
74
|
tls?: boolean;
|
|
85
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -91,13 +81,13 @@ export declare const getRuntimeConfig: (
|
|
|
91
81
|
signer?:
|
|
92
82
|
| import("@smithy/types").RequestSigner
|
|
93
83
|
| ((
|
|
94
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
95
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
96
86
|
signingEscapePath?: boolean;
|
|
97
87
|
systemClockOffset?: number;
|
|
98
88
|
signingRegion?: string;
|
|
99
89
|
signerConstructor?: new (
|
|
100
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
101
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
102
92
|
) => import("@smithy/types").RequestSigner;
|
|
103
93
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { AutoScalingPlansClientConfig } from "./AutoScalingPlansClient";
|
|
2
|
-
export declare const getRuntimeConfig: (
|
|
3
|
-
config: AutoScalingPlansClientConfig
|
|
4
|
-
) => {
|
|
2
|
+
export declare const getRuntimeConfig: (config: AutoScalingPlansClientConfig) => {
|
|
5
3
|
runtime: string;
|
|
6
4
|
requestHandler:
|
|
7
5
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
|
|
|
23
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
25
23
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
25
|
) => Promise<Uint8Array>;
|
|
32
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -42,30 +36,21 @@ export declare const getRuntimeConfig: (
|
|
|
42
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
43
37
|
profile?: string;
|
|
44
38
|
defaultUserAgentProvider: (
|
|
45
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
46
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
47
41
|
credentialDefaultProvider:
|
|
48
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
49
|
-
| ((
|
|
50
|
-
_: unknown
|
|
51
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
52
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
53
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
54
46
|
logger: import("@smithy/types").Logger;
|
|
55
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
48
|
defaultsMode:
|
|
57
49
|
| import("@smithy/core/client").DefaultsMode
|
|
58
|
-
| import("@smithy/types").Provider<
|
|
59
|
-
import("@smithy/core/client").DefaultsMode
|
|
60
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
61
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
62
|
-
userAgentAppId?:
|
|
63
|
-
|
|
64
|
-
| undefined
|
|
65
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
66
|
-
retryStrategy?:
|
|
67
|
-
| import("@smithy/types").RetryStrategy
|
|
68
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
52
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
69
54
|
endpoint?:
|
|
70
55
|
| ((
|
|
71
56
|
| string
|
|
@@ -87,7 +72,7 @@ export declare const getRuntimeConfig: (
|
|
|
87
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
88
73
|
context?: {
|
|
89
74
|
logger?: import("@smithy/types").Logger;
|
|
90
|
-
}
|
|
75
|
+
},
|
|
91
76
|
) => import("@smithy/types").EndpointV2;
|
|
92
77
|
tls?: boolean;
|
|
93
78
|
serviceConfiguredEndpoint?: never;
|
|
@@ -100,13 +85,13 @@ export declare const getRuntimeConfig: (
|
|
|
100
85
|
signer?:
|
|
101
86
|
| import("@smithy/types").RequestSigner
|
|
102
87
|
| ((
|
|
103
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
88
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
104
89
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
105
90
|
signingEscapePath?: boolean;
|
|
106
91
|
systemClockOffset?: number;
|
|
107
92
|
signingRegion?: string;
|
|
108
93
|
signerConstructor?: new (
|
|
109
94
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
110
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
95
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
111
96
|
) => import("@smithy/types").RequestSigner;
|
|
112
97
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
2
|
import { AutoScalingPlansClientConfig } from "./AutoScalingPlansClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: AutoScalingPlansClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: AutoScalingPlansClientConfig) => {
|
|
6
4
|
apiVersion: string;
|
|
7
5
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
6
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -11,7 +9,7 @@ export declare const getRuntimeConfig: (
|
|
|
11
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
12
10
|
context?: {
|
|
13
11
|
logger?: import("@smithy/types").Logger;
|
|
14
|
-
}
|
|
12
|
+
},
|
|
15
13
|
) => import("@smithy/types").EndpointV2;
|
|
16
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
17
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AutoScalingPlansHttpAuthSchemeProvider;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { AutoScalingPlansExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
4
|
-
extensionConfiguration: AutoScalingPlansExtensionConfiguration
|
|
5
|
-
): void;
|
|
3
|
+
configure(extensionConfiguration: AutoScalingPlansExtensionConfiguration): void;
|
|
6
4
|
}
|
|
7
5
|
export interface RuntimeExtensionsConfig {
|
|
8
6
|
extensions: RuntimeExtension[];
|
|
9
7
|
}
|
|
10
8
|
export declare const resolveRuntimeExtensions: (
|
|
11
9
|
runtimeConfig: any,
|
|
12
|
-
extensions: RuntimeExtension[]
|
|
10
|
+
extensions: RuntimeExtension[],
|
|
13
11
|
) => any;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import {
|
|
3
|
-
StaticErrorSchema,
|
|
4
|
-
StaticOperationSchema,
|
|
5
|
-
StaticStructureSchema,
|
|
6
|
-
} from "@smithy/types";
|
|
2
|
+
import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
7
3
|
export declare var AutoScalingPlansServiceException$: StaticErrorSchema;
|
|
8
4
|
export declare var ConcurrentUpdateException$: StaticErrorSchema;
|
|
9
5
|
export declare var InternalServiceException$: StaticErrorSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auto-scaling-plans",
|
|
3
|
+
"version": "3.1089.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Auto Scaling Plans Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-auto-scaling-plans",
|
|
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-auto-scaling-plans"
|
|
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.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.974.
|
|
25
|
-
"@smithy/core": "^3.29.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
49
|
+
"@aws-sdk/core": "^3.975.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.70",
|
|
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-auto-scaling-plans",
|
|
64
|
-
"repository": {
|
|
65
|
-
"type": "git",
|
|
66
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
67
|
-
"directory": "clients/client-auto-scaling-plans"
|
|
68
68
|
}
|
|
69
69
|
}
|