aws-sdk-applicationautoscaling 1.86.0 → 1.87.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.
@@ -453,7 +453,7 @@ module Aws::ApplicationAutoScaling
453
453
  #
454
454
  # * ECS service - The resource type is `service` and the unique
455
455
  # identifier is the cluster name and service name. Example:
456
- # `service/default/sample-webapp`.
456
+ # `service/my-cluster/my-service`.
457
457
  #
458
458
  # * Spot Fleet - The resource type is `spot-fleet-request` and the
459
459
  # unique identifier is the Spot Fleet request ID. Example:
@@ -515,7 +515,7 @@ module Aws::ApplicationAutoScaling
515
515
  # * Neptune cluster - The resource type is `cluster` and the unique
516
516
  # identifier is the cluster name. Example: `cluster:mycluster`.
517
517
  #
518
- # * SageMaker Serverless endpoint - The resource type is `variant` and
518
+ # * SageMaker serverless endpoint - The resource type is `variant` and
519
519
  # the unique identifier is the resource ID. Example:
520
520
  # `endpoint/my-end-point/variant/KMeansClustering`.
521
521
  #
@@ -523,6 +523,10 @@ module Aws::ApplicationAutoScaling
523
523
  # `inference-component` and the unique identifier is the resource ID.
524
524
  # Example: `inference-component/my-inference-component`.
525
525
  #
526
+ # * Amazon WorkSpaces - The resource type is `workspacespool` and the
527
+ # unique identifier is the pool ID. Example:
528
+ # `workspacespool/wspool-123456`.
529
+ #
526
530
  #
527
531
  #
528
532
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -531,8 +535,7 @@ module Aws::ApplicationAutoScaling
531
535
  # The scalable dimension. This string consists of the service namespace,
532
536
  # resource type, and scaling property.
533
537
  #
534
- # * `ecs:service:DesiredCount` - The desired task count of an ECS
535
- # service.
538
+ # * `ecs:service:DesiredCount` - The task count of an ECS service.
536
539
  #
537
540
  # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
538
541
  # of an EMR Instance Group.
@@ -540,8 +543,8 @@ module Aws::ApplicationAutoScaling
540
543
  # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
541
544
  # Spot Fleet.
542
545
  #
543
- # * `appstream:fleet:DesiredCapacity` - The desired capacity of an
544
- # AppStream 2.0 fleet.
546
+ # * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
547
+ # fleet.
545
548
  #
546
549
  # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
547
550
  # for a DynamoDB table.
@@ -595,11 +598,14 @@ module Aws::ApplicationAutoScaling
595
598
  # an Amazon Neptune DB cluster.
596
599
  #
597
600
  # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
598
- # concurrency for a SageMaker Serverless endpoint.
601
+ # concurrency for a SageMaker serverless endpoint.
599
602
  #
600
603
  # * `sagemaker:inference-component:DesiredCopyCount` - The number of
601
604
  # copies across an endpoint for a SageMaker inference component.
602
605
  #
606
+ # * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
607
+ # WorkSpaces pool.
608
+ #
603
609
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
604
610
  #
605
611
  #
@@ -623,9 +629,9 @@ module Aws::ApplicationAutoScaling
623
629
  #
624
630
  # resp = client.delete_scaling_policy({
625
631
  # 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
632
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune, workspaces
627
633
  # 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
634
+ # 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
635
  # })
630
636
  #
631
637
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy AWS API Documentation
@@ -661,7 +667,7 @@ module Aws::ApplicationAutoScaling
661
667
  #
662
668
  # * ECS service - The resource type is `service` and the unique
663
669
  # identifier is the cluster name and service name. Example:
664
- # `service/default/sample-webapp`.
670
+ # `service/my-cluster/my-service`.
665
671
  #
666
672
  # * Spot Fleet - The resource type is `spot-fleet-request` and the
667
673
  # unique identifier is the Spot Fleet request ID. Example:
@@ -723,7 +729,7 @@ module Aws::ApplicationAutoScaling
723
729
  # * Neptune cluster - The resource type is `cluster` and the unique
724
730
  # identifier is the cluster name. Example: `cluster:mycluster`.
725
731
  #
726
- # * SageMaker Serverless endpoint - The resource type is `variant` and
732
+ # * SageMaker serverless endpoint - The resource type is `variant` and
727
733
  # the unique identifier is the resource ID. Example:
728
734
  # `endpoint/my-end-point/variant/KMeansClustering`.
729
735
  #
@@ -731,6 +737,10 @@ module Aws::ApplicationAutoScaling
731
737
  # `inference-component` and the unique identifier is the resource ID.
732
738
  # Example: `inference-component/my-inference-component`.
733
739
  #
740
+ # * Amazon WorkSpaces - The resource type is `workspacespool` and the
741
+ # unique identifier is the pool ID. Example:
742
+ # `workspacespool/wspool-123456`.
743
+ #
734
744
  #
735
745
  #
736
746
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -739,8 +749,7 @@ module Aws::ApplicationAutoScaling
739
749
  # The scalable dimension. This string consists of the service namespace,
740
750
  # resource type, and scaling property.
741
751
  #
742
- # * `ecs:service:DesiredCount` - The desired task count of an ECS
743
- # service.
752
+ # * `ecs:service:DesiredCount` - The task count of an ECS service.
744
753
  #
745
754
  # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
746
755
  # of an EMR Instance Group.
@@ -748,8 +757,8 @@ module Aws::ApplicationAutoScaling
748
757
  # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
749
758
  # Spot Fleet.
750
759
  #
751
- # * `appstream:fleet:DesiredCapacity` - The desired capacity of an
752
- # AppStream 2.0 fleet.
760
+ # * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
761
+ # fleet.
753
762
  #
