aws-sdk-applicationautoscaling 1.67.0 → 1.69.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -470,6 +470,10 @@ module Aws::ApplicationAutoScaling
470
470
  # * Neptune cluster - The resource type is `cluster` and the unique
471
471
  # identifier is the cluster name. Example: `cluster:mycluster`.
472
472
  #
473
+ # * SageMaker Serverless endpoint - The resource type is `variant` and
474
+ # the unique identifier is the resource ID. Example:
475
+ # `endpoint/my-end-point/variant/KMeansClustering`.
476
+ #
473
477
  #
474
478
  #
475
479
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -541,6 +545,9 @@ module Aws::ApplicationAutoScaling
541
545
  # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
542
546
  # an Amazon Neptune DB cluster.
543
547
  #
548
+ # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
549
+ # concurrency for a SageMaker Serverless endpoint.
550
+ #
544
551
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
545
552
  #
546
553
  #
@@ -566,7 +573,7 @@ module Aws::ApplicationAutoScaling
566
573
  # policy_name: "ResourceIdMaxLen1600", # required
567
574
  # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
568
575
  # resource_id: "ResourceIdMaxLen1600", # required
569
- # 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
576
+ # 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
570
577
  # })
571
578
  #
572
579
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy AWS API Documentation
@@ -664,6 +671,10 @@ module Aws::ApplicationAutoScaling
664
671
  # * Neptune cluster - The resource type is `cluster` and the unique
665
672
  # identifier is the cluster name. Example: `cluster:mycluster`.
666
673
  #
674
+ # * SageMaker Serverless endpoint - The resource type is `variant` and
675
+ # the unique identifier is the resource ID. Example:
676
+ # `endpoint/my-end-point/variant/KMeansClustering`.
677
+ #
667
678
  #
668
679
  #
669
680
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -735,15 +746,34 @@ module Aws::ApplicationAutoScaling
735
746
  # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
736
747
  # an Amazon Neptune DB cluster.
737
748
  #
749
+ # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
750
+ # concurrency for a SageMaker Serverless endpoint.
751
+ #
738
752
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
739
753
  #
754
+ #
755
+ # @example Example: To delete a scheduled action
756
+ #
757
+ # # This example deletes a scheduled action for the AppStream 2.0 fleet called sample-fleet.
758
+ #
759
+ # resp = client.delete_scheduled_action({
760
+ # resource_id: "fleet/sample-fleet",
761
+ # scalable_dimension: "appstream:fleet:DesiredCapacity",
762
+ # scheduled_action_name: "my-recurring-action",
763
+ # service_namespace: "appstream",
764
+ # })
765
+ #
766
+ # resp.to_h outputs the following:
767
+ # {
768
+ # }
769
+ #
740
770
  # @example Request syntax with placeholder values
741
771
  #
742
772
  # resp = client.delete_scheduled_action({
743
773
  # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
744
774
  # scheduled_action_name: "ResourceIdMaxLen1600", # required
745
775
  # resource_id: "ResourceIdMaxLen1600", # required
746
- # 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
776
+ # 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
747
777
  # })
748
778
  #
749
779
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction AWS API Documentation
@@ -841,6 +871,10 @@ module Aws::ApplicationAutoScaling
841
871
  # * Neptune cluster - The resource type is `cluster` and the unique
842
872
  # identifier is the cluster name. Example: `cluster:mycluster`.
843
873
  #
874
+ # * SageMaker Serverless endpoint - The resource type is `variant` and
875
+ # the unique identifier is the resource ID. Example:
876
+ # `endpoint/my-end-point/variant/KMeansClustering`.
877
+ #
844
878
  #
845
879
  #
846
880
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -913,6 +947,9 @@ module Aws::ApplicationAutoScaling
913
947
  # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
914
948
  # an Amazon Neptune DB cluster.
915
949
  #
950
+ # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
951
+ # concurrency for a SageMaker Serverless endpoint.
952
+ #
916
953
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
917
954
  #
918
955
  #
@@ -936,7 +973,7 @@ module Aws::ApplicationAutoScaling
936
973
  # resp = client.deregister_scalable_target({
937
974
  # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
938
975
  # resource_id: "ResourceIdMaxLen1600", # required
939
- # 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
976
+ # 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
940
977
  # })
941
978
  #
942
979
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget AWS API Documentation
@@ -1027,6 +1064,10 @@ module Aws::ApplicationAutoScaling
1027
1064
  # * Neptune cluster - The resource type is `cluster` and the unique
1028
1065
  # identifier is the cluster name. Example: `cluster:mycluster`.
1029
1066
  #
1067
+ # * SageMaker Serverless endpoint - The resource type is `variant` and
1068
+ # the unique identifier is the resource ID. Example:
1069
+ # `endpoint/my-end-point/variant/KMeansClustering`.
1070
+ #
1030
1071
  #
