@aws-sdk/client-application-auto-scaling 3.299.0 → 3.301.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-types/commands/DeleteScalingPolicyCommand.d.ts +6 -0
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +6 -0
- package/dist-types/commands/DeregisterScalableTargetCommand.d.ts +5 -0
- package/dist-types/commands/DescribeScalableTargetsCommand.d.ts +9 -0
- package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +8 -0
- package/dist-types/commands/DescribeScalingPoliciesCommand.d.ts +10 -0
- package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +10 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +64 -0
- package/dist-types/commands/PutScheduledActionCommand.d.ts +14 -0
- package/dist-types/commands/RegisterScalableTargetCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/package.json +8 -8
|
@@ -31,6 +31,12 @@ export interface DeleteScalingPolicyCommandOutput extends DeleteScalingPolicyRes
|
|
|
31
31
|
* import { ApplicationAutoScalingClient, DeleteScalingPolicyCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
32
32
|
* // const { ApplicationAutoScalingClient, DeleteScalingPolicyCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
33
33
|
* const client = new ApplicationAutoScalingClient(config);
|
|
34
|
+
* const input = { // DeleteScalingPolicyRequest
|
|
35
|
+
* PolicyName: "STRING_VALUE", // required
|
|
36
|
+
* ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
37
|
+
* ResourceId: "STRING_VALUE", // required
|
|
38
|
+
* ScalableDimension: "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "elasticmapreduce:instancegroup:InstanceCount" || "appstream:fleet:DesiredCapacity" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits" || "rds:cluster:ReadReplicaCount" || "sagemaker:variant:DesiredInstanceCount" || "custom-resource:ResourceType:Property" || "comprehend:document-classifier-endpoint:DesiredInferenceUnits" || "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" || "lambda:function:ProvisionedConcurrency" || "cassandra:table:ReadCapacityUnits" || "cassandra:table:WriteCapacityUnits" || "kafka:broker-storage:VolumeSize" || "elasticache:replication-group:NodeGroups" || "elasticache:replication-group:Replicas" || "neptune:cluster:ReadReplicaCount", // required
|
|
39
|
+
* };
|
|
34
40
|
* const command = new DeleteScalingPolicyCommand(input);
|
|
35
41
|
* const response = await client.send(command);
|
|
36
42
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface DeleteScheduledActionCommandOutput extends DeleteScheduledActio
|
|
|
27
27
|
* import { ApplicationAutoScalingClient, DeleteScheduledActionCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
28
28
|
* // const { ApplicationAutoScalingClient, DeleteScheduledActionCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
29
29
|
* const client = new ApplicationAutoScalingClient(config);
|
|
30
|
+
* const input = { // DeleteScheduledActionRequest
|
|
31
|
+
* ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
32
|
+
* ScheduledActionName: "STRING_VALUE", // required
|
|
33
|
+
* ResourceId: "STRING_VALUE", // required
|
|
34
|
+
* ScalableDimension: "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "elasticmapreduce:instancegroup:InstanceCount" || "appstream:fleet:DesiredCapacity" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits" || "rds:cluster:ReadReplicaCount" || "sagemaker:variant:DesiredInstanceCount" || "custom-resource:ResourceType:Property" || "comprehend:document-classifier-endpoint:DesiredInferenceUnits" || "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" || "lambda:function:ProvisionedConcurrency" || "cassandra:table:ReadCapacityUnits" || "cassandra:table:WriteCapacityUnits" || "kafka:broker-storage:VolumeSize" || "elasticache:replication-group:NodeGroups" || "elasticache:replication-group:Replicas" || "neptune:cluster:ReadReplicaCount", // required
|
|
35
|
+
* };
|
|
30
36
|
* const command = new DeleteScheduledActionCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -31,6 +31,11 @@ export interface DeregisterScalableTargetCommandOutput extends DeregisterScalabl
|
|
|
31
31
|
* import { ApplicationAutoScalingClient, DeregisterScalableTargetCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
32
32
|
* // const { ApplicationAutoScalingClient, DeregisterScalableTargetCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
33
33
|
* const client = new ApplicationAutoScalingClient(config);
|
|
34
|
+
* const input = { // DeregisterScalableTargetRequest
|
|
35
|
+
* ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
36
|
+
* ResourceId: "STRING_VALUE", // required
|
|
37
|
+
* ScalableDimension: "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "elasticmapreduce:instancegroup:InstanceCount" || "appstream:fleet:DesiredCapacity" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits" || "rds:cluster:ReadReplicaCount" || "sagemaker:variant:DesiredInstanceCount" || "custom-resource:ResourceType:Property" || "comprehend:document-classifier-endpoint:DesiredInferenceUnits" || "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" || "lambda:function:ProvisionedConcurrency" || "cassandra:table:ReadCapacityUnits" || "cassandra:table:WriteCapacityUnits" || "kafka:broker-storage:VolumeSize" || "elasticache:replication-group:NodeGroups" || "elasticache:replication-group:Replicas" || "neptune:cluster:ReadReplicaCount", // required
|
|
38
|
+
* };
|
|
34
39
|
* const command = new DeregisterScalableTargetCommand(input);
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
@@ -28,6 +28,15 @@ export interface DescribeScalableTargetsCommandOutput extends DescribeScalableTa
|
|
|
28
28
|
* import { ApplicationAutoScalingClient, DescribeScalableTargetsCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
29
29
|
* // const { ApplicationAutoScalingClient, DescribeScalableTargetsCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
30
30
|
* const client = new ApplicationAutoScalingClient(config);
|
|
31
|
+
* const input = { // DescribeScalableTargetsRequest
|
|
32
|
+
* ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
33
|
+
* ResourceIds: [ // ResourceIdsMaxLen1600
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* ScalableDimension: "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "elasticmapreduce:instancegroup:InstanceCount" || "appstream:fleet:DesiredCapacity" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits" || "rds:cluster:ReadReplicaCount" || "sagemaker:variant:DesiredInstanceCount" || "custom-resource:ResourceType:Property" || "comprehend:document-classifier-endpoint:DesiredInferenceUnits" || "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" || "lambda:function:ProvisionedConcurrency" || "cassandra:table:ReadCapacityUnits" || "cassandra:table:WriteCapacityUnits" || "kafka:broker-storage:VolumeSize" || "elasticache:replication-group:NodeGroups" || "elasticache:replication-group:Replicas" || "neptune:cluster:ReadReplicaCount",
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
31
40
|
* const command = new DescribeScalableTargetsCommand(input);
|
|
32
41
|
* const response = await client.send(command);
|
|
33
42
|
* ```
|
|
@@ -30,6 +30,14 @@ export interface DescribeScalingActivitiesCommandOutput extends DescribeScalingA
|
|
|
30
30
|
* import { ApplicationAutoScalingClient, DescribeScalingActivitiesCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
31
31
|
* // const { ApplicationAutoScalingClient, DescribeScalingActivitiesCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
32
32
|
* const client = new ApplicationAutoScalingClient(config);
|
|
33
|
+
* const input = { // DescribeScalingActivitiesRequest
|
|
34
|
+
* ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
35
|
+
* ResourceId: "STRING_VALUE",
|
|
36
|
+
* ScalableDimension: "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "elasticmapreduce:instancegroup:InstanceCount" || "appstream:fleet:DesiredCapacity" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits" || "rds:cluster:ReadReplicaCount" || "sagemaker:variant:DesiredInstanceCount" || "custom-resource:ResourceType:Property" || "comprehend:document-classifier-endpoint:DesiredInferenceUnits" || "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" || "lambda:function:ProvisionedConcurrency" || "cassandra:table:ReadCapacityUnits" || "cassandra:table:WriteCapacityUnits" || "kafka:broker-storage:VolumeSize" || "elasticache:replication-group:NodeGroups" || "elasticache:replication-group:Replicas" || "neptune:cluster:ReadReplicaCount",
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* IncludeNotScaledActivities: true || false,
|
|
40
|
+
* };
|
|
33
41
|
* const command = new DescribeScalingActivitiesCommand(input);
|
|
34
42
|
* const response = await client.send(command);
|
|
35
43
|
* ```
|
|
@@ -29,6 +29,16 @@ export interface DescribeScalingPoliciesCommandOutput extends DescribeScalingPol
|
|
|
29
29
|
* import { ApplicationAutoScalingClient, DescribeScalingPoliciesCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
30
30
|
* // const { ApplicationAutoScalingClient, DescribeScalingPoliciesCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
31
31
|
* const client = new ApplicationAutoScalingClient(config);
|
|
32
|
+
* const input = { // DescribeScalingPoliciesRequest
|
|
33
|
+
* PolicyNames: [ // ResourceIdsMaxLen1600
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
37
|
+
* ResourceId: "STRING_VALUE",
|
|
38
|
+
* ScalableDimension: "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "elasticmapreduce:instancegroup:InstanceCount" || "appstream:fleet:DesiredCapacity" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits" || "rds:cluster:ReadReplicaCount" || "sagemaker:variant:DesiredInstanceCount" || "custom-resource:ResourceType:Property" || "comprehend:document-classifier-endpoint:DesiredInferenceUnits" || "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" || "lambda:function:ProvisionedConcurrency" || "cassandra:table:ReadCapacityUnits" || "cassandra:table:WriteCapacityUnits" || "kafka:broker-storage:VolumeSize" || "elasticache:replication-group:NodeGroups" || "elasticache:replication-group:Replicas" || "neptune:cluster:ReadReplicaCount",
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* NextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
32
42
|
* const command = new DescribeScalingPoliciesCommand(input);
|
|
33
43
|
* const response = await client.send(command);
|
|
34
44
|
* ```
|
|
@@ -30,6 +30,16 @@ export interface DescribeScheduledActionsCommandOutput extends DescribeScheduled
|
|
|
30
30
|
* import { ApplicationAutoScalingClient, DescribeScheduledActionsCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
31
31
|
* // const { ApplicationAutoScalingClient, DescribeScheduledActionsCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
32
32
|
* const client = new ApplicationAutoScalingClient(config);
|
|
33
|
+
* const input = { // DescribeScheduledActionsRequest
|
|
34
|
+
* ScheduledActionNames: [ // ResourceIdsMaxLen1600
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
38
|
+
* ResourceId: "STRING_VALUE",
|
|
39
|
+
* ScalableDimension: "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "elasticmapreduce:instancegroup:InstanceCount" || "appstream:fleet:DesiredCapacity" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits" || "rds:cluster:ReadReplicaCount" || "sagemaker:variant:DesiredInstanceCount" || "custom-resource:ResourceType:Property" || "comprehend:document-classifier-endpoint:DesiredInferenceUnits" || "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" || "lambda:function:ProvisionedConcurrency" || "cassandra:table:ReadCapacityUnits" || "cassandra:table:WriteCapacityUnits" || "kafka:broker-storage:VolumeSize" || "elasticache:replication-group:NodeGroups" || "elasticache:replication-group:Replicas" || "neptune:cluster:ReadReplicaCount",
|
|
40
|
+
* MaxResults: Number("int"),
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
33
43
|
* const command = new DescribeScheduledActionsCommand(input);
|
|
34
44
|
* const response = await client.send(command);
|
|
35
45
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
28
28
|
* import { ApplicationAutoScalingClient, ListTagsForResourceCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
29
29
|
* // const { ApplicationAutoScalingClient, ListTagsForResourceCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
30
30
|
* const client = new ApplicationAutoScalingClient(config);
|
|
31
|
+
* const input = { // ListTagsForResourceRequest
|
|
32
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new ListTagsForResourceCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -50,6 +50,70 @@ export interface PutScalingPolicyCommandOutput extends PutScalingPolicyResponse,
|
|
|
50
50
|
* import { ApplicationAutoScalingClient, PutScalingPolicyCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
51
51
|
* // const { ApplicationAutoScalingClient, PutScalingPolicyCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
52
52
|
* const client = new ApplicationAutoScalingClient(config);
|
|
53
|
+
* const input = { // PutScalingPolicyRequest
|
|
54
|
+
* PolicyName: "STRING_VALUE", // required
|
|
55
|
+
* ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
56
|
+
* ResourceId: "STRING_VALUE", // required
|
|
57
|
+
* ScalableDimension: "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "elasticmapreduce:instancegroup:InstanceCount" || "appstream:fleet:DesiredCapacity" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits" || "rds:cluster:ReadReplicaCount" || "sagemaker:variant:DesiredInstanceCount" || "custom-resource:ResourceType:Property" || "comprehend:document-classifier-endpoint:DesiredInferenceUnits" || "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" || "lambda:function:ProvisionedConcurrency" || "cassandra:table:ReadCapacityUnits" || "cassandra:table:WriteCapacityUnits" || "kafka:broker-storage:VolumeSize" || "elasticache:replication-group:NodeGroups" || "elasticache:replication-group:Replicas" || "neptune:cluster:ReadReplicaCount", // required
|
|
58
|
+
* PolicyType: "StepScaling" || "TargetTrackingScaling",
|
|
59
|
+
* StepScalingPolicyConfiguration: { // StepScalingPolicyConfiguration
|
|
60
|
+
* AdjustmentType: "ChangeInCapacity" || "PercentChangeInCapacity" || "ExactCapacity",
|
|
61
|
+
* StepAdjustments: [ // StepAdjustments
|
|
62
|
+
* { // StepAdjustment
|
|
63
|
+
* MetricIntervalLowerBound: Number("double"),
|
|
64
|
+
* MetricIntervalUpperBound: Number("double"),
|
|
65
|
+
* ScalingAdjustment: Number("int"), // required
|
|
66
|
+
* },
|
|
67
|
+
* ],
|
|
68
|
+
* MinAdjustmentMagnitude: Number("int"),
|
|
69
|
+
* Cooldown: Number("int"),
|
|
70
|
+
* MetricAggregationType: "Average" || "Minimum" || "Maximum",
|
|
71
|
+
* },
|
|
72
|
+
* TargetTrackingScalingPolicyConfiguration: { // TargetTrackingScalingPolicyConfiguration
|
|
73
|
+
* TargetValue: Number("double"), // required
|
|
74
|
+
* PredefinedMetricSpecification: { // PredefinedMetricSpecification
|
|
75
|
+
* PredefinedMetricType: "DynamoDBReadCapacityUtilization" || "DynamoDBWriteCapacityUtilization" || "ALBRequestCountPerTarget" || "RDSReaderAverageCPUUtilization" || "RDSReaderAverageDatabaseConnections" || "EC2SpotFleetRequestAverageCPUUtilization" || "EC2SpotFleetRequestAverageNetworkIn" || "EC2SpotFleetRequestAverageNetworkOut" || "SageMakerVariantInvocationsPerInstance" || "ECSServiceAverageCPUUtilization" || "ECSServiceAverageMemoryUtilization" || "AppStreamAverageCapacityUtilization" || "ComprehendInferenceUtilization" || "LambdaProvisionedConcurrencyUtilization" || "CassandraReadCapacityUtilization" || "CassandraWriteCapacityUtilization" || "KafkaBrokerStorageUtilization" || "ElastiCachePrimaryEngineCPUUtilization" || "ElastiCacheReplicaEngineCPUUtilization" || "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage" || "NeptuneReaderAverageCPUUtilization", // required
|
|
76
|
+
* ResourceLabel: "STRING_VALUE",
|
|
77
|
+
* },
|
|
78
|
+
* CustomizedMetricSpecification: { // CustomizedMetricSpecification
|
|
79
|
+
* MetricName: "STRING_VALUE",
|
|
80
|
+
* Namespace: "STRING_VALUE",
|
|
81
|
+
* Dimensions: [ // MetricDimensions
|
|
82
|
+
* { // MetricDimension
|
|
83
|
+
* Name: "STRING_VALUE", // required
|
|
84
|
+
* Value: "STRING_VALUE", // required
|
|
85
|
+
* },
|
|
86
|
+
* ],
|
|
87
|
+
* Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum",
|
|
88
|
+
* Unit: "STRING_VALUE",
|
|
89
|
+
* Metrics: [ // TargetTrackingMetricDataQueries
|
|
90
|
+
* { // TargetTrackingMetricDataQuery
|
|
91
|
+
* Expression: "STRING_VALUE",
|
|
92
|
+
* Id: "STRING_VALUE", // required
|
|
93
|
+
* Label: "STRING_VALUE",
|
|
94
|
+
* MetricStat: { // TargetTrackingMetricStat
|
|
95
|
+
* Metric: { // TargetTrackingMetric
|
|
96
|
+
* Dimensions: [ // TargetTrackingMetricDimensions
|
|
97
|
+
* { // TargetTrackingMetricDimension
|
|
98
|
+
* Name: "STRING_VALUE", // required
|
|
99
|
+
* Value: "STRING_VALUE", // required
|
|
100
|
+
* },
|
|
101
|
+
* ],
|
|
102
|
+
* MetricName: "STRING_VALUE",
|
|
103
|
+
* Namespace: "STRING_VALUE",
|
|
104
|
+
* },
|
|
105
|
+
* Stat: "STRING_VALUE", // required
|
|
106
|
+
* Unit: "STRING_VALUE",
|
|
107
|
+
* },
|
|
108
|
+
* ReturnData: true || false,
|
|
109
|
+
* },
|
|
110
|
+
* ],
|
|
111
|
+
* },
|
|
112
|
+
* ScaleOutCooldown: Number("int"),
|
|
113
|
+
* ScaleInCooldown: Number("int"),
|
|
114
|
+
* DisableScaleIn: true || false,
|
|
115
|
+
* },
|
|
116
|
+
* };
|
|
53
117
|
* const command = new PutScalingPolicyCommand(input);
|
|
54
118
|
* const response = await client.send(command);
|
|
55
119
|
* ```
|
|
@@ -40,6 +40,20 @@ export interface PutScheduledActionCommandOutput extends PutScheduledActionRespo
|
|
|
40
40
|
* import { ApplicationAutoScalingClient, PutScheduledActionCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
41
41
|
* // const { ApplicationAutoScalingClient, PutScheduledActionCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
42
42
|
* const client = new ApplicationAutoScalingClient(config);
|
|
43
|
+
* const input = { // PutScheduledActionRequest
|
|
44
|
+
* ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
45
|
+
* Schedule: "STRING_VALUE",
|
|
46
|
+
* Timezone: "STRING_VALUE",
|
|
47
|
+
* ScheduledActionName: "STRING_VALUE", // required
|
|
48
|
+
* ResourceId: "STRING_VALUE", // required
|
|
49
|
+
* ScalableDimension: "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "elasticmapreduce:instancegroup:InstanceCount" || "appstream:fleet:DesiredCapacity" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits" || "rds:cluster:ReadReplicaCount" || "sagemaker:variant:DesiredInstanceCount" || "custom-resource:ResourceType:Property" || "comprehend:document-classifier-endpoint:DesiredInferenceUnits" || "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" || "lambda:function:ProvisionedConcurrency" || "cassandra:table:ReadCapacityUnits" || "cassandra:table:WriteCapacityUnits" || "kafka:broker-storage:VolumeSize" || "elasticache:replication-group:NodeGroups" || "elasticache:replication-group:Replicas" || "neptune:cluster:ReadReplicaCount", // required
|
|
50
|
+
* StartTime: new Date("TIMESTAMP"),
|
|
51
|
+
* EndTime: new Date("TIMESTAMP"),
|
|
52
|
+
* ScalableTargetAction: { // ScalableTargetAction
|
|
53
|
+
* MinCapacity: Number("int"),
|
|
54
|
+
* MaxCapacity: Number("int"),
|
|
55
|
+
* },
|
|
56
|
+
* };
|
|
43
57
|
* const command = new PutScheduledActionCommand(input);
|
|
44
58
|
* const response = await client.send(command);
|
|
45
59
|
* ```
|
|
@@ -57,6 +57,22 @@ export interface RegisterScalableTargetCommandOutput extends RegisterScalableTar
|
|
|
57
57
|
* import { ApplicationAutoScalingClient, RegisterScalableTargetCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
58
58
|
* // const { ApplicationAutoScalingClient, RegisterScalableTargetCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
59
59
|
* const client = new ApplicationAutoScalingClient(config);
|
|
60
|
+
* const input = { // RegisterScalableTargetRequest
|
|
61
|
+
* ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
62
|
+
* ResourceId: "STRING_VALUE", // required
|
|
63
|
+
* ScalableDimension: "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "elasticmapreduce:instancegroup:InstanceCount" || "appstream:fleet:DesiredCapacity" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits" || "rds:cluster:ReadReplicaCount" || "sagemaker:variant:DesiredInstanceCount" || "custom-resource:ResourceType:Property" || "comprehend:document-classifier-endpoint:DesiredInferenceUnits" || "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" || "lambda:function:ProvisionedConcurrency" || "cassandra:table:ReadCapacityUnits" || "cassandra:table:WriteCapacityUnits" || "kafka:broker-storage:VolumeSize" || "elasticache:replication-group:NodeGroups" || "elasticache:replication-group:Replicas" || "neptune:cluster:ReadReplicaCount", // required
|
|
64
|
+
* MinCapacity: Number("int"),
|
|
65
|
+
* MaxCapacity: Number("int"),
|
|
66
|
+
* RoleARN: "STRING_VALUE",
|
|
67
|
+
* SuspendedState: { // SuspendedState
|
|
68
|
+
* DynamicScalingInSuspended: true || false,
|
|
69
|
+
* DynamicScalingOutSuspended: true || false,
|
|
70
|
+
* ScheduledScalingSuspended: true || false,
|
|
71
|
+
* },
|
|
72
|
+
* Tags: { // TagMap
|
|
73
|
+
* "<keys>": "STRING_VALUE",
|
|
74
|
+
* },
|
|
75
|
+
* };
|
|
60
76
|
* const command = new RegisterScalableTargetCommand(input);
|
|
61
77
|
* const response = await client.send(command);
|
|
62
78
|
* ```
|
|
@@ -37,6 +37,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
37
37
|
* import { ApplicationAutoScalingClient, TagResourceCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
38
38
|
* // const { ApplicationAutoScalingClient, TagResourceCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
39
39
|
* const client = new ApplicationAutoScalingClient(config);
|
|
40
|
+
* const input = { // TagResourceRequest
|
|
41
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
42
|
+
* Tags: { // TagMap // required
|
|
43
|
+
* "<keys>": "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* };
|
|
40
46
|
* const command = new TagResourceCommand(input);
|
|
41
47
|
* const response = await client.send(command);
|
|
42
48
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
27
27
|
* import { ApplicationAutoScalingClient, UntagResourceCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
28
28
|
* // const { ApplicationAutoScalingClient, UntagResourceCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
29
29
|
* const client = new ApplicationAutoScalingClient(config);
|
|
30
|
+
* const input = { // UntagResourceRequest
|
|
31
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
32
|
+
* TagKeys: [ // TagKeyList // required
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* };
|
|
30
36
|
* const command = new UntagResourceCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
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.301.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|