754
763
  # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
755
764
  # for a DynamoDB table.
@@ -803,11 +812,14 @@ module Aws::ApplicationAutoScaling
803
812
  # an Amazon Neptune DB cluster.
804
813
  #
805
814
  # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
806
- # concurrency for a SageMaker Serverless endpoint.
815
+ # concurrency for a SageMaker serverless endpoint.
807
816
  #
808
817
  # * `sagemaker:inference-component:DesiredCopyCount` - The number of
809
818
  # copies across an endpoint for a SageMaker inference component.
810
819
  #
820
+ # * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
821
+ # WorkSpaces pool.
822
+ #
811
823
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
812
824
  #
813
825
  #
@@ -829,10 +841,10 @@ module Aws::ApplicationAutoScaling
829
841
  # @example Request syntax with placeholder values
830
842
  #
831
843
  # 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
844
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune, workspaces
833
845
  # scheduled_action_name: "ResourceIdMaxLen1600", # required
834
846
  # 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
847
+ # 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
848
  # })
837
849
  #
838
850
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction AWS API Documentation
@@ -868,7 +880,7 @@ module Aws::ApplicationAutoScaling
868
880
  #
869
881
  # * ECS service - The resource type is `service` and the unique
870
882
  # identifier is the cluster name and service name. Example:
871
- # `service/default/sample-webapp`.
883
+ # `service/my-cluster/my-service`.
872
884
  #
873
885
  # * Spot Fleet - The resource type is `spot-fleet-request` and the
874
886
  # unique identifier is the Spot Fleet request ID. Example:
@@ -930,7 +942,7 @@ module Aws::ApplicationAutoScaling
930
942
  # * Neptune cluster - The resource type is `cluster` and the unique
931
943
  # identifier is the cluster name. Example: `cluster:mycluster`.
932
944
  #
933
- # * SageMaker Serverless endpoint - The resource type is `variant` and
945
+ # * SageMaker serverless endpoint - The resource type is `variant` and
934
946
  # the unique identifier is the resource ID. Example:
935
947
  # `endpoint/my-end-point/variant/KMeansClustering`.
936
948
  #
@@ -938,6 +950,10 @@ module Aws::ApplicationAutoScaling
938
950
  # `inference-component` and the unique identifier is the resource ID.
939
951
  # Example: `inference-component/my-inference-component`.
940
952
  #
953
+ # * Amazon WorkSpaces - The resource type is `workspacespool` and the
954
+ # unique identifier is the pool ID. Example:
955
+ # `workspacespool/wspool-123456`.
956
+ #
941
957
  #
942
958
  #
943
959
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -947,8 +963,7 @@ module Aws::ApplicationAutoScaling
947
963
  # string consists of the service namespace, resource type, and scaling
948
964
  # property.
949
965
  #
950
- # * `ecs:service:DesiredCount` - The desired task count of an ECS
951
- # service.
966
+ # * `ecs:service:DesiredCount` - The task count of an ECS service.
952
967
  #
953
968
  # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
954
969
  # of an EMR Instance Group.
@@ -956,8 +971,8 @@ module Aws::ApplicationAutoScaling
956
971
  # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
957
972
  # Spot Fleet.
958
973
  #
959
- # * `appstream:fleet:DesiredCapacity` - The desired capacity of an
960
- # AppStream 2.0 fleet.
974
+ # * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
975
+ # fleet.
961
976
  #
962
977
  # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
963
978
  # for a DynamoDB table.
@@ -1011,11 +1026,14 @@ module Aws::ApplicationAutoScaling
1011
1026
  # an Amazon Neptune DB cluster.
1012
1027
  #
1013
1028
  # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
1014
- # concurrency for a SageMaker Serverless endpoint.
1029
+ # concurrency for a SageMaker serverless endpoint.
1015
1030
  #
1016
1031
  # * `sagemaker:inference-component:DesiredCopyCount` - The number of
1017
1032
  # copies across an endpoint for a SageMaker inference component.
1018
1033
  #
1034
+ # * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
1035
+ # WorkSpaces pool.
1036
+ #
1019
1037
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1020
1038
  #
1021
1039
  #
@@ -1037,9 +1055,9 @@ module Aws::ApplicationAutoScaling
1037
1055
  # @example Request syntax with placeholder values
1038
1056
  #
1039
1057
  # 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
1058
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune, workspaces
1041
1059
  # 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
1060
+ # 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
1061
  # })
1044
1062
  #
1045
1063
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget AWS API Documentation
@@ -1068,7 +1086,7 @@ module Aws::ApplicationAutoScaling
1068
1086
  #
1069
1087
  # * ECS service - The resource type is `service` and the unique
1070
1088
  # identifier is the cluster name and service name. Example:
1071
- # `service/default/sample-webapp`.
1089
+ # `service/my-cluster/my-service`.
1072
1090
  #
1073
1091
  # * Spot Fleet - The resource type is `spot-fleet-request` and the
1074
1092
  # unique identifier is the Spot Fleet request ID. Example:
@@ -1130,7 +1148,7 @@ module Aws::ApplicationAutoScaling
1130
1148
  # * Neptune cluster - The resource type is `cluster` and the unique
1131
1149
  # identifier is the cluster name. Example: `cluster:mycluster`.
1132
1150
  #
1133
- # * SageMaker Serverless endpoint - The resource type is `variant` and
1151
+ # * SageMaker serverless endpoint - The resource type is `variant` and
1134
1152
  # the unique identifier is the resource ID. Example:
1135
1153
  # `endpoint/my-end-point/variant/KMeansClustering`.
1136
1154
  #
@@ -1138,6 +1156,10 @@ module Aws::ApplicationAutoScaling
1138
1156
  # `inference-component` and the unique identifier is the resource ID.