1031
1072
  #
1032
1073
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1100,6 +1141,9 @@ module Aws::ApplicationAutoScaling
1100
1141
  # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
1101
1142
  # an Amazon Neptune DB cluster.
1102
1143
  #
1144
+ # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
1145
+ # concurrency for a SageMaker Serverless endpoint.
1146
+ #
1103
1147
  # @option params [Integer] :max_results
1104
1148
  # The maximum number of scalable targets. This value can be between 1
1105
1149
  # and 50. The default value is 50.
@@ -1154,7 +1198,7 @@ module Aws::ApplicationAutoScaling
1154
1198
  # resp = client.describe_scalable_targets({
1155
1199
  # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
1156
1200
  # resource_ids: ["ResourceIdMaxLen1600"],
1157
- # 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
1201
+ # 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
1158
1202
  # max_results: 1,
1159
1203
  # next_token: "XmlString",
1160
1204
  # })
@@ -1164,7 +1208,7 @@ module Aws::ApplicationAutoScaling
1164
1208
  # resp.scalable_targets #=> Array
1165
1209
  # resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune"
1166
1210
  # resp.scalable_targets[0].resource_id #=> String
1167
- # 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"
1211
+ # 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"
1168
1212
  # resp.scalable_targets[0].min_capacity #=> Integer
1169
1213
  # resp.scalable_targets[0].max_capacity #=> Integer
1170
1214
  # resp.scalable_targets[0].role_arn #=> String
@@ -1172,6 +1216,7 @@ module Aws::ApplicationAutoScaling
1172
1216
  # resp.scalable_targets[0].suspended_state.dynamic_scaling_in_suspended #=> Boolean
1173
1217
  # resp.scalable_targets[0].suspended_state.dynamic_scaling_out_suspended #=> Boolean
1174
1218
  # resp.scalable_targets[0].suspended_state.scheduled_scaling_suspended #=> Boolean
1219
+ # resp.scalable_targets[0].scalable_target_arn #=> String
1175
1220
  # resp.next_token #=> String
1176
1221
  #
1177
1222
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalableTargets AWS API Documentation
@@ -1269,6 +1314,10 @@ module Aws::ApplicationAutoScaling
1269
1314
  # * Neptune cluster - The resource type is `cluster` and the unique
1270
1315
  # identifier is the cluster name. Example: `cluster:mycluster`.
1271
1316
  #
1317
+ # * SageMaker Serverless endpoint - The resource type is `variant` and
1318
+ # the unique identifier is the resource ID. Example:
1319
+ # `endpoint/my-end-point/variant/KMeansClustering`.
1320
+ #
1272
1321
  #
1273
1322
  #
1274
1323
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1341,6 +1390,9 @@ module Aws::ApplicationAutoScaling
1341
1390
  # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
1342
1391
  # an Amazon Neptune DB cluster.
1343
1392
  #
1393
+ # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
1394
+ # concurrency for a SageMaker Serverless endpoint.
1395
+ #
1344
1396
  # @option params [Integer] :max_results
1345
1397
  # The maximum number of scalable targets. This value can be between 1
1346
1398
  # and 50. The default value is 50.
@@ -1408,7 +1460,7 @@ module Aws::ApplicationAutoScaling
1408
1460
  # resp = client.describe_scaling_activities({
1409
1461
  # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
1410
1462
  # resource_id: "ResourceIdMaxLen1600",
1411
- # 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
1463
+ # 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
1412
1464
  # max_results: 1,
1413
1465
  # next_token: "XmlString",
1414
1466
  # include_not_scaled_activities: false,
@@ -1420,7 +1472,7 @@ module Aws::ApplicationAutoScaling
1420
1472
  # resp.scaling_activities[0].activity_id #=> String
1421
1473
  # resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune"
1422
1474
  # resp.scaling_activities[0].resource_id #=> String
1423
- # 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"
1475
+ # 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"
1424
1476
  # resp.scaling_activities[0].description #=> String
1425
1477
  # resp.scaling_activities[0].cause #=> String
1426
1478
  # resp.scaling_activities[0].start_time #=> Time
@@ -1535,6 +1587,10 @@ module Aws::ApplicationAutoScaling
1535
1587
  # * Neptune cluster - The resource type is `cluster` and the unique
1536
1588
  # identifier is the cluster name. Example: `cluster:mycluster`.
1537
1589
  #
1590
+ # * SageMaker Serverless endpoint - The resource type is `variant` and
1591
+ # the unique identifier is the resource ID. Example:
1592
+ # `endpoint/my-end-point/variant/KMeansClustering`.
1593
+ #
1538
1594
  #
1539
1595
  #
1540
1596
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1607,6 +1663,9 @@ module Aws::ApplicationAutoScaling
1607
1663
  # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
1608
1664
  # an Amazon Neptune DB cluster.
