@aws-sdk/client-application-auto-scaling 3.533.0 → 3.540.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/endpoint/endpointResolver.js +4 -2
- package/dist-cjs/index.js +0 -3
- package/dist-es/endpoint/endpointResolver.js +3 -1
- package/dist-es/index.js +0 -1
- package/dist-types/ApplicationAutoScaling.d.ts +1 -1
- package/dist-types/ApplicationAutoScalingClient.d.ts +1 -1
- package/dist-types/commands/DeleteScalingPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +2 -1
- package/dist-types/commands/DeregisterScalableTargetCommand.d.ts +2 -1
- package/dist-types/commands/DescribeScalableTargetsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeScalingPoliciesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +2 -1
- package/dist-types/commands/PutScheduledActionCommand.d.ts +2 -1
- package/dist-types/commands/RegisterScalableTargetCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +194 -194
- package/dist-types/ts3.4/commands/DeleteScalingPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteScheduledActionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeregisterScalableTargetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeScalableTargetsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeScalingActivitiesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeScalingPoliciesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeScheduledActionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutScalingPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutScheduledActionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RegisterScalableTargetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +0 -1
- package/package.json +40 -40
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const util_endpoints_1 = require("@
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
5
6
|
const ruleset_1 = require("./ruleset");
|
|
6
7
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
-
return (0,
|
|
8
|
+
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
9
|
endpointParams: endpointParams,
|
|
9
10
|
logger: context.logger,
|
|
10
11
|
});
|
|
11
12
|
};
|
|
12
13
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
|
+
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -1346,9 +1346,6 @@ var paginateDescribeScalingPolicies = (0, import_core.createPaginator)(Applicati
|
|
|
1346
1346
|
// src/pagination/DescribeScheduledActionsPaginator.ts
|
|
1347
1347
|
|
|
1348
1348
|
var paginateDescribeScheduledActions = (0, import_core.createPaginator)(ApplicationAutoScalingClient, DescribeScheduledActionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1349
|
-
|
|
1350
|
-
// src/index.ts
|
|
1351
|
-
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
1352
1349
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1353
1350
|
|
|
1354
1351
|
0 && (module.exports = {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
3
|
import { ruleSet } from "./ruleset";
|
|
3
4
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
5
|
return resolveEndpoint(ruleSet, {
|
|
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
6
7
|
logger: context.logger,
|
|
7
8
|
});
|
|
8
9
|
};
|
|
10
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
package/dist-es/index.js
CHANGED
|
@@ -3,5 +3,4 @@ export * from "./ApplicationAutoScaling";
|
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
5
|
export * from "./models";
|
|
6
|
-
import "@aws-sdk/util-endpoints";
|
|
7
6
|
export { ApplicationAutoScalingServiceException } from "./models/ApplicationAutoScalingServiceException";
|
|
@@ -94,7 +94,6 @@ export interface ApplicationAutoScaling {
|
|
|
94
94
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
|
-
* @public
|
|
98
97
|
* <p>With Application Auto Scaling, you can configure automatic scaling for the following
|
|
99
98
|
* resources:</p>
|
|
100
99
|
* <ul>
|
|
@@ -172,6 +171,7 @@ export interface ApplicationAutoScaling {
|
|
|
172
171
|
* and scheduled scaling.</p>
|
|
173
172
|
* </li>
|
|
174
173
|
* </ul>
|
|
174
|
+
* @public
|
|
175
175
|
*/
|
|
176
176
|
export declare class ApplicationAutoScaling extends ApplicationAutoScalingClient implements ApplicationAutoScaling {
|
|
177
177
|
}
|
|
@@ -164,7 +164,6 @@ export type ApplicationAutoScalingClientResolvedConfigType = __SmithyResolvedCon
|
|
|
164
164
|
export interface ApplicationAutoScalingClientResolvedConfig extends ApplicationAutoScalingClientResolvedConfigType {
|
|
165
165
|
}
|
|
166
166
|
/**
|
|
167
|
-
* @public
|
|
168
167
|
* <p>With Application Auto Scaling, you can configure automatic scaling for the following
|
|
169
168
|
* resources:</p>
|
|
170
169
|
* <ul>
|
|
@@ -242,6 +241,7 @@ export interface ApplicationAutoScalingClientResolvedConfig extends ApplicationA
|
|
|
242
241
|
* and scheduled scaling.</p>
|
|
243
242
|
* </li>
|
|
244
243
|
* </ul>
|
|
244
|
+
* @public
|
|
245
245
|
*/
|
|
246
246
|
export declare class ApplicationAutoScalingClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ApplicationAutoScalingClientResolvedConfig> {
|
|
247
247
|
/**
|
|
@@ -22,10 +22,10 @@ export interface DeleteScalingPolicyCommandOutput extends DeleteScalingPolicyRes
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteScalingPolicyCommand_base: {
|
|
24
24
|
new (input: DeleteScalingPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteScalingPolicyCommandInput, DeleteScalingPolicyCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteScalingPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteScalingPolicyCommandInput, DeleteScalingPolicyCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Deletes the specified scaling policy for an Application Auto Scaling scalable target.</p>
|
|
30
30
|
* <p>Deleting a step scaling policy deletes the underlying alarm action, but does not delete
|
|
31
31
|
* the CloudWatch alarm associated with the scaling policy, even if it no longer has an associated
|
|
@@ -77,6 +77,7 @@ declare const DeleteScalingPolicyCommand_base: {
|
|
|
77
77
|
* @throws {@link ApplicationAutoScalingServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
79
79
|
*
|
|
80
|
+
* @public
|
|
80
81
|
* @example To delete a scaling policy
|
|
81
82
|
* ```javascript
|
|
82
83
|
* // This example deletes a scaling policy for the Amazon ECS service called web-app, which is running in the default cluster.
|
|
@@ -22,10 +22,10 @@ export interface DeleteScheduledActionCommandOutput extends DeleteScheduledActio
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteScheduledActionCommand_base: {
|
|
24
24
|
new (input: DeleteScheduledActionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteScheduledActionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Deletes the specified scheduled action for an Application Auto Scaling scalable target.</p>
|
|
30
30
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-additional-cli-commands.html#delete-scheduled-action">Delete a scheduled action</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
31
31
|
* @example
|
|
@@ -73,6 +73,7 @@ declare const DeleteScheduledActionCommand_base: {
|
|
|
73
73
|
* @throws {@link ApplicationAutoScalingServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
75
75
|
*
|
|
76
|
+
* @public
|
|
76
77
|
* @example To delete a scheduled action
|
|
77
78
|
* ```javascript
|
|
78
79
|
* // This example deletes a scheduled action for the AppStream 2.0 fleet called sample-fleet.
|
|
@@ -22,10 +22,10 @@ export interface DeregisterScalableTargetCommandOutput extends DeregisterScalabl
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeregisterScalableTargetCommand_base: {
|
|
24
24
|
new (input: DeregisterScalableTargetCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterScalableTargetCommandInput, DeregisterScalableTargetCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeregisterScalableTargetCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterScalableTargetCommandInput, DeregisterScalableTargetCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Deregisters an Application Auto Scaling scalable target when you have finished using it. To see which
|
|
30
30
|
* resources have been registered, use <a href="https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalableTargets.html">DescribeScalableTargets</a>. </p>
|
|
31
31
|
* <note>
|
|
@@ -76,6 +76,7 @@ declare const DeregisterScalableTargetCommand_base: {
|
|
|
76
76
|
* @throws {@link ApplicationAutoScalingServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
78
78
|
*
|
|
79
|
+
* @public
|
|
79
80
|
* @example To deregister a scalable target
|
|
80
81
|
* ```javascript
|
|
81
82
|
* // This example deregisters a scalable target for an Amazon ECS service called web-app that is running in the default cluster.
|
|
@@ -22,10 +22,10 @@ export interface DescribeScalableTargetsCommandOutput extends DescribeScalableTa
|
|
|
22
22
|
}
|
|
23
23
|
declare const DescribeScalableTargetsCommand_base: {
|
|
24
24
|
new (input: DescribeScalableTargetsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeScalableTargetsCommandInput, DescribeScalableTargetsCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DescribeScalableTargetsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeScalableTargetsCommandInput, DescribeScalableTargetsCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Gets information about the scalable targets in the specified namespace.</p>
|
|
30
30
|
* <p>You can filter the results using <code>ResourceIds</code> and
|
|
31
31
|
* <code>ScalableDimension</code>.</p>
|
|
@@ -92,6 +92,7 @@ declare const DescribeScalableTargetsCommand_base: {
|
|
|
92
92
|
* @throws {@link ApplicationAutoScalingServiceException}
|
|
93
93
|
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
94
94
|
*
|
|
95
|
+
* @public
|
|
95
96
|
* @example To describe scalable targets
|
|
96
97
|
* ```javascript
|
|
97
98
|
* // This example describes the scalable targets for the ECS service namespace.
|
|
@@ -22,10 +22,10 @@ export interface DescribeScalingActivitiesCommandOutput extends DescribeScalingA
|
|
|
22
22
|
}
|
|
23
23
|
declare const DescribeScalingActivitiesCommand_base: {
|
|
24
24
|
new (input: DescribeScalingActivitiesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeScalingActivitiesCommandInput, DescribeScalingActivitiesCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DescribeScalingActivitiesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeScalingActivitiesCommandInput, DescribeScalingActivitiesCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Provides descriptive information about the scaling activities in the specified namespace
|
|
30
30
|
* from the previous six weeks.</p>
|
|
31
31
|
* <p>You can filter the results using <code>ResourceId</code> and
|
|
@@ -99,6 +99,7 @@ declare const DescribeScalingActivitiesCommand_base: {
|
|
|
99
99
|
* @throws {@link ApplicationAutoScalingServiceException}
|
|
100
100
|
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
101
101
|
*
|
|
102
|
+
* @public
|
|
102
103
|
* @example To describe scaling activities for a scalable target
|
|
103
104
|
* ```javascript
|
|
104
105
|
* // This example describes the scaling activities for an Amazon ECS service called web-app that is running in the default cluster.
|
|
@@ -22,10 +22,10 @@ export interface DescribeScalingPoliciesCommandOutput extends DescribeScalingPol
|
|
|
22
22
|
}
|
|
23
23
|
declare const DescribeScalingPoliciesCommand_base: {
|
|
24
24
|
new (input: DescribeScalingPoliciesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeScalingPoliciesCommandInput, DescribeScalingPoliciesCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DescribeScalingPoliciesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeScalingPoliciesCommandInput, DescribeScalingPoliciesCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Describes the Application Auto Scaling scaling policies for the specified service namespace.</p>
|
|
30
30
|
* <p>You can filter the results using <code>ResourceId</code>,
|
|
31
31
|
* <code>ScalableDimension</code>, and <code>PolicyNames</code>.</p>
|
|
@@ -157,6 +157,7 @@ declare const DescribeScalingPoliciesCommand_base: {
|
|
|
157
157
|
* @throws {@link ApplicationAutoScalingServiceException}
|
|
158
158
|
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
159
159
|
*
|
|
160
|
+
* @public
|
|
160
161
|
* @example To describe scaling policies
|
|
161
162
|
* ```javascript
|
|
162
163
|
* // This example describes the scaling policies for the ECS service namespace.
|
|
@@ -22,10 +22,10 @@ export interface DescribeScheduledActionsCommandOutput extends DescribeScheduled
|
|
|
22
22
|
}
|
|
23
23
|
declare const DescribeScheduledActionsCommand_base: {
|
|
24
24
|
new (input: DescribeScheduledActionsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeScheduledActionsCommandInput, DescribeScheduledActionsCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DescribeScheduledActionsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeScheduledActionsCommandInput, DescribeScheduledActionsCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Describes the Application Auto Scaling scheduled actions for the specified service namespace.</p>
|
|
30
30
|
* <p>You can filter the results using the <code>ResourceId</code>,
|
|
31
31
|
* <code>ScalableDimension</code>, and <code>ScheduledActionNames</code> parameters.</p>
|
|
@@ -96,6 +96,7 @@ declare const DescribeScheduledActionsCommand_base: {
|
|
|
96
96
|
* @throws {@link ApplicationAutoScalingServiceException}
|
|
97
97
|
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
98
98
|
*
|
|
99
|
+
* @public
|
|
99
100
|
* @example To describe scheduled actions
|
|
100
101
|
* ```javascript
|
|
101
102
|
* // This example describes the scheduled actions for the dynamodb service namespace.
|
|
@@ -22,10 +22,10 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListTagsForResourceCommand_base: {
|
|
24
24
|
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns all the tags on the specified Application Auto Scaling scalable target.</p>
|
|
30
30
|
* <p>For general information about tags, including the format and syntax, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services
|
|
31
31
|
* resources</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
@@ -60,6 +60,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
60
60
|
* @throws {@link ApplicationAutoScalingServiceException}
|
|
61
61
|
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
62
62
|
*
|
|
63
|
+
* @public
|
|
63
64
|
* @example To list tags for a scalable target
|
|
64
65
|
* ```javascript
|
|
65
66
|
* // This example lists the tag key names and values that are attached to the scalable target specified by its ARN.
|
|
@@ -22,10 +22,10 @@ export interface PutScalingPolicyCommandOutput extends PutScalingPolicyResponse,
|
|
|
22
22
|
}
|
|
23
23
|
declare const PutScalingPolicyCommand_base: {
|
|
24
24
|
new (input: PutScalingPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutScalingPolicyCommandInput, PutScalingPolicyCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: PutScalingPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutScalingPolicyCommandInput, PutScalingPolicyCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Creates or updates a scaling policy for an Application Auto Scaling scalable target.</p>
|
|
30
30
|
* <p>Each scalable target is identified by a service namespace, resource ID, and scalable
|
|
31
31
|
* dimension. A scaling policy applies to the scalable target identified by those three
|
|
@@ -171,6 +171,7 @@ declare const PutScalingPolicyCommand_base: {
|
|
|
171
171
|
* @throws {@link ApplicationAutoScalingServiceException}
|
|
172
172
|
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
173
173
|
*
|
|
174
|
+
* @public
|
|
174
175
|
* @example To apply a target tracking scaling policy with a predefined metric specification
|
|
175
176
|
* ```javascript
|
|
176
177
|
* // The following example applies a target tracking scaling policy with a predefined metric specification to an Amazon ECS service called web-app in the default cluster. The policy keeps the average CPU utilization of the service at 75 percent, with scale-out and scale-in cooldown periods of 60 seconds.
|
|
@@ -22,10 +22,10 @@ export interface PutScheduledActionCommandOutput extends PutScheduledActionRespo
|
|
|
22
22
|
}
|
|
23
23
|
declare const PutScheduledActionCommand_base: {
|
|
24
24
|
new (input: PutScheduledActionCommandInput): import("@smithy/smithy-client").CommandImpl<PutScheduledActionCommandInput, PutScheduledActionCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: PutScheduledActionCommandInput): import("@smithy/smithy-client").CommandImpl<PutScheduledActionCommandInput, PutScheduledActionCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Creates or updates a scheduled action for an Application Auto Scaling scalable target. </p>
|
|
30
30
|
* <p>Each scalable target is identified by a service namespace, resource ID, and scalable
|
|
31
31
|
* dimension. A scheduled action applies to the scalable target identified by those three
|
|
@@ -97,6 +97,7 @@ declare const PutScheduledActionCommand_base: {
|
|
|
97
97
|
* @throws {@link ApplicationAutoScalingServiceException}
|
|
98
98
|
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
99
99
|
*
|
|
100
|
+
* @public
|
|
100
101
|
* @example To create a recurring scheduled action
|
|
101
102
|
* ```javascript
|
|
102
103
|
* // This example adds a scheduled action to a DynamoDB table called TestTable to scale out on a recurring schedule. On the specified schedule (every day at 12:15pm UTC), if the current capacity is below the value specified for MinCapacity, Application Auto Scaling scales out to the value specified by MinCapacity.
|
|
@@ -22,10 +22,10 @@ export interface RegisterScalableTargetCommandOutput extends RegisterScalableTar
|
|
|
22
22
|
}
|
|
23
23
|
declare const RegisterScalableTargetCommand_base: {
|
|
24
24
|
new (input: RegisterScalableTargetCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterScalableTargetCommandInput, RegisterScalableTargetCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: RegisterScalableTargetCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterScalableTargetCommandInput, RegisterScalableTargetCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Registers or updates a scalable target, which is the resource that you want to
|
|
30
30
|
* scale.</p>
|
|
31
31
|
* <p>Scalable targets are uniquely identified by the combination of resource ID, scalable
|
|
@@ -111,6 +111,7 @@ declare const RegisterScalableTargetCommand_base: {
|
|
|
111
111
|
* @throws {@link ApplicationAutoScalingServiceException}
|
|
112
112
|
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
113
113
|
*
|
|
114
|
+
* @public
|
|
114
115
|
* @example To register an ECS service as a scalable target
|
|
115
116
|
* ```javascript
|
|
116
117
|
* // This example registers a scalable target from an Amazon ECS service called web-app that is running on the default cluster, with a minimum desired count of 1 task and a maximum desired count of 10 tasks.
|
|
@@ -22,10 +22,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
22
22
|
}
|
|
23
23
|
declare const TagResourceCommand_base: {
|
|
24
24
|
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Adds or edits tags on an Application Auto Scaling scalable target.</p>
|
|
30
30
|
* <p>Each tag consists of a tag key and a tag value, which are both case-sensitive strings.
|
|
31
31
|
* To add a tag, specify a new tag key and a tag value. To edit a tag, specify an existing tag
|
|
@@ -75,6 +75,7 @@ declare const TagResourceCommand_base: {
|
|
|
75
75
|
* @throws {@link ApplicationAutoScalingServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
77
77
|
*
|
|
78
|
+
* @public
|
|
78
79
|
* @example To add a tag to a scalable target
|
|
79
80
|
* ```javascript
|
|
80
81
|
* // This example adds a tag with the key name "environment" and the value "production" to the scalable target specified by its ARN.
|
|
@@ -22,10 +22,10 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
22
22
|
}
|
|
23
23
|
declare const UntagResourceCommand_base: {
|
|
24
24
|
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Deletes tags from an Application Auto Scaling scalable target. To delete a tag, specify the tag key and
|
|
30
30
|
* the Application Auto Scaling scalable target.</p>
|
|
31
31
|
* @example
|
|
@@ -62,6 +62,7 @@ declare const UntagResourceCommand_base: {
|
|
|
62
62
|
* @throws {@link ApplicationAutoScalingServiceException}
|
|
63
63
|
* <p>Base exception class for all service exceptions from ApplicationAutoScaling service.</p>
|
|
64
64
|
*
|
|
65
|
+
* @public
|
|
65
66
|
* @example To remove a tag from a scalable target
|
|
66
67
|
* ```javascript
|
|
67
68
|
* // This example removes the tag pair with the key name "environment" from the scalable target specified by its ARN.
|
package/dist-types/index.d.ts
CHANGED
|
@@ -87,5 +87,4 @@ export { ApplicationAutoScalingExtensionConfiguration } from "./extensionConfigu
|
|
|
87
87
|
export * from "./commands";
|
|
88
88
|
export * from "./pagination";
|
|
89
89
|
export * from "./models";
|
|
90
|
-
import "@aws-sdk/util-endpoints";
|
|
91
90
|
export { ApplicationAutoScalingServiceException } from "./models/ApplicationAutoScalingServiceException";
|