1139
1157
  # Example: `inference-component/my-inference-component`.
1140
1158
  #
1159
+ # * Amazon WorkSpaces - The resource type is `workspacespool` and the
1160
+ # unique identifier is the pool ID. Example:
1161
+ # `workspacespool/wspool-123456`.
1162
+ #
1141
1163
  #
1142
1164
  #
1143
1165
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1148,8 +1170,7 @@ module Aws::ApplicationAutoScaling
1148
1170
  # property. If you specify a scalable dimension, you must also specify a
1149
1171
  # resource ID.
1150
1172
  #
1151
- # * `ecs:service:DesiredCount` - The desired task count of an ECS
1152
- # service.
1173
+ # * `ecs:service:DesiredCount` - The task count of an ECS service.
1153
1174
  #
1154
1175
  # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
1155
1176
  # of an EMR Instance Group.
@@ -1157,8 +1178,8 @@ module Aws::ApplicationAutoScaling
1157
1178
  # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
1158
1179
  # Spot Fleet.
1159
1180
  #
1160
- # * `appstream:fleet:DesiredCapacity` - The desired capacity of an
1161
- # AppStream 2.0 fleet.
1181
+ # * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
1182
+ # fleet.
1162
1183
  #
1163
1184
  # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
1164
1185
  # for a DynamoDB table.
@@ -1212,11 +1233,14 @@ module Aws::ApplicationAutoScaling
1212
1233
  # an Amazon Neptune DB cluster.
1213
1234
  #
1214
1235
  # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
1215
- # concurrency for a SageMaker Serverless endpoint.
1236
+ # concurrency for a SageMaker serverless endpoint.
1216
1237
  #
1217
1238
  # * `sagemaker:inference-component:DesiredCopyCount` - The number of
1218
1239
  # copies across an endpoint for a SageMaker inference component.
1219
1240
  #
1241
+ # * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
1242
+ # WorkSpaces pool.
1243
+ #
1220
1244
  # @option params [Integer] :max_results
1221
1245
  # The maximum number of scalable targets. This value can be between 1
1222
1246
  # and 50. The default value is 50.
@@ -1269,9 +1293,9 @@ module Aws::ApplicationAutoScaling
1269
1293
  # @example Request syntax with placeholder values
1270
1294
  #
1271
1295
  # 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
1296
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune, workspaces
1273
1297
  # 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
1298
+ # 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
1299
  # max_results: 1,
1276
1300
  # next_token: "XmlString",
1277
1301
  # })
@@ -1279,9 +1303,9 @@ module Aws::ApplicationAutoScaling
1279
1303
  # @example Response structure
1280
1304
  #
1281
1305
  # 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"
1306
+ # 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
1307
  # 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"
1308
+ # 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
1309
  # resp.scalable_targets[0].min_capacity #=> Integer
1286
1310
  # resp.scalable_targets[0].max_capacity #=> Integer
1287
1311
  # resp.scalable_targets[0].role_arn #=> String
@@ -1325,7 +1349,7 @@ module Aws::ApplicationAutoScaling
1325
1349
  #
1326
1350
  # * ECS service - The resource type is `service` and the unique
1327
1351
  # identifier is the cluster name and service name. Example:
1328
- # `service/default/sample-webapp`.
1352
+ # `service/my-cluster/my-service`.
1329
1353
  #
1330
1354
  # * Spot Fleet - The resource type is `spot-fleet-request` and the
1331
1355
  # unique identifier is the Spot Fleet request ID. Example:
@@ -1387,7 +1411,7 @@ module Aws::ApplicationAutoScaling
1387
1411
  # * Neptune cluster - The resource type is `cluster` and the unique
1388
1412
  # identifier is the cluster name. Example: `cluster:mycluster`.
1389
1413
  #
1390
- # * SageMaker Serverless endpoint - The resource type is `variant` and
1414
+ # * SageMaker serverless endpoint - The resource type is `variant` and
1391
1415
  # the unique identifier is the resource ID. Example:
1392
1416
  # `endpoint/my-end-point/variant/KMeansClustering`.
1393
1417
  #
@@ -1395,6 +1419,10 @@ module Aws::ApplicationAutoScaling
1395
1419
  # `inference-component` and the unique identifier is the resource ID.
1396
1420
  # Example: `inference-component/my-inference-component`.
1397
1421
  #
1422
+ # * Amazon WorkSpaces - The resource type is `workspacespool` and the
1423
+ # unique identifier is the pool ID. Example:
1424
+ # `workspacespool/wspool-123456`.
1425
+ #
1398
1426
  #
1399
1427
  #
1400
1428
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1404,8 +1432,7 @@ module Aws::ApplicationAutoScaling
1404
1432
  # resource type, and scaling property. If you specify a scalable
1405
1433
  # dimension, you must also specify a resource ID.
1406
1434
  #
1407
- # * `ecs:service:DesiredCount` - The desired task count of an ECS
1408
- # service.
1435
+ # * `ecs:service:DesiredCount` - The task count of an ECS service.
1409
1436
  #
1410
1437
  # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
1411
1438
  # of an EMR Instance Group.
@@ -1413,8 +1440,8 @@ module Aws::ApplicationAutoScaling
1413
1440
  # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
1414
1441
  # Spot Fleet.
1415
1442
  #
1416
- # * `appstream:fleet:DesiredCapacity` - The desired capacity of an
1417
- # AppStream 2.0 fleet.
1443
+ # * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
1444
+ # fleet.
1418
1445
  #
1419
1446
  # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
1420
1447
  # for a DynamoDB table.
@@ -1468,11 +1495,14 @@ module Aws::ApplicationAutoScaling
1468
1495
  # an Amazon Neptune DB cluster.
