aws-sdk-applicationautoscaling 1.49.0 → 1.50.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a698d83407c3036835ab92d1123f7ad340187eb5bf65004cca720bab2542ccb2
|
4
|
+
data.tar.gz: 2e6e74075b1e4d855daef375b986236f5bfa5326920a0c0baf35efd45ce2d040
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e3f4b3a3645e9dd4ec8e329b2e6f149ff1638466e78c4602e4b32f909e424316c3fc057f269c485f44c5de4f598ff3ae61eab2e7d8600e57669e057b7744430
|
7
|
+
data.tar.gz: 29430154fe00ae5dff7589cef0cdb8b24b1112ac6137d967061c6390c6268f18b03d0b3439f830a9753c2dbbb0a8e5ef405c1f9558068680798bc38abc326281
|
@@ -344,8 +344,8 @@ module Aws::ApplicationAutoScaling
|
|
344
344
|
# but does not delete the CloudWatch alarm associated with the scaling
|
345
345
|
# policy, even if it no longer has an associated action.
|
346
346
|
#
|
347
|
-
# For more information, see [Delete a
|
348
|
-
# [Delete a
|
347
|
+
# For more information, see [Delete a step scaling policy][1] and
|
348
|
+
# [Delete a target tracking scaling policy][2] in the *Application Auto
|
349
349
|
# Scaling User Guide*.
|
350
350
|
#
|
351
351
|
#
|
@@ -524,12 +524,12 @@ module Aws::ApplicationAutoScaling
|
|
524
524
|
# Deletes the specified scheduled action for an Application Auto Scaling
|
525
525
|
# scalable target.
|
526
526
|
#
|
527
|
-
# For more information, see [Delete a
|
527
|
+
# For more information, see [Delete a scheduled action][1] in the
|
528
528
|
# *Application Auto Scaling User Guide*.
|
529
529
|
#
|
530
530
|
#
|
531
531
|
#
|
532
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/
|
532
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-additional-cli-commands.html#delete-scheduled-action
|
533
533
|
#
|
534
534
|
# @option params [required, String] :service_namespace
|
535
535
|
# The namespace of the AWS service that provides the resource. For a
|
@@ -872,8 +872,7 @@ module Aws::ApplicationAutoScaling
|
|
872
872
|
#
|
873
873
|
# @option params [Array<String>] :resource_ids
|
874
874
|
# The identifier of the resource associated with the scalable target.
|
875
|
-
# This string consists of the resource type and unique identifier.
|
876
|
-
# you specify a scalable dimension, you must also specify a resource ID.
|
875
|
+
# This string consists of the resource type and unique identifier.
|
877
876
|
#
|
878
877
|
# * ECS service - The resource type is `service` and the unique
|
879
878
|
# identifier is the cluster name and service name. Example:
|
@@ -1091,8 +1090,7 @@ module Aws::ApplicationAutoScaling
|
|
1091
1090
|
#
|
1092
1091
|
# @option params [String] :resource_id
|
1093
1092
|
# The identifier of the resource associated with the scaling activity.
|
1094
|
-
# This string consists of the resource type and unique identifier.
|
1095
|
-
# you specify a scalable dimension, you must also specify a resource ID.
|
1093
|
+
# This string consists of the resource type and unique identifier.
|
1096
1094
|
#
|
1097
1095
|
# * ECS service - The resource type is `service` and the unique
|
1098
1096
|
# identifier is the cluster name and service name. Example:
|
@@ -1305,8 +1303,8 @@ module Aws::ApplicationAutoScaling
|
|
1305
1303
|
# You can filter the results using `ResourceId`, `ScalableDimension`,
|
1306
1304
|
# and `PolicyNames`.
|
1307
1305
|
#
|
1308
|
-
# For more information, see [Target
|
1309
|
-
# [Step
|
1306
|
+
# For more information, see [Target tracking scaling policies][1] and
|
1307
|
+
# [Step scaling policies][2] in the *Application Auto Scaling User
|
1310
1308
|
# Guide*.
|
1311
1309
|
#
|
1312
1310
|
#
|
@@ -1324,8 +1322,7 @@ module Aws::ApplicationAutoScaling
|
|
1324
1322
|
#
|
1325
1323
|
# @option params [String] :resource_id
|
1326
1324
|
# The identifier of the resource associated with the scaling policy.
|
1327
|
-
# This string consists of the resource type and unique identifier.
|
1328
|
-
# you specify a scalable dimension, you must also specify a resource ID.
|
1325
|
+
# This string consists of the resource type and unique identifier.
|
1329
1326
|
#
|
1330
1327
|
# * ECS service - The resource type is `service` and the unique
|
1331
1328
|
# identifier is the cluster name and service name. Example:
|
@@ -1570,12 +1567,13 @@ module Aws::ApplicationAutoScaling
|
|
1570
1567
|
# You can filter the results using the `ResourceId`,
|
1571
1568
|
# `ScalableDimension`, and `ScheduledActionNames` parameters.
|
1572
1569
|
#
|
1573
|
-
# For more information, see [Scheduled
|
1574
|
-
# Auto Scaling User Guide*.
|
1570
|
+
# For more information, see [Scheduled scaling][1] and [Managing
|
1571
|
+
# scheduled scaling][2] in the *Application Auto Scaling User Guide*.
|
1575
1572
|
#
|
1576
1573
|
#
|
1577
1574
|
#
|
1578
1575
|
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html
|
1576
|
+
# [2]: https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-additional-cli-commands.html
|
1579
1577
|
#
|
1580
1578
|
# @option params [Array<String>] :scheduled_action_names
|
1581
1579
|
# The names of the scheduled actions to describe.
|
@@ -1587,8 +1585,7 @@ module Aws::ApplicationAutoScaling
|
|
1587
1585
|
#
|
1588
1586
|
# @option params [String] :resource_id
|
1589
1587
|
# The identifier of the resource associated with the scheduled action.
|
1590
|
-
# This string consists of the resource type and unique identifier.
|
1591
|
-
# you specify a scalable dimension, you must also specify a resource ID.
|
1588
|
+
# This string consists of the resource type and unique identifier.
|
1592
1589
|
#
|
1593
1590
|
# * ECS service - The resource type is `service` and the unique
|
1594
1591
|
# identifier is the cluster name and service name. Example:
|
@@ -1748,6 +1745,7 @@ module Aws::ApplicationAutoScaling
|
|
1748
1745
|
# resp.scheduled_actions[0].scheduled_action_arn #=> String
|
1749
1746
|
# resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka"
|
1750
1747
|
# resp.scheduled_actions[0].schedule #=> String
|
1748
|
+
# resp.scheduled_actions[0].timezone #=> String
|
1751
1749
|
# resp.scheduled_actions[0].resource_id #=> String
|
1752
1750
|
# resp.scheduled_actions[0].scalable_dimension #=> String, one of "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"
|
1753
1751
|
# resp.scheduled_actions[0].start_time #=> Time
|
@@ -1795,8 +1793,8 @@ module Aws::ApplicationAutoScaling
|
|
1795
1793
|
# be blocked. After the scale-in activity completes, the target tracking
|
1796
1794
|
# policy could instruct the scalable target to scale out again.
|
1797
1795
|
#
|
1798
|
-
# For more information, see [Target
|
1799
|
-
# [Step
|
1796
|
+
# For more information, see [Target tracking scaling policies][1] and
|
1797
|
+
# [Step scaling policies][2] in the *Application Auto Scaling User
|
1800
1798
|
# Guide*.
|
1801
1799
|
#
|
1802
1800
|
# <note markdown="1"> If a scalable target is deregistered, the scalable target is no longer
|
@@ -1952,8 +1950,8 @@ module Aws::ApplicationAutoScaling
|
|
1952
1950
|
# `StepScaling`—Not supported for DynamoDB, Amazon Comprehend, Lambda,
|
1953
1951
|
# Amazon Keyspaces (for Apache Cassandra), or Amazon MSK.
|
1954
1952
|
#
|
1955
|
-
# For more information, see [Target
|
1956
|
-
# [Step
|
1953
|
+
# For more information, see [Target tracking scaling policies][1] and
|
1954
|
+
# [Step scaling policies][2] in the *Application Auto Scaling User
|
1957
1955
|
# Guide*.
|
1958
1956
|
#
|
1959
1957
|
#
|
@@ -2088,14 +2086,14 @@ module Aws::ApplicationAutoScaling
|
|
2088
2086
|
# target.
|
2089
2087
|
#
|
2090
2088
|
# When start and end times are specified with a recurring schedule using
|
2091
|
-
# a cron expression or rates, they form the boundaries
|
2089
|
+
# a cron expression or rates, they form the boundaries for when the
|
2092
2090
|
# recurring action starts and stops.
|
2093
2091
|
#
|
2094
2092
|
# To update a scheduled action, specify the parameters that you want to
|
2095
2093
|
# change. If you don't specify start and end times, the old values are
|
2096
2094
|
# deleted.
|
2097
2095
|
#
|
2098
|
-
# For more information, see [Scheduled
|
2096
|
+
# For more information, see [Scheduled scaling][1] in the *Application
|
2099
2097
|
# Auto Scaling User Guide*.
|
2100
2098
|
#
|
2101
2099
|
# <note markdown="1"> If a scalable target is deregistered, the scalable target is no longer
|
@@ -2122,23 +2120,41 @@ module Aws::ApplicationAutoScaling
|
|
2122
2120
|
#
|
2123
2121
|
# * Cron expressions - "`cron(fields)`"
|
2124
2122
|
#
|
2125
|
-
# At expressions are useful for one-time schedules.
|
2126
|
-
#
|
2123
|
+
# At expressions are useful for one-time schedules. Cron expressions are
|
2124
|
+
# useful for scheduled actions that run periodically at a specified date
|
2125
|
+
# and time, and rate expressions are useful for scheduled actions that
|
2126
|
+
# run at a regular interval.
|
2127
2127
|
#
|
2128
|
-
#
|
2129
|
-
#
|
2128
|
+
# At and cron expressions use Universal Coordinated Time (UTC) by
|
2129
|
+
# default.
|
2130
2130
|
#
|
2131
|
-
#
|
2132
|
-
# cron format consists of six fields separated by white spaces:
|
2131
|
+
# The cron format consists of six fields separated by white spaces:
|
2133
2132
|
# \[Minutes\] \[Hours\] \[Day\_of\_Month\] \[Month\] \[Day\_of\_Week\]
|
2134
2133
|
# \[Year\].
|
2135
2134
|
#
|
2136
|
-
# For
|
2137
|
-
#
|
2135
|
+
# For rate expressions, *value* is a positive integer and *unit* is
|
2136
|
+
# `minute` \| `minutes` \| `hour` \| `hours` \| `day` \| `days`.
|
2137
|
+
#
|
2138
|
+
# For more information and examples, see [Example scheduled actions for
|
2139
|
+
# Application Auto Scaling][1] in the *Application Auto Scaling User
|
2140
|
+
# Guide*.
|
2141
|
+
#
|
2142
|
+
#
|
2143
|
+
#
|
2144
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/examples-scheduled-actions.html
|
2145
|
+
#
|
2146
|
+
# @option params [String] :timezone
|
2147
|
+
# Specifies the time zone used when setting a scheduled action by using
|
2148
|
+
# an at or cron expression. If a time zone is not provided, UTC is used
|
2149
|
+
# by default.
|
2150
|
+
#
|
2151
|
+
# Valid values are the canonical names of the IANA time zones supported
|
2152
|
+
# by Joda-Time (such as `Etc/GMT+9` or `Pacific/Tahiti`). For more
|
2153
|
+
# information, see [https://www.joda.org/joda-time/timezones.html][1].
|
2138
2154
|
#
|
2139
2155
|
#
|
2140
2156
|
#
|
2141
|
-
# [1]: https://
|
2157
|
+
# [1]: https://www.joda.org/joda-time/timezones.html
|
2142
2158
|
#
|
2143
2159
|
# @option params [required, String] :scheduled_action_name
|
2144
2160
|
# The name of the scheduled action. This name must be unique among all
|
@@ -2268,10 +2284,10 @@ module Aws::ApplicationAutoScaling
|
|
2268
2284
|
# GiB) for brokers in an Amazon MSK cluster.
|
2269
2285
|
#
|
2270
2286
|
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
2271
|
-
# The date and time for this scheduled action to start.
|
2287
|
+
# The date and time for this scheduled action to start, in UTC.
|
2272
2288
|
#
|
2273
2289
|
# @option params [Time,DateTime,Date,Integer,String] :end_time
|
2274
|
-
# The date and time for the recurring schedule to end.
|
2290
|
+
# The date and time for the recurring schedule to end, in UTC.
|
2275
2291
|
#
|
2276
2292
|
# @option params [Types::ScalableTargetAction] :scalable_target_action
|
2277
2293
|
# The new minimum and maximum capacity. You can set both values or just
|
@@ -2287,6 +2303,7 @@ module Aws::ApplicationAutoScaling
|
|
2287
2303
|
# resp = client.put_scheduled_action({
|
2288
2304
|
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
2289
2305
|
# schedule: "ResourceIdMaxLen1600",
|
2306
|
+
# timezone: "ResourceIdMaxLen1600",
|
2290
2307
|
# scheduled_action_name: "ScheduledActionName", # required
|
2291
2308
|
# resource_id: "ResourceIdMaxLen1600", # required
|
2292
2309
|
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts 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
|
@@ -2504,7 +2521,7 @@ module Aws::ApplicationAutoScaling
|
|
2504
2521
|
#
|
2505
2522
|
# If the service supports service-linked roles, Application Auto Scaling
|
2506
2523
|
# uses a service-linked role, which it creates if it does not yet exist.
|
2507
|
-
# For more information, see [Application Auto Scaling IAM
|
2524
|
+
# For more information, see [Application Auto Scaling IAM roles][1].
|
2508
2525
|
#
|
2509
2526
|
#
|
2510
2527
|
#
|
@@ -2530,7 +2547,7 @@ module Aws::ApplicationAutoScaling
|
|
2530
2547
|
# * For `ScheduledScalingSuspended`, while a suspension is in effect,
|
2531
2548
|
# all scaling activities that involve scheduled actions are suspended.
|
2532
2549
|
#
|
2533
|
-
# For more information, see [Suspending and
|
2550
|
+
# For more information, see [Suspending and resuming scaling][1] in the
|
2534
2551
|
# *Application Auto Scaling User Guide*.
|
2535
2552
|
#
|
2536
2553
|
#
|
@@ -2591,7 +2608,7 @@ module Aws::ApplicationAutoScaling
|
|
2591
2608
|
params: params,
|
2592
2609
|
config: config)
|
2593
2610
|
context[:gem_name] = 'aws-sdk-applicationautoscaling'
|
2594
|
-
context[:gem_version] = '1.
|
2611
|
+
context[:gem_version] = '1.50.0'
|
2595
2612
|
Seahorse::Client::Request.new(handlers, context)
|
2596
2613
|
end
|
2597
2614
|
|
@@ -216,6 +216,7 @@ module Aws::ApplicationAutoScaling
|
|
216
216
|
|
217
217
|
PutScheduledActionRequest.add_member(:service_namespace, Shapes::ShapeRef.new(shape: ServiceNamespace, required: true, location_name: "ServiceNamespace"))
|
218
218
|
PutScheduledActionRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: ResourceIdMaxLen1600, location_name: "Schedule"))
|
219
|
+
PutScheduledActionRequest.add_member(:timezone, Shapes::ShapeRef.new(shape: ResourceIdMaxLen1600, location_name: "Timezone"))
|
219
220
|
PutScheduledActionRequest.add_member(:scheduled_action_name, Shapes::ShapeRef.new(shape: ScheduledActionName, required: true, location_name: "ScheduledActionName"))
|
220
221
|
PutScheduledActionRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdMaxLen1600, required: true, location_name: "ResourceId"))
|
221
222
|
PutScheduledActionRequest.add_member(:scalable_dimension, Shapes::ShapeRef.new(shape: ScalableDimension, required: true, location_name: "ScalableDimension"))
|
@@ -288,6 +289,7 @@ module Aws::ApplicationAutoScaling
|
|
288
289
|
ScheduledAction.add_member(:scheduled_action_arn, Shapes::ShapeRef.new(shape: ResourceIdMaxLen1600, required: true, location_name: "ScheduledActionARN"))
|
289
290
|
ScheduledAction.add_member(:service_namespace, Shapes::ShapeRef.new(shape: ServiceNamespace, required: true, location_name: "ServiceNamespace"))
|
290
291
|
ScheduledAction.add_member(:schedule, Shapes::ShapeRef.new(shape: ResourceIdMaxLen1600, required: true, location_name: "Schedule"))
|
292
|
+
ScheduledAction.add_member(:timezone, Shapes::ShapeRef.new(shape: ResourceIdMaxLen1600, location_name: "Timezone"))
|
291
293
|
ScheduledAction.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdMaxLen1600, required: true, location_name: "ResourceId"))
|
292
294
|
ScheduledAction.add_member(:scalable_dimension, Shapes::ShapeRef.new(shape: ScalableDimension, location_name: "ScalableDimension"))
|
293
295
|
ScheduledAction.add_member(:start_time, Shapes::ShapeRef.new(shape: TimestampType, location_name: "StartTime"))
|
@@ -622,9 +622,7 @@ module Aws::ApplicationAutoScaling
|
|
622
622
|
#
|
623
623
|
# @!attribute [rw] resource_ids
|
624
624
|
# The identifier of the resource associated with the scalable target.
|
625
|
-
# This string consists of the resource type and unique identifier.
|
626
|
-
# you specify a scalable dimension, you must also specify a resource
|
627
|
-
# ID.
|
625
|
+
# This string consists of the resource type and unique identifier.
|
628
626
|
#
|
629
627
|
# * ECS service - The resource type is `service` and the unique
|
630
628
|
# identifier is the cluster name and service name. Example:
|
@@ -814,9 +812,7 @@ module Aws::ApplicationAutoScaling
|
|
814
812
|
#
|
815
813
|
# @!attribute [rw] resource_id
|
816
814
|
# The identifier of the resource associated with the scaling activity.
|
817
|
-
# This string consists of the resource type and unique identifier.
|
818
|
-
# you specify a scalable dimension, you must also specify a resource
|
819
|
-
# ID.
|
815
|
+
# This string consists of the resource type and unique identifier.
|
820
816
|
#
|
821
817
|
# * ECS service - The resource type is `service` and the unique
|
822
818
|
# identifier is the cluster name and service name. Example:
|
@@ -1010,9 +1006,7 @@ module Aws::ApplicationAutoScaling
|
|
1010
1006
|
#
|
1011
1007
|
# @!attribute [rw] resource_id
|
1012
1008
|
# The identifier of the resource associated with the scaling policy.
|
1013
|
-
# This string consists of the resource type and unique identifier.
|
1014
|
-
# you specify a scalable dimension, you must also specify a resource
|
1015
|
-
# ID.
|
1009
|
+
# This string consists of the resource type and unique identifier.
|
1016
1010
|
#
|
1017
1011
|
# * ECS service - The resource type is `service` and the unique
|
1018
1012
|
# identifier is the cluster name and service name. Example:
|
@@ -1207,9 +1201,7 @@ module Aws::ApplicationAutoScaling
|
|
1207
1201
|
#
|
1208
1202
|
# @!attribute [rw] resource_id
|
1209
1203
|
# The identifier of the resource associated with the scheduled action.
|
1210
|
-
# This string consists of the resource type and unique identifier.
|
1211
|
-
# you specify a scalable dimension, you must also specify a resource
|
1212
|
-
# ID.
|
1204
|
+
# This string consists of the resource type and unique identifier.
|
1213
1205
|
#
|
1214
1206
|
# * ECS service - The resource type is `service` and the unique
|
1215
1207
|
# identifier is the cluster name and service name. Example:
|
@@ -1428,11 +1420,11 @@ module Aws::ApplicationAutoScaling
|
|
1428
1420
|
end
|
1429
1421
|
|
1430
1422
|
# A per-account resource limit is exceeded. For more information, see
|
1431
|
-
# [Application Auto Scaling
|
1423
|
+
# [Application Auto Scaling service quotas][1].
|
1432
1424
|
#
|
1433
1425
|
#
|
1434
1426
|
#
|
1435
|
-
# [1]: https://docs.aws.amazon.com/
|
1427
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-limits.html
|
1436
1428
|
#
|
1437
1429
|
# @!attribute [rw] message
|
1438
1430
|
# @return [String]
|
@@ -1496,7 +1488,7 @@ module Aws::ApplicationAutoScaling
|
|
1496
1488
|
# Only the AWS services that you're using send metrics to Amazon
|
1497
1489
|
# CloudWatch. To determine whether a desired metric already exists by
|
1498
1490
|
# looking up its namespace and dimension using the CloudWatch metrics
|
1499
|
-
# dashboard in the console, follow the procedure in [Building
|
1491
|
+
# dashboard in the console, follow the procedure in [Building dashboards
|
1500
1492
|
# with CloudWatch][1] in the *Application Auto Scaling User Guide*.
|
1501
1493
|
#
|
1502
1494
|
#
|
@@ -1749,8 +1741,8 @@ module Aws::ApplicationAutoScaling
|
|
1749
1741
|
# `StepScaling`—Not supported for DynamoDB, Amazon Comprehend, Lambda,
|
1750
1742
|
# Amazon Keyspaces (for Apache Cassandra), or Amazon MSK.
|
1751
1743
|
#
|
1752
|
-
# For more information, see [Target
|
1753
|
-
# [Step
|
1744
|
+
# For more information, see [Target tracking scaling policies][1] and
|
1745
|
+
# [Step scaling policies][2] in the *Application Auto Scaling User
|
1754
1746
|
# Guide*.
|
1755
1747
|
#
|
1756
1748
|
#
|
@@ -1812,6 +1804,7 @@ module Aws::ApplicationAutoScaling
|
|
1812
1804
|
# {
|
1813
1805
|
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1814
1806
|
# schedule: "ResourceIdMaxLen1600",
|
1807
|
+
# timezone: "ResourceIdMaxLen1600",
|
1815
1808
|
# scheduled_action_name: "ScheduledActionName", # required
|
1816
1809
|
# resource_id: "ResourceIdMaxLen1600", # required
|
1817
1810
|
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts 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
|
@@ -1838,23 +1831,43 @@ module Aws::ApplicationAutoScaling
|
|
1838
1831
|
#
|
1839
1832
|
# * Cron expressions - "`cron(fields)`"
|
1840
1833
|
#
|
1841
|
-
# At expressions are useful for one-time schedules.
|
1842
|
-
#
|
1834
|
+
# At expressions are useful for one-time schedules. Cron expressions
|
1835
|
+
# are useful for scheduled actions that run periodically at a
|
1836
|
+
# specified date and time, and rate expressions are useful for
|
1837
|
+
# scheduled actions that run at a regular interval.
|
1843
1838
|
#
|
1844
|
-
#
|
1845
|
-
#
|
1839
|
+
# At and cron expressions use Universal Coordinated Time (UTC) by
|
1840
|
+
# default.
|
1846
1841
|
#
|
1847
|
-
#
|
1848
|
-
# cron format consists of six fields separated by white spaces:
|
1842
|
+
# The cron format consists of six fields separated by white spaces:
|
1849
1843
|
# \[Minutes\] \[Hours\] \[Day\_of\_Month\] \[Month\] \[Day\_of\_Week\]
|
1850
1844
|
# \[Year\].
|
1851
1845
|
#
|
1852
|
-
# For
|
1853
|
-
#
|
1846
|
+
# For rate expressions, *value* is a positive integer and *unit* is
|
1847
|
+
# `minute` \| `minutes` \| `hour` \| `hours` \| `day` \| `days`.
|
1848
|
+
#
|
1849
|
+
# For more information and examples, see [Example scheduled actions
|
1850
|
+
# for Application Auto Scaling][1] in the *Application Auto Scaling
|
1851
|
+
# User Guide*.
|
1852
|
+
#
|
1853
|
+
#
|
1854
1854
|
#
|
1855
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/examples-scheduled-actions.html
|
1856
|
+
# @return [String]
|
1857
|
+
#
|
1858
|
+
# @!attribute [rw] timezone
|
1859
|
+
# Specifies the time zone used when setting a scheduled action by
|
1860
|
+
# using an at or cron expression. If a time zone is not provided, UTC
|
1861
|
+
# is used by default.
|
1862
|
+
#
|
1863
|
+
# Valid values are the canonical names of the IANA time zones
|
1864
|
+
# supported by Joda-Time (such as `Etc/GMT+9` or `Pacific/Tahiti`).
|
1865
|
+
# For more information, see
|
1866
|
+
# [https://www.joda.org/joda-time/timezones.html][1].
|
1855
1867
|
#
|
1856
1868
|
#
|
1857
|
-
#
|
1869
|
+
#
|
1870
|
+
# [1]: https://www.joda.org/joda-time/timezones.html
|
1858
1871
|
# @return [String]
|
1859
1872
|
#
|
1860
1873
|
# @!attribute [rw] scheduled_action_name
|
@@ -1989,11 +2002,11 @@ module Aws::ApplicationAutoScaling
|
|
1989
2002
|
# @return [String]
|
1990
2003
|
#
|
1991
2004
|
# @!attribute [rw] start_time
|
1992
|
-
# The date and time for this scheduled action to start.
|
2005
|
+
# The date and time for this scheduled action to start, in UTC.
|
1993
2006
|
# @return [Time]
|
1994
2007
|
#
|
1995
2008
|
# @!attribute [rw] end_time
|
1996
|
-
# The date and time for the recurring schedule to end.
|
2009
|
+
# The date and time for the recurring schedule to end, in UTC.
|
1997
2010
|
# @return [Time]
|
1998
2011
|
#
|
1999
2012
|
# @!attribute [rw] scalable_target_action
|
@@ -2010,6 +2023,7 @@ module Aws::ApplicationAutoScaling
|
|
2010
2023
|
class PutScheduledActionRequest < Struct.new(
|
2011
2024
|
:service_namespace,
|
2012
2025
|
:schedule,
|
2026
|
+
:timezone,
|
2013
2027
|
:scheduled_action_name,
|
2014
2028
|
:resource_id,
|
2015
2029
|
:scalable_dimension,
|
@@ -2218,7 +2232,7 @@ module Aws::ApplicationAutoScaling
|
|
2218
2232
|
# If the service supports service-linked roles, Application Auto
|
2219
2233
|
# Scaling uses a service-linked role, which it creates if it does not
|
2220
2234
|
# yet exist. For more information, see [Application Auto Scaling IAM
|
2221
|
-
#
|
2235
|
+
# roles][1].
|
2222
2236
|
#
|
2223
2237
|
#
|
2224
2238
|
#
|
@@ -2246,7 +2260,7 @@ module Aws::ApplicationAutoScaling
|
|
2246
2260
|
# all scaling activities that involve scheduled actions are
|
2247
2261
|
# suspended.
|
2248
2262
|
#
|
2249
|
-
# For more information, see [Suspending and
|
2263
|
+
# For more information, see [Suspending and resuming scaling][1] in
|
2250
2264
|
# the *Application Auto Scaling User Guide*.
|
2251
2265
|
#
|
2252
2266
|
#
|
@@ -2882,23 +2896,34 @@ module Aws::ApplicationAutoScaling
|
|
2882
2896
|
#
|
2883
2897
|
# * Cron expressions - "`cron(fields)`"
|
2884
2898
|
#
|
2885
|
-
# At expressions are useful for one-time schedules.
|
2886
|
-
#
|
2899
|
+
# At expressions are useful for one-time schedules. Cron expressions
|
2900
|
+
# are useful for scheduled actions that run periodically at a
|
2901
|
+
# specified date and time, and rate expressions are useful for
|
2902
|
+
# scheduled actions that run at a regular interval.
|
2887
2903
|
#
|
2888
|
-
#
|
2889
|
-
#
|
2904
|
+
# At and cron expressions use Universal Coordinated Time (UTC) by
|
2905
|
+
# default.
|
2890
2906
|
#
|
2891
|
-
#
|
2892
|
-
# cron format consists of six fields separated by white spaces:
|
2907
|
+
# The cron format consists of six fields separated by white spaces:
|
2893
2908
|
# \[Minutes\] \[Hours\] \[Day\_of\_Month\] \[Month\] \[Day\_of\_Week\]
|
2894
2909
|
# \[Year\].
|
2895
2910
|
#
|
2896
|
-
# For
|
2897
|
-
#
|
2911
|
+
# For rate expressions, *value* is a positive integer and *unit* is
|
2912
|
+
# `minute` \| `minutes` \| `hour` \| `hours` \| `day` \| `days`.
|
2913
|
+
#
|
2914
|
+
# For more information and examples, see [Example scheduled actions
|
2915
|
+
# for Application Auto Scaling][1] in the *Application Auto Scaling
|
2916
|
+
# User Guide*.
|
2898
2917
|
#
|
2899
2918
|
#
|
2900
2919
|
#
|
2901
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/
|
2920
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/examples-scheduled-actions.html
|
2921
|
+
# @return [String]
|
2922
|
+
#
|
2923
|
+
# @!attribute [rw] timezone
|
2924
|
+
# The time zone used when referring to the date and time of a
|
2925
|
+
# scheduled action, when the scheduled action uses an at or cron
|
2926
|
+
# expression.
|
2902
2927
|
# @return [String]
|
2903
2928
|
#
|
2904
2929
|
# @!attribute [rw] resource_id
|
@@ -3028,11 +3053,11 @@ module Aws::ApplicationAutoScaling
|
|
3028
3053
|
# @return [String]
|
3029
3054
|
#
|
3030
3055
|
# @!attribute [rw] start_time
|
3031
|
-
# The date and time that the action is scheduled to begin.
|
3056
|
+
# The date and time that the action is scheduled to begin, in UTC.
|
3032
3057
|
# @return [Time]
|
3033
3058
|
#
|
3034
3059
|
# @!attribute [rw] end_time
|
3035
|
-
# The date and time that the action is scheduled to end.
|
3060
|
+
# The date and time that the action is scheduled to end, in UTC.
|
3036
3061
|
# @return [Time]
|
3037
3062
|
#
|
3038
3063
|
# @!attribute [rw] scalable_target_action
|
@@ -3055,6 +3080,7 @@ module Aws::ApplicationAutoScaling
|
|
3055
3080
|
:scheduled_action_arn,
|
3056
3081
|
:service_namespace,
|
3057
3082
|
:schedule,
|
3083
|
+
:timezone,
|
3058
3084
|
:resource_id,
|
3059
3085
|
:scalable_dimension,
|
3060
3086
|
:start_time,
|
@@ -3255,7 +3281,7 @@ module Aws::ApplicationAutoScaling
|
|
3255
3281
|
#
|
3256
3282
|
# * Amazon Keyspaces tables
|
3257
3283
|
#
|
3258
|
-
# * Amazon MSK
|
3284
|
+
# * Amazon MSK broker storage
|
3259
3285
|
# @return [Integer]
|
3260
3286
|
#
|
3261
3287
|
# @!attribute [rw] metric_aggregation_type
|
@@ -3411,7 +3437,7 @@ module Aws::ApplicationAutoScaling
|
|
3411
3437
|
#
|
3412
3438
|
# * Amazon Keyspaces tables
|
3413
3439
|
#
|
3414
|
-
# * Amazon MSK
|
3440
|
+
# * Amazon MSK broker storage
|
3415
3441
|
# @return [Integer]
|
3416
3442
|
#
|
3417
3443
|
# @!attribute [rw] scale_in_cooldown
|
@@ -3456,7 +3482,7 @@ module Aws::ApplicationAutoScaling
|
|
3456
3482
|
#
|
3457
3483
|
# * Amazon Keyspaces tables
|
3458
3484
|
#
|
3459
|
-
# * Amazon MSK
|
3485
|
+
# * Amazon MSK broker storage
|
3460
3486
|
# @return [Integer]
|
3461
3487
|
#
|
3462
3488
|
# @!attribute [rw] disable_scale_in
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-applicationautoscaling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.50.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.112.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|