@aws-sdk/client-application-auto-scaling 3.50.0 → 3.53.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/ApplicationAutoScalingServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +100 -1
- package/dist-cjs/protocols/Aws_json1_1.js +121 -406
- package/dist-es/index.js +1 -0
- package/dist-es/models/ApplicationAutoScalingServiceException.js +12 -0
- package/dist-es/models/models_0.js +93 -1
- package/dist-es/protocols/Aws_json1_1.js +246 -433
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/ApplicationAutoScalingServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +51 -22
- package/dist-types/ts3.4/ApplicationAutoScaling.d.ts +55 -0
- package/dist-types/ts3.4/ApplicationAutoScalingClient.d.ts +83 -0
- package/dist-types/ts3.4/commands/DeleteScalingPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteScheduledActionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeregisterScalableTargetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeScalableTargetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeScalingActivitiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeScalingPoliciesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeScheduledActionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutScalingPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutScheduledActionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RegisterScalableTargetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/ApplicationAutoScalingServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +631 -0
- package/dist-types/ts3.4/pagination/DescribeScalableTargetsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeScalingActivitiesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeScalingPoliciesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeScheduledActionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +32 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from ApplicationAutoScaling service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class ApplicationAutoScalingServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { ApplicationAutoScalingServiceException as __BaseException } from "./ApplicationAutoScalingServiceException";
|
|
2
3
|
export declare enum AdjustmentType {
|
|
3
4
|
ChangeInCapacity = "ChangeInCapacity",
|
|
4
5
|
ExactCapacity = "ExactCapacity",
|
|
@@ -27,10 +28,14 @@ export declare namespace Alarm {
|
|
|
27
28
|
* <p>Concurrent updates caused an exception, for example, if you request an update to an
|
|
28
29
|
* Application Auto Scaling resource that already has a pending update.</p>
|
|
29
30
|
*/
|
|
30
|
-
export
|
|
31
|
-
name: "ConcurrentUpdateException";
|
|
32
|
-
$fault: "server";
|
|
31
|
+
export declare class ConcurrentUpdateException extends __BaseException {
|
|
32
|
+
readonly name: "ConcurrentUpdateException";
|
|
33
|
+
readonly $fault: "server";
|
|
33
34
|
Message?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
constructor(opts: __ExceptionOptionType<ConcurrentUpdateException, __BaseException>);
|
|
34
39
|
}
|
|
35
40
|
export declare enum ScalableDimension {
|
|
36
41
|
AppstreamFleetDesiredCapacity = "appstream:fleet:DesiredCapacity",
|
|
@@ -253,10 +258,14 @@ export declare namespace DeleteScalingPolicyResponse {
|
|
|
253
258
|
/**
|
|
254
259
|
* <p>The service encountered an internal error.</p>
|
|
255
260
|
*/
|
|
256
|
-
export
|
|
257
|
-
name: "InternalServiceException";
|
|
258
|
-
$fault: "server";
|
|
261
|
+
export declare class InternalServiceException extends __BaseException {
|
|
262
|
+
readonly name: "InternalServiceException";
|
|
263
|
+
readonly $fault: "server";
|
|
259
264
|
Message?: string;
|
|
265
|
+
/**
|
|
266
|
+
* @internal
|
|
267
|
+
*/
|
|
268
|
+
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
260
269
|
}
|
|
261
270
|
/**
|
|
262
271
|
* <p>The specified object could not be found. For any operation that depends on the existence
|
|
@@ -265,19 +274,27 @@ export interface InternalServiceException extends __SmithyException, $MetadataBe
|
|
|
265
274
|
* that deletes or deregisters a resource, this exception is thrown if the resource cannot be
|
|
266
275
|
* found.</p>
|
|
267
276
|
*/
|
|
268
|
-
export
|
|
269
|
-
name: "ObjectNotFoundException";
|
|
270
|
-
$fault: "client";
|
|
277
|
+
export declare class ObjectNotFoundException extends __BaseException {
|
|
278
|
+
readonly name: "ObjectNotFoundException";
|
|
279
|
+
readonly $fault: "client";
|
|
271
280
|
Message?: string;
|
|
281
|
+
/**
|
|
282
|
+
* @internal
|
|
283
|
+
*/
|
|
284
|
+
constructor(opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>);
|
|
272
285
|
}
|
|
273
286
|
/**
|
|
274
287
|
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
275
288
|
* API request.</p>
|
|
276
289
|
*/
|
|
277
|
-
export
|
|
278
|
-
name: "ValidationException";
|
|
279
|
-
$fault: "client";
|
|
290
|
+
export declare class ValidationException extends __BaseException {
|
|
291
|
+
readonly name: "ValidationException";
|
|
292
|
+
readonly $fault: "client";
|
|
280
293
|
Message?: string;
|
|
294
|
+
/**
|
|
295
|
+
* @internal
|
|
296
|
+
*/
|
|
297
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
281
298
|
}
|
|
282
299
|
export interface DeleteScheduledActionRequest {
|
|
283
300
|
/**
|
|
@@ -1063,10 +1080,14 @@ export declare namespace DescribeScalableTargetsResponse {
|
|
|
1063
1080
|
/**
|
|
1064
1081
|
* <p>The next token supplied was invalid.</p>
|
|
1065
1082
|
*/
|
|
1066
|
-
export
|
|
1067
|
-
name: "InvalidNextTokenException";
|
|
1068
|
-
$fault: "client";
|
|
1083
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
1084
|
+
readonly name: "InvalidNextTokenException";
|
|
1085
|
+
readonly $fault: "client";
|
|
1069
1086
|
Message?: string;
|
|
1087
|
+
/**
|
|
1088
|
+
* @internal
|
|
1089
|
+
*/
|
|
1090
|
+
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
1070
1091
|
}
|
|
1071
1092
|
export interface DescribeScalingActivitiesRequest {
|
|
1072
1093
|
/**
|
|
@@ -2374,10 +2395,14 @@ export declare namespace DescribeScalingPoliciesResponse {
|
|
|
2374
2395
|
* for example, if the role ARN specified for a scalable target does not have permission to
|
|
2375
2396
|
* call the CloudWatch <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html">DescribeAlarms</a> on your behalf.</p>
|
|
2376
2397
|
*/
|
|
2377
|
-
export
|
|
2378
|
-
name: "FailedResourceAccessException";
|
|
2379
|
-
$fault: "client";
|
|
2398
|
+
export declare class FailedResourceAccessException extends __BaseException {
|
|
2399
|
+
readonly name: "FailedResourceAccessException";
|
|
2400
|
+
readonly $fault: "client";
|
|
2380
2401
|
Message?: string;
|
|
2402
|
+
/**
|
|
2403
|
+
* @internal
|
|
2404
|
+
*/
|
|
2405
|
+
constructor(opts: __ExceptionOptionType<FailedResourceAccessException, __BaseException>);
|
|
2381
2406
|
}
|
|
2382
2407
|
export interface DescribeScheduledActionsRequest {
|
|
2383
2408
|
/**
|
|
@@ -2842,10 +2867,14 @@ export declare namespace DescribeScheduledActionsResponse {
|
|
|
2842
2867
|
/**
|
|
2843
2868
|
* <p>A per-account resource limit is exceeded. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-limits.html">Application Auto Scaling service quotas</a>.</p>
|
|
2844
2869
|
*/
|
|
2845
|
-
export
|
|
2846
|
-
name: "LimitExceededException";
|
|
2847
|
-
$fault: "client";
|
|
2870
|
+
export declare class LimitExceededException extends __BaseException {
|
|
2871
|
+
readonly name: "LimitExceededException";
|
|
2872
|
+
readonly $fault: "client";
|
|
2848
2873
|
Message?: string;
|
|
2874
|
+
/**
|
|
2875
|
+
* @internal
|
|
2876
|
+
*/
|
|
2877
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
2849
2878
|
}
|
|
2850
2879
|
export interface PutScalingPolicyRequest {
|
|
2851
2880
|
/**
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { ApplicationAutoScalingClient } from "./ApplicationAutoScalingClient";
|
|
3
|
+
import { DeleteScalingPolicyCommandInput, DeleteScalingPolicyCommandOutput } from "./commands/DeleteScalingPolicyCommand";
|
|
4
|
+
import { DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput } from "./commands/DeleteScheduledActionCommand";
|
|
5
|
+
import { DeregisterScalableTargetCommandInput, DeregisterScalableTargetCommandOutput } from "./commands/DeregisterScalableTargetCommand";
|
|
6
|
+
import { DescribeScalableTargetsCommandInput, DescribeScalableTargetsCommandOutput } from "./commands/DescribeScalableTargetsCommand";
|
|
7
|
+
import { DescribeScalingActivitiesCommandInput, DescribeScalingActivitiesCommandOutput } from "./commands/DescribeScalingActivitiesCommand";
|
|
8
|
+
import { DescribeScalingPoliciesCommandInput, DescribeScalingPoliciesCommandOutput } from "./commands/DescribeScalingPoliciesCommand";
|
|
9
|
+
import { DescribeScheduledActionsCommandInput, DescribeScheduledActionsCommandOutput } from "./commands/DescribeScheduledActionsCommand";
|
|
10
|
+
import { PutScalingPolicyCommandInput, PutScalingPolicyCommandOutput } from "./commands/PutScalingPolicyCommand";
|
|
11
|
+
import { PutScheduledActionCommandInput, PutScheduledActionCommandOutput } from "./commands/PutScheduledActionCommand";
|
|
12
|
+
import { RegisterScalableTargetCommandInput, RegisterScalableTargetCommandOutput } from "./commands/RegisterScalableTargetCommand";
|
|
13
|
+
|
|
14
|
+
export declare class ApplicationAutoScaling extends ApplicationAutoScalingClient {
|
|
15
|
+
|
|
16
|
+
deleteScalingPolicy(args: DeleteScalingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScalingPolicyCommandOutput>;
|
|
17
|
+
deleteScalingPolicy(args: DeleteScalingPolicyCommandInput, cb: (err: any, data?: DeleteScalingPolicyCommandOutput) => void): void;
|
|
18
|
+
deleteScalingPolicy(args: DeleteScalingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScalingPolicyCommandOutput) => void): void;
|
|
19
|
+
|
|
20
|
+
deleteScheduledAction(args: DeleteScheduledActionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScheduledActionCommandOutput>;
|
|
21
|
+
deleteScheduledAction(args: DeleteScheduledActionCommandInput, cb: (err: any, data?: DeleteScheduledActionCommandOutput) => void): void;
|
|
22
|
+
deleteScheduledAction(args: DeleteScheduledActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScheduledActionCommandOutput) => void): void;
|
|
23
|
+
|
|
24
|
+
deregisterScalableTarget(args: DeregisterScalableTargetCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterScalableTargetCommandOutput>;
|
|
25
|
+
deregisterScalableTarget(args: DeregisterScalableTargetCommandInput, cb: (err: any, data?: DeregisterScalableTargetCommandOutput) => void): void;
|
|
26
|
+
deregisterScalableTarget(args: DeregisterScalableTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterScalableTargetCommandOutput) => void): void;
|
|
27
|
+
|
|
28
|
+
describeScalableTargets(args: DescribeScalableTargetsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScalableTargetsCommandOutput>;
|
|
29
|
+
describeScalableTargets(args: DescribeScalableTargetsCommandInput, cb: (err: any, data?: DescribeScalableTargetsCommandOutput) => void): void;
|
|
30
|
+
describeScalableTargets(args: DescribeScalableTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScalableTargetsCommandOutput) => void): void;
|
|
31
|
+
|
|
32
|
+
describeScalingActivities(args: DescribeScalingActivitiesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScalingActivitiesCommandOutput>;
|
|
33
|
+
describeScalingActivities(args: DescribeScalingActivitiesCommandInput, cb: (err: any, data?: DescribeScalingActivitiesCommandOutput) => void): void;
|
|
34
|
+
describeScalingActivities(args: DescribeScalingActivitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScalingActivitiesCommandOutput) => void): void;
|
|
35
|
+
|
|
36
|
+
describeScalingPolicies(args: DescribeScalingPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScalingPoliciesCommandOutput>;
|
|
37
|
+
describeScalingPolicies(args: DescribeScalingPoliciesCommandInput, cb: (err: any, data?: DescribeScalingPoliciesCommandOutput) => void): void;
|
|
38
|
+
describeScalingPolicies(args: DescribeScalingPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScalingPoliciesCommandOutput) => void): void;
|
|
39
|
+
|
|
40
|
+
describeScheduledActions(args: DescribeScheduledActionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScheduledActionsCommandOutput>;
|
|
41
|
+
describeScheduledActions(args: DescribeScheduledActionsCommandInput, cb: (err: any, data?: DescribeScheduledActionsCommandOutput) => void): void;
|
|
42
|
+
describeScheduledActions(args: DescribeScheduledActionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScheduledActionsCommandOutput) => void): void;
|
|
43
|
+
|
|
44
|
+
putScalingPolicy(args: PutScalingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutScalingPolicyCommandOutput>;
|
|
45
|
+
putScalingPolicy(args: PutScalingPolicyCommandInput, cb: (err: any, data?: PutScalingPolicyCommandOutput) => void): void;
|
|
46
|
+
putScalingPolicy(args: PutScalingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutScalingPolicyCommandOutput) => void): void;
|
|
47
|
+
|
|
48
|
+
putScheduledAction(args: PutScheduledActionCommandInput, options?: __HttpHandlerOptions): Promise<PutScheduledActionCommandOutput>;
|
|
49
|
+
putScheduledAction(args: PutScheduledActionCommandInput, cb: (err: any, data?: PutScheduledActionCommandOutput) => void): void;
|
|
50
|
+
putScheduledAction(args: PutScheduledActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutScheduledActionCommandOutput) => void): void;
|
|
51
|
+
|
|
52
|
+
registerScalableTarget(args: RegisterScalableTargetCommandInput, options?: __HttpHandlerOptions): Promise<RegisterScalableTargetCommandOutput>;
|
|
53
|
+
registerScalableTarget(args: RegisterScalableTargetCommandInput, cb: (err: any, data?: RegisterScalableTargetCommandOutput) => void): void;
|
|
54
|
+
registerScalableTarget(args: RegisterScalableTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterScalableTargetCommandOutput) => void): void;
|
|
55
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { DeleteScalingPolicyCommandInput, DeleteScalingPolicyCommandOutput } from "./commands/DeleteScalingPolicyCommand";
|
|
10
|
+
import { DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput } from "./commands/DeleteScheduledActionCommand";
|
|
11
|
+
import { DeregisterScalableTargetCommandInput, DeregisterScalableTargetCommandOutput } from "./commands/DeregisterScalableTargetCommand";
|
|
12
|
+
import { DescribeScalableTargetsCommandInput, DescribeScalableTargetsCommandOutput } from "./commands/DescribeScalableTargetsCommand";
|
|
13
|
+
import { DescribeScalingActivitiesCommandInput, DescribeScalingActivitiesCommandOutput } from "./commands/DescribeScalingActivitiesCommand";
|
|
14
|
+
import { DescribeScalingPoliciesCommandInput, DescribeScalingPoliciesCommandOutput } from "./commands/DescribeScalingPoliciesCommand";
|
|
15
|
+
import { DescribeScheduledActionsCommandInput, DescribeScheduledActionsCommandOutput } from "./commands/DescribeScheduledActionsCommand";
|
|
16
|
+
import { PutScalingPolicyCommandInput, PutScalingPolicyCommandOutput } from "./commands/PutScalingPolicyCommand";
|
|
17
|
+
import { PutScheduledActionCommandInput, PutScheduledActionCommandOutput } from "./commands/PutScheduledActionCommand";
|
|
18
|
+
import { RegisterScalableTargetCommandInput, RegisterScalableTargetCommandOutput } from "./commands/RegisterScalableTargetCommand";
|
|
19
|
+
export declare type ServiceInputTypes = DeleteScalingPolicyCommandInput | DeleteScheduledActionCommandInput | DeregisterScalableTargetCommandInput | DescribeScalableTargetsCommandInput | DescribeScalingActivitiesCommandInput | DescribeScalingPoliciesCommandInput | DescribeScheduledActionsCommandInput | PutScalingPolicyCommandInput | PutScheduledActionCommandInput | RegisterScalableTargetCommandInput;
|
|
20
|
+
export declare type ServiceOutputTypes = DeleteScalingPolicyCommandOutput | DeleteScheduledActionCommandOutput | DeregisterScalableTargetCommandOutput | DescribeScalableTargetsCommandOutput | DescribeScalingActivitiesCommandOutput | DescribeScalingPoliciesCommandOutput | DescribeScheduledActionsCommandOutput | PutScalingPolicyCommandOutput | PutScheduledActionCommandOutput | RegisterScalableTargetCommandOutput;
|
|
21
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
22
|
+
|
|
23
|
+
requestHandler?: __HttpHandler;
|
|
24
|
+
|
|
25
|
+
sha256?: __HashConstructor;
|
|
26
|
+
|
|
27
|
+
urlParser?: __UrlParser;
|
|
28
|
+
|
|
29
|
+
bodyLengthChecker?: (body: any) => number | undefined;
|
|
30
|
+
|
|
31
|
+
streamCollector?: __StreamCollector;
|
|
32
|
+
|
|
33
|
+
base64Decoder?: __Decoder;
|
|
34
|
+
|
|
35
|
+
base64Encoder?: __Encoder;
|
|
36
|
+
|
|
37
|
+
utf8Decoder?: __Decoder;
|
|
38
|
+
|
|
39
|
+
utf8Encoder?: __Encoder;
|
|
40
|
+
|
|
41
|
+
runtime?: string;
|
|
42
|
+
|
|
43
|
+
disableHostPrefix?: boolean;
|
|
44
|
+
|
|
45
|
+
maxAttempts?: number | __Provider<number>;
|
|
46
|
+
|
|
47
|
+
retryMode?: string | __Provider<string>;
|
|
48
|
+
|
|
49
|
+
logger?: __Logger;
|
|
50
|
+
|
|
51
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
52
|
+
|
|
53
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
54
|
+
|
|
55
|
+
serviceId?: string;
|
|
56
|
+
|
|
57
|
+
region?: string | __Provider<string>;
|
|
58
|
+
|
|
59
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
60
|
+
|
|
61
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
62
|
+
|
|
63
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
64
|
+
|
|
65
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
66
|
+
}
|
|
67
|
+
declare type ApplicationAutoScalingClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
68
|
+
|
|
69
|
+
export interface ApplicationAutoScalingClientConfig extends ApplicationAutoScalingClientConfigType {
|
|
70
|
+
}
|
|
71
|
+
declare type ApplicationAutoScalingClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
72
|
+
|
|
73
|
+
export interface ApplicationAutoScalingClientResolvedConfig extends ApplicationAutoScalingClientResolvedConfigType {
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export declare class ApplicationAutoScalingClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ApplicationAutoScalingClientResolvedConfig> {
|
|
77
|
+
|
|
78
|
+
readonly config: ApplicationAutoScalingClientResolvedConfig;
|
|
79
|
+
constructor(configuration: ApplicationAutoScalingClientConfig);
|
|
80
|
+
|
|
81
|
+
destroy(): void;
|
|
82
|
+
}
|
|
83
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationAutoScalingClient";
|
|
4
|
+
import { DeleteScalingPolicyRequest, DeleteScalingPolicyResponse } from "../models/models_0";
|
|
5
|
+
export interface DeleteScalingPolicyCommandInput extends DeleteScalingPolicyRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteScalingPolicyCommandOutput extends DeleteScalingPolicyResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DeleteScalingPolicyCommand extends $Command<DeleteScalingPolicyCommandInput, DeleteScalingPolicyCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
|
|
11
|
+
readonly input: DeleteScalingPolicyCommandInput;
|
|
12
|
+
constructor(input: DeleteScalingPolicyCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteScalingPolicyCommandInput, DeleteScalingPolicyCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationAutoScalingClient";
|
|
4
|
+
import { DeleteScheduledActionRequest, DeleteScheduledActionResponse } from "../models/models_0";
|
|
5
|
+
export interface DeleteScheduledActionCommandInput extends DeleteScheduledActionRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteScheduledActionCommandOutput extends DeleteScheduledActionResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DeleteScheduledActionCommand extends $Command<DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
|
|
11
|
+
readonly input: DeleteScheduledActionCommandInput;
|
|
12
|
+
constructor(input: DeleteScheduledActionCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationAutoScalingClient";
|
|
4
|
+
import { DeregisterScalableTargetRequest, DeregisterScalableTargetResponse } from "../models/models_0";
|
|
5
|
+
export interface DeregisterScalableTargetCommandInput extends DeregisterScalableTargetRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeregisterScalableTargetCommandOutput extends DeregisterScalableTargetResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DeregisterScalableTargetCommand extends $Command<DeregisterScalableTargetCommandInput, DeregisterScalableTargetCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
|
|
11
|
+
readonly input: DeregisterScalableTargetCommandInput;
|
|
12
|
+
constructor(input: DeregisterScalableTargetCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeregisterScalableTargetCommandInput, DeregisterScalableTargetCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationAutoScalingClient";
|
|
4
|
+
import { DescribeScalableTargetsRequest, DescribeScalableTargetsResponse } from "../models/models_0";
|
|
5
|
+
export interface DescribeScalableTargetsCommandInput extends DescribeScalableTargetsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeScalableTargetsCommandOutput extends DescribeScalableTargetsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DescribeScalableTargetsCommand extends $Command<DescribeScalableTargetsCommandInput, DescribeScalableTargetsCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
|
|
11
|
+
readonly input: DescribeScalableTargetsCommandInput;
|
|
12
|
+
constructor(input: DescribeScalableTargetsCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeScalableTargetsCommandInput, DescribeScalableTargetsCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationAutoScalingClient";
|
|
4
|
+
import { DescribeScalingActivitiesRequest, DescribeScalingActivitiesResponse } from "../models/models_0";
|
|
5
|
+
export interface DescribeScalingActivitiesCommandInput extends DescribeScalingActivitiesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeScalingActivitiesCommandOutput extends DescribeScalingActivitiesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DescribeScalingActivitiesCommand extends $Command<DescribeScalingActivitiesCommandInput, DescribeScalingActivitiesCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
|
|
11
|
+
readonly input: DescribeScalingActivitiesCommandInput;
|
|
12
|
+
constructor(input: DescribeScalingActivitiesCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeScalingActivitiesCommandInput, DescribeScalingActivitiesCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationAutoScalingClient";
|
|
4
|
+
import { DescribeScalingPoliciesRequest, DescribeScalingPoliciesResponse } from "../models/models_0";
|
|
5
|
+
export interface DescribeScalingPoliciesCommandInput extends DescribeScalingPoliciesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeScalingPoliciesCommandOutput extends DescribeScalingPoliciesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DescribeScalingPoliciesCommand extends $Command<DescribeScalingPoliciesCommandInput, DescribeScalingPoliciesCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
|
|
11
|
+
readonly input: DescribeScalingPoliciesCommandInput;
|
|
12
|
+
constructor(input: DescribeScalingPoliciesCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeScalingPoliciesCommandInput, DescribeScalingPoliciesCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationAutoScalingClient";
|
|
4
|
+
import { DescribeScheduledActionsRequest, DescribeScheduledActionsResponse } from "../models/models_0";
|
|
5
|
+
export interface DescribeScheduledActionsCommandInput extends DescribeScheduledActionsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeScheduledActionsCommandOutput extends DescribeScheduledActionsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DescribeScheduledActionsCommand extends $Command<DescribeScheduledActionsCommandInput, DescribeScheduledActionsCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
|
|
11
|
+
readonly input: DescribeScheduledActionsCommandInput;
|
|
12
|
+
constructor(input: DescribeScheduledActionsCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeScheduledActionsCommandInput, DescribeScheduledActionsCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationAutoScalingClient";
|
|
4
|
+
import { PutScalingPolicyRequest, PutScalingPolicyResponse } from "../models/models_0";
|
|
5
|
+
export interface PutScalingPolicyCommandInput extends PutScalingPolicyRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface PutScalingPolicyCommandOutput extends PutScalingPolicyResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class PutScalingPolicyCommand extends $Command<PutScalingPolicyCommandInput, PutScalingPolicyCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
|
|
11
|
+
readonly input: PutScalingPolicyCommandInput;
|
|
12
|
+
constructor(input: PutScalingPolicyCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutScalingPolicyCommandInput, PutScalingPolicyCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationAutoScalingClient";
|
|
4
|
+
import { PutScheduledActionRequest, PutScheduledActionResponse } from "../models/models_0";
|
|
5
|
+
export interface PutScheduledActionCommandInput extends PutScheduledActionRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface PutScheduledActionCommandOutput extends PutScheduledActionResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class PutScheduledActionCommand extends $Command<PutScheduledActionCommandInput, PutScheduledActionCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
|
|
11
|
+
readonly input: PutScheduledActionCommandInput;
|
|
12
|
+
constructor(input: PutScheduledActionCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutScheduledActionCommandInput, PutScheduledActionCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationAutoScalingClient";
|
|
4
|
+
import { RegisterScalableTargetRequest, RegisterScalableTargetResponse } from "../models/models_0";
|
|
5
|
+
export interface RegisterScalableTargetCommandInput extends RegisterScalableTargetRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface RegisterScalableTargetCommandOutput extends RegisterScalableTargetResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class RegisterScalableTargetCommand extends $Command<RegisterScalableTargetCommandInput, RegisterScalableTargetCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
|
|
11
|
+
readonly input: RegisterScalableTargetCommandInput;
|
|
12
|
+
constructor(input: RegisterScalableTargetCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RegisterScalableTargetCommandInput, RegisterScalableTargetCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./DeleteScalingPolicyCommand";
|
|
2
|
+
export * from "./DeleteScheduledActionCommand";
|
|
3
|
+
export * from "./DeregisterScalableTargetCommand";
|
|
4
|
+
export * from "./DescribeScalableTargetsCommand";
|
|
5
|
+
export * from "./DescribeScalingActivitiesCommand";
|
|
6
|
+
export * from "./DescribeScalingPoliciesCommand";
|
|
7
|
+
export * from "./DescribeScheduledActionsCommand";
|
|
8
|
+
export * from "./PutScalingPolicyCommand";
|
|
9
|
+
export * from "./PutScheduledActionCommand";
|
|
10
|
+
export * from "./RegisterScalableTargetCommand";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./ApplicationAutoScaling";
|
|
2
|
+
export * from "./ApplicationAutoScalingClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|
|
6
|
+
export { ApplicationAutoScalingServiceException } from "./models/ApplicationAutoScalingServiceException";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class ApplicationAutoScalingServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|