1469
1496
  #
1470
1497
  # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
1471
- # concurrency for a SageMaker Serverless endpoint.
1498
+ # concurrency for a SageMaker serverless endpoint.
1472
1499
  #
1473
1500
  # * `sagemaker:inference-component:DesiredCopyCount` - The number of
1474
1501
  # copies across an endpoint for a SageMaker inference component.
1475
1502
  #
1503
+ # * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
1504
+ # WorkSpaces pool.
1505
+ #
1476
1506
  # @option params [Integer] :max_results
1477
1507
  # The maximum number of scalable targets. This value can be between 1
1478
1508
  # and 50. The default value is 50.
@@ -1538,9 +1568,9 @@ module Aws::ApplicationAutoScaling
1538
1568
  # @example Request syntax with placeholder values
1539
1569
  #
1540
1570
  # 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
1571
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune, workspaces
1542
1572
  # 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
1573
+ # 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
1574
  # max_results: 1,
1545
1575
  # next_token: "XmlString",
1546
1576
  # include_not_scaled_activities: false,
@@ -1550,9 +1580,9 @@ module Aws::ApplicationAutoScaling
1550
1580
  #
1551
1581
  # resp.scaling_activities #=> Array
1552
1582
  # 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"
1583
+ # 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
1584
  # 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"
1585
+ # 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
1586
  # resp.scaling_activities[0].description #=> String
1557
1587
  # resp.scaling_activities[0].cause #=> String
1558
1588
  # resp.scaling_activities[0].start_time #=> Time
@@ -1605,7 +1635,7 @@ module Aws::ApplicationAutoScaling
1605
1635
  #
1606
1636
  # * ECS service - The resource type is `service` and the unique
1607
1637
  # identifier is the cluster name and service name. Example:
1608
- # `service/default/sample-webapp`.
1638
+ # `service/my-cluster/my-service`.
1609
1639
  #
1610
1640
  # * Spot Fleet - The resource type is `spot-fleet-request` and the
1611
1641
  # unique identifier is the Spot Fleet request ID. Example:
@@ -1667,7 +1697,7 @@ module Aws::ApplicationAutoScaling
1667
1697
  # * Neptune cluster - The resource type is `cluster` and the unique
1668
1698
  # identifier is the cluster name. Example: `cluster:mycluster`.
1669
1699
  #
1670
- # * SageMaker Serverless endpoint - The resource type is `variant` and
1700
+ # * SageMaker serverless endpoint - The resource type is `variant` and
1671
1701
  # the unique identifier is the resource ID. Example:
1672
1702
  # `endpoint/my-end-point/variant/KMeansClustering`.
1673
1703
  #
@@ -1675,6 +1705,10 @@ module Aws::ApplicationAutoScaling
1675
1705
  # `inference-component` and the unique identifier is the resource ID.
1676
1706
  # Example: `inference-component/my-inference-component`.
1677
1707
  #
1708
+ # * Amazon WorkSpaces - The resource type is `workspacespool` and the
1709
+ # unique identifier is the pool ID. Example:
1710
+ # `workspacespool/wspool-123456`.
1711
+ #
1678
1712
  #
1679
1713
  #
1680
1714
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1684,8 +1718,7 @@ module Aws::ApplicationAutoScaling
1684
1718
  # resource type, and scaling property. If you specify a scalable
1685
1719
  # dimension, you must also specify a resource ID.
1686
1720
  #
1687
- # * `ecs:service:DesiredCount` - The desired task count of an ECS
1688
- # service.
1721
+ # * `ecs:service:DesiredCount` - The task count of an ECS service.
1689
1722
  #
1690
1723
  # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
1691
1724
  # of an EMR Instance Group.
@@ -1693,8 +1726,8 @@ module Aws::ApplicationAutoScaling
1693
1726
  # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
1694
1727
  # Spot Fleet.
1695
1728
  #
1696
- # * `appstream:fleet:DesiredCapacity` - The desired capacity of an
1697
- # AppStream 2.0 fleet.
1729
+ # * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
1730
+ # fleet.
1698
1731
  #
1699
1732
  # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
1700
1733
  # for a DynamoDB table.
@@ -1748,11 +1781,14 @@ module Aws::ApplicationAutoScaling
1748
1781
  # an Amazon Neptune DB cluster.
1749
1782
  #
1750
1783
  # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
1751
- # concurrency for a SageMaker Serverless endpoint.
1784
+ # concurrency for a SageMaker serverless endpoint.
1752
1785
  #
1753
1786
  # * `sagemaker:inference-component:DesiredCopyCount` - The number of
1754
1787
  # copies across an endpoint for a SageMaker inference component.
1755
1788
  #
1789
+ # * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
1790
+ # WorkSpaces pool.
1791
+ #
1756
1792
  # @option params [Integer] :max_results
1757
1793
  # The maximum number of scalable targets. This value can be between 1
1758
1794
  # and 10. The default value is 10.
@@ -1818,9 +1854,9 @@ module Aws::ApplicationAutoScaling
1818
1854
  #
1819
1855
  # resp = client.describe_scaling_policies({
1820
1856
  # policy_names: ["ResourceIdMaxLen1600"],
1821
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
1857
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune, workspaces
1822
1858
  # 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
1859
+ # scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount, sagemaker:variant:DesiredProvisionedConcurrency, sagemaker:inference-component:DesiredCopyCount, workspaces:workspacespool:DesiredUserSessions
1824
1860
  # max_results: 1,
1825
1861
  # next_token: "XmlString",
1826
1862
  # })
@@ -1830,9 +1866,9 @@ module Aws::ApplicationAutoScaling
1830
1866
  # resp.scaling_policies #=> Array
1831
1867
  # resp.scaling_policies[0].policy_arn #=> String
