aws-sdk-applicationautoscaling 1.59.0 → 1.76.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.
@@ -27,7 +27,11 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
- require 'aws-sdk-core/plugins/signature_v4.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
+ require 'aws-sdk-core/plugins/request_compression.rb'
32
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
33
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
34
+ require 'aws-sdk-core/plugins/sign.rb'
31
35
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
32
36
 
33
37
  Aws::Plugins::GlobalConfiguration.add_identifier(:applicationautoscaling)
@@ -73,8 +77,13 @@ module Aws::ApplicationAutoScaling
73
77
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
78
  add_plugin(Aws::Plugins::TransferEncoding)
75
79
  add_plugin(Aws::Plugins::HttpChecksum)
76
- add_plugin(Aws::Plugins::SignatureV4)
80
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
81
+ add_plugin(Aws::Plugins::RequestCompression)
82
+ add_plugin(Aws::Plugins::DefaultsMode)
83
+ add_plugin(Aws::Plugins::RecursionDetection)
84
+ add_plugin(Aws::Plugins::Sign)
77
85
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
86
+ add_plugin(Aws::ApplicationAutoScaling::Plugins::Endpoints)
78
87
 
79
88
  # @overload initialize(options)
80
89
  # @param [Hash] options
@@ -175,10 +184,18 @@ module Aws::ApplicationAutoScaling
175
184
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
176
185
  # a clock skew correction and retry requests with skewed client clocks.
177
186
  #
187
+ # @option options [String] :defaults_mode ("legacy")
188
+ # See {Aws::DefaultsModeConfiguration} for a list of the
189
+ # accepted modes and the configuration defaults that are included.
190
+ #
178
191
  # @option options [Boolean] :disable_host_prefix_injection (false)
179
192
  # Set to true to disable SDK automatically adding host prefix
180
193
  # to default service endpoint when available.
181
194
  #
195
+ # @option options [Boolean] :disable_request_compression (false)
196
+ # When set to 'true' the request body will not be compressed
197
+ # for supported operations.
198
+ #
182
199
  # @option options [String] :endpoint
183
200
  # The client endpoint is normally constructed from the `:region`
184
201
  # option. You should only configure an `:endpoint` when connecting
@@ -199,6 +216,10 @@ module Aws::ApplicationAutoScaling
199
216
  # @option options [Boolean] :endpoint_discovery (false)
200
217
  # When set to `true`, endpoint discovery will be enabled for operations when available.
201
218
  #
219
+ # @option options [Boolean] :ignore_configured_endpoint_urls
220
+ # Setting to true disables use of endpoint URLs provided via environment
221
+ # variables and the shared configuration file.
222
+ #
202
223
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
203
224
  # The log formatter.
204
225
  #
@@ -219,6 +240,11 @@ module Aws::ApplicationAutoScaling
219
240
  # Used when loading credentials from the shared credentials file
220
241
  # at HOME/.aws/credentials. When not specified, 'default' is used.
221
242
  #
243
+ # @option options [Integer] :request_min_compression_size_bytes (10240)
244
+ # The minimum size in bytes that triggers compression for request
245
+ # bodies. The value must be non-negative integer value between 0
246
+ # and 10485780 bytes inclusive.
247
+ #
222
248
  # @option options [Proc] :retry_backoff
223
249
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
224
250
  # This option is only used in the `legacy` retry mode.
@@ -264,6 +290,11 @@ module Aws::ApplicationAutoScaling
264
290
  # in the future.
265
291
  #
266
292
  #
293
+ # @option options [String] :sdk_ua_app_id
294
+ # A unique and opaque application ID that is appended to the
295
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
296
+ # maximum length of 50.
297
+ #
267
298
  # @option options [String] :secret_access_key
268
299
  #
269
300
  # @option options [String] :session_token
@@ -287,6 +318,19 @@ module Aws::ApplicationAutoScaling
287
318
  # ** Please note ** When response stubbing is enabled, no HTTP
288
319
  # requests are made, and retries are disabled.
289
320
  #
321
+ # @option options [Aws::TokenProvider] :token_provider
322
+ # A Bearer Token Provider. This can be an instance of any one of the
323
+ # following classes:
324
+ #
325
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
326
+ # tokens.
327
+ #
328
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
329
+ # access token generated from `aws login`.
330
+ #
331
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
332
+ # will be used to search for tokens configured for your profile in shared configuration files.
333
+ #
290
334
  # @option options [Boolean] :use_dualstack_endpoint
291
335
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
336
  # will be used if available.
@@ -300,6 +344,9 @@ module Aws::ApplicationAutoScaling
300
344
  # When `true`, request parameters are validated before
301
345
  # sending the request.
302
346
  #
