@aws-sdk/client-application-auto-scaling 3.294.0 → 3.295.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/README.md +24 -0
- package/dist-cjs/ApplicationAutoScaling.js +45 -0
- package/dist-cjs/commands/DeleteScalingPolicyCommand.js +4 -4
- package/dist-cjs/commands/DeleteScheduledActionCommand.js +4 -4
- package/dist-cjs/commands/DeregisterScalableTargetCommand.js +4 -4
- package/dist-cjs/commands/DescribeScalableTargetsCommand.js +4 -4
- package/dist-cjs/commands/DescribeScalingActivitiesCommand.js +4 -4
- package/dist-cjs/commands/DescribeScalingPoliciesCommand.js +4 -4
- package/dist-cjs/commands/DescribeScheduledActionsCommand.js +4 -4
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/PutScalingPolicyCommand.js +4 -4
- package/dist-cjs/commands/PutScheduledActionCommand.js +4 -4
- package/dist-cjs/commands/RegisterScalableTargetCommand.js +4 -4
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +56 -2
- package/dist-cjs/protocols/Aws_json1_1.js +230 -2
- package/dist-es/ApplicationAutoScaling.js +45 -0
- package/dist-es/commands/DeleteScalingPolicyCommand.js +4 -4
- package/dist-es/commands/DeleteScheduledActionCommand.js +4 -4
- package/dist-es/commands/DeregisterScalableTargetCommand.js +4 -4
- package/dist-es/commands/DescribeScalableTargetsCommand.js +4 -4
- package/dist-es/commands/DescribeScalingActivitiesCommand.js +4 -4
- package/dist-es/commands/DescribeScalingPoliciesCommand.js +4 -4
- package/dist-es/commands/DescribeScheduledActionsCommand.js +4 -4
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/PutScalingPolicyCommand.js +4 -4
- package/dist-es/commands/PutScheduledActionCommand.js +4 -4
- package/dist-es/commands/RegisterScalableTargetCommand.js +4 -4
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +46 -0
- package/dist-es/protocols/Aws_json1_1.js +224 -2
- package/dist-types/ApplicationAutoScaling.d.ts +54 -12
- package/dist-types/ApplicationAutoScalingClient.d.ts +7 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +49 -0
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +2 -2
- package/dist-types/commands/PutScheduledActionCommand.d.ts +1 -1
- package/dist-types/commands/RegisterScalableTargetCommand.d.ts +16 -9
- package/dist-types/commands/TagResourceCommand.d.ts +65 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +52 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +141 -10
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/ApplicationAutoScaling.d.ts +51 -0
- package/dist-types/ts3.4/ApplicationAutoScalingClient.d.ts +24 -6
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -4
- package/dist-types/ts3.4/models/models_0.d.ts +57 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +36 -36
|
@@ -28,6 +28,10 @@ import {
|
|
|
28
28
|
DescribeScheduledActionsCommandInput,
|
|
29
29
|
DescribeScheduledActionsCommandOutput,
|
|
30
30
|
} from "./commands/DescribeScheduledActionsCommand";
|
|
31
|
+
import {
|
|
32
|
+
ListTagsForResourceCommandInput,
|
|
33
|
+
ListTagsForResourceCommandOutput,
|
|
34
|
+
} from "./commands/ListTagsForResourceCommand";
|
|
31
35
|
import {
|
|
32
36
|
PutScalingPolicyCommandInput,
|
|
33
37
|
PutScalingPolicyCommandOutput,
|
|
@@ -40,6 +44,14 @@ import {
|
|
|
40
44
|
RegisterScalableTargetCommandInput,
|
|
41
45
|
RegisterScalableTargetCommandOutput,
|
|
42
46
|
} from "./commands/RegisterScalableTargetCommand";
|
|
47
|
+
import {
|
|
48
|
+
TagResourceCommandInput,
|
|
49
|
+
TagResourceCommandOutput,
|
|
50
|
+
} from "./commands/TagResourceCommand";
|
|
51
|
+
import {
|
|
52
|
+
UntagResourceCommandInput,
|
|
53
|
+
UntagResourceCommandOutput,
|
|
54
|
+
} from "./commands/UntagResourceCommand";
|
|
43
55
|
export declare class ApplicationAutoScaling extends ApplicationAutoScalingClient {
|
|
44
56
|
deleteScalingPolicy(
|
|
45
57
|
args: DeleteScalingPolicyCommandInput,
|
|
@@ -132,6 +144,19 @@ export declare class ApplicationAutoScaling extends ApplicationAutoScalingClient
|
|
|
132
144
|
options: __HttpHandlerOptions,
|
|
133
145
|
cb: (err: any, data?: DescribeScheduledActionsCommandOutput) => void
|
|
134
146
|
): void;
|
|
147
|
+
listTagsForResource(
|
|
148
|
+
args: ListTagsForResourceCommandInput,
|
|
149
|
+
options?: __HttpHandlerOptions
|
|
150
|
+
): Promise<ListTagsForResourceCommandOutput>;
|
|
151
|
+
listTagsForResource(
|
|
152
|
+
args: ListTagsForResourceCommandInput,
|
|
153
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
154
|
+
): void;
|
|
155
|
+
listTagsForResource(
|
|
156
|
+
args: ListTagsForResourceCommandInput,
|
|
157
|
+
options: __HttpHandlerOptions,
|
|
158
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
159
|
+
): void;
|
|
135
160
|
putScalingPolicy(
|
|
136
161
|
args: PutScalingPolicyCommandInput,
|
|
137
162
|
options?: __HttpHandlerOptions
|
|
@@ -171,4 +196,30 @@ export declare class ApplicationAutoScaling extends ApplicationAutoScalingClient
|
|
|
171
196
|
options: __HttpHandlerOptions,
|
|
172
197
|
cb: (err: any, data?: RegisterScalableTargetCommandOutput) => void
|
|
173
198
|
): void;
|
|
199
|
+
tagResource(
|
|
200
|
+
args: TagResourceCommandInput,
|
|
201
|
+
options?: __HttpHandlerOptions
|
|
202
|
+
): Promise<TagResourceCommandOutput>;
|
|
203
|
+
tagResource(
|
|
204
|
+
args: TagResourceCommandInput,
|
|
205
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
206
|
+
): void;
|
|
207
|
+
tagResource(
|
|
208
|
+
args: TagResourceCommandInput,
|
|
209
|
+
options: __HttpHandlerOptions,
|
|
210
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
211
|
+
): void;
|
|
212
|
+
untagResource(
|
|
213
|
+
args: UntagResourceCommandInput,
|
|
214
|
+
options?: __HttpHandlerOptions
|
|
215
|
+
): Promise<UntagResourceCommandOutput>;
|
|
216
|
+
untagResource(
|
|
217
|
+
args: UntagResourceCommandInput,
|
|
218
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
219
|
+
): void;
|
|
220
|
+
untagResource(
|
|
221
|
+
args: UntagResourceCommandInput,
|
|
222
|
+
options: __HttpHandlerOptions,
|
|
223
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
224
|
+
): void;
|
|
174
225
|
}
|
|
@@ -72,6 +72,10 @@ import {
|
|
|
72
72
|
DescribeScheduledActionsCommandInput,
|
|
73
73
|
DescribeScheduledActionsCommandOutput,
|
|
74
74
|
} from "./commands/DescribeScheduledActionsCommand";
|
|
75
|
+
import {
|
|
76
|
+
ListTagsForResourceCommandInput,
|
|
77
|
+
ListTagsForResourceCommandOutput,
|
|
78
|
+
} from "./commands/ListTagsForResourceCommand";
|
|
75
79
|
import {
|
|
76
80
|
PutScalingPolicyCommandInput,
|
|
77
81
|
PutScalingPolicyCommandOutput,
|
|
@@ -84,12 +88,20 @@ import {
|
|
|
84
88
|
RegisterScalableTargetCommandInput,
|
|
85
89
|
RegisterScalableTargetCommandOutput,
|
|
86
90
|
} from "./commands/RegisterScalableTargetCommand";
|
|
91
|
+
import {
|
|
92
|
+
TagResourceCommandInput,
|
|
93
|
+
TagResourceCommandOutput,
|
|
94
|
+
} from "./commands/TagResourceCommand";
|
|
95
|
+
import {
|
|
96
|
+
UntagResourceCommandInput,
|
|
97
|
+
UntagResourceCommandOutput,
|
|
98
|
+
} from "./commands/UntagResourceCommand";
|
|
87
99
|
import {
|
|
88
100
|
ClientInputEndpointParameters,
|
|
89
101
|
ClientResolvedEndpointParameters,
|
|
90
102
|
EndpointParameters,
|
|
91
103
|
} from "./endpoint/EndpointParameters";
|
|
92
|
-
export
|
|
104
|
+
export type ServiceInputTypes =
|
|
93
105
|
| DeleteScalingPolicyCommandInput
|
|
94
106
|
| DeleteScheduledActionCommandInput
|
|
95
107
|
| DeregisterScalableTargetCommandInput
|
|
@@ -97,10 +109,13 @@ export declare type ServiceInputTypes =
|
|
|
97
109
|
| DescribeScalingActivitiesCommandInput
|
|
98
110
|
| DescribeScalingPoliciesCommandInput
|
|
99
111
|
| DescribeScheduledActionsCommandInput
|
|
112
|
+
| ListTagsForResourceCommandInput
|
|
100
113
|
| PutScalingPolicyCommandInput
|
|
101
114
|
| PutScheduledActionCommandInput
|
|
102
|
-
| RegisterScalableTargetCommandInput
|
|
103
|
-
|
|
115
|
+
| RegisterScalableTargetCommandInput
|
|
116
|
+
| TagResourceCommandInput
|
|
117
|
+
| UntagResourceCommandInput;
|
|
118
|
+
export type ServiceOutputTypes =
|
|
104
119
|
| DeleteScalingPolicyCommandOutput
|
|
105
120
|
| DeleteScheduledActionCommandOutput
|
|
106
121
|
| DeregisterScalableTargetCommandOutput
|
|
@@ -108,9 +123,12 @@ export declare type ServiceOutputTypes =
|
|
|
108
123
|
| DescribeScalingActivitiesCommandOutput
|
|
109
124
|
| DescribeScalingPoliciesCommandOutput
|
|
110
125
|
| DescribeScheduledActionsCommandOutput
|
|
126
|
+
| ListTagsForResourceCommandOutput
|
|
111
127
|
| PutScalingPolicyCommandOutput
|
|
112
128
|
| PutScheduledActionCommandOutput
|
|
113
|
-
| RegisterScalableTargetCommandOutput
|
|
129
|
+
| RegisterScalableTargetCommandOutput
|
|
130
|
+
| TagResourceCommandOutput
|
|
131
|
+
| UntagResourceCommandOutput;
|
|
114
132
|
export interface ClientDefaults
|
|
115
133
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
116
134
|
requestHandler?: __HttpHandler;
|
|
@@ -135,7 +153,7 @@ export interface ClientDefaults
|
|
|
135
153
|
logger?: __Logger;
|
|
136
154
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
137
155
|
}
|
|
138
|
-
|
|
156
|
+
type ApplicationAutoScalingClientConfigType = Partial<
|
|
139
157
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
140
158
|
> &
|
|
141
159
|
ClientDefaults &
|
|
@@ -148,7 +166,7 @@ declare type ApplicationAutoScalingClientConfigType = Partial<
|
|
|
148
166
|
ClientInputEndpointParameters;
|
|
149
167
|
export interface ApplicationAutoScalingClientConfig
|
|
150
168
|
extends ApplicationAutoScalingClientConfigType {}
|
|
151
|
-
|
|
169
|
+
type ApplicationAutoScalingClientResolvedConfigType =
|
|
152
170
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
153
171
|
Required<ClientDefaults> &
|
|
154
172
|
RegionResolvedConfig &
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
ApplicationAutoScalingClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ApplicationAutoScalingClient";
|
|
14
|
+
import {
|
|
15
|
+
ListTagsForResourceRequest,
|
|
16
|
+
ListTagsForResourceResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface ListTagsForResourceCommandInput
|
|
19
|
+
extends ListTagsForResourceRequest {}
|
|
20
|
+
export interface ListTagsForResourceCommandOutput
|
|
21
|
+
extends ListTagsForResourceResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class ListTagsForResourceCommand extends $Command<
|
|
24
|
+
ListTagsForResourceCommandInput,
|
|
25
|
+
ListTagsForResourceCommandOutput,
|
|
26
|
+
ApplicationAutoScalingClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: ListTagsForResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListTagsForResourceCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: ApplicationAutoScalingClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
ApplicationAutoScalingClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ApplicationAutoScalingClient";
|
|
14
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
15
|
+
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
16
|
+
export interface TagResourceCommandOutput
|
|
17
|
+
extends TagResourceResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
export declare class TagResourceCommand extends $Command<
|
|
20
|
+
TagResourceCommandInput,
|
|
21
|
+
TagResourceCommandOutput,
|
|
22
|
+
ApplicationAutoScalingClientResolvedConfig
|
|
23
|
+
> {
|
|
24
|
+
readonly input: TagResourceCommandInput;
|
|
25
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
26
|
+
constructor(input: TagResourceCommandInput);
|
|
27
|
+
resolveMiddleware(
|
|
28
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
29
|
+
configuration: ApplicationAutoScalingClientResolvedConfig,
|
|
30
|
+
options?: __HttpHandlerOptions
|
|
31
|
+
): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
32
|
+
private serialize;
|
|
33
|
+
private deserialize;
|
|
34
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
ApplicationAutoScalingClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ApplicationAutoScalingClient";
|
|
14
|
+
import {
|
|
15
|
+
UntagResourceRequest,
|
|
16
|
+
UntagResourceResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
19
|
+
export interface UntagResourceCommandOutput
|
|
20
|
+
extends UntagResourceResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class UntagResourceCommand extends $Command<
|
|
23
|
+
UntagResourceCommandInput,
|
|
24
|
+
UntagResourceCommandOutput,
|
|
25
|
+
ApplicationAutoScalingClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: UntagResourceCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
|
+
constructor(input: UntagResourceCommandInput);
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: ApplicationAutoScalingClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -5,6 +5,9 @@ export * from "./DescribeScalableTargetsCommand";
|
|
|
5
5
|
export * from "./DescribeScalingActivitiesCommand";
|
|
6
6
|
export * from "./DescribeScalingPoliciesCommand";
|
|
7
7
|
export * from "./DescribeScheduledActionsCommand";
|
|
8
|
+
export * from "./ListTagsForResourceCommand";
|
|
8
9
|
export * from "./PutScalingPolicyCommand";
|
|
9
10
|
export * from "./PutScheduledActionCommand";
|
|
10
11
|
export * from "./RegisterScalableTargetCommand";
|
|
12
|
+
export * from "./TagResourceCommand";
|
|
13
|
+
export * from "./UntagResourceCommand";
|
|
@@ -16,10 +16,9 @@ export interface ClientInputEndpointParameters {
|
|
|
16
16
|
| EndpointV2
|
|
17
17
|
| Provider<EndpointV2>;
|
|
18
18
|
}
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
19
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
20
|
+
defaultSigningName: string;
|
|
21
|
+
};
|
|
23
22
|
export declare const resolveClientEndpointParameters: <T>(
|
|
24
23
|
options: T & ClientInputEndpointParameters
|
|
25
24
|
) => T &
|
|
@@ -120,6 +120,7 @@ export interface ScalableTarget {
|
|
|
120
120
|
RoleARN: string | undefined;
|
|
121
121
|
CreationTime: Date | undefined;
|
|
122
122
|
SuspendedState?: SuspendedState;
|
|
123
|
+
ScalableTargetARN?: string;
|
|
123
124
|
}
|
|
124
125
|
export interface DescribeScalableTargetsResponse {
|
|
125
126
|
ScalableTargets?: ScalableTarget[];
|
|
@@ -330,6 +331,21 @@ export interface DescribeScheduledActionsResponse {
|
|
|
330
331
|
ScheduledActions?: ScheduledAction[];
|
|
331
332
|
NextToken?: string;
|
|
332
333
|
}
|
|
334
|
+
export interface ListTagsForResourceRequest {
|
|
335
|
+
ResourceARN: string | undefined;
|
|
336
|
+
}
|
|
337
|
+
export interface ListTagsForResourceResponse {
|
|
338
|
+
Tags?: Record<string, string>;
|
|
339
|
+
}
|
|
340
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
341
|
+
readonly name: "ResourceNotFoundException";
|
|
342
|
+
readonly $fault: "client";
|
|
343
|
+
Message?: string;
|
|
344
|
+
ResourceName?: string;
|
|
345
|
+
constructor(
|
|
346
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
347
|
+
);
|
|
348
|
+
}
|
|
333
349
|
export declare class LimitExceededException extends __BaseException {
|
|
334
350
|
readonly name: "LimitExceededException";
|
|
335
351
|
readonly $fault: "client";
|
|
@@ -371,8 +387,30 @@ export interface RegisterScalableTargetRequest {
|
|
|
371
387
|
MaxCapacity?: number;
|
|
372
388
|
RoleARN?: string;
|
|
373
389
|
SuspendedState?: SuspendedState;
|
|
390
|
+
Tags?: Record<string, string>;
|
|
391
|
+
}
|
|
392
|
+
export interface RegisterScalableTargetResponse {
|
|
393
|
+
ScalableTargetARN?: string;
|
|
394
|
+
}
|
|
395
|
+
export interface TagResourceRequest {
|
|
396
|
+
ResourceARN: string | undefined;
|
|
397
|
+
Tags: Record<string, string> | undefined;
|
|
374
398
|
}
|
|
375
|
-
export interface
|
|
399
|
+
export interface TagResourceResponse {}
|
|
400
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
401
|
+
readonly name: "TooManyTagsException";
|
|
402
|
+
readonly $fault: "client";
|
|
403
|
+
Message?: string;
|
|
404
|
+
ResourceName?: string;
|
|
405
|
+
constructor(
|
|
406
|
+
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
407
|
+
);
|
|
408
|
+
}
|
|
409
|
+
export interface UntagResourceRequest {
|
|
410
|
+
ResourceARN: string | undefined;
|
|
411
|
+
TagKeys: string[] | undefined;
|
|
412
|
+
}
|
|
413
|
+
export interface UntagResourceResponse {}
|
|
376
414
|
export declare const AlarmFilterSensitiveLog: (obj: Alarm) => any;
|
|
377
415
|
export declare const DeleteScalingPolicyRequestFilterSensitiveLog: (
|
|
378
416
|
obj: DeleteScalingPolicyRequest
|
|
@@ -467,6 +505,12 @@ export declare const ScheduledActionFilterSensitiveLog: (
|
|
|
467
505
|
export declare const DescribeScheduledActionsResponseFilterSensitiveLog: (
|
|
468
506
|
obj: DescribeScheduledActionsResponse
|
|
469
507
|
) => any;
|
|
508
|
+
export declare const ListTagsForResourceRequestFilterSensitiveLog: (
|
|
509
|
+
obj: ListTagsForResourceRequest
|
|
510
|
+
) => any;
|
|
511
|
+
export declare const ListTagsForResourceResponseFilterSensitiveLog: (
|
|
512
|
+
obj: ListTagsForResourceResponse
|
|
513
|
+
) => any;
|
|
470
514
|
export declare const PutScalingPolicyRequestFilterSensitiveLog: (
|
|
471
515
|
obj: PutScalingPolicyRequest
|
|
472
516
|
) => any;
|
|
@@ -485,3 +529,15 @@ export declare const RegisterScalableTargetRequestFilterSensitiveLog: (
|
|
|
485
529
|
export declare const RegisterScalableTargetResponseFilterSensitiveLog: (
|
|
486
530
|
obj: RegisterScalableTargetResponse
|
|
487
531
|
) => any;
|
|
532
|
+
export declare const TagResourceRequestFilterSensitiveLog: (
|
|
533
|
+
obj: TagResourceRequest
|
|
534
|
+
) => any;
|
|
535
|
+
export declare const TagResourceResponseFilterSensitiveLog: (
|
|
536
|
+
obj: TagResourceResponse
|
|
537
|
+
) => any;
|
|
538
|
+
export declare const UntagResourceRequestFilterSensitiveLog: (
|
|
539
|
+
obj: UntagResourceRequest
|
|
540
|
+
) => any;
|
|
541
|
+
export declare const UntagResourceResponseFilterSensitiveLog: (
|
|
542
|
+
obj: UntagResourceResponse
|
|
543
|
+
) => any;
|
|
@@ -31,6 +31,10 @@ import {
|
|
|
31
31
|
DescribeScheduledActionsCommandInput,
|
|
32
32
|
DescribeScheduledActionsCommandOutput,
|
|
33
33
|
} from "../commands/DescribeScheduledActionsCommand";
|
|
34
|
+
import {
|
|
35
|
+
ListTagsForResourceCommandInput,
|
|
36
|
+
ListTagsForResourceCommandOutput,
|
|
37
|
+
} from "../commands/ListTagsForResourceCommand";
|
|
34
38
|
import {
|
|
35
39
|
PutScalingPolicyCommandInput,
|
|
36
40
|
PutScalingPolicyCommandOutput,
|
|
@@ -43,6 +47,14 @@ import {
|
|
|
43
47
|
RegisterScalableTargetCommandInput,
|
|
44
48
|
RegisterScalableTargetCommandOutput,
|
|
45
49
|
} from "../commands/RegisterScalableTargetCommand";
|
|
50
|
+
import {
|
|
51
|
+
TagResourceCommandInput,
|
|
52
|
+
TagResourceCommandOutput,
|
|
53
|
+
} from "../commands/TagResourceCommand";
|
|
54
|
+
import {
|
|
55
|
+
UntagResourceCommandInput,
|
|
56
|
+
UntagResourceCommandOutput,
|
|
57
|
+
} from "../commands/UntagResourceCommand";
|
|
46
58
|
export declare const serializeAws_json1_1DeleteScalingPolicyCommand: (
|
|
47
59
|
input: DeleteScalingPolicyCommandInput,
|
|
48
60
|
context: __SerdeContext
|
|
@@ -71,6 +83,10 @@ export declare const serializeAws_json1_1DescribeScheduledActionsCommand: (
|
|
|
71
83
|
input: DescribeScheduledActionsCommandInput,
|
|
72
84
|
context: __SerdeContext
|
|
73
85
|
) => Promise<__HttpRequest>;
|
|
86
|
+
export declare const serializeAws_json1_1ListTagsForResourceCommand: (
|
|
87
|
+
input: ListTagsForResourceCommandInput,
|
|
88
|
+
context: __SerdeContext
|
|
89
|
+
) => Promise<__HttpRequest>;
|
|
74
90
|
export declare const serializeAws_json1_1PutScalingPolicyCommand: (
|
|
75
91
|
input: PutScalingPolicyCommandInput,
|
|
76
92
|
context: __SerdeContext
|
|
@@ -83,6 +99,14 @@ export declare const serializeAws_json1_1RegisterScalableTargetCommand: (
|
|
|
83
99
|
input: RegisterScalableTargetCommandInput,
|
|
84
100
|
context: __SerdeContext
|
|
85
101
|
) => Promise<__HttpRequest>;
|
|
102
|
+
export declare const serializeAws_json1_1TagResourceCommand: (
|
|
103
|
+
input: TagResourceCommandInput,
|
|
104
|
+
context: __SerdeContext
|
|
105
|
+
) => Promise<__HttpRequest>;
|
|
106
|
+
export declare const serializeAws_json1_1UntagResourceCommand: (
|
|
107
|
+
input: UntagResourceCommandInput,
|
|
108
|
+
context: __SerdeContext
|
|
109
|
+
) => Promise<__HttpRequest>;
|
|
86
110
|
export declare const deserializeAws_json1_1DeleteScalingPolicyCommand: (
|
|
87
111
|
output: __HttpResponse,
|
|
88
112
|
context: __SerdeContext
|
|
@@ -111,6 +135,10 @@ export declare const deserializeAws_json1_1DescribeScheduledActionsCommand: (
|
|
|
111
135
|
output: __HttpResponse,
|
|
112
136
|
context: __SerdeContext
|
|
113
137
|
) => Promise<DescribeScheduledActionsCommandOutput>;
|
|
138
|
+
export declare const deserializeAws_json1_1ListTagsForResourceCommand: (
|
|
139
|
+
output: __HttpResponse,
|
|
140
|
+
context: __SerdeContext
|
|
141
|
+
) => Promise<ListTagsForResourceCommandOutput>;
|
|
114
142
|
export declare const deserializeAws_json1_1PutScalingPolicyCommand: (
|
|
115
143
|
output: __HttpResponse,
|
|
116
144
|
context: __SerdeContext
|
|
@@ -123,3 +151,11 @@ export declare const deserializeAws_json1_1RegisterScalableTargetCommand: (
|
|
|
123
151
|
output: __HttpResponse,
|
|
124
152
|
context: __SerdeContext
|
|
125
153
|
) => Promise<RegisterScalableTargetCommandOutput>;
|
|
154
|
+
export declare const deserializeAws_json1_1TagResourceCommand: (
|
|
155
|
+
output: __HttpResponse,
|
|
156
|
+
context: __SerdeContext
|
|
157
|
+
) => Promise<TagResourceCommandOutput>;
|
|
158
|
+
export declare const deserializeAws_json1_1UntagResourceCommand: (
|
|
159
|
+
output: __HttpResponse,
|
|
160
|
+
context: __SerdeContext
|
|
161
|
+
) => Promise<UntagResourceCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-application-auto-scaling",
|
|
3
3
|
"description": "AWS SDK for JavaScript Application Auto Scaling Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.295.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,49 +20,49 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
45
|
-
"@aws-sdk/util-base64": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
-
"@aws-sdk/util-utf8": "3.
|
|
55
|
-
"tslib": "^2.
|
|
23
|
+
"@aws-sdk/client-sts": "3.295.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.295.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.295.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.295.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.295.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.295.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.295.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.295.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.295.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.295.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.295.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.295.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.295.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.295.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.295.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.295.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.295.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.295.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.295.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.295.0",
|
|
43
|
+
"@aws-sdk/types": "3.295.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.295.0",
|
|
45
|
+
"@aws-sdk/util-base64": "3.295.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.295.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.295.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.295.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.295.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.295.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.295.0",
|
|
54
|
+
"@aws-sdk/util-utf8": "3.295.0",
|
|
55
|
+
"tslib": "^2.5.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
58
|
+
"@aws-sdk/service-client-documentation-generator": "3.295.0",
|
|
59
59
|
"@tsconfig/node14": "1.0.3",
|
|
60
60
|
"@types/node": "^14.14.31",
|
|
61
61
|
"concurrently": "7.0.0",
|
|
62
62
|
"downlevel-dts": "0.10.1",
|
|
63
63
|
"rimraf": "3.0.2",
|
|
64
64
|
"typedoc": "0.23.23",
|
|
65
|
-
"typescript": "~4.
|
|
65
|
+
"typescript": "~4.9.5"
|
|
66
66
|
},
|
|
67
67
|
"engines": {
|
|
68
68
|
"node": ">=14.0.0"
|