1832
1868
  # 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"
1869
+ # 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
1870
  # 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"
1871
+ # 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
1872
  # resp.scaling_policies[0].policy_type #=> String, one of "StepScaling", "TargetTrackingScaling"
1837
1873
  # resp.scaling_policies[0].step_scaling_policy_configuration.adjustment_type #=> String, one of "ChangeInCapacity", "PercentChangeInCapacity", "ExactCapacity"
1838
1874
  # resp.scaling_policies[0].step_scaling_policy_configuration.step_adjustments #=> Array
@@ -1843,7 +1879,7 @@ module Aws::ApplicationAutoScaling
1843
1879
  # resp.scaling_policies[0].step_scaling_policy_configuration.cooldown #=> Integer
1844
1880
  # resp.scaling_policies[0].step_scaling_policy_configuration.metric_aggregation_type #=> String, one of "Average", "Minimum", "Maximum"
1845
1881
  # 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"
1882
+ # 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
1883
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.resource_label #=> String
1848
1884
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metric_name #=> String
1849
1885
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.namespace #=> String
@@ -1888,13 +1924,12 @@ module Aws::ApplicationAutoScaling
1888
1924
  # You can filter the results using the `ResourceId`,
1889
1925
  # `ScalableDimension`, and `ScheduledActionNames` parameters.
1890
1926
  #
1891
- # For more information, see [Scheduled scaling][1] and [Managing
1892
- # scheduled scaling][2] in the *Application Auto Scaling User Guide*.
1927
+ # For more information, see [Scheduled scaling][1] in the *Application
1928
+ # Auto Scaling User Guide*.
1893
1929
  #
1894
1930
  #
1895
1931
  #
1896
1932
  # [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
1933
  #
1899
1934
  # @option params [Array<String>] :scheduled_action_names
1900
1935
  # The names of the scheduled actions to describe.
@@ -1910,7 +1945,7 @@ module Aws::ApplicationAutoScaling
1910
1945
  #
1911
1946
  # * ECS service - The resource type is `service` and the unique
1912
1947
  # identifier is the cluster name and service name. Example:
1913
- # `service/default/sample-webapp`.
1948
+ # `service/my-cluster/my-service`.
1914
1949
  #
1915
1950
  # * Spot Fleet - The resource type is `spot-fleet-request` and the
1916
1951
  # unique identifier is the Spot Fleet request ID. Example:
@@ -1972,7 +2007,7 @@ module Aws::ApplicationAutoScaling
1972
2007
  # * Neptune cluster - The resource type is `cluster` and the unique
1973
2008
  # identifier is the cluster name. Example: `cluster:mycluster`.
1974
2009
  #
1975
- # * SageMaker Serverless endpoint - The resource type is `variant` and
2010
+ # * SageMaker serverless endpoint - The resource type is `variant` and
1976
2011
  # the unique identifier is the resource ID. Example:
1977
2012
  # `endpoint/my-end-point/variant/KMeansClustering`.
1978
2013
  #
@@ -1980,6 +2015,10 @@ module Aws::ApplicationAutoScaling
1980
2015
  # `inference-component` and the unique identifier is the resource ID.
1981
2016
  # Example: `inference-component/my-inference-component`.
1982
2017
  #
2018
+ # * Amazon WorkSpaces - The resource type is `workspacespool` and the
2019
+ # unique identifier is the pool ID. Example:
2020
+ # `workspacespool/wspool-123456`.
2021
+ #
1983
2022
  #
1984
2023
  #
1985
2024
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1989,8 +2028,7 @@ module Aws::ApplicationAutoScaling
1989
2028
  # resource type, and scaling property. If you specify a scalable
1990
2029
  # dimension, you must also specify a resource ID.
1991
2030
  #
1992
- # * `ecs:service:DesiredCount` - The desired task count of an ECS
1993
- # service.
2031
+ # * `ecs:service:DesiredCount` - The task count of an ECS service.
1994
2032
  #
1995
2033
  # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
1996
2034
  # of an EMR Instance Group.
@@ -1998,8 +2036,8 @@ module Aws::ApplicationAutoScaling
1998
2036
  # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
1999
2037
  # Spot Fleet.
2000
2038
  #
2001
- # * `appstream:fleet:DesiredCapacity` - The desired capacity of an
2002
- # AppStream 2.0 fleet.
2039
+ # * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
2040
+ # fleet.
2003
2041
  #
2004
2042
  # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
2005
2043
  # for a DynamoDB table.
@@ -2053,11 +2091,14 @@ module Aws::ApplicationAutoScaling
2053
2091
  # an Amazon Neptune DB cluster.
2054
2092
  #
2055
2093
  # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
2056
- # concurrency for a SageMaker Serverless endpoint.
2094
+ # concurrency for a SageMaker serverless endpoint.
2057
2095
  #
2058
2096
  # * `sagemaker:inference-component:DesiredCopyCount` - The number of
2059
2097
  # copies across an endpoint for a SageMaker inference component.
2060
2098
  #
2099
+ # * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
2100
+ # WorkSpaces pool.
2101
+ #
2061
2102
  # @option params [Integer] :max_results
2062
2103
  # The maximum number of scheduled action results. This value can be
2063
2104
  # between 1 and 50. The default value is 50.
@@ -2123,9 +2164,9 @@ module Aws::ApplicationAutoScaling
2123
2164
  #
2124
2165
  # resp = client.describe_scheduled_actions({
2125
2166
  # 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
2167
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune, workspaces
2127
2168
  # 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
2169
+ # 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
2170
  # max_results: 1,
2130
2171
  # next_token: "XmlString",
2131
2172
  # })