1609
1665
  #
1666
+ # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
1667
+ # concurrency for a SageMaker Serverless endpoint.
1668
+ #
1610
1669
  # @option params [Integer] :max_results
1611
1670
  # The maximum number of scalable targets. This value can be between 1
1612
1671
  # and 10. The default value is 10.
@@ -1674,7 +1733,7 @@ module Aws::ApplicationAutoScaling
1674
1733
  # policy_names: ["ResourceIdMaxLen1600"],
1675
1734
  # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
1676
1735
  # resource_id: "ResourceIdMaxLen1600",
1677
- # 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
1736
+ # 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
1678
1737
  # max_results: 1,
1679
1738
  # next_token: "XmlString",
1680
1739
  # })
@@ -1686,7 +1745,7 @@ module Aws::ApplicationAutoScaling
1686
1745
  # resp.scaling_policies[0].policy_name #=> String
1687
1746
  # resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune"
1688
1747
  # resp.scaling_policies[0].resource_id #=> String
1689
- # 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"
1748
+ # 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"
1690
1749
  # resp.scaling_policies[0].policy_type #=> String, one of "StepScaling", "TargetTrackingScaling"
1691
1750
  # resp.scaling_policies[0].step_scaling_policy_configuration.adjustment_type #=> String, one of "ChangeInCapacity", "PercentChangeInCapacity", "ExactCapacity"
1692
1751
  # resp.scaling_policies[0].step_scaling_policy_configuration.step_adjustments #=> Array
@@ -1697,7 +1756,7 @@ module Aws::ApplicationAutoScaling
1697
1756
  # resp.scaling_policies[0].step_scaling_policy_configuration.cooldown #=> Integer
1698
1757
  # resp.scaling_policies[0].step_scaling_policy_configuration.metric_aggregation_type #=> String, one of "Average", "Minimum", "Maximum"
1699
1758
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
1700
- # 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"
1759
+ # 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"
1701
1760
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.resource_label #=> String
1702
1761
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metric_name #=> String
1703
1762
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.namespace #=> String
@@ -1826,6 +1885,10 @@ module Aws::ApplicationAutoScaling
1826
1885
  # * Neptune cluster - The resource type is `cluster` and the unique
1827
1886
  # identifier is the cluster name. Example: `cluster:mycluster`.
1828
1887
  #
1888
+ # * SageMaker Serverless endpoint - The resource type is `variant` and
1889
+ # the unique identifier is the resource ID. Example:
1890
+ # `endpoint/my-end-point/variant/KMeansClustering`.
1891
+ #
1829
1892
  #
1830
1893
  #
1831
1894
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1898,6 +1961,9 @@ module Aws::ApplicationAutoScaling
1898
1961
  # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
1899
1962
  # an Amazon Neptune DB cluster.
1900
1963
  #
1964
+ # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
1965
+ # concurrency for a SageMaker Serverless endpoint.
1966
+ #
1901
1967
  # @option params [Integer] :max_results
1902
1968
  # The maximum number of scheduled action results. This value can be
1903
1969
  # between 1 and 50. The default value is 50.
@@ -1918,13 +1984,54 @@ module Aws::ApplicationAutoScaling
1918
1984
  #
1919
1985
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1920
1986
  #
1987
+ #
1988
+ # @example Example: To describe scheduled actions
1989
+ #
1990
+ # # This example describes the scheduled actions for the dynamodb service namespace.
1991
+ #
1992
+ # resp = client.describe_scheduled_actions({
1993
+ # service_namespace: "dynamodb",
1994
+ # })
1995
+ #
1996
+ # resp.to_h outputs the following:
1997
+ # {
1998
+ # scheduled_actions: [
1999
+ # {
2000
+ # creation_time: Time.parse(1561571888.361),
2001
+ # resource_id: "table/my-table",
2002
+ # scalable_dimension: "dynamodb:table:WriteCapacityUnits",
2003
+ # scalable_target_action: {
2004
+ # max_capacity: 20,
2005
+ # min_capacity: 15,
2006
+ # },
2007
+ # schedule: "at(2019-05-20T18:35:00)",
2008
+ # 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",
2009
+ # scheduled_action_name: "my-first-scheduled-action",
2010
+ # service_namespace: "dynamodb",
2011
+ # },
2012
+ # {
2013
+ # creation_time: Time.parse(1561571946.021),
2014
+ # resource_id: "table/my-table",
2015
+ # scalable_dimension: "dynamodb:table:WriteCapacityUnits",
2016
+ # scalable_target_action: {
2017
+ # max_capacity: 10,
2018
+ # min_capacity: 5,
2019
+ # },
2020
+ # schedule: "at(2019-05-20T18:40:00)",
2021
+ # 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",
2022
+ # scheduled_action_name: "my-second-scheduled-action",
2023
+ # service_namespace: "dynamodb",
2024
+ # },
2025
+ # ],
2026
+ # }
2027
+ #
1921
2028
  # @example Request syntax with placeholder values
