aws-sdk-applicationautoscaling 1.86.0 → 1.88.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-applicationautoscaling/client.rb +185 -115
- data/lib/aws-sdk-applicationautoscaling/client_api.rb +1 -0
- data/lib/aws-sdk-applicationautoscaling/types.rb +202 -122
- data/lib/aws-sdk-applicationautoscaling.rb +1 -1
- data/sig/client.rbs +22 -21
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +29 -29
- metadata +6 -6
@@ -312,6 +312,15 @@ module Aws::ApplicationAutoScaling
|
|
312
312
|
#
|
313
313
|
# @option options [String] :session_token
|
314
314
|
#
|
315
|
+
# @option options [Array] :sigv4a_signing_region_set
|
316
|
+
# A list of regions that should be signed with SigV4a signing. When
|
317
|
+
# not passed, a default `:sigv4a_signing_region_set` is searched for
|
318
|
+
# in the following locations:
|
319
|
+
#
|
320
|
+
# * `Aws.config[:sigv4a_signing_region_set]`
|
321
|
+
# * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
|
322
|
+
# * `~/.aws/config`
|
323
|
+
#
|
315
324
|
# @option options [Boolean] :simple_json (false)
|
316
325
|
# Disables request parameter conversion, validation, and formatting.
|
317
326
|
# Also disables response data type conversions. The request parameters
|
@@ -453,7 +462,7 @@ module Aws::ApplicationAutoScaling
|
|
453
462
|
#
|
454
463
|
# * ECS service - The resource type is `service` and the unique
|
455
464
|
# identifier is the cluster name and service name. Example:
|
456
|
-
# `service/
|
465
|
+
# `service/my-cluster/my-service`.
|
457
466
|
#
|
458
467
|
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
459
468
|
# unique identifier is the Spot Fleet request ID. Example:
|
@@ -515,7 +524,7 @@ module Aws::ApplicationAutoScaling
|
|
515
524
|
# * Neptune cluster - The resource type is `cluster` and the unique
|
516
525
|
# identifier is the cluster name. Example: `cluster:mycluster`.
|
517
526
|
#
|
518
|
-
# * SageMaker
|
527
|
+
# * SageMaker serverless endpoint - The resource type is `variant` and
|
519
528
|
# the unique identifier is the resource ID. Example:
|
520
529
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
521
530
|
#
|
@@ -523,6 +532,10 @@ module Aws::ApplicationAutoScaling
|
|
523
532
|
# `inference-component` and the unique identifier is the resource ID.
|
524
533
|
# Example: `inference-component/my-inference-component`.
|
525
534
|
#
|
535
|
+
# * Amazon WorkSpaces - The resource type is `workspacespool` and the
|
536
|
+
# unique identifier is the pool ID. Example:
|
537
|
+
# `workspacespool/wspool-123456`.
|
538
|
+
#
|
526
539
|
#
|
527
540
|
#
|
528
541
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -531,8 +544,7 @@ module Aws::ApplicationAutoScaling
|
|
531
544
|
# The scalable dimension. This string consists of the service namespace,
|
532
545
|
# resource type, and scaling property.
|
533
546
|
#
|
534
|
-
# * `ecs:service:DesiredCount` - The
|
535
|
-
# service.
|
547
|
+
# * `ecs:service:DesiredCount` - The task count of an ECS service.
|
536
548
|
#
|
537
549
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
538
550
|
# of an EMR Instance Group.
|
@@ -540,8 +552,8 @@ module Aws::ApplicationAutoScaling
|
|
540
552
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
541
553
|
# Spot Fleet.
|
542
554
|
#
|
543
|
-
# * `appstream:fleet:DesiredCapacity` - The
|
544
|
-
#
|
555
|
+
# * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
|
556
|
+
# fleet.
|
545
557
|
#
|
546
558
|
# * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
|
547
559
|
# for a DynamoDB table.
|
@@ -595,11 +607,14 @@ module Aws::ApplicationAutoScaling
|
|
595
607
|
# an Amazon Neptune DB cluster.
|
596
608
|
#
|
597
609
|
# * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
|
598
|
-
# concurrency for a SageMaker
|
610
|
+
# concurrency for a SageMaker serverless endpoint.
|
599
611
|
#
|
600
612
|
# * `sagemaker:inference-component:DesiredCopyCount` - The number of
|
601
613
|
# copies across an endpoint for a SageMaker inference component.
|
602
614
|
#
|
615
|
+
# * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
|
616
|
+
# WorkSpaces pool.
|
617
|
+
#
|
603
618
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
604
619
|
#
|
605
620
|
#
|
@@ -623,9 +638,9 @@ module Aws::ApplicationAutoScaling
|
|
623
638
|
#
|
624
639
|
# resp = client.delete_scaling_policy({
|
625
640
|
# policy_name: "ResourceIdMaxLen1600", # required
|
626
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
641
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune, workspaces
|
627
642
|
# resource_id: "ResourceIdMaxLen1600", # required
|
628
|
-
# 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, sagemaker:inference-component:DesiredCopyCount
|
643
|
+
# 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, sagemaker:inference-component:DesiredCopyCount, workspaces:workspacespool:DesiredUserSessions
|
629
644
|
# })
|
630
645
|
#
|
631
646
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy AWS API Documentation
|
@@ -661,7 +676,7 @@ module Aws::ApplicationAutoScaling
|
|
661
676
|
#
|
662
677
|
# * ECS service - The resource type is `service` and the unique
|
663
678
|
# identifier is the cluster name and service name. Example:
|
664
|
-
# `service/
|
679
|
+
# `service/my-cluster/my-service`.
|
665
680
|
#
|
666
681
|
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
667
682
|
# unique identifier is the Spot Fleet request ID. Example:
|
@@ -723,7 +738,7 @@ module Aws::ApplicationAutoScaling
|
|
723
738
|
# * Neptune cluster - The resource type is `cluster` and the unique
|
724
739
|
# identifier is the cluster name. Example: `cluster:mycluster`.
|
725
740
|
#
|
726
|
-
# * SageMaker
|
741
|
+
# * SageMaker serverless endpoint - The resource type is `variant` and
|
727
742
|
# the unique identifier is the resource ID. Example:
|
728
743
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
729
744
|
#
|
@@ -731,6 +746,10 @@ module Aws::ApplicationAutoScaling
|
|
731
746
|
# `inference-component` and the unique identifier is the resource ID.
|
732
747
|
# Example: `inference-component/my-inference-component`.
|
733
748
|
#
|
749
|
+
# * Amazon WorkSpaces - The resource type is `workspacespool` and the
|
750
|
+
# unique identifier is the pool ID. Example:
|
751
|
+
# `workspacespool/wspool-123456`.
|
752
|
+
#
|
734
753
|
#
|
735
754
|
#
|
736
755
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -739,8 +758,7 @@ module Aws::ApplicationAutoScaling
|
|
739
758
|
# The scalable dimension. This string consists of the service namespace,
|
740
759
|
# resource type, and scaling property.
|
741
760
|
#
|
742
|
-
# * `ecs:service:DesiredCount` - The
|
743
|
-
# service.
|
761
|
+
# * `ecs:service:DesiredCount` - The task count of an ECS service.
|
744
762
|
#
|
745
763
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
746
764
|
# of an EMR Instance Group.
|
@@ -748,8 +766,8 @@ module Aws::ApplicationAutoScaling
|
|
748
766
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
749
767
|
# Spot Fleet.
|
750
768
|
#
|
751
|
-
# * `appstream:fleet:DesiredCapacity` - The
|
752
|
-
#
|
769
|
+
# * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
|
770
|
+
# fleet.
|
753
771
|
#
|
754
772
|
# * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
|
755
773
|
# for a DynamoDB table.
|
@@ -803,11 +821,14 @@ module Aws::ApplicationAutoScaling
|
|
803
821
|
# an Amazon Neptune DB cluster.
|
804
822
|
#
|
805
823
|
# * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
|
806
|
-
# concurrency for a SageMaker
|
824
|
+
# concurrency for a SageMaker serverless endpoint.
|
807
825
|
#
|
808
826
|
# * `sagemaker:inference-component:DesiredCopyCount` - The number of
|
809
827
|
# copies across an endpoint for a SageMaker inference component.
|
810
828
|
#
|
829
|
+
# * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
|
830
|
+
# WorkSpaces pool.
|
831
|
+
#
|
811
832
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
812
833
|
#
|
813
834
|
#
|
@@ -829,10 +850,10 @@ module Aws::ApplicationAutoScaling
|
|
829
850
|
# @example Request syntax with placeholder values
|
830
851
|
#
|
831
852
|
# resp = client.delete_scheduled_action({
|
832
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
853
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune, workspaces
|
833
854
|
# scheduled_action_name: "ResourceIdMaxLen1600", # required
|
834
855
|
# resource_id: "ResourceIdMaxLen1600", # required
|
835
|
-
# 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, sagemaker:inference-component:DesiredCopyCount
|
856
|
+
# 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, sagemaker:inference-component:DesiredCopyCount, workspaces:workspacespool:DesiredUserSessions
|
836
857
|
# })
|
837
858
|
#
|
838
859
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction AWS API Documentation
|
@@ -868,7 +889,7 @@ module Aws::ApplicationAutoScaling
|
|
868
889
|
#
|
869
890
|
# * ECS service - The resource type is `service` and the unique
|
870
891
|
# identifier is the cluster name and service name. Example:
|
871
|
-
# `service/
|
892
|
+
# `service/my-cluster/my-service`.
|
872
893
|
#
|
873
894
|
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
874
895
|
# unique identifier is the Spot Fleet request ID. Example:
|
@@ -930,7 +951,7 @@ module Aws::ApplicationAutoScaling
|
|
930
951
|
# * Neptune cluster - The resource type is `cluster` and the unique
|
931
952
|
# identifier is the cluster name. Example: `cluster:mycluster`.
|
932
953
|
#
|
933
|
-
# * SageMaker
|
954
|
+
# * SageMaker serverless endpoint - The resource type is `variant` and
|
934
955
|
# the unique identifier is the resource ID. Example:
|
935
956
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
936
957
|
#
|
@@ -938,6 +959,10 @@ module Aws::ApplicationAutoScaling
|
|
938
959
|
# `inference-component` and the unique identifier is the resource ID.
|
939
960
|
# Example: `inference-component/my-inference-component`.
|
940
961
|
#
|
962
|
+
# * Amazon WorkSpaces - The resource type is `workspacespool` and the
|
963
|
+
# unique identifier is the pool ID. Example:
|
964
|
+
# `workspacespool/wspool-123456`.
|
965
|
+
#
|
941
966
|
#
|
942
967
|
#
|
943
968
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -947,8 +972,7 @@ module Aws::ApplicationAutoScaling
|
|
947
972
|
# string consists of the service namespace, resource type, and scaling
|
948
973
|
# property.
|
949
974
|
#
|
950
|
-
# * `ecs:service:DesiredCount` - The
|
951
|
-
# service.
|
975
|
+
# * `ecs:service:DesiredCount` - The task count of an ECS service.
|
952
976
|
#
|
953
977
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
954
978
|
# of an EMR Instance Group.
|
@@ -956,8 +980,8 @@ module Aws::ApplicationAutoScaling
|
|
956
980
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
957
981
|
# Spot Fleet.
|
958
982
|
#
|
959
|
-
# * `appstream:fleet:DesiredCapacity` - The
|
960
|
-
#
|
983
|
+
# * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
|
984
|
+
# fleet.
|
961
985
|
#
|
962
986
|
# * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
|
963
987
|
# for a DynamoDB table.
|
@@ -1011,11 +1035,14 @@ module Aws::ApplicationAutoScaling
|
|
1011
1035
|
# an Amazon Neptune DB cluster.
|
1012
1036
|
#
|
1013
1037
|
# * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
|
1014
|
-
# concurrency for a SageMaker
|
1038
|
+
# concurrency for a SageMaker serverless endpoint.
|
1015
1039
|
#
|
1016
1040
|
# * `sagemaker:inference-component:DesiredCopyCount` - The number of
|
1017
1041
|
# copies across an endpoint for a SageMaker inference component.
|
1018
1042
|
#
|
1043
|
+
# * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
|
1044
|
+
# WorkSpaces pool.
|
1045
|
+
#
|
1019
1046
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1020
1047
|
#
|
1021
1048
|
#
|
@@ -1037,9 +1064,9 @@ module Aws::ApplicationAutoScaling
|
|
1037
1064
|
# @example Request syntax with placeholder values
|
1038
1065
|
#
|
1039
1066
|
# resp = client.deregister_scalable_target({
|
1040
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1067
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune, workspaces
|
1041
1068
|
# resource_id: "ResourceIdMaxLen1600", # required
|
1042
|
-
# 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, sagemaker:inference-component:DesiredCopyCount
|
1069
|
+
# 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, sagemaker:inference-component:DesiredCopyCount, workspaces:workspacespool:DesiredUserSessions
|
1043
1070
|
# })
|
1044
1071
|
#
|
1045
1072
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget AWS API Documentation
|
@@ -1068,7 +1095,7 @@ module Aws::ApplicationAutoScaling
|
|
1068
1095
|
#
|
1069
1096
|
# * ECS service - The resource type is `service` and the unique
|
1070
1097
|
# identifier is the cluster name and service name. Example:
|
1071
|
-
# `service/
|
1098
|
+
# `service/my-cluster/my-service`.
|
1072
1099
|
#
|
1073
1100
|
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
1074
1101
|
# unique identifier is the Spot Fleet request ID. Example:
|
@@ -1130,7 +1157,7 @@ module Aws::ApplicationAutoScaling
|
|
1130
1157
|
# * Neptune cluster - The resource type is `cluster` and the unique
|
1131
1158
|
# identifier is the cluster name. Example: `cluster:mycluster`.
|
1132
1159
|
#
|
1133
|
-
# * SageMaker
|
1160
|
+
# * SageMaker serverless endpoint - The resource type is `variant` and
|
1134
1161
|
# the unique identifier is the resource ID. Example:
|
1135
1162
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1136
1163
|
#
|
@@ -1138,6 +1165,10 @@ module Aws::ApplicationAutoScaling
|
|
1138
1165
|
# `inference-component` and the unique identifier is the resource ID.
|
1139
1166
|
# Example: `inference-component/my-inference-component`.
|
1140
1167
|
#
|
1168
|
+
# * Amazon WorkSpaces - The resource type is `workspacespool` and the
|
1169
|
+
# unique identifier is the pool ID. Example:
|
1170
|
+
# `workspacespool/wspool-123456`.
|
1171
|
+
#
|
1141
1172
|
#
|
1142
1173
|
#
|
1143
1174
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1148,8 +1179,7 @@ module Aws::ApplicationAutoScaling
|
|
1148
1179
|
# property. If you specify a scalable dimension, you must also specify a
|
1149
1180
|
# resource ID.
|
1150
1181
|
#
|
1151
|
-
# * `ecs:service:DesiredCount` - The
|
1152
|
-
# service.
|
1182
|
+
# * `ecs:service:DesiredCount` - The task count of an ECS service.
|
1153
1183
|
#
|
1154
1184
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
1155
1185
|
# of an EMR Instance Group.
|
@@ -1157,8 +1187,8 @@ module Aws::ApplicationAutoScaling
|
|
1157
1187
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1158
1188
|
# Spot Fleet.
|
1159
1189
|
#
|
1160
|
-
# * `appstream:fleet:DesiredCapacity` - The
|
1161
|
-
#
|
1190
|
+
# * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
|
1191
|
+
# fleet.
|
1162
1192
|
#
|
1163
1193
|
# * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
|
1164
1194
|
# for a DynamoDB table.
|
@@ -1212,11 +1242,14 @@ module Aws::ApplicationAutoScaling
|
|
1212
1242
|
# an Amazon Neptune DB cluster.
|
1213
1243
|
#
|
1214
1244
|
# * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
|
1215
|
-
# concurrency for a SageMaker
|
1245
|
+
# concurrency for a SageMaker serverless endpoint.
|
1216
1246
|
#
|
1217
1247
|
# * `sagemaker:inference-component:DesiredCopyCount` - The number of
|
1218
1248
|
# copies across an endpoint for a SageMaker inference component.
|
1219
1249
|
#
|
1250
|
+
# * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
|
1251
|
+
# WorkSpaces pool.
|
1252
|
+
#
|
1220
1253
|
# @option params [Integer] :max_results
|
1221
1254
|
# The maximum number of scalable targets. This value can be between 1
|
1222
1255
|
# and 50. The default value is 50.
|
@@ -1269,9 +1302,9 @@ module Aws::ApplicationAutoScaling
|
|
1269
1302
|
# @example Request syntax with placeholder values
|
1270
1303
|
#
|
1271
1304
|
# resp = client.describe_scalable_targets({
|
1272
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1305
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune, workspaces
|
1273
1306
|
# resource_ids: ["ResourceIdMaxLen1600"],
|
1274
|
-
# 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, sagemaker:inference-component:DesiredCopyCount
|
1307
|
+
# 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, sagemaker:inference-component:DesiredCopyCount, workspaces:workspacespool:DesiredUserSessions
|
1275
1308
|
# max_results: 1,
|
1276
1309
|
# next_token: "XmlString",
|
1277
1310
|
# })
|
@@ -1279,9 +1312,9 @@ module Aws::ApplicationAutoScaling
|
|
1279
1312
|
# @example Response structure
|
1280
1313
|
#
|
1281
1314
|
# resp.scalable_targets #=> Array
|
1282
|
-
# resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune"
|
1315
|
+
# resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune", "workspaces"
|
1283
1316
|
# resp.scalable_targets[0].resource_id #=> String
|
1284
|
-
# 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", "sagemaker:inference-component:DesiredCopyCount"
|
1317
|
+
# 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", "sagemaker:inference-component:DesiredCopyCount", "workspaces:workspacespool:DesiredUserSessions"
|
1285
1318
|
# resp.scalable_targets[0].min_capacity #=> Integer
|
1286
1319
|
# resp.scalable_targets[0].max_capacity #=> Integer
|
1287
1320
|
# resp.scalable_targets[0].role_arn #=> String
|
@@ -1325,7 +1358,7 @@ module Aws::ApplicationAutoScaling
|
|
1325
1358
|
#
|
1326
1359
|
# * ECS service - The resource type is `service` and the unique
|
1327
1360
|
# identifier is the cluster name and service name. Example:
|
1328
|
-
# `service/
|
1361
|
+
# `service/my-cluster/my-service`.
|
1329
1362
|
#
|
1330
1363
|
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
1331
1364
|
# unique identifier is the Spot Fleet request ID. Example:
|
@@ -1387,7 +1420,7 @@ module Aws::ApplicationAutoScaling
|
|
1387
1420
|
# * Neptune cluster - The resource type is `cluster` and the unique
|
1388
1421
|
# identifier is the cluster name. Example: `cluster:mycluster`.
|
1389
1422
|
#
|
1390
|
-
# * SageMaker
|
1423
|
+
# * SageMaker serverless endpoint - The resource type is `variant` and
|
1391
1424
|
# the unique identifier is the resource ID. Example:
|
1392
1425
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1393
1426
|
#
|
@@ -1395,6 +1428,10 @@ module Aws::ApplicationAutoScaling
|
|
1395
1428
|
# `inference-component` and the unique identifier is the resource ID.
|
1396
1429
|
# Example: `inference-component/my-inference-component`.
|
1397
1430
|
#
|
1431
|
+
# * Amazon WorkSpaces - The resource type is `workspacespool` and the
|
1432
|
+
# unique identifier is the pool ID. Example:
|
1433
|
+
# `workspacespool/wspool-123456`.
|
1434
|
+
#
|
1398
1435
|
#
|
1399
1436
|
#
|
1400
1437
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1404,8 +1441,7 @@ module Aws::ApplicationAutoScaling
|
|
1404
1441
|
# resource type, and scaling property. If you specify a scalable
|
1405
1442
|
# dimension, you must also specify a resource ID.
|
1406
1443
|
#
|
1407
|
-
# * `ecs:service:DesiredCount` - The
|
1408
|
-
# service.
|
1444
|
+
# * `ecs:service:DesiredCount` - The task count of an ECS service.
|
1409
1445
|
#
|
1410
1446
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
1411
1447
|
# of an EMR Instance Group.
|
@@ -1413,8 +1449,8 @@ module Aws::ApplicationAutoScaling
|
|
1413
1449
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1414
1450
|
# Spot Fleet.
|
1415
1451
|
#
|
1416
|
-
# * `appstream:fleet:DesiredCapacity` - The
|
1417
|
-
#
|
1452
|
+
# * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
|
1453
|
+
# fleet.
|
1418
1454
|
#
|
1419
1455
|
# * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
|
1420
1456
|
# for a DynamoDB table.
|
@@ -1468,11 +1504,14 @@ module Aws::ApplicationAutoScaling
|
|
1468
1504
|
# an Amazon Neptune DB cluster.
|
1469
1505
|
#
|
1470
1506
|
# * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
|
1471
|
-
# concurrency for a SageMaker
|
1507
|
+
# concurrency for a SageMaker serverless endpoint.
|
1472
1508
|
#
|
1473
1509
|
# * `sagemaker:inference-component:DesiredCopyCount` - The number of
|
1474
1510
|
# copies across an endpoint for a SageMaker inference component.
|
1475
1511
|
#
|
1512
|
+
# * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
|
1513
|
+
# WorkSpaces pool.
|
1514
|
+
#
|
1476
1515
|
# @option params [Integer] :max_results
|
1477
1516
|
# The maximum number of scalable targets. This value can be between 1
|
1478
1517
|
# and 50. The default value is 50.
|
@@ -1538,9 +1577,9 @@ module Aws::ApplicationAutoScaling
|
|
1538
1577
|
# @example Request syntax with placeholder values
|
1539
1578
|
#
|
1540
1579
|
# resp = client.describe_scaling_activities({
|
1541
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1580
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune, workspaces
|
1542
1581
|
# resource_id: "ResourceIdMaxLen1600",
|
1543
|
-
# 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, sagemaker:inference-component:DesiredCopyCount
|
1582
|
+
# 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, sagemaker:inference-component:DesiredCopyCount, workspaces:workspacespool:DesiredUserSessions
|
1544
1583
|
# max_results: 1,
|
1545
1584
|
# next_token: "XmlString",
|
1546
1585
|
# include_not_scaled_activities: false,
|
@@ -1550,9 +1589,9 @@ module Aws::ApplicationAutoScaling
|
|
1550
1589
|
#
|
1551
1590
|
# resp.scaling_activities #=> Array
|
1552
1591
|
# resp.scaling_activities[0].activity_id #=> String
|
1553
|
-
# resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune"
|
1592
|
+
# resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune", "workspaces"
|
1554
1593
|
# resp.scaling_activities[0].resource_id #=> String
|
1555
|
-
# 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", "sagemaker:inference-component:DesiredCopyCount"
|
1594
|
+
# 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", "sagemaker:inference-component:DesiredCopyCount", "workspaces:workspacespool:DesiredUserSessions"
|
1556
1595
|
# resp.scaling_activities[0].description #=> String
|
1557
1596
|
# resp.scaling_activities[0].cause #=> String
|
1558
1597
|
# resp.scaling_activities[0].start_time #=> Time
|
@@ -1605,7 +1644,7 @@ module Aws::ApplicationAutoScaling
|
|
1605
1644
|
#
|
1606
1645
|
# * ECS service - The resource type is `service` and the unique
|
1607
1646
|
# identifier is the cluster name and service name. Example:
|
1608
|
-
# `service/
|
1647
|
+
# `service/my-cluster/my-service`.
|
1609
1648
|
#
|
1610
1649
|
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
1611
1650
|
# unique identifier is the Spot Fleet request ID. Example:
|
@@ -1667,7 +1706,7 @@ module Aws::ApplicationAutoScaling
|
|
1667
1706
|
# * Neptune cluster - The resource type is `cluster` and the unique
|
1668
1707
|
# identifier is the cluster name. Example: `cluster:mycluster`.
|
1669
1708
|
#
|
1670
|
-
# * SageMaker
|
1709
|
+
# * SageMaker serverless endpoint - The resource type is `variant` and
|
1671
1710
|
# the unique identifier is the resource ID. Example:
|
1672
1711
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1673
1712
|
#
|
@@ -1675,6 +1714,10 @@ module Aws::ApplicationAutoScaling
|
|
1675
1714
|
# `inference-component` and the unique identifier is the resource ID.
|
1676
1715
|
# Example: `inference-component/my-inference-component`.
|
1677
1716
|
#
|
1717
|
+
# * Amazon WorkSpaces - The resource type is `workspacespool` and the
|
1718
|
+
# unique identifier is the pool ID. Example:
|
1719
|
+
# `workspacespool/wspool-123456`.
|
1720
|
+
#
|
1678
1721
|
#
|
1679
1722
|
#
|
1680
1723
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1684,8 +1727,7 @@ module Aws::ApplicationAutoScaling
|
|
1684
1727
|
# resource type, and scaling property. If you specify a scalable
|
1685
1728
|
# dimension, you must also specify a resource ID.
|
1686
1729
|
#
|
1687
|
-
# * `ecs:service:DesiredCount` - The
|
1688
|
-
# service.
|
1730
|
+
# * `ecs:service:DesiredCount` - The task count of an ECS service.
|
1689
1731
|
#
|
1690
1732
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
1691
1733
|
# of an EMR Instance Group.
|
@@ -1693,8 +1735,8 @@ module Aws::ApplicationAutoScaling
|
|
1693
1735
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1694
1736
|
# Spot Fleet.
|
1695
1737
|
#
|
1696
|
-
# * `appstream:fleet:DesiredCapacity` - The
|
1697
|
-
#
|
1738
|
+
# * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
|
1739
|
+
# fleet.
|
1698
1740
|
#
|
1699
1741
|
# * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
|
1700
1742
|
# for a DynamoDB table.
|
@@ -1748,11 +1790,14 @@ module Aws::ApplicationAutoScaling
|
|
1748
1790
|
# an Amazon Neptune DB cluster.
|
1749
1791
|
#
|
1750
1792
|
# * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
|
1751
|
-
# concurrency for a SageMaker
|
1793
|
+
# concurrency for a SageMaker serverless endpoint.
|
1752
1794
|
#
|
1753
1795
|
# * `sagemaker:inference-component:DesiredCopyCount` - The number of
|
1754
1796
|
# copies across an endpoint for a SageMaker inference component.
|
1755
1797
|
#
|
1798
|
+
# * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
|
1799
|
+
# WorkSpaces pool.
|
1800
|
+
#
|
1756
1801
|
# @option params [Integer] :max_results
|
1757
1802
|
# The maximum number of scalable targets. This value can be between 1
|
1758
1803
|
# and 10. The default value is 10.
|
@@ -1818,9 +1863,9 @@ module Aws::ApplicationAutoScaling
|
|
1818
1863
|
#
|
1819
1864
|
# resp = client.describe_scaling_policies({
|
1820
1865
|
# policy_names: ["ResourceIdMaxLen1600"],
|
1821
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1866
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune, workspaces
|
1822
1867
|
# resource_id: "ResourceIdMaxLen1600",
|
1823
|
-
# 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, sagemaker:inference-component:DesiredCopyCount
|
1868
|
+
# 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, sagemaker:inference-component:DesiredCopyCount, workspaces:workspacespool:DesiredUserSessions
|
1824
1869
|
# max_results: 1,
|
1825
1870
|
# next_token: "XmlString",
|
1826
1871
|
# })
|
@@ -1830,9 +1875,9 @@ module Aws::ApplicationAutoScaling
|
|
1830
1875
|
# resp.scaling_policies #=> Array
|
1831
1876
|
# resp.scaling_policies[0].policy_arn #=> String
|
1832
1877
|
# resp.scaling_policies[0].policy_name #=> String
|
1833
|
-
# resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune"
|
1878
|
+
# resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune", "workspaces"
|
1834
1879
|
# resp.scaling_policies[0].resource_id #=> String
|
1835
|
-
# 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", "sagemaker:inference-component:DesiredCopyCount"
|
1880
|
+
# 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", "sagemaker:inference-component:DesiredCopyCount", "workspaces:workspacespool:DesiredUserSessions"
|
1836
1881
|
# resp.scaling_policies[0].policy_type #=> String, one of "StepScaling", "TargetTrackingScaling"
|
1837
1882
|
# resp.scaling_policies[0].step_scaling_policy_configuration.adjustment_type #=> String, one of "ChangeInCapacity", "PercentChangeInCapacity", "ExactCapacity"
|
1838
1883
|
# resp.scaling_policies[0].step_scaling_policy_configuration.step_adjustments #=> Array
|
@@ -1843,7 +1888,7 @@ module Aws::ApplicationAutoScaling
|
|
1843
1888
|
# resp.scaling_policies[0].step_scaling_policy_configuration.cooldown #=> Integer
|
1844
1889
|
# resp.scaling_policies[0].step_scaling_policy_configuration.metric_aggregation_type #=> String, one of "Average", "Minimum", "Maximum"
|
1845
1890
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
|
1846
|
-
# 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", "SageMakerInferenceComponentInvocationsPerCopy"
|
1891
|
+
# 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", "SageMakerInferenceComponentInvocationsPerCopy", "WorkSpacesAverageUserSessionsCapacityUtilization"
|
1847
1892
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.resource_label #=> String
|
1848
1893
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metric_name #=> String
|
1849
1894
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.namespace #=> String
|
@@ -1888,13 +1933,12 @@ module Aws::ApplicationAutoScaling
|
|
1888
1933
|
# You can filter the results using the `ResourceId`,
|
1889
1934
|
# `ScalableDimension`, and `ScheduledActionNames` parameters.
|
1890
1935
|
#
|
1891
|
-
# For more information, see [Scheduled scaling][1]
|
1892
|
-
#
|
1936
|
+
# For more information, see [Scheduled scaling][1] in the *Application
|
1937
|
+
# Auto Scaling User Guide*.
|
1893
1938
|
#
|
1894
1939
|
#
|
1895
1940
|
#
|
1896
1941
|
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html
|
1897
|
-
# [2]: https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-additional-cli-commands.html
|
1898
1942
|
#
|
1899
1943
|
# @option params [Array<String>] :scheduled_action_names
|
1900
1944
|
# The names of the scheduled actions to describe.
|
@@ -1910,7 +1954,7 @@ module Aws::ApplicationAutoScaling
|
|
1910
1954
|
#
|
1911
1955
|
# * ECS service - The resource type is `service` and the unique
|
1912
1956
|
# identifier is the cluster name and service name. Example:
|
1913
|
-
# `service/
|
1957
|
+
# `service/my-cluster/my-service`.
|
1914
1958
|
#
|
1915
1959
|
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
1916
1960
|
# unique identifier is the Spot Fleet request ID. Example:
|
@@ -1972,7 +2016,7 @@ module Aws::ApplicationAutoScaling
|
|
1972
2016
|
# * Neptune cluster - The resource type is `cluster` and the unique
|
1973
2017
|
# identifier is the cluster name. Example: `cluster:mycluster`.
|
1974
2018
|
#
|
1975
|
-
# * SageMaker
|
2019
|
+
# * SageMaker serverless endpoint - The resource type is `variant` and
|
1976
2020
|
# the unique identifier is the resource ID. Example:
|
1977
2021
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1978
2022
|
#
|
@@ -1980,6 +2024,10 @@ module Aws::ApplicationAutoScaling
|
|
1980
2024
|
# `inference-component` and the unique identifier is the resource ID.
|
1981
2025
|
# Example: `inference-component/my-inference-component`.
|
1982
2026
|
#
|
2027
|
+
# * Amazon WorkSpaces - The resource type is `workspacespool` and the
|
2028
|
+
# unique identifier is the pool ID. Example:
|
2029
|
+
# `workspacespool/wspool-123456`.
|
2030
|
+
#
|
1983
2031
|
#
|
1984
2032
|
#
|
1985
2033
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1989,8 +2037,7 @@ module Aws::ApplicationAutoScaling
|
|
1989
2037
|
# resource type, and scaling property. If you specify a scalable
|
1990
2038
|
# dimension, you must also specify a resource ID.
|
1991
2039
|
#
|
1992
|
-
# * `ecs:service:DesiredCount` - The
|
1993
|
-
# service.
|
2040
|
+
# * `ecs:service:DesiredCount` - The task count of an ECS service.
|
1994
2041
|
#
|
1995
2042
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
1996
2043
|
# of an EMR Instance Group.
|
@@ -1998,8 +2045,8 @@ module Aws::ApplicationAutoScaling
|
|
1998
2045
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1999
2046
|
# Spot Fleet.
|
2000
2047
|
#
|
2001
|
-
# * `appstream:fleet:DesiredCapacity` - The
|
2002
|
-
#
|
2048
|
+
# * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
|
2049
|
+
# fleet.
|
2003
2050
|
#
|
2004
2051
|
# * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
|
2005
2052
|
# for a DynamoDB table.
|
@@ -2053,11 +2100,14 @@ module Aws::ApplicationAutoScaling
|
|
2053
2100
|
# an Amazon Neptune DB cluster.
|
2054
2101
|
#
|
2055
2102
|
# * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
|
2056
|
-
# concurrency for a SageMaker
|
2103
|
+
# concurrency for a SageMaker serverless endpoint.
|
2057
2104
|
#
|
2058
2105
|
# * `sagemaker:inference-component:DesiredCopyCount` - The number of
|
2059
2106
|
# copies across an endpoint for a SageMaker inference component.
|
2060
2107
|
#
|
2108
|
+
# * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
|
2109
|
+
# WorkSpaces pool.
|
2110
|
+
#
|
2061
2111
|
# @option params [Integer] :max_results
|
2062
2112
|
# The maximum number of scheduled action results. This value can be
|
2063
2113
|
# between 1 and 50. The default value is 50.
|
@@ -2123,9 +2173,9 @@ module Aws::ApplicationAutoScaling
|
|
2123
2173
|
#
|
2124
2174
|
# resp = client.describe_scheduled_actions({
|
2125
2175
|
# scheduled_action_names: ["ResourceIdMaxLen1600"],
|
2126
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
2176
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune, workspaces
|
2127
2177
|
# resource_id: "ResourceIdMaxLen1600",
|
2128
|
-
# 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, sagemaker:inference-component:DesiredCopyCount
|
2178
|
+
# 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, sagemaker:inference-component:DesiredCopyCount, workspaces:workspacespool:DesiredUserSessions
|
2129
2179
|
# max_results: 1,
|
2130
2180
|
# next_token: "XmlString",
|
2131
2181
|
# })
|
@@ -2135,11 +2185,11 @@ module Aws::ApplicationAutoScaling
|
|
2135
2185
|
# resp.scheduled_actions #=> Array
|
2136
2186
|
# resp.scheduled_actions[0].scheduled_action_name #=> String
|
2137
2187
|
# resp.scheduled_actions[0].scheduled_action_arn #=> String
|
2138
|
-
# resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune"
|
2188
|
+
# resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune", "workspaces"
|
2139
2189
|
# resp.scheduled_actions[0].schedule #=> String
|
2140
2190
|
# resp.scheduled_actions[0].timezone #=> String
|
2141
2191
|
# resp.scheduled_actions[0].resource_id #=> String
|
2142
|
-
# 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", "sagemaker:inference-component:DesiredCopyCount"
|
2192
|
+
# 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", "sagemaker:inference-component:DesiredCopyCount", "workspaces:workspacespool:DesiredUserSessions"
|
2143
2193
|
# resp.scheduled_actions[0].start_time #=> Time
|
2144
2194
|
# resp.scheduled_actions[0].end_time #=> Time
|
2145
2195
|
# resp.scheduled_actions[0].scalable_target_action.min_capacity #=> Integer
|
@@ -2160,7 +2210,7 @@ module Aws::ApplicationAutoScaling
|
|
2160
2210
|
# scalable target.
|
2161
2211
|
#
|
2162
2212
|
# For general information about tags, including the format and syntax,
|
2163
|
-
# see [Tagging Amazon Web Services resources][1] in the *Amazon Web
|
2213
|
+
# see [Tagging your Amazon Web Services resources][1] in the *Amazon Web
|
2164
2214
|
# Services General Reference*.
|
2165
2215
|
#
|
2166
2216
|
#
|
@@ -2277,7 +2327,7 @@ module Aws::ApplicationAutoScaling
|
|
2277
2327
|
#
|
2278
2328
|
# * ECS service - The resource type is `service` and the unique
|
2279
2329
|
# identifier is the cluster name and service name. Example:
|
2280
|
-
# `service/
|
2330
|
+
# `service/my-cluster/my-service`.
|
2281
2331
|
#
|
2282
2332
|
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
2283
2333
|
# unique identifier is the Spot Fleet request ID. Example:
|
@@ -2339,7 +2389,7 @@ module Aws::ApplicationAutoScaling
|
|
2339
2389
|
# * Neptune cluster - The resource type is `cluster` and the unique
|
2340
2390
|
# identifier is the cluster name. Example: `cluster:mycluster`.
|
2341
2391
|
#
|
2342
|
-
# * SageMaker
|
2392
|
+
# * SageMaker serverless endpoint - The resource type is `variant` and
|
2343
2393
|
# the unique identifier is the resource ID. Example:
|
2344
2394
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
2345
2395
|
#
|
@@ -2347,6 +2397,10 @@ module Aws::ApplicationAutoScaling
|
|
2347
2397
|
# `inference-component` and the unique identifier is the resource ID.
|
2348
2398
|
# Example: `inference-component/my-inference-component`.
|
2349
2399
|
#
|
2400
|
+
# * Amazon WorkSpaces - The resource type is `workspacespool` and the
|
2401
|
+
# unique identifier is the pool ID. Example:
|
2402
|
+
# `workspacespool/wspool-123456`.
|
2403
|
+
#
|
2350
2404
|
#
|
2351
2405
|
#
|
2352
2406
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2355,8 +2409,7 @@ module Aws::ApplicationAutoScaling
|
|
2355
2409
|
# The scalable dimension. This string consists of the service namespace,
|
2356
2410
|
# resource type, and scaling property.
|
2357
2411
|
#
|
2358
|
-
# * `ecs:service:DesiredCount` - The
|
2359
|
-
# service.
|
2412
|
+
# * `ecs:service:DesiredCount` - The task count of an ECS service.
|
2360
2413
|
#
|
2361
2414
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
2362
2415
|
# of an EMR Instance Group.
|
@@ -2364,8 +2417,8 @@ module Aws::ApplicationAutoScaling
|
|
2364
2417
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2365
2418
|
# Spot Fleet.
|
2366
2419
|
#
|
2367
|
-
# * `appstream:fleet:DesiredCapacity` - The
|
2368
|
-
#
|
2420
|
+
# * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
|
2421
|
+
# fleet.
|
2369
2422
|
#
|
2370
2423
|
# * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
|
2371
2424
|
# for a DynamoDB table.
|
@@ -2419,11 +2472,14 @@ module Aws::ApplicationAutoScaling
|
|
2419
2472
|
# an Amazon Neptune DB cluster.
|
2420
2473
|
#
|
2421
2474
|
# * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
|
2422
|
-
# concurrency for a SageMaker
|
2475
|
+
# concurrency for a SageMaker serverless endpoint.
|
2423
2476
|
#
|
2424
2477
|
# * `sagemaker:inference-component:DesiredCopyCount` - The number of
|
2425
2478
|
# copies across an endpoint for a SageMaker inference component.
|
2426
2479
|
#
|
2480
|
+
# * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
|
2481
|
+
# WorkSpaces pool.
|
2482
|
+
#
|
2427
2483
|
# @option params [String] :policy_type
|
2428
2484
|
# The scaling policy type. This parameter is required if you are
|
2429
2485
|
# creating a scaling policy.
|
@@ -2504,9 +2560,9 @@ module Aws::ApplicationAutoScaling
|
|
2504
2560
|
#
|
2505
2561
|
# resp = client.put_scaling_policy({
|
2506
2562
|
# policy_name: "PolicyName", # required
|
2507
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
2563
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune, workspaces
|
2508
2564
|
# resource_id: "ResourceIdMaxLen1600", # required
|
2509
|
-
# 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, sagemaker:inference-component:DesiredCopyCount
|
2565
|
+
# 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, sagemaker:inference-component:DesiredCopyCount, workspaces:workspacespool:DesiredUserSessions
|
2510
2566
|
# policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling
|
2511
2567
|
# step_scaling_policy_configuration: {
|
2512
2568
|
# adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
|
@@ -2524,7 +2580,7 @@ module Aws::ApplicationAutoScaling
|
|
2524
2580
|
# target_tracking_scaling_policy_configuration: {
|
2525
2581
|
# target_value: 1.0, # required
|
2526
2582
|
# predefined_metric_specification: {
|
2527
|
-
# 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, SageMakerInferenceComponentInvocationsPerCopy
|
2583
|
+
# 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, SageMakerInferenceComponentInvocationsPerCopy, WorkSpacesAverageUserSessionsCapacityUtilization
|
2528
2584
|
# resource_label: "ResourceLabel",
|
2529
2585
|
# },
|
2530
2586
|
# customized_metric_specification: {
|
@@ -2642,13 +2698,12 @@ module Aws::ApplicationAutoScaling
|
|
2642
2698
|
# For rate expressions, *value* is a positive integer and *unit* is
|
2643
2699
|
# `minute` \| `minutes` \| `hour` \| `hours` \| `day` \| `days`.
|
2644
2700
|
#
|
2645
|
-
# For more information
|
2646
|
-
#
|
2647
|
-
# Guide*.
|
2701
|
+
# For more information, see [Schedule recurring scaling actions using
|
2702
|
+
# cron expressions][1] in the *Application Auto Scaling User Guide*.
|
2648
2703
|
#
|
2649
2704
|
#
|
2650
2705
|
#
|
2651
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/
|
2706
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-using-cron-expressions.html
|
2652
2707
|
#
|
2653
2708
|
# @option params [String] :timezone
|
2654
2709
|
# Specifies the time zone used when setting a scheduled action by using
|
@@ -2673,7 +2728,7 @@ module Aws::ApplicationAutoScaling
|
|
2673
2728
|
#
|
2674
2729
|
# * ECS service - The resource type is `service` and the unique
|
2675
2730
|
# identifier is the cluster name and service name. Example:
|
2676
|
-
# `service/
|
2731
|
+
# `service/my-cluster/my-service`.
|
2677
2732
|
#
|
2678
2733
|
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
2679
2734
|
# unique identifier is the Spot Fleet request ID. Example:
|
@@ -2735,7 +2790,7 @@ module Aws::ApplicationAutoScaling
|
|
2735
2790
|
# * Neptune cluster - The resource type is `cluster` and the unique
|
2736
2791
|
# identifier is the cluster name. Example: `cluster:mycluster`.
|
2737
2792
|
#
|
2738
|
-
# * SageMaker
|
2793
|
+
# * SageMaker serverless endpoint - The resource type is `variant` and
|
2739
2794
|
# the unique identifier is the resource ID. Example:
|
2740
2795
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
2741
2796
|
#
|
@@ -2743,6 +2798,10 @@ module Aws::ApplicationAutoScaling
|
|
2743
2798
|
# `inference-component` and the unique identifier is the resource ID.
|
2744
2799
|
# Example: `inference-component/my-inference-component`.
|
2745
2800
|
#
|
2801
|
+
# * Amazon WorkSpaces - The resource type is `workspacespool` and the
|
2802
|
+
# unique identifier is the pool ID. Example:
|
2803
|
+
# `workspacespool/wspool-123456`.
|
2804
|
+
#
|
2746
2805
|
#
|
2747
2806
|
#
|
2748
2807
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2751,8 +2810,7 @@ module Aws::ApplicationAutoScaling
|
|
2751
2810
|
# The scalable dimension. This string consists of the service namespace,
|
2752
2811
|
# resource type, and scaling property.
|
2753
2812
|
#
|
2754
|
-
# * `ecs:service:DesiredCount` - The
|
2755
|
-
# service.
|
2813
|
+
# * `ecs:service:DesiredCount` - The task count of an ECS service.
|
2756
2814
|
#
|
2757
2815
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
2758
2816
|
# of an EMR Instance Group.
|
@@ -2760,8 +2818,8 @@ module Aws::ApplicationAutoScaling
|
|
2760
2818
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2761
2819
|
# Spot Fleet.
|
2762
2820
|
#
|
2763
|
-
# * `appstream:fleet:DesiredCapacity` - The
|
2764
|
-
#
|
2821
|
+
# * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
|
2822
|
+
# fleet.
|
2765
2823
|
#
|
2766
2824
|
# * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
|
2767
2825
|
# for a DynamoDB table.
|
@@ -2815,11 +2873,14 @@ module Aws::ApplicationAutoScaling
|
|
2815
2873
|
# an Amazon Neptune DB cluster.
|
2816
2874
|
#
|
2817
2875
|
# * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
|
2818
|
-
# concurrency for a SageMaker
|
2876
|
+
# concurrency for a SageMaker serverless endpoint.
|
2819
2877
|
#
|
2820
2878
|
# * `sagemaker:inference-component:DesiredCopyCount` - The number of
|
2821
2879
|
# copies across an endpoint for a SageMaker inference component.
|
2822
2880
|
#
|
2881
|
+
# * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
|
2882
|
+
# WorkSpaces pool.
|
2883
|
+
#
|
2823
2884
|
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
2824
2885
|
# The date and time for this scheduled action to start, in UTC.
|
2825
2886
|
#
|
@@ -2860,12 +2921,12 @@ module Aws::ApplicationAutoScaling
|
|
2860
2921
|
# @example Request syntax with placeholder values
|
2861
2922
|
#
|
2862
2923
|
# resp = client.put_scheduled_action({
|
2863
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
2924
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune, workspaces
|
2864
2925
|
# schedule: "ResourceIdMaxLen1600",
|
2865
2926
|
# timezone: "ResourceIdMaxLen1600",
|
2866
2927
|
# scheduled_action_name: "ScheduledActionName", # required
|
2867
2928
|
# resource_id: "ResourceIdMaxLen1600", # required
|
2868
|
-
# 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, sagemaker:inference-component:DesiredCopyCount
|
2929
|
+
# 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, sagemaker:inference-component:DesiredCopyCount, workspaces:workspacespool:DesiredUserSessions
|
2869
2930
|
# start_time: Time.now,
|
2870
2931
|
# end_time: Time.now,
|
2871
2932
|
# scalable_target_action: {
|
@@ -2948,7 +3009,7 @@ module Aws::ApplicationAutoScaling
|
|
2948
3009
|
#
|
2949
3010
|
# * ECS service - The resource type is `service` and the unique
|
2950
3011
|
# identifier is the cluster name and service name. Example:
|
2951
|
-
# `service/
|
3012
|
+
# `service/my-cluster/my-service`.
|
2952
3013
|
#
|
2953
3014
|
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
2954
3015
|
# unique identifier is the Spot Fleet request ID. Example:
|
@@ -3010,7 +3071,7 @@ module Aws::ApplicationAutoScaling
|
|
3010
3071
|
# * Neptune cluster - The resource type is `cluster` and the unique
|
3011
3072
|
# identifier is the cluster name. Example: `cluster:mycluster`.
|
3012
3073
|
#
|
3013
|
-
# * SageMaker
|
3074
|
+
# * SageMaker serverless endpoint - The resource type is `variant` and
|
3014
3075
|
# the unique identifier is the resource ID. Example:
|
3015
3076
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
3016
3077
|
#
|
@@ -3018,6 +3079,10 @@ module Aws::ApplicationAutoScaling
|
|
3018
3079
|
# `inference-component` and the unique identifier is the resource ID.
|
3019
3080
|
# Example: `inference-component/my-inference-component`.
|
3020
3081
|
#
|
3082
|
+
# * Amazon WorkSpaces - The resource type is `workspacespool` and the
|
3083
|
+
# unique identifier is the pool ID. Example:
|
3084
|
+
# `workspacespool/wspool-123456`.
|
3085
|
+
#
|
3021
3086
|
#
|
3022
3087
|
#
|
3023
3088
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -3027,8 +3092,7 @@ module Aws::ApplicationAutoScaling
|
|
3027
3092
|
# string consists of the service namespace, resource type, and scaling
|
3028
3093
|
# property.
|
3029
3094
|
#
|
3030
|
-
# * `ecs:service:DesiredCount` - The
|
3031
|
-
# service.
|
3095
|
+
# * `ecs:service:DesiredCount` - The task count of an ECS service.
|
3032
3096
|
#
|
3033
3097
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
3034
3098
|
# of an EMR Instance Group.
|
@@ -3036,8 +3100,8 @@ module Aws::ApplicationAutoScaling
|
|
3036
3100
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
3037
3101
|
# Spot Fleet.
|
3038
3102
|
#
|
3039
|
-
# * `appstream:fleet:DesiredCapacity` - The
|
3040
|
-
#
|
3103
|
+
# * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
|
3104
|
+
# fleet.
|
3041
3105
|
#
|
3042
3106
|
# * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
|
3043
3107
|
# for a DynamoDB table.
|
@@ -3091,11 +3155,14 @@ module Aws::ApplicationAutoScaling
|
|
3091
3155
|
# an Amazon Neptune DB cluster.
|
3092
3156
|
#
|
3093
3157
|
# * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
|
3094
|
-
# concurrency for a SageMaker
|
3158
|
+
# concurrency for a SageMaker serverless endpoint.
|
3095
3159
|
#
|
3096
3160
|
# * `sagemaker:inference-component:DesiredCopyCount` - The number of
|
3097
3161
|
# copies across an endpoint for a SageMaker inference component.
|
3098
3162
|
#
|
3163
|
+
# * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
|
3164
|
+
# WorkSpaces pool.
|
3165
|
+
#
|
3099
3166
|
# @option params [Integer] :min_capacity
|
3100
3167
|
# The minimum value that you plan to scale in to. When a scaling policy
|
3101
3168
|
# is in effect, Application Auto Scaling can scale in (contract) as
|
@@ -3116,7 +3183,9 @@ module Aws::ApplicationAutoScaling
|
|
3116
3183
|
#
|
3117
3184
|
# * SageMaker endpoint variants
|
3118
3185
|
#
|
3119
|
-
# * SageMaker
|
3186
|
+
# * SageMaker inference components
|
3187
|
+
#
|
3188
|
+
# * SageMaker serverless endpoint provisioned concurrency
|
3120
3189
|
#
|
3121
3190
|
# * Spot Fleets
|
3122
3191
|
#
|
@@ -3160,11 +3229,12 @@ module Aws::ApplicationAutoScaling
|
|
3160
3229
|
#
|
3161
3230
|
# If the service supports service-linked roles, Application Auto Scaling
|
3162
3231
|
# uses a service-linked role, which it creates if it does not yet exist.
|
3163
|
-
# For more information, see [Application Auto Scaling
|
3232
|
+
# For more information, see [How Application Auto Scaling works with
|
3233
|
+
# IAM][1].
|
3164
3234
|
#
|
3165
3235
|
#
|
3166
3236
|
#
|
3167
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html
|
3237
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html
|
3168
3238
|
#
|
3169
3239
|
# @option params [Types::SuspendedState] :suspended_state
|
3170
3240
|
# An embedded object that contains attributes and attribute values that
|
@@ -3186,7 +3256,7 @@ module Aws::ApplicationAutoScaling
|
|
3186
3256
|
# * For `ScheduledScalingSuspended`, while a suspension is in effect,
|
3187
3257
|
# all scaling activities that involve scheduled actions are suspended.
|
3188
3258
|
#
|
3189
|
-
# For more information, see [
|
3259
|
+
# For more information, see [Suspend and resume scaling][1] in the
|
3190
3260
|
# *Application Auto Scaling User Guide*.
|
3191
3261
|
#
|
3192
3262
|
#
|
@@ -3236,9 +3306,9 @@ module Aws::ApplicationAutoScaling
|
|
3236
3306
|
# @example Request syntax with placeholder values
|
3237
3307
|
#
|
3238
3308
|
# resp = client.register_scalable_target({
|
3239
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
3309
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune, workspaces
|
3240
3310
|
# resource_id: "ResourceIdMaxLen1600", # required
|
3241
|
-
# 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, sagemaker:inference-component:DesiredCopyCount
|
3311
|
+
# 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, sagemaker:inference-component:DesiredCopyCount, workspaces:workspacespool:DesiredUserSessions
|
3242
3312
|
# min_capacity: 1,
|
3243
3313
|
# max_capacity: 1,
|
3244
3314
|
# role_arn: "ResourceIdMaxLen1600",
|
@@ -3278,7 +3348,7 @@ module Aws::ApplicationAutoScaling
|
|
3278
3348
|
# while creating it (`RegisterScalableTarget`).
|
3279
3349
|
#
|
3280
3350
|
# For general information about tags, including the format and syntax,
|
3281
|
-
# see [Tagging Amazon Web Services resources][1] in the *Amazon Web
|
3351
|
+
# see [Tagging your Amazon Web Services resources][1] in the *Amazon Web
|
3282
3352
|
# Services General Reference*.
|
3283
3353
|
#
|
3284
3354
|
# Use tags to control access to a scalable target. For more information,
|
@@ -3312,7 +3382,7 @@ module Aws::ApplicationAutoScaling
|
|
3312
3382
|
#
|
3313
3383
|
# For information about the rules that apply to tag keys and tag values,
|
3314
3384
|
# see [User-defined tag restrictions][1] in the *Amazon Web Services
|
3315
|
-
# Billing
|
3385
|
+
# Billing User Guide*.
|
3316
3386
|
#
|
3317
3387
|
#
|
3318
3388
|
#
|
@@ -3418,7 +3488,7 @@ module Aws::ApplicationAutoScaling
|
|
3418
3488
|
params: params,
|
3419
3489
|
config: config)
|
3420
3490
|
context[:gem_name] = 'aws-sdk-applicationautoscaling'
|
3421
|
-
context[:gem_version] = '1.
|
3491
|
+
context[:gem_version] = '1.88.0'
|
3422
3492
|
Seahorse::Client::Request.new(handlers, context)
|
3423
3493
|
end
|
3424
3494
|
|