@@ -2135,11 +2176,11 @@ module Aws::ApplicationAutoScaling
2135
2176
  # resp.scheduled_actions #=> Array
2136
2177
  # resp.scheduled_actions[0].scheduled_action_name #=> String
2137
2178
  # 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"
2179
+ # 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
2180
  # resp.scheduled_actions[0].schedule #=> String
2140
2181
  # resp.scheduled_actions[0].timezone #=> String
2141
2182
  # 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"
2183
+ # 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
2184
  # resp.scheduled_actions[0].start_time #=> Time
2144
2185
  # resp.scheduled_actions[0].end_time #=> Time
2145
2186
  # resp.scheduled_actions[0].scalable_target_action.min_capacity #=> Integer
@@ -2160,7 +2201,7 @@ module Aws::ApplicationAutoScaling
2160
2201
  # scalable target.
2161
2202
  #
2162
2203
  # For general information about tags, including the format and syntax,
2163
- # see [Tagging Amazon Web Services resources][1] in the *Amazon Web
2204
+ # see [Tagging your Amazon Web Services resources][1] in the *Amazon Web
2164
2205
  # Services General Reference*.
2165
2206
  #
2166
2207
  #
@@ -2277,7 +2318,7 @@ module Aws::ApplicationAutoScaling
2277
2318
  #
2278
2319
  # * ECS service - The resource type is `service` and the unique
2279
2320
  # identifier is the cluster name and service name. Example:
2280
- # `service/default/sample-webapp`.
2321
+ # `service/my-cluster/my-service`.
2281
2322
  #
2282
2323
  # * Spot Fleet - The resource type is `spot-fleet-request` and the
2283
2324
  # unique identifier is the Spot Fleet request ID. Example:
@@ -2339,7 +2380,7 @@ module Aws::ApplicationAutoScaling
2339
2380
  # * Neptune cluster - The resource type is `cluster` and the unique
2340
2381
  # identifier is the cluster name. Example: `cluster:mycluster`.
2341
2382
  #
2342
- # * SageMaker Serverless endpoint - The resource type is `variant` and
2383
+ # * SageMaker serverless endpoint - The resource type is `variant` and
2343
2384
  # the unique identifier is the resource ID. Example:
2344
2385
  # `endpoint/my-end-point/variant/KMeansClustering`.
2345
2386
  #
@@ -2347,6 +2388,10 @@ module Aws::ApplicationAutoScaling
2347
2388
  # `inference-component` and the unique identifier is the resource ID.
2348
2389
  # Example: `inference-component/my-inference-component`.
2349
2390
  #
2391
+ # * Amazon WorkSpaces - The resource type is `workspacespool` and the
2392
+ # unique identifier is the pool ID. Example:
2393
+ # `workspacespool/wspool-123456`.
2394
+ #
2350
2395
  #
2351
2396
  #
2352
2397
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -2355,8 +2400,7 @@ module Aws::ApplicationAutoScaling
2355
2400
  # The scalable dimension. This string consists of the service namespace,
2356
2401
  # resource type, and scaling property.
2357
2402
  #
2358
- # * `ecs:service:DesiredCount` - The desired task count of an ECS
2359
- # service.
2403
+ # * `ecs:service:DesiredCount` - The task count of an ECS service.
2360
2404
  #
2361
2405
  # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
2362
2406
  # of an EMR Instance Group.
@@ -2364,8 +2408,8 @@ module Aws::ApplicationAutoScaling
2364
2408
  # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
2365
2409
  # Spot Fleet.
2366
2410
  #
2367
- # * `appstream:fleet:DesiredCapacity` - The desired capacity of an
2368
- # AppStream 2.0 fleet.
2411
+ # * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
2412
+ # fleet.
2369
2413
  #
2370
2414
  # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
2371
2415
  # for a DynamoDB table.
@@ -2419,11 +2463,14 @@ module Aws::ApplicationAutoScaling
2419
2463
  # an Amazon Neptune DB cluster.
2420
2464
  #
2421
2465
  # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
2422
- # concurrency for a SageMaker Serverless endpoint.
2466
+ # concurrency for a SageMaker serverless endpoint.
2423
2467
  #
2424
2468
  # * `sagemaker:inference-component:DesiredCopyCount` - The number of
2425
2469
  # copies across an endpoint for a SageMaker inference component.
2426
2470
  #
2471
+ # * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
2472
+ # WorkSpaces pool.
2473
+ #
2427
2474
  # @option params [String] :policy_type
2428
2475
  # The scaling policy type. This parameter is required if you are
2429
2476
  # creating a scaling policy.
@@ -2504,9 +2551,9 @@ module Aws::ApplicationAutoScaling
2504
2551
  #
2505
2552
  # resp = client.put_scaling_policy({
2506
2553
  # 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
2554
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune, workspaces
2508
2555
  # 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
2556
+ # 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
2557
  # policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling
2511
2558
  # step_scaling_policy_configuration: {
2512
2559
  # adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
@@ -2524,7 +2571,7 @@ module Aws::ApplicationAutoScaling
2524
2571
  # target_tracking_scaling_policy_configuration: {
2525
2572
  # target_value: 1.0, # required
2526
2573
  # 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
2574
+ # 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
2575
  # resource_label: "ResourceLabel",
2529
2576
  # },
2530
2577
  # customized_metric_specification: {
@@ -2642,13 +2689,12 @@ module Aws::ApplicationAutoScaling
2642
2689
  # For rate expressions, *value* is a positive integer and *unit* is
2643
2690
  # `minute` \| `minutes` \| `hour` \| `hours` \| `day` \| `days`.
2644
2691
  #