1922
2029
  #
1923
2030
  # resp = client.describe_scheduled_actions({
1924
2031
  # scheduled_action_names: ["ResourceIdMaxLen1600"],
1925
2032
  # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
1926
2033
  # resource_id: "ResourceIdMaxLen1600",
1927
- # 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
2034
+ # 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
1928
2035
  # max_results: 1,
1929
2036
  # next_token: "XmlString",
1930
2037
  # })
@@ -1938,7 +2045,7 @@ module Aws::ApplicationAutoScaling
1938
2045
  # resp.scheduled_actions[0].schedule #=> String
1939
2046
  # resp.scheduled_actions[0].timezone #=> String
1940
2047
  # resp.scheduled_actions[0].resource_id #=> String
1941
- # 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"
2048
+ # 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"
1942
2049
  # resp.scheduled_actions[0].start_time #=> Time
1943
2050
  # resp.scheduled_actions[0].end_time #=> Time
1944
2051
  # resp.scheduled_actions[0].scalable_target_action.min_capacity #=> Integer
@@ -1955,6 +2062,65 @@ module Aws::ApplicationAutoScaling
1955
2062
  req.send_request(options)
1956
2063
  end
1957
2064
 
2065
+ # Returns all the tags on the specified Application Auto Scaling
2066
+ # scalable target.
2067
+ #
2068
+ # For general information about tags, including the format and syntax,
2069
+ # see [Tagging Amazon Web Services resources][1] in the *Amazon Web
2070
+ # Services General Reference*.
2071
+ #
2072
+ #
2073
+ #
2074
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
2075
+ #
2076
+ # @option params [required, String] :resource_arn
2077
+ # Specify the ARN of the scalable target.
2078
+ #
2079
+ # For example:
2080
+ # `arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123`
2081
+ #
2082
+ # To get the ARN for a scalable target, use DescribeScalableTargets.
2083
+ #
2084
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2085
+ #
2086
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
2087
+ #
2088
+ #
2089
+ # @example Example: To list tags for a scalable target
2090
+ #
2091
+ # # This example lists the tag key names and values that are attached to the scalable target specified by its ARN.
2092
+ #
2093
+ # resp = client.list_tags_for_resource({
2094
+ # resource_arn: "arn:aws:application-autoscaling:us-west-2:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123",
2095
+ # })
2096
+ #
2097
+ # resp.to_h outputs the following:
2098
+ # {
2099
+ # tags: {
2100
+ # "environment" => "production",
2101
+ # },
2102
+ # }
2103
+ #
2104
+ # @example Request syntax with placeholder values
2105
+ #
2106
+ # resp = client.list_tags_for_resource({
2107
+ # resource_arn: "AmazonResourceName", # required
2108
+ # })
2109
+ #
2110
+ # @example Response structure
2111
+ #
2112
+ # resp.tags #=> Hash
2113
+ # resp.tags["TagKey"] #=> String
2114
+ #
2115
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ListTagsForResource AWS API Documentation
2116
+ #
2117
+ # @overload list_tags_for_resource(params = {})
2118
+ # @param [Hash] params ({})
2119
+ def list_tags_for_resource(params = {}, options = {})
2120
+ req = build_request(:list_tags_for_resource, params)
2121
+ req.send_request(options)
2122
+ end
2123
+
1958
2124
  # Creates or updates a scaling policy for an Application Auto Scaling
1959
2125
  # scalable target.
1960
2126
  #
@@ -1989,7 +2155,7 @@ module Aws::ApplicationAutoScaling
1989
2155
  # Guide*.
1990
2156
  #
1991
2157
  # <note markdown="1"> If a scalable target is deregistered, the scalable target is no longer
1992
- # available to execute scaling policies. Any scaling policies that were
2158
+ # available to use scaling policies. Any scaling policies that were
1993
2159
  # specified for the scalable target are deleted.
1994
2160
  #
1995
2161
  # </note>
@@ -2079,6 +2245,10 @@ module Aws::ApplicationAutoScaling
2079
2245
  # * Neptune cluster - The resource type is `cluster` and the unique
2080
2246
  # identifier is the cluster name. Example: `cluster:mycluster`.
2081
2247
  #
2248
+ # * SageMaker Serverless endpoint - The resource type is `variant` and
2249
+ # the unique identifier is the resource ID. Example:
2250
+ # `endpoint/my-end-point/variant/KMeansClustering`.
2251
+ #
2082
2252
  #
2083
2253
  #
2084
2254
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -2150,6 +2320,9 @@ module Aws::ApplicationAutoScaling
2150
2320
  # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
2151
2321
  # an Amazon Neptune DB cluster.