347
+ # @option options [Aws::ApplicationAutoScaling::EndpointProvider] :endpoint_provider
348
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::ApplicationAutoScaling::EndpointParameters`
349
+ #
303
350
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
304
351
  # requests through. Formatted like 'http://proxy.com:123'.
305
352
  #
@@ -307,7 +354,7 @@ module Aws::ApplicationAutoScaling
307
354
  # seconds to wait when opening a HTTP session before raising a
308
355
  # `Timeout::Error`.
309
356
  #
310
- # @option options [Integer] :http_read_timeout (60) The default
357
+ # @option options [Float] :http_read_timeout (60) The default
311
358
  # number of seconds to wait for response data. This value can
312
359
  # safely be set per-request on the session.
313
360
  #
@@ -323,6 +370,9 @@ module Aws::ApplicationAutoScaling
323
370
  # disables this behaviour. This value can safely be set per
324
371
  # request on the session.
325
372
  #
373
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
374
+ # in seconds.
375
+ #
326
376
  # @option options [Boolean] :http_wire_trace (false) When `true`,
327
377
  # HTTP debug output will be sent to the `:logger`.
328
378
  #
@@ -440,6 +490,10 @@ module Aws::ApplicationAutoScaling
440
490
  # * Neptune cluster - The resource type is `cluster` and the unique
441
491
  # identifier is the cluster name. Example: `cluster:mycluster`.
442
492
  #
493
+ # * SageMaker Serverless endpoint - The resource type is `variant` and
494
+ # the unique identifier is the resource ID. Example:
495
+ # `endpoint/my-end-point/variant/KMeansClustering`.
496
+ #
443
497
  #
444
498
  #
445
499
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -477,7 +531,7 @@ module Aws::ApplicationAutoScaling
477
531
  # Aurora PostgreSQL-compatible edition.
478
532
  #
479
533
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
480
- # instances for an SageMaker model endpoint variant.
534
+ # instances for a SageMaker model endpoint variant.
481
535
  #
482
536
  # * `custom-resource:ResourceType:Property` - The scalable dimension for
483
537
  # a custom resource provided by your own application or service.
@@ -511,6 +565,9 @@ module Aws::ApplicationAutoScaling
511
565
  # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
512
566
  # an Amazon Neptune DB cluster.
513
567
  #
568
+ # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
569
+ # concurrency for a SageMaker Serverless endpoint.
570
+ #
514
571
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
515
572
  #
516
573
  #
@@ -536,7 +593,7 @@ module Aws::ApplicationAutoScaling
536
593
  # policy_name: "ResourceIdMaxLen1600", # required
537
594
  # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
538
595
  # resource_id: "ResourceIdMaxLen1600", # required
539
- # 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, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
596
+ # 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, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount, sagemaker:variant:DesiredProvisionedConcurrency
540
597
  # })
541
598
  #
542
599
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy AWS API Documentation
@@ -634,6 +691,10 @@ module Aws::ApplicationAutoScaling
634
691
  # * Neptune cluster - The resource type is `cluster` and the unique
635
692
  # identifier is the cluster name. Example: `cluster:mycluster`.
636
693
  #
694
+ # * SageMaker Serverless endpoint - The resource type is `variant` and
695
+ # the unique identifier is the resource ID. Example:
696
+ # `endpoint/my-end-point/variant/KMeansClustering`.
697
+ #
637
698
  #
638
699
  #
639
700
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -671,7 +732,7 @@ module Aws::ApplicationAutoScaling
671
732
  # Aurora PostgreSQL-compatible edition.
672
733
  #
673
734
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
674
- # instances for an SageMaker model endpoint variant.
735
+ # instances for a SageMaker model endpoint variant.
675
736
  #
676
737
  # * `custom-resource:ResourceType:Property` - The scalable dimension for
677
738
  # a custom resource provided by your own application or service.
@@ -705,15 +766,34 @@ module Aws::ApplicationAutoScaling
705
766
  # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
706
767
  # an Amazon Neptune DB cluster.
707
768
  #
769
+ # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
770
+ # concurrency for a SageMaker Serverless endpoint.
771
+ #
708
772
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
709
773
  #
774
+ #
775
+ # @example Example: To delete a scheduled action
776
+ #
777
+ # # This example deletes a scheduled action for the AppStream 2.0 fleet called sample-fleet.
778
+ #
779
+ # resp = client.delete_scheduled_action({
780
+ # resource_id: "fleet/sample-fleet",
781
+ # scalable_dimension: "appstream:fleet:DesiredCapacity",
782
+ # scheduled_action_name: "my-recurring-action",
783
+ # service_namespace: "appstream",
784
+ # })
785
+ #
786
+ # resp.to_h outputs the following:
787
+ # {
788
+ # }
789
+ #
710
790
  # @example Request syntax with placeholder values
711
791
  #
712
792
  # resp = client.delete_scheduled_action({
713
793
  # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
714
794
  # scheduled_action_name: "ResourceIdMaxLen1600", # required
715
795
  # resource_id: "ResourceIdMaxLen1600", # required
716
- # 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, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
796
+ # 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, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount, sagemaker:variant:DesiredProvisionedConcurrency
717
797
  # })
718
798
  #
719
799
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction AWS API Documentation
@@ -811,6 +891,10 @@ module Aws::ApplicationAutoScaling
811
891
  # * Neptune cluster - The resource type is `cluster` and the unique
812
892
  # identifier is the cluster name. Example: `cluster:mycluster`.
813
893
  #
894
+ # * SageMaker Serverless endpoint - The resource type is `variant` and
895
+ # the unique identifier is the resource ID. Example:
896
+ # `endpoint/my-end-point/variant/KMeansClustering`.
897
+ #
814
898
  #
815
899
  #
816
900
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -849,7 +933,7 @@ module Aws::ApplicationAutoScaling
849
933
  # Aurora PostgreSQL-compatible edition.
850
934
  #
851
935
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
852
- # instances for an SageMaker model endpoint variant.
936
+ # instances for a SageMaker model endpoint variant.
853
937
  #
854
938
  # * `custom-resource:ResourceType:Property` - The scalable dimension for
855
939
  # a custom resource provided by your own application or service.
@@ -883,6 +967,9 @@ module Aws::ApplicationAutoScaling
883
967
  # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
884
968
  # an Amazon Neptune DB cluster.
885
969
  #
970
+ # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
971
+ # concurrency for a SageMaker Serverless endpoint.
972
+ #
886
973
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
887
974
  #
888
975
  #
@@ -906,7 +993,7 @@ module Aws::ApplicationAutoScaling
906
993
  # resp = client.deregister_scalable_target({
907
994
  # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
908
995
  # resource_id: "ResourceIdMaxLen1600", # required
909
- # 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, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
996
+ # 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, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount, sagemaker:variant:DesiredProvisionedConcurrency
910
997
  # })
911
998
  #
912
999
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget AWS API Documentation
@@ -997,6 +1084,10 @@ module Aws::ApplicationAutoScaling
997
1084
  # * Neptune cluster - The resource type is `cluster` and the unique
998
1085
  # identifier is the cluster name. Example: `cluster:mycluster`.
999
1086
  #
1087
+ # * SageMaker Serverless endpoint - The resource type is `variant` and
1088
+ # the unique identifier is the resource ID. Example:
1089
+ # `endpoint/my-end-point/variant/KMeansClustering`.
1090
+ #
1000
1091
  #
1001
1092
  #
1002
1093
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1036,7 +1127,7 @@ module Aws::ApplicationAutoScaling
1036
1127
  # Aurora PostgreSQL-compatible edition.
1037
1128
  #
1038
1129
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
1039
- # instances for an SageMaker model endpoint variant.
1130
+ # instances for a SageMaker model endpoint variant.
1040
1131
  #
1041
1132
  # * `custom-resource:ResourceType:Property` - The scalable dimension for
1042
1133
  # a custom resource provided by your own application or service.
@@ -1070,6 +1161,9 @@ module Aws::ApplicationAutoScaling
1070
1161
  # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
1071
1162
  # an Amazon Neptune DB cluster.
1072
1163
  #
1164
+ # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
1165
+ # concurrency for a SageMaker Serverless endpoint.
1166
+ #
1073
1167
  # @option params [Integer] :max_results
1074
1168
  # The maximum number of scalable targets. This value can be between 1
1075
1169
  # and 50. The default value is 50.
@@ -1124,7 +1218,7 @@ module Aws::ApplicationAutoScaling
1124
1218
  # resp = client.describe_scalable_targets({
1125
1219
  # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
1126
1220
  # resource_ids: ["ResourceIdMaxLen1600"],
1127
- # scalable_dimension: "ecs:service:DesiredCount", # 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, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
1221
+ # scalable_dimension: "ecs:service:DesiredCount", # 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, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount, sagemaker:variant:DesiredProvisionedConcurrency
1128
1222
  # max_results: 1,
1129
1223
  # next_token: "XmlString",
1130
1224
  # })
@@ -1134,7 +1228,7 @@ module Aws::ApplicationAutoScaling
1134
1228
  # resp.scalable_targets #=> Array
1135
1229
  # resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune"
1136
1230
  # resp.scalable_targets[0].resource_id #=> String
1137
- # resp.scalable_targets[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", "elasticache:replication-group:NodeGroups", "elasticache:replication-group:Replicas", "neptune:cluster:ReadReplicaCount"
1231
+ # resp.scalable_targets[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", "elasticache:replication-group:NodeGroups", "elasticache:replication-group:Replicas", "neptune:cluster:ReadReplicaCount", "sagemaker:variant:DesiredProvisionedConcurrency"
1138
1232
  # resp.scalable_targets[0].min_capacity #=> Integer
1139
1233
  # resp.scalable_targets[0].max_capacity #=> Integer
1140
1234
  # resp.scalable_targets[0].role_arn #=> String
@@ -1142,6 +1236,7 @@ module Aws::ApplicationAutoScaling
1142
1236
  # resp.scalable_targets[0].suspended_state.dynamic_scaling_in_suspended #=> Boolean
1143
1237
  # resp.scalable_targets[0].suspended_state.dynamic_scaling_out_suspended #=> Boolean
1144
1238
  # resp.scalable_targets[0].suspended_state.scheduled_scaling_suspended #=> Boolean
1239
+ # resp.scalable_targets[0].scalable_target_arn #=> String
1145
1240
  # resp.next_token #=> String
1146
1241
  #
1147
1242
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalableTargets AWS API Documentation
@@ -1158,6 +1253,14 @@ module Aws::ApplicationAutoScaling
1158
1253
  #
1159
1254
  # You can filter the results using `ResourceId` and `ScalableDimension`.
1160
1255
  #
1256
+ # For information about viewing scaling activities using the Amazon Web
1257
+ # Services CLI, see [Scaling activities for Application Auto
1258
+ # Scaling][1].
1259
+ #
1260
+ #
1261
+ #
1262
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scaling-activities.html
1263
+ #
1161
1264
  # @option params [required, String] :service_namespace
1162
1265
  # The namespace of the Amazon Web Services service that provides the
1163
1266
  # resource. For a resource provided by your own application or service,
@@ -1231,6 +1334,10 @@ module Aws::ApplicationAutoScaling
1231
1334
  # * Neptune cluster - The resource type is `cluster` and the unique
1232
1335
  # identifier is the cluster name. Example: `cluster:mycluster`.
1233
1336
  #
1337
+ # * SageMaker Serverless endpoint - The resource type is `variant` and
1338
+ # the unique identifier is the resource ID. Example:
1339
+ # `endpoint/my-end-point/variant/KMeansClustering`.
1340
+ #
1234
1341
  #
1235
1342
  #
1236
1343
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1269,7 +1376,7 @@ module Aws::ApplicationAutoScaling
1269
1376
  # Aurora PostgreSQL-compatible edition.
1270
1377
  #
1271
1378
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
1272
- # instances for an SageMaker model endpoint variant.
1379
+ # instances for a SageMaker model endpoint variant.
1273
1380
  #
1274
1381
  # * `custom-resource:ResourceType:Property` - The scalable dimension for
1275
1382
  # a custom resource provided by your own application or service.
@@ -1303,6 +1410,9 @@ module Aws::ApplicationAutoScaling
1303
1410
  # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
1304
1411
  # an Amazon Neptune DB cluster.
1305
1412
  #
1413
+ # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
1414
+ # concurrency for a SageMaker Serverless endpoint.
1415
+ #
1306
1416
  # @option params [Integer] :max_results
1307
1417
  # The maximum number of scalable targets. This value can be between 1
1308
1418
  # and 50. The default value is 50.
@@ -1316,6 +1426,18 @@ module Aws::ApplicationAutoScaling
1316
1426
  # @option params [String] :next_token
1317
1427
  # The token for the next set of results.
1318
1428
  #
1429
+ # @option params [Boolean] :include_not_scaled_activities
1430
+ # Specifies whether to include activities that aren't scaled (*not
1431
+ # scaled activities*) in the response. Not scaled activities are
1432
+ # activities that aren't completed or started for various reasons, such
1433
+ # as preventing infinite scaling loops. For help interpreting the not
1434
+ # scaled reason details in the response, see [Scaling activities for
1435
+ # Application Auto Scaling][1].
1436
+ #
1437
+ #
1438
+ #
1439
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scaling-activities.html
1440
+ #
1319
1441
  # @return [Types::DescribeScalingActivitiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1320
1442
  #
1321
1443
  # * {Types::DescribeScalingActivitiesResponse#scaling_activities #scaling_activities} => Array&lt;Types::ScalingActivity&gt;
@@ -1358,9 +1480,10 @@ module Aws::ApplicationAutoScaling
1358
1480
  # resp = client.describe_scaling_activities({
1359
1481
  # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
1360
1482
  # resource_id: "ResourceIdMaxLen1600",
1361
- # scalable_dimension: "ecs:service:DesiredCount", # 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, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
1483
+ # scalable_dimension: "ecs:service:DesiredCount", # 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, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount, sagemaker:variant:DesiredProvisionedConcurrency
1362
1484
  # max_results: 1,
1363
1485
  # next_token: "XmlString",
1486
+ # include_not_scaled_activities: false,
1364
1487
  # })
1365
1488
  #
1366
1489
  # @example Response structure
@@ -1369,7 +1492,7 @@ module Aws::ApplicationAutoScaling
1369
1492
  # resp.scaling_activities[0].activity_id #=> String
1370
1493
  # resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune"
1371
1494
  # resp.scaling_activities[0].resource_id #=> String
1372
- # resp.scaling_activities[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", "elasticache:replication-group:NodeGroups", "elasticache:replication-group:Replicas", "neptune:cluster:ReadReplicaCount"
1495
+ # resp.scaling_activities[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", "elasticache:replication-group:NodeGroups", "elasticache:replication-group:Replicas", "neptune:cluster:ReadReplicaCount", "sagemaker:variant:DesiredProvisionedConcurrency"
1373
1496
  # resp.scaling_activities[0].description #=> String
1374
1497
  # resp.scaling_activities[0].cause #=> String
1375
1498
  # resp.scaling_activities[0].start_time #=> Time
@@ -1377,6 +1500,11 @@ module Aws::ApplicationAutoScaling
1377
1500
  # resp.scaling_activities[0].status_code #=> String, one of "Pending", "InProgress", "Successful", "Overridden", "Unfulfilled", "Failed"
1378
1501
  # resp.scaling_activities[0].status_message #=> String
1379
1502
  # resp.scaling_activities[0].details #=> String
1503
+ # resp.scaling_activities[0].not_scaled_reasons #=> Array
1504
+ # resp.scaling_activities[0].not_scaled_reasons[0].code #=> String
1505
+ # resp.scaling_activities[0].not_scaled_reasons[0].max_capacity #=> Integer
1506
+ # resp.scaling_activities[0].not_scaled_reasons[0].min_capacity #=> Integer
1507
+ # resp.scaling_activities[0].not_scaled_reasons[0].current_capacity #=> Integer
1380
1508
  # resp.next_token #=> String
1381
1509
  #
1382
1510
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingActivities AWS API Documentation
@@ -1479,6 +1607,10 @@ module Aws::ApplicationAutoScaling
1479
1607
  # * Neptune cluster - The resource type is `cluster` and the unique
1480
1608
  # identifier is the cluster name. Example: `cluster:mycluster`.
1481
1609
  #
1610
+ # * SageMaker Serverless endpoint - The resource type is `variant` and
1611
+ # the unique identifier is the resource ID. Example:
1612
+ # `endpoint/my-end-point/variant/KMeansClustering`.
1613
+ #
1482
1614
  #
1483
1615
  #
1484
1616
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1517,7 +1649,7 @@ module Aws::ApplicationAutoScaling
1517
1649
  # Aurora PostgreSQL-compatible edition.
1518
1650
  #
1519
1651
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
1520
- # instances for an SageMaker model endpoint variant.
1652
+ # instances for a SageMaker model endpoint variant.
1521
1653
  #
1522
1654
  # * `custom-resource:ResourceType:Property` - The scalable dimension for
1523
1655
  # a custom resource provided by your own application or service.
@@ -1551,6 +1683,9 @@ module Aws::ApplicationAutoScaling
1551
1683
  # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
1552
1684
  # an Amazon Neptune DB cluster.
1553
1685
  #
1686
+ # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
1687
+ # concurrency for a SageMaker Serverless endpoint.
1688
+ #
1554
1689
  # @option params [Integer] :max_results
1555
1690
  # The maximum number of scalable targets. This value can be between 1
1556
1691
  # and 10. The default value is 10.
@@ -1618,7 +1753,7 @@ module Aws::ApplicationAutoScaling
1618
1753
  # policy_names: ["ResourceIdMaxLen1600"],
1619
1754
  # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
1620
1755
  # resource_id: "ResourceIdMaxLen1600",
1621
- # scalable_dimension: "ecs:service:DesiredCount", # 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, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
1756
+ # scalable_dimension: "ecs:service:DesiredCount", # 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, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount, sagemaker:variant:DesiredProvisionedConcurrency
1622
1757
  # max_results: 1,
1623
1758
  # next_token: "XmlString",
1624
1759
  # })
@@ -1630,7 +1765,7 @@ module Aws::ApplicationAutoScaling
1630
1765
  # resp.scaling_policies[0].policy_name #=> String
1631
1766
  # resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune"
1632
1767
  # resp.scaling_policies[0].resource_id #=> String
1633
- # resp.scaling_policies[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", "elasticache:replication-group:NodeGroups", "elasticache:replication-group:Replicas", "neptune:cluster:ReadReplicaCount"
1768
+ # resp.scaling_policies[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", "elasticache:replication-group:NodeGroups", "elasticache:replication-group:Replicas", "neptune:cluster:ReadReplicaCount", "sagemaker:variant:DesiredProvisionedConcurrency"
1634
1769
  # resp.scaling_policies[0].policy_type #=> String, one of "StepScaling", "TargetTrackingScaling"
1635
1770
  # resp.scaling_policies[0].step_scaling_policy_configuration.adjustment_type #=> String, one of "ChangeInCapacity", "PercentChangeInCapacity", "ExactCapacity"
1636
1771
  # resp.scaling_policies[0].step_scaling_policy_configuration.step_adjustments #=> Array
@@ -1641,7 +1776,7 @@ module Aws::ApplicationAutoScaling
1641
1776
  # resp.scaling_policies[0].step_scaling_policy_configuration.cooldown #=> Integer
1642
1777
  # resp.scaling_policies[0].step_scaling_policy_configuration.metric_aggregation_type #=> String, one of "Average", "Minimum", "Maximum"
1643
1778
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
1644
- # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.predefined_metric_type #=> String, one of "DynamoDBReadCapacityUtilization", "DynamoDBWriteCapacityUtilization", "ALBRequestCountPerTarget", "RDSReaderAverageCPUUtilization", "RDSReaderAverageDatabaseConnections", "EC2SpotFleetRequestAverageCPUUtilization", "EC2SpotFleetRequestAverageNetworkIn", "EC2SpotFleetRequestAverageNetworkOut", "SageMakerVariantInvocationsPerInstance", "ECSServiceAverageCPUUtilization", "ECSServiceAverageMemoryUtilization", "AppStreamAverageCapacityUtilization", "ComprehendInferenceUtilization", "LambdaProvisionedConcurrencyUtilization", "CassandraReadCapacityUtilization", "CassandraWriteCapacityUtilization", "KafkaBrokerStorageUtilization", "ElastiCachePrimaryEngineCPUUtilization", "ElastiCacheReplicaEngineCPUUtilization", "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage", "NeptuneReaderAverageCPUUtilization"
1779
+ # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.predefined_metric_type #=> String, one of "DynamoDBReadCapacityUtilization", "DynamoDBWriteCapacityUtilization", "ALBRequestCountPerTarget", "RDSReaderAverageCPUUtilization", "RDSReaderAverageDatabaseConnections", "EC2SpotFleetRequestAverageCPUUtilization", "EC2SpotFleetRequestAverageNetworkIn", "EC2SpotFleetRequestAverageNetworkOut", "SageMakerVariantInvocationsPerInstance", "ECSServiceAverageCPUUtilization", "ECSServiceAverageMemoryUtilization", "AppStreamAverageCapacityUtilization", "ComprehendInferenceUtilization", "LambdaProvisionedConcurrencyUtilization", "CassandraReadCapacityUtilization", "CassandraWriteCapacityUtilization", "KafkaBrokerStorageUtilization", "ElastiCachePrimaryEngineCPUUtilization", "ElastiCacheReplicaEngineCPUUtilization", "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage", "NeptuneReaderAverageCPUUtilization", "SageMakerVariantProvisionedConcurrencyUtilization", "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage"
1645
1780
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.resource_label #=> String
1646
1781
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metric_name #=> String
1647
1782
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.namespace #=> String
@@ -1650,6 +1785,18 @@ module Aws::ApplicationAutoScaling
1650
1785
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.dimensions[0].value #=> String
1651
1786
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.statistic #=> String, one of "Average", "Minimum", "Maximum", "SampleCount", "Sum"
1652
1787
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.unit #=> String
1788
+ # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metrics #=> Array
1789
+ # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metrics[0].expression #=> String
1790
+ # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metrics[0].id #=> String
1791
+ # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metrics[0].label #=> String
1792
+ # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metrics[0].metric_stat.metric.dimensions #=> Array
1793
+ # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metrics[0].metric_stat.metric.dimensions[0].name #=> String
1794
+ # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metrics[0].metric_stat.metric.dimensions[0].value #=> String
1795
+ # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metrics[0].metric_stat.metric.metric_name #=> String
1796
+ # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metrics[0].metric_stat.metric.namespace #=> String
1797
+ # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metrics[0].metric_stat.stat #=> String
1798
+ # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metrics[0].metric_stat.unit #=> String
1799
+ # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metrics[0].return_data #=> Boolean
1653
1800
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
1654
1801
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
1655
1802
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.disable_scale_in #=> Boolean
@@ -1758,6 +1905,10 @@ module Aws::ApplicationAutoScaling
1758
1905
  # * Neptune cluster - The resource type is `cluster` and the unique
1759
1906
  # identifier is the cluster name. Example: `cluster:mycluster`.
1760
1907
  #
1908
+ # * SageMaker Serverless endpoint - The resource type is `variant` and
1909
+ # the unique identifier is the resource ID. Example:
1910
+ # `endpoint/my-end-point/variant/KMeansClustering`.
1911
+ #
1761
1912
  #
1762
1913
  #
1763
1914
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1796,7 +1947,7 @@ module Aws::ApplicationAutoScaling
1796
1947
  # Aurora PostgreSQL-compatible edition.
1797
1948
  #
1798
1949
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
1799
- # instances for an SageMaker model endpoint variant.
1950
+ # instances for a SageMaker model endpoint variant.
1800
1951
  #
1801
1952
  # * `custom-resource:ResourceType:Property` - The scalable dimension for
1802
1953
  # a custom resource provided by your own application or service.
@@ -1830,6 +1981,9 @@ module Aws::ApplicationAutoScaling
1830
1981
  # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
1831
1982
  # an Amazon Neptune DB cluster.
1832
1983
  #
1984
+ # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
1985
+ # concurrency for a SageMaker Serverless endpoint.
1986
+ #
1833
1987
  # @option params [Integer] :max_results
1834
1988
  # The maximum number of scheduled action results. This value can be
1835
1989
  # between 1 and 50. The default value is 50.
@@ -1850,13 +2004,54 @@ module Aws::ApplicationAutoScaling
1850
2004
  #
1851
2005
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1852
2006
  #
2007
+ #
2008
+ # @example Example: To describe scheduled actions
2009
+ #
2010
+ # # This example describes the scheduled actions for the dynamodb service namespace.
2011
+ #
2012
+ # resp = client.describe_scheduled_actions({
2013
+ # service_namespace: "dynamodb",
2014
+ # })
2015
+ #
2016
+ # resp.to_h outputs the following:
2017
+ # {
2018
+ # scheduled_actions: [
2019
+ # {
2020
+ # creation_time: Time.parse(1561571888.361),
2021
+ # resource_id: "table/my-table",
2022
+ # scalable_dimension: "dynamodb:table:WriteCapacityUnits",
2023
+ # scalable_target_action: {
2024
+ # max_capacity: 20,
2025
+ # min_capacity: 15,
2026
+ # },
2027
+ # schedule: "at(2019-05-20T18:35:00)",
2028
+ # scheduled_action_arn: "arn:aws:autoscaling:us-west-2:123456789012:scheduledAction:2d36aa3b-cdf9-4565-b290-81db519b227d:resource/dynamodb/table/my-table:scheduledActionName/my-first-scheduled-action",
2029
+ # scheduled_action_name: "my-first-scheduled-action",
2030
+ # service_namespace: "dynamodb",
2031
+ # },
2032
+ # {
2033
+ # creation_time: Time.parse(1561571946.021),
2034
+ # resource_id: "table/my-table",
2035
+ # scalable_dimension: "dynamodb:table:WriteCapacityUnits",
2036
+ # scalable_target_action: {
2037
+ # max_capacity: 10,
2038
+ # min_capacity: 5,
2039
+ # },
2040
+ # schedule: "at(2019-05-20T18:40:00)",
2041
+ # scheduled_action_arn: "arn:aws:autoscaling:us-west-2:123456789012:scheduledAction:2d36aa3b-cdf9-4565-b290-81db519b227d:resource/dynamodb/table/my-table:scheduledActionName/my-second-scheduled-action",
2042
+ # scheduled_action_name: "my-second-scheduled-action",
2043
+ # service_namespace: "dynamodb",
2044
+ # },
2045
+ # ],
2046
+ # }
2047
+ #
1853
2048
  # @example Request syntax with placeholder values
1854
2049
  #
1855
2050
  # resp = client.describe_scheduled_actions({
1856
2051
  # scheduled_action_names: ["ResourceIdMaxLen1600"],
1857
2052
  # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
1858
2053
  # resource_id: "ResourceIdMaxLen1600",
1859
- # scalable_dimension: "ecs:service:DesiredCount", # 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, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
2054
+ # scalable_dimension: "ecs:service:DesiredCount", # 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, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount, sagemaker:variant:DesiredProvisionedConcurrency
1860
2055
  # max_results: 1,
1861
2056
  # next_token: "XmlString",
1862
2057
  # })
@@ -1870,7 +2065,7 @@ module Aws::ApplicationAutoScaling
1870
2065
  # resp.scheduled_actions[0].schedule #=> String
1871
2066
  # resp.scheduled_actions[0].timezone #=> String
1872
2067
  # resp.scheduled_actions[0].resource_id #=> String
1873
- # 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", "elasticache:replication-group:NodeGroups", "elasticache:replication-group:Replicas", "neptune:cluster:ReadReplicaCount"
2068
+ # 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", "elasticache:replication-group:NodeGroups", "elasticache:replication-group:Replicas", "neptune:cluster:ReadReplicaCount", "sagemaker:variant:DesiredProvisionedConcurrency"
1874
2069
  # resp.scheduled_actions[0].start_time #=> Time
1875
2070
  # resp.scheduled_actions[0].end_time #=> Time
1876
2071
  # resp.scheduled_actions[0].scalable_target_action.min_capacity #=> Integer
@@ -1887,6 +2082,65 @@ module Aws::ApplicationAutoScaling
1887
2082
  req.send_request(options)
1888
2083
  end
1889
2084
 
2085
+ # Returns all the tags on the specified Application Auto Scaling
2086
+ # scalable target.
2087
+ #
2088
+ # For general information about tags, including the format and syntax,
2089
+ # see [Tagging Amazon Web Services resources][1] in the *Amazon Web
2090
+ # Services General Reference*.
2091
+ #
2092
+ #
2093
+ #
2094
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
2095
+ #
2096
+ # @option params [required, String] :resource_arn
2097
+ # Specify the ARN of the scalable target.
2098
+ #
2099
+ # For example:
2100
+ # `arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123`
2101
+ #
2102
+ # To get the ARN for a scalable target, use DescribeScalableTargets.
2103
+ #
2104
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2105
+ #
2106
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
2107
+ #
2108
+ #
2109
+ # @example Example: To list tags for a scalable target
2110
+ #
2111
+ # # This example lists the tag key names and values that are attached to the scalable target specified by its ARN.
2112
+ #
2113
+ # resp = client.list_tags_for_resource({
2114
+ # resource_arn: "arn:aws:application-autoscaling:us-west-2:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123",
2115
+ # })
2116
+ #
2117
+ # resp.to_h outputs the following:
2118
+ # {
2119
+ # tags: {
2120
+ # "environment" => "production",
2121
+ # },
2122
+ # }
2123
+ #
2124
+ # @example Request syntax with placeholder values
2125
+ #
2126
+ # resp = client.list_tags_for_resource({
2127
+ # resource_arn: "AmazonResourceName", # required
2128
+ # })
2129
+ #
2130
+ # @example Response structure
2131
+ #
2132
+ # resp.tags #=> Hash
2133
+ # resp.tags["TagKey"] #=> String
2134
+ #
2135
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ListTagsForResource AWS API Documentation
2136
+ #
2137
+ # @overload list_tags_for_resource(params = {})
2138
+ # @param [Hash] params ({})
2139
+ def list_tags_for_resource(params = {}, options = {})
2140
+ req = build_request(:list_tags_for_resource, params)
2141
+ req.send_request(options)
2142
+ end
2143
+
1890
2144
  # Creates or updates a scaling policy for an Application Auto Scaling
1891
2145
  # scalable target.
1892
2146
  #
@@ -1921,7 +2175,7 @@ module Aws::ApplicationAutoScaling
1921
2175
  # Guide*.
1922
2176
  #
1923
2177
  # <note markdown="1"> If a scalable target is deregistered, the scalable target is no longer
1924
- # available to execute scaling policies. Any scaling policies that were
2178
+ # available to use scaling policies. Any scaling policies that were
1925
2179
  # specified for the scalable target are deleted.
1926
2180
  #
1927
2181
  # </note>
@@ -1934,6 +2188,10 @@ module Aws::ApplicationAutoScaling
1934
2188
  # @option params [required, String] :policy_name
1935
2189
  # The name of the scaling policy.
1936
2190
  #
2191
+ # You cannot change the name of a scaling policy, but you can delete the
2192
+ # original scaling policy and create a new scaling policy with the same
2193
+ # settings and a different name.
2194
+ #
1937
2195
  # @option params [required, String] :service_namespace
1938
2196
  # The namespace of the Amazon Web Services service that provides the
1939
2197
  # resource. For a resource provided by your own application or service,
@@ -2007,6 +2265,10 @@ module Aws::ApplicationAutoScaling
2007
2265
  # * Neptune cluster - The resource type is `cluster` and the unique
2008
2266
  # identifier is the cluster name. Example: `cluster:mycluster`.
2009
2267
  #
2268
+ # * SageMaker Serverless endpoint - The resource type is `variant` and
2269
+ # the unique identifier is the resource ID. Example:
2270
+ # `endpoint/my-end-point/variant/KMeansClustering`.
2271
+ #
2010
2272
  #
2011
2273
  #
2012
2274
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -2044,7 +2306,7 @@ module Aws::ApplicationAutoScaling
2044
2306
  # Aurora PostgreSQL-compatible edition.
2045
2307
  #
2046
2308
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
2047
- # instances for an SageMaker model endpoint variant.
2309
+ # instances for a SageMaker model endpoint variant.
2048
2310
  #
2049
2311
  # * `custom-resource:ResourceType:Property` - The scalable dimension for
2050
2312
  # a custom resource provided by your own application or service.
@@ -2078,9 +2340,12 @@ module Aws::ApplicationAutoScaling
2078
2340
  # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
2079
2341
  # an Amazon Neptune DB cluster.
2080
2342
  #
2343
+ # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
2344
+ # concurrency for a SageMaker Serverless endpoint.
2345
+ #
2081
2346
  # @option params [String] :policy_type
2082
- # The policy type. This parameter is required if you are creating a
2083
- # scaling policy.
2347
+ # The scaling policy type. This parameter is required if you are
2348
+ # creating a scaling policy.
2084
2349
  #
2085
2350
  # The following policy types are supported:
2086
2351
  #
@@ -2160,7 +2425,7 @@ module Aws::ApplicationAutoScaling
2160
2425
  # policy_name: "PolicyName", # required
2161
2426
  # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
2162
2427
  # resource_id: "ResourceIdMaxLen1600", # required
2163
- # 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, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
2428
+ # 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, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount, sagemaker:variant:DesiredProvisionedConcurrency
2164
2429
  # policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling
2165
2430
  # step_scaling_policy_configuration: {
2166
2431
  # adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
@@ -2178,20 +2443,42 @@ module Aws::ApplicationAutoScaling
2178
2443
  # target_tracking_scaling_policy_configuration: {
2179
2444
  # target_value: 1.0, # required
2180
2445
  # predefined_metric_specification: {
2181
- # predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization, ElastiCachePrimaryEngineCPUUtilization, ElastiCacheReplicaEngineCPUUtilization, ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage, NeptuneReaderAverageCPUUtilization
2446
+ # predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization, ElastiCachePrimaryEngineCPUUtilization, ElastiCacheReplicaEngineCPUUtilization, ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage, NeptuneReaderAverageCPUUtilization, SageMakerVariantProvisionedConcurrencyUtilization, ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage
2182
2447
  # resource_label: "ResourceLabel",
2183
2448
  # },
2184
2449
  # customized_metric_specification: {
2185
- # metric_name: "MetricName", # required
2186
- # namespace: "MetricNamespace", # required
2450
+ # metric_name: "MetricName",
2451
+ # namespace: "MetricNamespace",
2187
2452
  # dimensions: [
2188
2453
  # {
2189
2454
  # name: "MetricDimensionName", # required
2190
2455
  # value: "MetricDimensionValue", # required
2191
2456
  # },
2192
2457
  # ],
2193
- # statistic: "Average", # required, accepts Average, Minimum, Maximum, SampleCount, Sum
2458
+ # statistic: "Average", # accepts Average, Minimum, Maximum, SampleCount, Sum
2194
2459
  # unit: "MetricUnit",
2460
+ # metrics: [
2461
+ # {
2462
+ # expression: "Expression",
2463
+ # id: "Id", # required
2464
+ # label: "XmlString",
2465
+ # metric_stat: {
2466
+ # metric: { # required
2467
+ # dimensions: [
2468
+ # {
2469
+ # name: "TargetTrackingMetricDimensionName", # required
2470
+ # value: "TargetTrackingMetricDimensionValue", # required
2471
+ # },
2472
+ # ],
2473
+ # metric_name: "TargetTrackingMetricName",
2474
+ # namespace: "TargetTrackingMetricNamespace",
2475
+ # },
2476
+ # stat: "XmlString", # required
2477
+ # unit: "TargetTrackingMetricUnit",
2478
+ # },
2479
+ # return_data: false,
2480
+ # },
2481
+ # ],
2195
2482
  # },
2196
2483
  # scale_out_cooldown: 1,
2197
2484
  # scale_in_cooldown: 1,
@@ -2224,8 +2511,8 @@ module Aws::ApplicationAutoScaling
2224
2511
  # scheduled action until you have registered the resource as a scalable
2225
2512
  # target.
2226
2513
  #
2227
- # When start and end times are specified with a recurring schedule using
2228
- # a cron expression or rates, they form the boundaries for when the
2514
+ # When you specify start and end times with a recurring schedule using a
2515
+ # cron expression or rates, they form the boundaries for when the
2229
2516
  # recurring action starts and stops.
2230
2517
  #
2231
2518
  # To update a scheduled action, specify the parameters that you want to
@@ -2367,6 +2654,10 @@ module Aws::ApplicationAutoScaling
2367
2654
  # * Neptune cluster - The resource type is `cluster` and the unique
2368
2655
  # identifier is the cluster name. Example: `cluster:mycluster`.
2369
2656
  #
2657
+ # * SageMaker Serverless endpoint - The resource type is `variant` and
2658
+ # the unique identifier is the resource ID. Example:
2659
+ # `endpoint/my-end-point/variant/KMeansClustering`.
2660
+ #
2370
2661
  #
2371
2662
  #
2372
2663
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -2404,7 +2695,7 @@ module Aws::ApplicationAutoScaling
2404
2695
  # Aurora PostgreSQL-compatible edition.
2405
2696
  #
2406
2697
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
2407
- # instances for an SageMaker model endpoint variant.
2698
+ # instances for a SageMaker model endpoint variant.
2408
2699
  #
2409
2700
  # * `custom-resource:ResourceType:Property` - The scalable dimension for
2410
2701
  # a custom resource provided by your own application or service.
@@ -2438,6 +2729,9 @@ module Aws::ApplicationAutoScaling
2438
2729
  # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
2439
2730
  # an Amazon Neptune DB cluster.
2440
2731
  #
2732
+ # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
2733
+ # concurrency for a SageMaker Serverless endpoint.
2734
+ #
2441
2735
  # @option params [Time,DateTime,Date,Integer,String] :start_time
2442
2736
  # The date and time for this scheduled action to start, in UTC.
2443
2737
  #
@@ -2453,6 +2747,28 @@ module Aws::ApplicationAutoScaling
2453
2747
  #
2454
2748
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2455
2749
  #
2750
+ #
2751
+ # @example Example: To create a recurring scheduled action
2752
+ #
2753
+ # # This example adds a scheduled action to a DynamoDB table called TestTable to scale out on a recurring schedule. On the
2754
+ # # specified schedule (every day at 12:15pm UTC), if the current capacity is below the value specified for MinCapacity,
2755
+ # # Application Auto Scaling scales out to the value specified by MinCapacity.
2756
+ #
2757
+ # resp = client.put_scheduled_action({
2758
+ # resource_id: "table/TestTable",
2759
+ # scalable_dimension: "dynamodb:table:WriteCapacityUnits",
2760
+ # scalable_target_action: {
2761
+ # min_capacity: 6,
2762
+ # },
2763
+ # schedule: "cron(15 12 * * ? *)",
2764
+ # scheduled_action_name: "my-recurring-action",
2765
+ # service_namespace: "dynamodb",
2766
+ # })
2767
+ #
2768
+ # resp.to_h outputs the following:
2769
+ # {
2770
+ # }
2771
+ #
2456
2772
  # @example Request syntax with placeholder values
2457
2773
  #
2458
2774
  # resp = client.put_scheduled_action({
@@ -2461,7 +2777,7 @@ module Aws::ApplicationAutoScaling
2461
2777
  # timezone: "ResourceIdMaxLen1600",
2462
2778
  # scheduled_action_name: "ScheduledActionName", # required
2463
2779
  # resource_id: "ResourceIdMaxLen1600", # required
2464
- # 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, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
2780
+ # 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, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount, sagemaker:variant:DesiredProvisionedConcurrency
2465
2781
  # start_time: Time.now,
2466
2782
  # end_time: Time.now,
2467
2783
  # scalable_target_action: {
@@ -2479,17 +2795,23 @@ module Aws::ApplicationAutoScaling
2479
2795
  req.send_request(options)
2480
2796
  end
2481
2797
 
2482
- # Registers or updates a scalable target.
2798
+ # Registers or updates a scalable target, which is the resource that you
2799
+ # want to scale.
2483
2800
  #
2484
- # A scalable target is a resource that Application Auto Scaling can
2485
- # scale out and scale in. Scalable targets are uniquely identified by
2486
- # the combination of resource ID, scalable dimension, and namespace.
2801
+ # Scalable targets are uniquely identified by the combination of
2802
+ # resource ID, scalable dimension, and namespace, which represents some
2803
+ # capacity dimension of the underlying service.
2487
2804
  #
2488
2805
  # When you register a new scalable target, you must specify values for
2489
- # minimum and maximum capacity. Current capacity will be adjusted within
2490
- # the specified range when scaling starts. Application Auto Scaling
2491
- # scaling policies will not scale capacity to values that are outside of
2492
- # this range.
2806
+ # the minimum and maximum capacity. If the specified resource is not
2807
+ # active in the target service, this operation does not change the
2808
+ # resource's current capacity. Otherwise, it changes the resource's
2809
+ # current capacity to a value that is inside of this range.
2810
+ #
2811
+ # If you add a scaling policy, current capacity is adjustable within the
2812
+ # specified range when scaling starts. Application Auto Scaling scaling
2813
+ # policies will not scale capacity to values that are outside of the
2814
+ # minimum and maximum range.
2493
2815
  #
2494
2816
  # After you register a scalable target, you do not need to register it
2495
2817
  # again to use other Application Auto Scaling operations. To see which
@@ -2503,12 +2825,20 @@ module Aws::ApplicationAutoScaling
2503
2825
  # resource ID, scalable dimension, and namespace. Any parameters that
2504
2826
  # you don't specify are not changed by this update request.
2505
2827
  #
2506
- # <note markdown="1"> If you call the `RegisterScalableTarget` API to update an existing
2507
- # scalable target, Application Auto Scaling retrieves the current
2508
- # capacity of the resource. If it is below the minimum capacity or above
2509
- # the maximum capacity, Application Auto Scaling adjusts the capacity of
2510
- # the scalable target to place it within these bounds, even if you
2511
- # don't include the `MinCapacity` or `MaxCapacity` request parameters.
2828
+ # <note markdown="1"> If you call the `RegisterScalableTarget` API operation to create a
2829
+ # scalable target, there might be a brief delay until the operation
2830
+ # achieves [eventual consistency][3]. You might become aware of this
2831
+ # brief delay if you get unexpected errors when performing sequential
2832
+ # operations. The typical strategy is to retry the request, and some
2833
+ # Amazon Web Services SDKs include automatic backoff and retry logic.
2834
+ #
2835
+ # If you call the `RegisterScalableTarget` API operation to update an
2836
+ # existing scalable target, Application Auto Scaling retrieves the
2837
+ # current capacity of the resource. If it's below the minimum capacity
2838
+ # or above the maximum capacity, Application Auto Scaling adjusts the
2839
+ # capacity of the scalable target to place it within these bounds, even
2840
+ # if you don't include the `MinCapacity` or `MaxCapacity` request
2841
+ # parameters.
2512
2842
  #
2513
2843
  # </note>
2514
2844
  #
@@ -2516,6 +2846,7 @@ module Aws::ApplicationAutoScaling
2516
2846
  #
2517
2847
  # [1]: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalableTargets.html
2518
2848
  # [2]: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DeregisterScalableTarget.html
2849
+ # [3]: https://en.wikipedia.org/wiki/Eventual_consistency
2519
2850
  #
2520
2851
  # @option params [required, String] :service_namespace
2521
2852
  # The namespace of the Amazon Web Services service that provides the
@@ -2591,6 +2922,10 @@ module Aws::ApplicationAutoScaling
2591
2922
  # * Neptune cluster - The resource type is `cluster` and the unique
2592
2923
  # identifier is the cluster name. Example: `cluster:mycluster`.
2593
2924
  #
2925
+ # * SageMaker Serverless endpoint - The resource type is `variant` and
2926
+ # the unique identifier is the resource ID. Example:
2927
+ # `endpoint/my-end-point/variant/KMeansClustering`.
2928
+ #
2594
2929
  #
2595
2930
  #
2596
2931
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -2629,7 +2964,7 @@ module Aws::ApplicationAutoScaling
2629
2964
  # Aurora PostgreSQL-compatible edition.
2630
2965
  #
2631
2966
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
2632
- # instances for an SageMaker model endpoint variant.
2967
+ # instances for a SageMaker model endpoint variant.
2633
2968
  #
2634
2969
  # * `custom-resource:ResourceType:Property` - The scalable dimension for
2635
2970
  # a custom resource provided by your own application or service.
@@ -2663,16 +2998,45 @@ module Aws::ApplicationAutoScaling
2663
2998
  # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
2664
2999
  # an Amazon Neptune DB cluster.
2665
3000
  #
3001
+ # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
3002
+ # concurrency for a SageMaker Serverless endpoint.
3003
+ #
2666
3004
  # @option params [Integer] :min_capacity
2667
3005
  # The minimum value that you plan to scale in to. When a scaling policy
2668
3006
  # is in effect, Application Auto Scaling can scale in (contract) as
2669
3007
  # needed to the minimum capacity limit in response to changing demand.
2670
3008
  # This property is required when registering a new scalable target.
2671
3009
  #
2672
- # For certain resources, the minimum value allowed is 0. This includes
2673
- # Lambda provisioned concurrency, Spot Fleet, ECS services, Aurora DB
2674
- # clusters, EMR clusters, and custom resources. For all other resources,
2675
- # the minimum value allowed is 1.
3010
+ # For the following resources, the minimum value allowed is 0.
3011
+ #
3012
+ # * AppStream 2.0 fleets
3013
+ #
3014
+ # * Aurora DB clusters
3015
+ #
3016
+ # * ECS services
3017
+ #
3018
+ # * EMR clusters
3019
+ #
3020
+ # * Lambda provisioned concurrency
3021
+ #
3022
+ # * SageMaker endpoint variants
3023
+ #
3024
+ # * SageMaker Serverless endpoint provisioned concurrency
3025
+ #
3026
+ # * Spot Fleets
3027
+ #
3028
+ # * custom resources
3029
+ #
3030
+ # It's strongly recommended that you specify a value greater than 0. A
3031
+ # value greater than 0 means that data points are continuously reported
3032
+ # to CloudWatch that scaling policies can use to scale on a metric like
3033
+ # average CPU utilization.
3034
+ #
3035
+ # For all other resources, the minimum allowed value depends on the type
3036
+ # of resource that you are using. If you provide a value that is lower
3037
+ # than what a resource can accept, an error occurs. In which case, the
3038
+ # error message will provide the minimum value that the resource can
3039
+ # accept.
2676
3040
  #
2677
3041
  # @option params [Integer] :max_capacity
2678
3042
  # The maximum value that you plan to scale out to. When a scaling policy
@@ -2681,12 +3045,12 @@ module Aws::ApplicationAutoScaling
2681
3045
  # This property is required when registering a new scalable target.
2682
3046
  #
2683
3047
  # Although you can specify a large maximum capacity, note that service
2684
- # quotas may impose lower limits. Each service has its own default
3048
+ # quotas might impose lower limits. Each service has its own default
2685
3049
  # quotas for the maximum capacity of the resource. If you want to
2686
3050
  # specify a higher limit, you can request an increase. For more
2687
3051
  # information, consult the documentation for that service. For
2688
3052
  # information about the default quotas for each service, see [Service
2689
- # Endpoints and Quotas][1] in the *Amazon Web Services General
3053
+ # endpoints and quotas][1] in the *Amazon Web Services General
2690
3054
  # Reference*.
2691
3055
  #
2692
3056
  #
@@ -2734,7 +3098,26 @@ module Aws::ApplicationAutoScaling
2734
3098
  #
2735
3099
  # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-suspend-resume-scaling.html
2736
3100
  #
2737
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3101
+ # @option params [Hash<String,String>] :tags
3102
+ # Assigns one or more tags to the scalable target. Use this parameter to
3103
+ # tag the scalable target when it is created. To tag an existing
3104
+ # scalable target, use the TagResource operation.
3105
+ #
3106
+ # Each tag consists of a tag key and a tag value. Both the tag key and
3107
+ # the tag value are required. You cannot have more than one tag on a
3108
+ # scalable target with the same tag key.
3109
+ #
3110
+ # Use tags to control access to a scalable target. For more information,
3111
+ # see [Tagging support for Application Auto Scaling][1] in the
3112
+ # *Application Auto Scaling User Guide*.
3113
+ #
3114
+ #
3115
+ #
3116
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/resource-tagging-support.html
3117
+ #
3118
+ # @return [Types::RegisterScalableTargetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3119
+ #
3120
+ # * {Types::RegisterScalableTargetResponse#scalable_target_arn #scalable_target_arn} => String
2738
3121
  #
2739
3122
  #
2740
3123
  # @example Example: To register an ECS service as a scalable target
@@ -2750,12 +3133,17 @@ module Aws::ApplicationAutoScaling
2750
3133
  # service_namespace: "ecs",
2751
3134
  # })
2752
3135
  #
3136
+ # resp.to_h outputs the following:
3137
+ # {
3138
+ # scalable_target_arn: "arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123",
3139
+ # }
3140
+ #
2753
3141
  # @example Request syntax with placeholder values
2754
3142
  #
2755
3143
  # resp = client.register_scalable_target({
2756
3144
  # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
2757
3145
  # resource_id: "ResourceIdMaxLen1600", # required
2758
- # 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, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
3146
+ # 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, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount, sagemaker:variant:DesiredProvisionedConcurrency
2759
3147
  # min_capacity: 1,
2760
3148
  # max_capacity: 1,
2761
3149
  # role_arn: "ResourceIdMaxLen1600",
@@ -2764,8 +3152,15 @@ module Aws::ApplicationAutoScaling
2764
3152
  # dynamic_scaling_out_suspended: false,
2765
3153
  # scheduled_scaling_suspended: false,
2766
3154
  # },
3155
+ # tags: {
3156
+ # "TagKey" => "TagValue",
3157
+ # },
2767
3158
  # })
2768
3159
  #
3160
+ # @example Response structure
3161
+ #
3162
+ # resp.scalable_target_arn #=> String
3163
+ #
2769
3164
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/RegisterScalableTarget AWS API Documentation
2770
3165
  #
2771
3166
  # @overload register_scalable_target(params = {})
@@ -2775,6 +3170,146 @@ module Aws::ApplicationAutoScaling
2775
3170
  req.send_request(options)
2776
3171
  end
2777
3172
 
3173
+ # Adds or edits tags on an Application Auto Scaling scalable target.
3174
+ #
3175
+ # Each tag consists of a tag key and a tag value, which are both
3176
+ # case-sensitive strings. To add a tag, specify a new tag key and a tag
3177
+ # value. To edit a tag, specify an existing tag key and a new tag value.
3178
+ #
3179
+ # You can use this operation to tag an Application Auto Scaling scalable
3180
+ # target, but you cannot tag a scaling policy or scheduled action.
3181
+ #
3182
+ # You can also add tags to an Application Auto Scaling scalable target
3183
+ # while creating it (`RegisterScalableTarget`).
3184
+ #
3185
+ # For general information about tags, including the format and syntax,
3186
+ # see [Tagging Amazon Web Services resources][1] in the *Amazon Web
3187
+ # Services General Reference*.
3188
+ #
3189
+ # Use tags to control access to a scalable target. For more information,
3190
+ # see [Tagging support for Application Auto Scaling][2] in the
3191
+ # *Application Auto Scaling User Guide*.
3192
+ #
3193
+ #
3194
+ #
3195
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
3196
+ # [2]: https://docs.aws.amazon.com/autoscaling/application/userguide/resource-tagging-support.html
3197
+ #
3198
+ # @option params [required, String] :resource_arn
3199
+ # Identifies the Application Auto Scaling scalable target that you want
3200
+ # to apply tags to.
3201
+ #
3202
+ # For example:
3203
+ # `arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123`
3204
+ #
3205
+ # To get the ARN for a scalable target, use DescribeScalableTargets.
3206
+ #
3207
+ # @option params [required, Hash<String,String>] :tags
3208
+ # The tags assigned to the resource. A tag is a label that you assign to
3209
+ # an Amazon Web Services resource.
3210
+ #
3211
+ # Each tag consists of a tag key and a tag value.
3212
+ #
3213
+ # You cannot have more than one tag on an Application Auto Scaling
3214
+ # scalable target with the same tag key. If you specify an existing tag
3215
+ # key with a different tag value, Application Auto Scaling replaces the
3216
+ # current tag value with the specified one.
3217
+ #
3218
+ # For information about the rules that apply to tag keys and tag values,
3219
+ # see [User-defined tag restrictions][1] in the *Amazon Web Services
3220
+ # Billing and Cost Management User Guide*.
3221
+ #
3222
+ #
3223
+ #
3224
+ # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html
3225
+ #
3226
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3227
+ #
3228
+ #
3229
+ # @example Example: To add a tag to a scalable target
3230
+ #
3231
+ # # This example adds a tag with the key name "environment" and the value "production" to the scalable target specified by
3232
+ # # its ARN.
3233
+ #
3234
+ # resp = client.tag_resource({
3235
+ # resource_arn: "arn:aws:application-autoscaling:us-west-2:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123",
3236
+ # tags: {
3237
+ # "environment" => "production",
3238
+ # },
3239
+ # })
3240
+ #
3241
+ # resp.to_h outputs the following:
3242
+ # {
3243
+ # }
3244
+ #
3245
+ # @example Request syntax with placeholder values
3246
+ #
3247
+ # resp = client.tag_resource({
3248
+ # resource_arn: "AmazonResourceName", # required
3249
+ # tags: { # required
3250
+ # "TagKey" => "TagValue",
3251
+ # },
3252
+ # })
3253
+ #
3254
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/TagResource AWS API Documentation
3255
+ #
3256
+ # @overload tag_resource(params = {})
3257
+ # @param [Hash] params ({})
3258
+ def tag_resource(params = {}, options = {})
3259
+ req = build_request(:tag_resource, params)
3260
+ req.send_request(options)
3261
+ end
3262
+
3263
+ # Deletes tags from an Application Auto Scaling scalable target. To
3264
+ # delete a tag, specify the tag key and the Application Auto Scaling
3265
+ # scalable target.
3266
+ #
3267
+ # @option params [required, String] :resource_arn
3268
+ # Identifies the Application Auto Scaling scalable target from which to
3269
+ # remove tags.
3270
+ #
3271
+ # For example:
3272
+ # `arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123`
3273
+ #
3274
+ # To get the ARN for a scalable target, use DescribeScalableTargets.
3275
+ #
3276
+ # @option params [required, Array<String>] :tag_keys
3277
+ # One or more tag keys. Specify only the tag keys, not the tag values.
3278
+ #
3279
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3280
+ #
3281
+ #
3282
+ # @example Example: To remove a tag from a scalable target
3283
+ #
3284
+ # # This example removes the tag pair with the key name "environment" from the scalable target specified by its ARN.
3285
+ #
3286
+ # resp = client.untag_resource({
3287
+ # resource_arn: "arn:aws:application-autoscaling:us-west-2:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123",
3288
+ # tag_keys: [
3289
+ # "environment",
3290
+ # ],
3291
+ # })
3292
+ #
3293
+ # resp.to_h outputs the following:
3294
+ # {
3295
+ # }
3296
+ #
3297
+ # @example Request syntax with placeholder values
3298
+ #
3299
+ # resp = client.untag_resource({
3300
+ # resource_arn: "AmazonResourceName", # required
3301
+ # tag_keys: ["TagKey"], # required
3302
+ # })
3303
+ #
3304
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/UntagResource AWS API Documentation
3305
+ #
3306
+ # @overload untag_resource(params = {})
3307
+ # @param [Hash] params ({})
3308
+ def untag_resource(params = {}, options = {})
3309
+ req = build_request(:untag_resource, params)
3310
+ req.send_request(options)
3311
+ end
3312
+
2778
3313
  # @!endgroup
2779
3314
 
2780
3315
  # @param params ({})
@@ -2788,7 +3323,7 @@ module Aws::ApplicationAutoScaling
2788
3323
  params: params,
2789
3324
  config: config)
2790
3325
  context[:gem_name] = 'aws-sdk-applicationautoscaling'
2791
- context[:gem_version] = '1.59.0'
3326
+ context[:gem_version] = '1.76.0'
2792
3327
  Seahorse::Client::Request.new(handlers, context)
2793
3328
  end
2794
3329