2645
- # For more information and examples, see [Example scheduled actions for
2646
- # Application Auto Scaling][1] in the *Application Auto Scaling User
2647
- # Guide*.
2692
+ # For more information, see [Schedule recurring scaling actions using
2693
+ # cron expressions][1] in the *Application Auto Scaling User Guide*.
2648
2694
  #
2649
2695
  #
2650
2696
  #
2651
- # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/examples-scheduled-actions.html
2697
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-using-cron-expressions.html
2652
2698
  #
2653
2699
  # @option params [String] :timezone
2654
2700
  # Specifies the time zone used when setting a scheduled action by using
@@ -2673,7 +2719,7 @@ module Aws::ApplicationAutoScaling
2673
2719
  #
2674
2720
  # * ECS service - The resource type is `service` and the unique
2675
2721
  # identifier is the cluster name and service name. Example:
2676
- # `service/default/sample-webapp`.
2722
+ # `service/my-cluster/my-service`.
2677
2723
  #
2678
2724
  # * Spot Fleet - The resource type is `spot-fleet-request` and the
2679
2725
  # unique identifier is the Spot Fleet request ID. Example:
@@ -2735,7 +2781,7 @@ module Aws::ApplicationAutoScaling
2735
2781
  # * Neptune cluster - The resource type is `cluster` and the unique
2736
2782
  # identifier is the cluster name. Example: `cluster:mycluster`.
2737
2783
  #
2738
- # * SageMaker Serverless endpoint - The resource type is `variant` and
2784
+ # * SageMaker serverless endpoint - The resource type is `variant` and
2739
2785
  # the unique identifier is the resource ID. Example:
2740
2786
  # `endpoint/my-end-point/variant/KMeansClustering`.
2741
2787
  #
@@ -2743,6 +2789,10 @@ module Aws::ApplicationAutoScaling
2743
2789
  # `inference-component` and the unique identifier is the resource ID.
2744
2790
  # Example: `inference-component/my-inference-component`.
2745
2791
  #
2792
+ # * Amazon WorkSpaces - The resource type is `workspacespool` and the
2793
+ # unique identifier is the pool ID. Example:
2794
+ # `workspacespool/wspool-123456`.
2795
+ #
2746
2796
  #
2747
2797
  #
2748
2798
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -2751,8 +2801,7 @@ module Aws::ApplicationAutoScaling
2751
2801
  # The scalable dimension. This string consists of the service namespace,
2752
2802
  # resource type, and scaling property.
2753
2803
  #
2754
- # * `ecs:service:DesiredCount` - The desired task count of an ECS
2755
- # service.
2804
+ # * `ecs:service:DesiredCount` - The task count of an ECS service.
2756
2805
  #
2757
2806
  # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
2758
2807
  # of an EMR Instance Group.
@@ -2760,8 +2809,8 @@ module Aws::ApplicationAutoScaling
2760
2809
  # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
2761
2810
  # Spot Fleet.
2762
2811
  #
2763
- # * `appstream:fleet:DesiredCapacity` - The desired capacity of an
2764
- # AppStream 2.0 fleet.
2812
+ # * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
2813
+ # fleet.
2765
2814
  #
2766
2815
  # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
2767
2816
  # for a DynamoDB table.
@@ -2815,11 +2864,14 @@ module Aws::ApplicationAutoScaling
2815
2864
  # an Amazon Neptune DB cluster.
2816
2865
  #
2817
2866
  # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
2818
- # concurrency for a SageMaker Serverless endpoint.
2867
+ # concurrency for a SageMaker serverless endpoint.
2819
2868
  #
2820
2869
  # * `sagemaker:inference-component:DesiredCopyCount` - The number of
2821
2870
  # copies across an endpoint for a SageMaker inference component.
2822
2871
  #
2872
+ # * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
2873
+ # WorkSpaces pool.
2874
+ #
2823
2875
  # @option params [Time,DateTime,Date,Integer,String] :start_time
2824
2876
  # The date and time for this scheduled action to start, in UTC.
2825
2877
  #
@@ -2860,12 +2912,12 @@ module Aws::ApplicationAutoScaling
2860
2912
  # @example Request syntax with placeholder values
2861
2913
  #
2862
2914
  # 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
2915
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune, workspaces
2864
2916
  # schedule: "ResourceIdMaxLen1600",
2865
2917
  # timezone: "ResourceIdMaxLen1600",
2866
2918
  # scheduled_action_name: "ScheduledActionName", # required
2867
2919
  # 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
2920
+ # 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
2921
  # start_time: Time.now,
2870
2922
  # end_time: Time.now,
2871
2923
  # scalable_target_action: {
@@ -2948,7 +3000,7 @@ module Aws::ApplicationAutoScaling
2948
3000
  #
2949
3001
  # * ECS service - The resource type is `service` and the unique
2950
3002
  # identifier is the cluster name and service name. Example:
2951
- # `service/default/sample-webapp`.
3003
+ # `service/my-cluster/my-service`.
2952
3004
  #
2953
3005
  # * Spot Fleet - The resource type is `spot-fleet-request` and the
2954
3006
  # unique identifier is the Spot Fleet request ID. Example:
@@ -3010,7 +3062,7 @@ module Aws::ApplicationAutoScaling
3010
3062
  # * Neptune cluster - The resource type is `cluster` and the unique
3011
3063
  # identifier is the cluster name. Example: `cluster:mycluster`.
3012
3064
  #
3013
- # * SageMaker Serverless endpoint - The resource type is `variant` and
3065
+ # * SageMaker serverless endpoint - The resource type is `variant` and
3014
3066
  # the unique identifier is the resource ID. Example:
3015
3067
  # `endpoint/my-end-point/variant/KMeansClustering`.
3016
3068
  #
@@ -3018,6 +3070,10 @@ module Aws::ApplicationAutoScaling
3018
3070
  # `inference-component` and the unique identifier is the resource ID.