2152
2322
  #
2323
+ # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
2324
+ # concurrency for a SageMaker Serverless endpoint.
2325
+ #
2153
2326
  # @option params [String] :policy_type
2154
2327
  # The scaling policy type. This parameter is required if you are
2155
2328
  # creating a scaling policy.
@@ -2232,7 +2405,7 @@ module Aws::ApplicationAutoScaling
2232
2405
  # policy_name: "PolicyName", # required
2233
2406
  # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
2234
2407
  # resource_id: "ResourceIdMaxLen1600", # required
2235
- # 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
2408
+ # 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
2236
2409
  # policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling
2237
2410
  # step_scaling_policy_configuration: {
2238
2411
  # adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
@@ -2250,7 +2423,7 @@ module Aws::ApplicationAutoScaling
2250
2423
  # target_tracking_scaling_policy_configuration: {
2251
2424
  # target_value: 1.0, # required
2252
2425
  # predefined_metric_specification: {
2253
- # 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
2426
+ # 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
2254
2427
  # resource_label: "ResourceLabel",
2255
2428
  # },
2256
2429
  # customized_metric_specification: {
@@ -2318,8 +2491,8 @@ module Aws::ApplicationAutoScaling
2318
2491
  # scheduled action until you have registered the resource as a scalable
2319
2492
  # target.
2320
2493
  #
2321
- # When start and end times are specified with a recurring schedule using
2322
- # a cron expression or rates, they form the boundaries for when the
2494
+ # When you specify start and end times with a recurring schedule using a
2495
+ # cron expression or rates, they form the boundaries for when the
2323
2496
  # recurring action starts and stops.
2324
2497
  #
2325
2498
  # To update a scheduled action, specify the parameters that you want to
@@ -2461,6 +2634,10 @@ module Aws::ApplicationAutoScaling
2461
2634
  # * Neptune cluster - The resource type is `cluster` and the unique
2462
2635
  # identifier is the cluster name. Example: `cluster:mycluster`.
2463
2636
  #
2637
+ # * SageMaker Serverless endpoint - The resource type is `variant` and
2638
+ # the unique identifier is the resource ID. Example:
2639
+ # `endpoint/my-end-point/variant/KMeansClustering`.
2640
+ #
2464
2641
  #
2465
2642
  #
2466
2643
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -2532,6 +2709,9 @@ module Aws::ApplicationAutoScaling
2532
2709
  # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
2533
2710
  # an Amazon Neptune DB cluster.
2534
2711
  #
2712
+ # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
2713
+ # concurrency for a SageMaker Serverless endpoint.
2714
+ #
2535
2715
  # @option params [Time,DateTime,Date,Integer,String] :start_time
2536
2716
  # The date and time for this scheduled action to start, in UTC.
2537
2717
  #
@@ -2547,6 +2727,28 @@ module Aws::ApplicationAutoScaling
2547
2727
  #
2548
2728
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2549
2729
  #
2730
+ #
2731
+ # @example Example: To create a recurring scheduled action
2732
+ #
2733
+ # # This example adds a scheduled action to a DynamoDB table called TestTable to scale out on a recurring schedule. On the
2734
+ # # specified schedule (every day at 12:15pm UTC), if the current capacity is below the value specified for MinCapacity,
2735
+ # # Application Auto Scaling scales out to the value specified by MinCapacity.
2736
+ #
2737
+ # resp = client.put_scheduled_action({
2738
+ # resource_id: "table/TestTable",
2739
+ # scalable_dimension: "dynamodb:table:WriteCapacityUnits",
2740
+ # scalable_target_action: {
2741
+ # min_capacity: 6,
2742
+ # },
2743
+ # schedule: "cron(15 12 * * ? *)",
2744
+ # scheduled_action_name: "my-recurring-action",
2745
+ # service_namespace: "dynamodb",
2746
+ # })
2747
+ #
2748
+ # resp.to_h outputs the following:
2749
+ # {
2750
+ # }
2751
+ #
2550
2752
  # @example Request syntax with placeholder values
2551
2753
  #
2552
2754
  # resp = client.put_scheduled_action({
@@ -2555,7 +2757,7 @@ module Aws::ApplicationAutoScaling
2555
2757
  # timezone: "ResourceIdMaxLen1600",
2556
2758
  # scheduled_action_name: "ScheduledActionName", # required
2557
2759
  # resource_id: "ResourceIdMaxLen1600", # required
2558
- # 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
2760
+ # 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
2559
2761
  # start_time: Time.now,
2560
2762
  # end_time: Time.now,
2561
2763
  # scalable_target_action: {
@@ -2573,8 +2775,8 @@ module Aws::ApplicationAutoScaling
2573
2775
  req.send_request(options)
2574
2776
  end
2575
2777
 
2576
- # Registers or updates a scalable target, the resource that you want to
2577
- # scale.
2778
+ # Registers or updates a scalable target, which is the resource that you
2779
+ # want to scale.
2578
2780
  #
2579
2781
  # Scalable targets are uniquely identified by the combination of
2580
2782
  # resource ID, scalable dimension, and namespace, which represents some
@@ -2586,10 +2788,10 @@ module Aws::ApplicationAutoScaling
2586
2788
  # resource's current capacity. Otherwise, it changes the resource's
2587
2789
  # current capacity to a value that is inside of this range.
2588
2790
  #
2589
- # If you choose to add a scaling policy, current capacity is adjustable
2590
- # within the specified range when scaling starts. Application Auto
2591
- # Scaling scaling policies will not scale capacity to values that are
2592
- # outside of the minimum and maximum range.
2791
+ # If you add a scaling policy, current capacity is adjustable within the
2792
+ # specified range when scaling starts. Application Auto Scaling scaling
2793
+ # policies will not scale capacity to values that are outside of the
2794
+ # minimum and maximum range.
2593
2795
  #
2594
2796
  # After you register a scalable target, you do not need to register it
2595
2797
  # again to use other Application Auto Scaling operations. To see which
@@ -2603,12 +2805,20 @@ module Aws::ApplicationAutoScaling
2603
2805
  # resource ID, scalable dimension, and namespace. Any parameters that
2604
2806
  # you don't specify are not changed by this update request.
2605
2807
  #
2606
- # <note markdown="1"> If you call the `RegisterScalableTarget` API to update an existing
2607
- # scalable target, Application Auto Scaling retrieves the current
2608
- # capacity of the resource. If it is below the minimum capacity or above
2609
- # the maximum capacity, Application Auto Scaling adjusts the capacity of
2610
- # the scalable target to place it within these bounds, even if you
2611
- # don't include the `MinCapacity` or `MaxCapacity` request parameters.
2808
+ # <note markdown="1"> If you call the `RegisterScalableTarget` API operation to create a
2809
+ # scalable target, there might be a brief delay until the operation
2810
+ # achieves [eventual consistency][3]. You might become aware of this
2811
+ # brief delay if you get unexpected errors when performing sequential
2812
+ # operations. The typical strategy is to retry the request, and some
2813
+ # Amazon Web Services SDKs include automatic backoff and retry logic.
2814
+ #
2815
+ # If you call the `RegisterScalableTarget` API operation to update an
2816
+ # existing scalable target, Application Auto Scaling retrieves the
2817
+ # current capacity of the resource. If it's below the minimum capacity
2818
+ # or above the maximum capacity, Application Auto Scaling adjusts the
2819
+ # capacity of the scalable target to place it within these bounds, even
2820
+ # if you don't include the `MinCapacity` or `MaxCapacity` request
2821
+ # parameters.
2612
2822
  #
2613
2823
  # </note>
2614
2824
  #
@@ -2616,6 +2826,7 @@ module Aws::ApplicationAutoScaling
2616
2826
  #
2617
2827
  # [1]: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalableTargets.html
2618
2828
  # [2]: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DeregisterScalableTarget.html
2829
+ # [3]: https://en.wikipedia.org/wiki/Eventual_consistency
2619
2830
  #
2620
2831
  # @option params [required, String] :service_namespace
2621
2832
  # The namespace of the Amazon Web Services service that provides the
@@ -2691,6 +2902,10 @@ module Aws::ApplicationAutoScaling
2691
2902
  # * Neptune cluster - The resource type is `cluster` and the unique
2692
2903
  # identifier is the cluster name. Example: `cluster:mycluster`.
2693
2904
  #
2905
+ # * SageMaker Serverless endpoint - The resource type is `variant` and
2906
+ # the unique identifier is the resource ID. Example:
2907
+ # `endpoint/my-end-point/variant/KMeansClustering`.
2908
+ #
2694
2909
  #
2695
2910
  #
2696
2911
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -2763,6 +2978,9 @@ module Aws::ApplicationAutoScaling
2763
2978
  # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
2764
2979
  # an Amazon Neptune DB cluster.
2765
2980
  #
2981
+ # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
2982
+ # concurrency for a SageMaker Serverless endpoint.
2983
+ #
2766
2984
  # @option params [Integer] :min_capacity
2767
2985
  # The minimum value that you plan to scale in to. When a scaling policy
2768
2986
  # is in effect, Application Auto Scaling can scale in (contract) as
@@ -2781,6 +2999,8 @@ module Aws::ApplicationAutoScaling
2781
2999
  #
2782
3000
  # * Lambda provisioned concurrency
2783
3001
  #
3002
+ # * SageMaker Serverless endpoint provisioned concurrency
3003
+ #
2784
3004
  # * SageMaker endpoint variants
2785
3005
  #
2786
3006
  # * Spot Fleets