3019
3071
  # Example: `inference-component/my-inference-component`.
3020
3072
  #
3073
+ # * Amazon WorkSpaces - The resource type is `workspacespool` and the
3074
+ # unique identifier is the pool ID. Example:
3075
+ # `workspacespool/wspool-123456`.
3076
+ #
3021
3077
  #
3022
3078
  #
3023
3079
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -3027,8 +3083,7 @@ module Aws::ApplicationAutoScaling
3027
3083
  # string consists of the service namespace, resource type, and scaling
3028
3084
  # property.
3029
3085
  #
3030
- # * `ecs:service:DesiredCount` - The desired task count of an ECS
3031
- # service.
3086
+ # * `ecs:service:DesiredCount` - The task count of an ECS service.
3032
3087
  #
3033
3088
  # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
3034
3089
  # of an EMR Instance Group.
@@ -3036,8 +3091,8 @@ module Aws::ApplicationAutoScaling
3036
3091
  # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
3037
3092
  # Spot Fleet.
3038
3093
  #
3039
- # * `appstream:fleet:DesiredCapacity` - The desired capacity of an
3040
- # AppStream 2.0 fleet.
3094
+ # * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
3095
+ # fleet.
3041
3096
  #
3042
3097
  # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
3043
3098
  # for a DynamoDB table.
@@ -3091,11 +3146,14 @@ module Aws::ApplicationAutoScaling
3091
3146
  # an Amazon Neptune DB cluster.
3092
3147
  #
3093
3148
  # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
3094
- # concurrency for a SageMaker Serverless endpoint.
3149
+ # concurrency for a SageMaker serverless endpoint.
3095
3150
  #
3096
3151
  # * `sagemaker:inference-component:DesiredCopyCount` - The number of
3097
3152
  # copies across an endpoint for a SageMaker inference component.
3098
3153
  #
3154
+ # * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
3155
+ # WorkSpaces pool.
3156
+ #
3099
3157
  # @option params [Integer] :min_capacity
3100
3158
  # The minimum value that you plan to scale in to. When a scaling policy
3101
3159
  # is in effect, Application Auto Scaling can scale in (contract) as
@@ -3116,7 +3174,9 @@ module Aws::ApplicationAutoScaling
3116
3174
  #
3117
3175
  # * SageMaker endpoint variants
3118
3176
  #
3119
- # * SageMaker Serverless endpoint provisioned concurrency
3177
+ # * SageMaker inference components
3178
+ #
3179
+ # * SageMaker serverless endpoint provisioned concurrency
3120
3180
  #
3121
3181
  # * Spot Fleets
3122
3182
  #
@@ -3160,11 +3220,12 @@ module Aws::ApplicationAutoScaling
3160
3220
  #
3161
3221
  # If the service supports service-linked roles, Application Auto Scaling
3162
3222
  # uses a service-linked role, which it creates if it does not yet exist.
3163
- # For more information, see [Application Auto Scaling IAM roles][1].
3223
+ # For more information, see [How Application Auto Scaling works with
3224
+ # IAM][1].
3164
3225
  #
3165
3226
  #
3166
3227
  #
3167
- # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html#security_iam_service-with-iam-roles
3228
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html
3168
3229
  #
3169
3230
  # @option params [Types::SuspendedState] :suspended_state
3170
3231
  # An embedded object that contains attributes and attribute values that
@@ -3186,7 +3247,7 @@ module Aws::ApplicationAutoScaling
3186
3247
  # * For `ScheduledScalingSuspended`, while a suspension is in effect,
3187
3248
  # all scaling activities that involve scheduled actions are suspended.
3188
3249
  #
3189
- # For more information, see [Suspending and resuming scaling][1] in the
3250
+ # For more information, see [Suspend and resume scaling][1] in the
3190
3251
  # *Application Auto Scaling User Guide*.
3191
3252
  #
3192
3253
  #
@@ -3236,9 +3297,9 @@ module Aws::ApplicationAutoScaling
3236
3297
  # @example Request syntax with placeholder values
3237
3298
  #
3238
3299
  # 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
3300
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune, workspaces
3240
3301
  # 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
3302
+ # 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
3303
  # min_capacity: 1,
3243
3304
  # max_capacity: 1,
3244
3305
  # role_arn: "ResourceIdMaxLen1600",
@@ -3278,7 +3339,7 @@ module Aws::ApplicationAutoScaling
3278
3339
  # while creating it (`RegisterScalableTarget`).
3279
3340
  #
3280
3341
  # For general information about tags, including the format and syntax,
3281
- # see [Tagging Amazon Web Services resources][1] in the *Amazon Web
3342
+ # see [Tagging your Amazon Web Services resources][1] in the *Amazon Web
3282
3343
  # Services General Reference*.
3283
3344
  #
3284
3345
  # Use tags to control access to a scalable target. For more information,
@@ -3312,7 +3373,7 @@ module Aws::ApplicationAutoScaling
3312
3373
  #
3313
3374
  # For information about the rules that apply to tag keys and tag values,
3314
3375
  # see [User-defined tag restrictions][1] in the *Amazon Web Services
3315
- # Billing and Cost Management User Guide*.
3376
+ # Billing User Guide*.
3316
3377
  #
3317
3378
  #
3318
3379
  #
@@ -3418,7 +3479,7 @@ module Aws::ApplicationAutoScaling
3418
3479
  params: params,
3419
3480
  config: config)
3420
3481
  context[:gem_name] = 'aws-sdk-applicationautoscaling'
3421
- context[:gem_version] = '1.86.0'
3482
+ context[:gem_version] = '1.87.0'
3422
3483
  Seahorse::Client::Request.new(handlers, context)
3423
3484
  end
3424
3485