@@ -2805,7 +3025,7 @@ module Aws::ApplicationAutoScaling
2805
3025
  # This property is required when registering a new scalable target.
2806
3026
  #
2807
3027
  # Although you can specify a large maximum capacity, note that service
2808
- # quotas may impose lower limits. Each service has its own default
3028
+ # quotas might impose lower limits. Each service has its own default
2809
3029
  # quotas for the maximum capacity of the resource. If you want to
2810
3030
  # specify a higher limit, you can request an increase. For more
2811
3031
  # information, consult the documentation for that service. For
@@ -2858,7 +3078,26 @@ module Aws::ApplicationAutoScaling
2858
3078
  #
2859
3079
  # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-suspend-resume-scaling.html
2860
3080
  #
2861
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3081
+ # @option params [Hash<String,String>] :tags
3082
+ # Assigns one or more tags to the scalable target. Use this parameter to
3083
+ # tag the scalable target when it is created. To tag an existing
3084
+ # scalable target, use the TagResource operation.
3085
+ #
3086
+ # Each tag consists of a tag key and a tag value. Both the tag key and
3087
+ # the tag value are required. You cannot have more than one tag on a
3088
+ # scalable target with the same tag key.
3089
+ #
3090
+ # Use tags to control access to a scalable target. For more information,
3091
+ # see [Tagging support for Application Auto Scaling][1] in the
3092
+ # *Application Auto Scaling User Guide*.
3093
+ #
3094
+ #
3095
+ #
3096
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/resource-tagging-support.html
3097
+ #
3098
+ # @return [Types::RegisterScalableTargetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3099
+ #
3100
+ # * {Types::RegisterScalableTargetResponse#scalable_target_arn #scalable_target_arn} => String
2862
3101
  #
2863
3102
  #
2864
3103
  # @example Example: To register an ECS service as a scalable target
@@ -2874,12 +3113,17 @@ module Aws::ApplicationAutoScaling
2874
3113
  # service_namespace: "ecs",
2875
3114
  # })
2876
3115
  #
3116
+ # resp.to_h outputs the following:
3117
+ # {
3118
+ # scalable_target_arn: "arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123",
3119
+ # }
3120
+ #
2877
3121
  # @example Request syntax with placeholder values
2878
3122
  #
2879
3123
  # resp = client.register_scalable_target({
2880
3124
  # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
2881
3125
  # resource_id: "ResourceIdMaxLen1600", # required
2882
- # 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
3126
+ # 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
2883
3127
  # min_capacity: 1,
2884
3128
  # max_capacity: 1,
2885
3129
  # role_arn: "ResourceIdMaxLen1600",
@@ -2888,8 +3132,15 @@ module Aws::ApplicationAutoScaling
2888
3132
  # dynamic_scaling_out_suspended: false,
2889
3133
  # scheduled_scaling_suspended: false,
2890
3134
  # },
3135
+ # tags: {
3136
+ # "TagKey" => "TagValue",
3137
+ # },
2891
3138
  # })
2892
3139
  #
3140
+ # @example Response structure
3141
+ #
3142
+ # resp.scalable_target_arn #=> String
3143
+ #
2893
3144
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/RegisterScalableTarget AWS API Documentation
2894
3145
  #
2895
3146
  # @overload register_scalable_target(params = {})
@@ -2899,6 +3150,146 @@ module Aws::ApplicationAutoScaling
2899
3150
  req.send_request(options)
2900
3151
  end
2901
3152
 
3153
+ # Adds or edits tags on an Application Auto Scaling scalable target.
3154
+ #
3155
+ # Each tag consists of a tag key and a tag value, which are both
3156
+ # case-sensitive strings. To add a tag, specify a new tag key and a tag
3157
+ # value. To edit a tag, specify an existing tag key and a new tag value.
3158
+ #
3159
+ # You can use this operation to tag an Application Auto Scaling scalable
3160
+ # target, but you cannot tag a scaling policy or scheduled action.
3161
+ #
3162
+ # You can also add tags to an Application Auto Scaling scalable target
3163
+ # while creating it (`RegisterScalableTarget`).
3164
+ #
3165
+ # For general information about tags, including the format and syntax,
3166
+ # see [Tagging Amazon Web Services resources][1] in the *Amazon Web
3167
+ # Services General Reference*.
3168
+ #
3169
+ # Use tags to control access to a scalable target. For more information,
3170
+ # see [Tagging support for Application Auto Scaling][2] in the
3171
+ # *Application Auto Scaling User Guide*.
3172
+ #
3173
+ #
3174
+ #
3175
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
3176
+ # [2]: https://docs.aws.amazon.com/autoscaling/application/userguide/resource-tagging-support.html
3177
+ #
3178
+ # @option params [required, String] :resource_arn
3179
+ # Identifies the Application Auto Scaling scalable target that you want
3180
+ # to apply tags to.
3181
+ #
3182
+ # For example:
3183
+ # `arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123`
3184
+ #
3185
+ # To get the ARN for a scalable target, use DescribeScalableTargets.
3186
+ #
3187
+ # @option params [required, Hash<String,String>] :tags
3188
+ # The tags assigned to the resource. A tag is a label that you assign to
3189
+ # an Amazon Web Services resource.
3190
+ #
3191
+ # Each tag consists of a tag key and a tag value.
3192
+ #
3193
+ # You cannot have more than one tag on an Application Auto Scaling
3194
+ # scalable target with the same tag key. If you specify an existing tag
3195
+ # key with a different tag value, Application Auto Scaling replaces the
3196
+ # current tag value with the specified one.
3197
+ #
3198
+ # For information about the rules that apply to tag keys and tag values,
3199
+ # see [User-defined tag restrictions][1] in the *Amazon Web Services
3200
+ # Billing and Cost Management User Guide*.
3201
+ #
3202
+ #
3203
+ #
3204
+ # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html
3205
+ #
3206
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3207
+ #
3208
+ #
3209
+ # @example Example: To add a tag to a scalable target
3210
+ #
3211
+ # # This example adds a tag with the key name "environment" and the value "production" to the scalable target specified by
3212
+ # # its ARN.
3213
+ #
3214
+ # resp = client.tag_resource({
3215
+ # resource_arn: "arn:aws:application-autoscaling:us-west-2:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123",
3216
+ # tags: {
3217
+ # "environment" => "production",
3218
+ # },
3219
+ # })
3220
+ #
3221
+ # resp.to_h outputs the following:
3222
+ # {
3223
+ # }
3224
+ #
3225
+ # @example Request syntax with placeholder values
3226
+ #
3227
+ # resp = client.tag_resource({
3228
+ # resource_arn: "AmazonResourceName", # required
3229
+ # tags: { # required
3230
+ # "TagKey" => "TagValue",
3231
+ # },
3232
+ # })
3233
+ #
3234
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/TagResource AWS API Documentation
3235
+ #
3236
+ # @overload tag_resource(params = {})
3237
+ # @param [Hash] params ({})
3238
+ def tag_resource(params = {}, options = {})
3239
+ req = build_request(:tag_resource, params)
3240
+ req.send_request(options)
3241
+ end
3242
+
3243
+ # Deletes tags from an Application Auto Scaling scalable target. To
3244
+ # delete a tag, specify the tag key and the Application Auto Scaling
3245
+ # scalable target.
3246
+ #
3247
+ # @option params [required, String] :resource_arn
3248
+ # Identifies the Application Auto Scaling scalable target from which to
3249
+ # remove tags.
3250
+ #
3251
+ # For example:
3252
+ # `arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123`
3253
+ #
3254
+ # To get the ARN for a scalable target, use DescribeScalableTargets.
3255
+ #
3256
+ # @option params [required, Array<String>] :tag_keys
3257
+ # One or more tag keys. Specify only the tag keys, not the tag values.
3258
+ #
3259
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3260
+ #
3261
+ #
3262
+ # @example Example: To remove a tag from a scalable target
3263
+ #
3264
+ # # This example removes the tag pair with the key name "environment" from the scalable target specified by its ARN.
3265
+ #
3266
+ # resp = client.untag_resource({
3267
+ # resource_arn: "arn:aws:application-autoscaling:us-west-2:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123",
3268
+ # tag_keys: [
3269
+ # "environment",
3270
+ # ],
3271
+ # })
3272
+ #
3273
+ # resp.to_h outputs the following:
3274
+ # {
3275
+ # }
3276
+ #
3277
+ # @example Request syntax with placeholder values
3278
+ #
3279
+ # resp = client.untag_resource({
3280
+ # resource_arn: "AmazonResourceName", # required
3281
+ # tag_keys: ["TagKey"], # required
3282
+ # })
3283
+ #
3284
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/UntagResource AWS API Documentation
3285
+ #
3286
+ # @overload untag_resource(params = {})
3287
+ # @param [Hash] params ({})
3288
+ def untag_resource(params = {}, options = {})
3289
+ req = build_request(:untag_resource, params)
3290
+ req.send_request(options)
3291
+ end
3292
+
2902
3293
  # @!endgroup
2903
3294
 
2904
3295
  # @param params ({})
@@ -2912,7 +3303,7 @@ module Aws::ApplicationAutoScaling
2912
3303
  params: params,
2913
3304
  config: config)
2914
3305
  context[:gem_name] = 'aws-sdk-applicationautoscaling'
2915
- context[:gem_version] = '1.67.0'
3306
+ context[:gem_version] = '1.69.0'
2916
3307
  Seahorse::Client::Request.new(handlers, context)
2917
3308
  end
2918
3309