aws-sdk-applicationautoscaling 1.85.0 → 1.87.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -314,13 +314,10 @@ module Aws::ApplicationAutoScaling
314
314
  #
315
315
  # @option options [Boolean] :simple_json (false)
316
316
  # Disables request parameter conversion, validation, and formatting.
317
- # Also disable response data type conversions. This option is useful
318
- # when you want to ensure the highest level of performance by
319
- # avoiding overhead of walking request parameters and response data
320
- # structures.
321
- #
322
- # When `:simple_json` is enabled, the request parameters hash must
323
- # be formatted exactly as the DynamoDB API expects.
317
+ # Also disables response data type conversions. The request parameters
318
+ # hash must be formatted exactly as the API expects.This option is useful
319
+ # when you want to ensure the highest level of performance by avoiding
320
+ # overhead of walking request parameters and response data structures.
324
321
  #
325
322
  # @option options [Boolean] :stub_responses (false)
326
323
  # Causes the client to return stubbed responses. By default
@@ -456,7 +453,7 @@ module Aws::ApplicationAutoScaling
456
453
  #
457
454
  # * ECS service - The resource type is `service` and the unique
458
455
  # identifier is the cluster name and service name. Example:
459
- # `service/default/sample-webapp`.
456
+ # `service/my-cluster/my-service`.
460
457
  #
461
458
  # * Spot Fleet - The resource type is `spot-fleet-request` and the
462
459
  # unique identifier is the Spot Fleet request ID. Example:
@@ -518,7 +515,7 @@ module Aws::ApplicationAutoScaling
518
515
  # * Neptune cluster - The resource type is `cluster` and the unique
519
516
  # identifier is the cluster name. Example: `cluster:mycluster`.
520
517
  #
521
- # * SageMaker Serverless endpoint - The resource type is `variant` and
518
+ # * SageMaker serverless endpoint - The resource type is `variant` and
522
519
  # the unique identifier is the resource ID. Example:
523
520
  # `endpoint/my-end-point/variant/KMeansClustering`.
524
521
  #
@@ -526,6 +523,10 @@ module Aws::ApplicationAutoScaling
526
523
  # `inference-component` and the unique identifier is the resource ID.
527
524
  # Example: `inference-component/my-inference-component`.
528
525
  #
526
+ # * Amazon WorkSpaces - The resource type is `workspacespool` and the
527
+ # unique identifier is the pool ID. Example:
528
+ # `workspacespool/wspool-123456`.
529
+ #
529
530
  #
530
531
  #
531
532
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -534,8 +535,7 @@ module Aws::ApplicationAutoScaling
534
535
  # The scalable dimension. This string consists of the service namespace,
535
536
  # resource type, and scaling property.
536
537
  #
537
- # * `ecs:service:DesiredCount` - The desired task count of an ECS
538
- # service.
538
+ # * `ecs:service:DesiredCount` - The task count of an ECS service.
539
539
  #
540
540
  # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
541
541
  # of an EMR Instance Group.
@@ -543,8 +543,8 @@ module Aws::ApplicationAutoScaling
543
543
  # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
544
544
  # Spot Fleet.
545
545
  #
546
- # * `appstream:fleet:DesiredCapacity` - The desired capacity of an
547
- # AppStream 2.0 fleet.
546
+ # * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
547
+ # fleet.
548
548
  #
549
549
  # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
550
550
  # for a DynamoDB table.
@@ -598,11 +598,14 @@ module Aws::ApplicationAutoScaling
598
598
  # an Amazon Neptune DB cluster.
599
599
  #
600
600
  # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
601
- # concurrency for a SageMaker Serverless endpoint.
601
+ # concurrency for a SageMaker serverless endpoint.
602
602
  #
603
603
  # * `sagemaker:inference-component:DesiredCopyCount` - The number of
604
604
  # copies across an endpoint for a SageMaker inference component.
605
605
  #
606
+ # * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
607
+ # WorkSpaces pool.
608
+ #
606
609
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
607
610
  #
608
611
  #
@@ -626,9 +629,9 @@ module Aws::ApplicationAutoScaling
626
629
  #
627
630
  # resp = client.delete_scaling_policy({
628
631
  # policy_name: "ResourceIdMaxLen1600", # required
629
- # 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
630
633
  # resource_id: "ResourceIdMaxLen1600", # required
631
- # 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
632
635
  # })
633
636
  #
634
637
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy AWS API Documentation
@@ -664,7 +667,7 @@ module Aws::ApplicationAutoScaling
664
667
  #
665
668
  # * ECS service - The resource type is `service` and the unique
666
669
  # identifier is the cluster name and service name. Example:
667
- # `service/default/sample-webapp`.
670
+ # `service/my-cluster/my-service`.
668
671
  #
669
672
  # * Spot Fleet - The resource type is `spot-fleet-request` and the
670
673
  # unique identifier is the Spot Fleet request ID. Example:
@@ -726,7 +729,7 @@ module Aws::ApplicationAutoScaling
726
729
  # * Neptune cluster - The resource type is `cluster` and the unique
727
730
  # identifier is the cluster name. Example: `cluster:mycluster`.
728
731
  #
729
- # * SageMaker Serverless endpoint - The resource type is `variant` and
732
+ # * SageMaker serverless endpoint - The resource type is `variant` and
730
733
  # the unique identifier is the resource ID. Example:
731
734
  # `endpoint/my-end-point/variant/KMeansClustering`.
732
735
  #
@@ -734,6 +737,10 @@ module Aws::ApplicationAutoScaling
734
737
  # `inference-component` and the unique identifier is the resource ID.
735
738
  # Example: `inference-component/my-inference-component`.
736
739
  #
740
+ # * Amazon WorkSpaces - The resource type is `workspacespool` and the
741
+ # unique identifier is the pool ID. Example:
742
+ # `workspacespool/wspool-123456`.
743
+ #
737
744
  #
738
745
  #
739
746
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -742,8 +749,7 @@ module Aws::ApplicationAutoScaling
742
749
  # The scalable dimension. This string consists of the service namespace,
743
750
  # resource type, and scaling property.
744
751
  #
745
- # * `ecs:service:DesiredCount` - The desired task count of an ECS
746
- # service.
752
+ # * `ecs:service:DesiredCount` - The task count of an ECS service.
747
753
  #
748
754
  # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
749
755
  # of an EMR Instance Group.
@@ -751,8 +757,8 @@ module Aws::ApplicationAutoScaling
751
757
  # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
752
758
  # Spot Fleet.
753
759
  #
754
- # * `appstream:fleet:DesiredCapacity` - The desired capacity of an
755
- # AppStream 2.0 fleet.
760
+ # * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
761
+ # fleet.
756
762
  #
757
763
  # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
758
764
  # for a DynamoDB table.
@@ -806,11 +812,14 @@ module Aws::ApplicationAutoScaling
806
812
  # an Amazon Neptune DB cluster.
807
813
  #
808
814
  # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
809
- # concurrency for a SageMaker Serverless endpoint.
815
+ # concurrency for a SageMaker serverless endpoint.
810
816
  #
811
817
  # * `sagemaker:inference-component:DesiredCopyCount` - The number of
812
818
  # copies across an endpoint for a SageMaker inference component.
813
819
  #
820
+ # * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
821
+ # WorkSpaces pool.
822
+ #
814
823
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
815
824
  #
816
825
  #
@@ -832,10 +841,10 @@ module Aws::ApplicationAutoScaling
832
841
  # @example Request syntax with placeholder values
833
842
  #
834
843
  # resp = client.delete_scheduled_action({
835
- # 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
836
845
  # scheduled_action_name: "ResourceIdMaxLen1600", # required
837
846
  # resource_id: "ResourceIdMaxLen1600", # required
838
- # 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
839
848
  # })
840
849
  #
841
850
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction AWS API Documentation
@@ -871,7 +880,7 @@ module Aws::ApplicationAutoScaling
871
880
  #
872
881
  # * ECS service - The resource type is `service` and the unique
873
882
  # identifier is the cluster name and service name. Example:
874
- # `service/default/sample-webapp`.
883
+ # `service/my-cluster/my-service`.
875
884
  #
876
885
  # * Spot Fleet - The resource type is `spot-fleet-request` and the
877
886
  # unique identifier is the Spot Fleet request ID. Example:
@@ -933,7 +942,7 @@ module Aws::ApplicationAutoScaling
933
942
  # * Neptune cluster - The resource type is `cluster` and the unique
934
943
  # identifier is the cluster name. Example: `cluster:mycluster`.
935
944
  #
936
- # * SageMaker Serverless endpoint - The resource type is `variant` and
945
+ # * SageMaker serverless endpoint - The resource type is `variant` and
937
946
  # the unique identifier is the resource ID. Example:
938
947
  # `endpoint/my-end-point/variant/KMeansClustering`.
939
948
  #
@@ -941,6 +950,10 @@ module Aws::ApplicationAutoScaling
941
950
  # `inference-component` and the unique identifier is the resource ID.
942
951
  # Example: `inference-component/my-inference-component`.
943
952
  #
953
+ # * Amazon WorkSpaces - The resource type is `workspacespool` and the
954
+ # unique identifier is the pool ID. Example:
955
+ # `workspacespool/wspool-123456`.
956
+ #
944
957
  #
945
958
  #
946
959
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -950,8 +963,7 @@ module Aws::ApplicationAutoScaling
950
963
  # string consists of the service namespace, resource type, and scaling
951
964
  # property.
952
965
  #
953
- # * `ecs:service:DesiredCount` - The desired task count of an ECS
954
- # service.
966
+ # * `ecs:service:DesiredCount` - The task count of an ECS service.
955
967
  #
956
968
  # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
957
969
  # of an EMR Instance Group.
@@ -959,8 +971,8 @@ module Aws::ApplicationAutoScaling
959
971
  # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
960
972
  # Spot Fleet.
961
973
  #
962
- # * `appstream:fleet:DesiredCapacity` - The desired capacity of an
963
- # AppStream 2.0 fleet.
974
+ # * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
975
+ # fleet.
964
976
  #
965
977
  # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
966
978
  # for a DynamoDB table.
@@ -1014,11 +1026,14 @@ module Aws::ApplicationAutoScaling
1014
1026
  # an Amazon Neptune DB cluster.
1015
1027
  #
1016
1028
  # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
1017
- # concurrency for a SageMaker Serverless endpoint.
1029
+ # concurrency for a SageMaker serverless endpoint.
1018
1030
  #
1019
1031
  # * `sagemaker:inference-component:DesiredCopyCount` - The number of
1020
1032
  # copies across an endpoint for a SageMaker inference component.
1021
1033
  #
1034
+ # * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
1035
+ # WorkSpaces pool.
1036
+ #
1022
1037
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1023
1038
  #
1024
1039
  #
@@ -1040,9 +1055,9 @@ module Aws::ApplicationAutoScaling
1040
1055
  # @example Request syntax with placeholder values
1041
1056
  #
1042
1057
  # resp = client.deregister_scalable_target({
1043
- # 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
1044
1059
  # resource_id: "ResourceIdMaxLen1600", # required
1045
- # 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
1046
1061
  # })
1047
1062
  #
1048
1063
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget AWS API Documentation
@@ -1071,7 +1086,7 @@ module Aws::ApplicationAutoScaling
1071
1086
  #
1072
1087
  # * ECS service - The resource type is `service` and the unique
1073
1088
  # identifier is the cluster name and service name. Example:
1074
- # `service/default/sample-webapp`.
1089
+ # `service/my-cluster/my-service`.
1075
1090
  #
1076
1091
  # * Spot Fleet - The resource type is `spot-fleet-request` and the
1077
1092
  # unique identifier is the Spot Fleet request ID. Example:
@@ -1133,7 +1148,7 @@ module Aws::ApplicationAutoScaling
1133
1148
  # * Neptune cluster - The resource type is `cluster` and the unique
1134
1149
  # identifier is the cluster name. Example: `cluster:mycluster`.
1135
1150
  #
1136
- # * SageMaker Serverless endpoint - The resource type is `variant` and
1151
+ # * SageMaker serverless endpoint - The resource type is `variant` and
1137
1152
  # the unique identifier is the resource ID. Example:
1138
1153
  # `endpoint/my-end-point/variant/KMeansClustering`.
1139
1154
  #
@@ -1141,6 +1156,10 @@ module Aws::ApplicationAutoScaling
1141
1156
  # `inference-component` and the unique identifier is the resource ID.
1142
1157
  # Example: `inference-component/my-inference-component`.
1143
1158
  #
1159
+ # * Amazon WorkSpaces - The resource type is `workspacespool` and the
1160
+ # unique identifier is the pool ID. Example:
1161
+ # `workspacespool/wspool-123456`.
1162
+ #
1144
1163
  #
1145
1164
  #
1146
1165
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1151,8 +1170,7 @@ module Aws::ApplicationAutoScaling
1151
1170
  # property. If you specify a scalable dimension, you must also specify a
1152
1171
  # resource ID.
1153
1172
  #
1154
- # * `ecs:service:DesiredCount` - The desired task count of an ECS
1155
- # service.
1173
+ # * `ecs:service:DesiredCount` - The task count of an ECS service.
1156
1174
  #
1157
1175
  # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
1158
1176
  # of an EMR Instance Group.
@@ -1160,8 +1178,8 @@ module Aws::ApplicationAutoScaling
1160
1178
  # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
1161
1179
  # Spot Fleet.
1162
1180
  #
1163
- # * `appstream:fleet:DesiredCapacity` - The desired capacity of an
1164
- # AppStream 2.0 fleet.
1181
+ # * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
1182
+ # fleet.
1165
1183
  #
1166
1184
  # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
1167
1185
  # for a DynamoDB table.
@@ -1215,11 +1233,14 @@ module Aws::ApplicationAutoScaling
1215
1233
  # an Amazon Neptune DB cluster.
1216
1234
  #
1217
1235
  # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
1218
- # concurrency for a SageMaker Serverless endpoint.
1236
+ # concurrency for a SageMaker serverless endpoint.
1219
1237
  #
1220
1238
  # * `sagemaker:inference-component:DesiredCopyCount` - The number of
1221
1239
  # copies across an endpoint for a SageMaker inference component.
1222
1240
  #
1241
+ # * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
1242
+ # WorkSpaces pool.
1243
+ #
1223
1244
  # @option params [Integer] :max_results
1224
1245
  # The maximum number of scalable targets. This value can be between 1
1225
1246
  # and 50. The default value is 50.
@@ -1272,9 +1293,9 @@ module Aws::ApplicationAutoScaling
1272
1293
  # @example Request syntax with placeholder values
1273
1294
  #
1274
1295
  # resp = client.describe_scalable_targets({
1275
- # 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
1276
1297
  # resource_ids: ["ResourceIdMaxLen1600"],
1277
- # 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
1278
1299
  # max_results: 1,
1279
1300
  # next_token: "XmlString",
1280
1301
  # })
@@ -1282,9 +1303,9 @@ module Aws::ApplicationAutoScaling
1282
1303
  # @example Response structure
1283
1304
  #
1284
1305
  # resp.scalable_targets #=> Array
1285
- # 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"
1286
1307
  # resp.scalable_targets[0].resource_id #=> String
1287
- # 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"
1288
1309
  # resp.scalable_targets[0].min_capacity #=> Integer
1289
1310
  # resp.scalable_targets[0].max_capacity #=> Integer
1290
1311
  # resp.scalable_targets[0].role_arn #=> String
@@ -1328,7 +1349,7 @@ module Aws::ApplicationAutoScaling
1328
1349
  #
1329
1350
  # * ECS service - The resource type is `service` and the unique
1330
1351
  # identifier is the cluster name and service name. Example:
1331
- # `service/default/sample-webapp`.
1352
+ # `service/my-cluster/my-service`.
1332
1353
  #
1333
1354
  # * Spot Fleet - The resource type is `spot-fleet-request` and the
1334
1355
  # unique identifier is the Spot Fleet request ID. Example:
@@ -1390,7 +1411,7 @@ module Aws::ApplicationAutoScaling
1390
1411
  # * Neptune cluster - The resource type is `cluster` and the unique
1391
1412
  # identifier is the cluster name. Example: `cluster:mycluster`.
1392
1413
  #
1393
- # * SageMaker Serverless endpoint - The resource type is `variant` and
1414
+ # * SageMaker serverless endpoint - The resource type is `variant` and
1394
1415
  # the unique identifier is the resource ID. Example:
1395
1416
  # `endpoint/my-end-point/variant/KMeansClustering`.
1396
1417
  #
@@ -1398,6 +1419,10 @@ module Aws::ApplicationAutoScaling
1398
1419
  # `inference-component` and the unique identifier is the resource ID.
1399
1420
  # Example: `inference-component/my-inference-component`.
1400
1421
  #
1422
+ # * Amazon WorkSpaces - The resource type is `workspacespool` and the
1423
+ # unique identifier is the pool ID. Example:
1424
+ # `workspacespool/wspool-123456`.
1425
+ #
1401
1426
  #
1402
1427
  #
1403
1428
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1407,8 +1432,7 @@ module Aws::ApplicationAutoScaling
1407
1432
  # resource type, and scaling property. If you specify a scalable
1408
1433
  # dimension, you must also specify a resource ID.
1409
1434
  #
1410
- # * `ecs:service:DesiredCount` - The desired task count of an ECS
1411
- # service.
1435
+ # * `ecs:service:DesiredCount` - The task count of an ECS service.
1412
1436
  #
1413
1437
  # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
1414
1438
  # of an EMR Instance Group.
@@ -1416,8 +1440,8 @@ module Aws::ApplicationAutoScaling
1416
1440
  # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
1417
1441
  # Spot Fleet.
1418
1442
  #
1419
- # * `appstream:fleet:DesiredCapacity` - The desired capacity of an
1420
- # AppStream 2.0 fleet.
1443
+ # * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
1444
+ # fleet.
1421
1445
  #
1422
1446
  # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
1423
1447
  # for a DynamoDB table.
@@ -1471,11 +1495,14 @@ module Aws::ApplicationAutoScaling
1471
1495
  # an Amazon Neptune DB cluster.
1472
1496
  #
1473
1497
  # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
1474
- # concurrency for a SageMaker Serverless endpoint.
1498
+ # concurrency for a SageMaker serverless endpoint.
1475
1499
  #
1476
1500
  # * `sagemaker:inference-component:DesiredCopyCount` - The number of
1477
1501
  # copies across an endpoint for a SageMaker inference component.
1478
1502
  #
1503
+ # * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
1504
+ # WorkSpaces pool.
1505
+ #
1479
1506
  # @option params [Integer] :max_results
1480
1507
  # The maximum number of scalable targets. This value can be between 1
1481
1508
  # and 50. The default value is 50.
@@ -1541,9 +1568,9 @@ module Aws::ApplicationAutoScaling
1541
1568
  # @example Request syntax with placeholder values
1542
1569
  #
1543
1570
  # resp = client.describe_scaling_activities({
1544
- # 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
1545
1572
  # resource_id: "ResourceIdMaxLen1600",
1546
- # 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
1547
1574
  # max_results: 1,
1548
1575
  # next_token: "XmlString",
1549
1576
  # include_not_scaled_activities: false,
@@ -1553,9 +1580,9 @@ module Aws::ApplicationAutoScaling
1553
1580
  #
1554
1581
  # resp.scaling_activities #=> Array
1555
1582
  # resp.scaling_activities[0].activity_id #=> String
1556
- # 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"
1557
1584
  # resp.scaling_activities[0].resource_id #=> String
1558
- # 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"
1559
1586
  # resp.scaling_activities[0].description #=> String
1560
1587
  # resp.scaling_activities[0].cause #=> String
1561
1588
  # resp.scaling_activities[0].start_time #=> Time
@@ -1608,7 +1635,7 @@ module Aws::ApplicationAutoScaling
1608
1635
  #
1609
1636
  # * ECS service - The resource type is `service` and the unique
1610
1637
  # identifier is the cluster name and service name. Example:
1611
- # `service/default/sample-webapp`.
1638
+ # `service/my-cluster/my-service`.
1612
1639
  #
1613
1640
  # * Spot Fleet - The resource type is `spot-fleet-request` and the
1614
1641
  # unique identifier is the Spot Fleet request ID. Example:
@@ -1670,7 +1697,7 @@ module Aws::ApplicationAutoScaling
1670
1697
  # * Neptune cluster - The resource type is `cluster` and the unique
1671
1698
  # identifier is the cluster name. Example: `cluster:mycluster`.
1672
1699
  #
1673
- # * SageMaker Serverless endpoint - The resource type is `variant` and
1700
+ # * SageMaker serverless endpoint - The resource type is `variant` and
1674
1701
  # the unique identifier is the resource ID. Example:
1675
1702
  # `endpoint/my-end-point/variant/KMeansClustering`.
1676
1703
  #
@@ -1678,6 +1705,10 @@ module Aws::ApplicationAutoScaling
1678
1705
  # `inference-component` and the unique identifier is the resource ID.
1679
1706
  # Example: `inference-component/my-inference-component`.
1680
1707
  #
1708
+ # * Amazon WorkSpaces - The resource type is `workspacespool` and the
1709
+ # unique identifier is the pool ID. Example:
1710
+ # `workspacespool/wspool-123456`.
1711
+ #
1681
1712
  #
1682
1713
  #
1683
1714
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1687,8 +1718,7 @@ module Aws::ApplicationAutoScaling
1687
1718
  # resource type, and scaling property. If you specify a scalable
1688
1719
  # dimension, you must also specify a resource ID.
1689
1720
  #
1690
- # * `ecs:service:DesiredCount` - The desired task count of an ECS
1691
- # service.
1721
+ # * `ecs:service:DesiredCount` - The task count of an ECS service.
1692
1722
  #
1693
1723
  # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
1694
1724
  # of an EMR Instance Group.
@@ -1696,8 +1726,8 @@ module Aws::ApplicationAutoScaling
1696
1726
  # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
1697
1727
  # Spot Fleet.
1698
1728
  #
1699
- # * `appstream:fleet:DesiredCapacity` - The desired capacity of an
1700
- # AppStream 2.0 fleet.
1729
+ # * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
1730
+ # fleet.
1701
1731
  #
1702
1732
  # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
1703
1733
  # for a DynamoDB table.
@@ -1751,11 +1781,14 @@ module Aws::ApplicationAutoScaling
1751
1781
  # an Amazon Neptune DB cluster.
1752
1782
  #
1753
1783
  # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
1754
- # concurrency for a SageMaker Serverless endpoint.
1784
+ # concurrency for a SageMaker serverless endpoint.
1755
1785
  #
1756
1786
  # * `sagemaker:inference-component:DesiredCopyCount` - The number of
1757
1787
  # copies across an endpoint for a SageMaker inference component.
1758
1788
  #
1789
+ # * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
1790
+ # WorkSpaces pool.
1791
+ #
1759
1792
  # @option params [Integer] :max_results
1760
1793
  # The maximum number of scalable targets. This value can be between 1
1761
1794
  # and 10. The default value is 10.
@@ -1821,9 +1854,9 @@ module Aws::ApplicationAutoScaling
1821
1854
  #
1822
1855
  # resp = client.describe_scaling_policies({
1823
1856
  # policy_names: ["ResourceIdMaxLen1600"],
1824
- # 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
1825
1858
  # resource_id: "ResourceIdMaxLen1600",
1826
- # 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
1827
1860
  # max_results: 1,
1828
1861
  # next_token: "XmlString",
1829
1862
  # })
@@ -1833,9 +1866,9 @@ module Aws::ApplicationAutoScaling
1833
1866
  # resp.scaling_policies #=> Array
1834
1867
  # resp.scaling_policies[0].policy_arn #=> String
1835
1868
  # resp.scaling_policies[0].policy_name #=> String
1836
- # 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"
1837
1870
  # resp.scaling_policies[0].resource_id #=> String
1838
- # 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"
1839
1872
  # resp.scaling_policies[0].policy_type #=> String, one of "StepScaling", "TargetTrackingScaling"
1840
1873
  # resp.scaling_policies[0].step_scaling_policy_configuration.adjustment_type #=> String, one of "ChangeInCapacity", "PercentChangeInCapacity", "ExactCapacity"
1841
1874
  # resp.scaling_policies[0].step_scaling_policy_configuration.step_adjustments #=> Array
@@ -1846,7 +1879,7 @@ module Aws::ApplicationAutoScaling
1846
1879
  # resp.scaling_policies[0].step_scaling_policy_configuration.cooldown #=> Integer
1847
1880
  # resp.scaling_policies[0].step_scaling_policy_configuration.metric_aggregation_type #=> String, one of "Average", "Minimum", "Maximum"
1848
1881
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
1849
- # 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"
1850
1883
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.resource_label #=> String
1851
1884
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metric_name #=> String
1852
1885
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.namespace #=> String
@@ -1891,13 +1924,12 @@ module Aws::ApplicationAutoScaling
1891
1924
  # You can filter the results using the `ResourceId`,
1892
1925
  # `ScalableDimension`, and `ScheduledActionNames` parameters.
1893
1926
  #
1894
- # For more information, see [Scheduled scaling][1] and [Managing
1895
- # 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*.
1896
1929
  #
1897
1930
  #
1898
1931
  #
1899
1932
  # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html
1900
- # [2]: https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-additional-cli-commands.html
1901
1933
  #
1902
1934
  # @option params [Array<String>] :scheduled_action_names
1903
1935
  # The names of the scheduled actions to describe.
@@ -1913,7 +1945,7 @@ module Aws::ApplicationAutoScaling
1913
1945
  #
1914
1946
  # * ECS service - The resource type is `service` and the unique
1915
1947
  # identifier is the cluster name and service name. Example:
1916
- # `service/default/sample-webapp`.
1948
+ # `service/my-cluster/my-service`.
1917
1949
  #
1918
1950
  # * Spot Fleet - The resource type is `spot-fleet-request` and the
1919
1951
  # unique identifier is the Spot Fleet request ID. Example:
@@ -1975,7 +2007,7 @@ module Aws::ApplicationAutoScaling
1975
2007
  # * Neptune cluster - The resource type is `cluster` and the unique
1976
2008
  # identifier is the cluster name. Example: `cluster:mycluster`.
1977
2009
  #
1978
- # * SageMaker Serverless endpoint - The resource type is `variant` and
2010
+ # * SageMaker serverless endpoint - The resource type is `variant` and
1979
2011
  # the unique identifier is the resource ID. Example:
1980
2012
  # `endpoint/my-end-point/variant/KMeansClustering`.
1981
2013
  #
@@ -1983,6 +2015,10 @@ module Aws::ApplicationAutoScaling
1983
2015
  # `inference-component` and the unique identifier is the resource ID.
1984
2016
  # Example: `inference-component/my-inference-component`.
1985
2017
  #
2018
+ # * Amazon WorkSpaces - The resource type is `workspacespool` and the
2019
+ # unique identifier is the pool ID. Example:
2020
+ # `workspacespool/wspool-123456`.
2021
+ #
1986
2022
  #
1987
2023
  #
1988
2024
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1992,8 +2028,7 @@ module Aws::ApplicationAutoScaling
1992
2028
  # resource type, and scaling property. If you specify a scalable
1993
2029
  # dimension, you must also specify a resource ID.
1994
2030
  #
1995
- # * `ecs:service:DesiredCount` - The desired task count of an ECS
1996
- # service.
2031
+ # * `ecs:service:DesiredCount` - The task count of an ECS service.
1997
2032
  #
1998
2033
  # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
1999
2034
  # of an EMR Instance Group.
@@ -2001,8 +2036,8 @@ module Aws::ApplicationAutoScaling
2001
2036
  # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
2002
2037
  # Spot Fleet.
2003
2038
  #
2004
- # * `appstream:fleet:DesiredCapacity` - The desired capacity of an
2005
- # AppStream 2.0 fleet.
2039
+ # * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
2040
+ # fleet.
2006
2041
  #
2007
2042
  # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
2008
2043
  # for a DynamoDB table.
@@ -2056,11 +2091,14 @@ module Aws::ApplicationAutoScaling
2056
2091
  # an Amazon Neptune DB cluster.
2057
2092
  #
2058
2093
  # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
2059
- # concurrency for a SageMaker Serverless endpoint.
2094
+ # concurrency for a SageMaker serverless endpoint.
2060
2095
  #
2061
2096
  # * `sagemaker:inference-component:DesiredCopyCount` - The number of
2062
2097
  # copies across an endpoint for a SageMaker inference component.
2063
2098
  #
2099
+ # * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
2100
+ # WorkSpaces pool.
2101
+ #
2064
2102
  # @option params [Integer] :max_results
2065
2103
  # The maximum number of scheduled action results. This value can be
2066
2104
  # between 1 and 50. The default value is 50.
@@ -2126,9 +2164,9 @@ module Aws::ApplicationAutoScaling
2126
2164
  #
2127
2165
  # resp = client.describe_scheduled_actions({
2128
2166
  # scheduled_action_names: ["ResourceIdMaxLen1600"],
2129
- # 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
2130
2168
  # resource_id: "ResourceIdMaxLen1600",
2131
- # 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
2132
2170
  # max_results: 1,
2133
2171
  # next_token: "XmlString",
2134
2172
  # })
@@ -2138,11 +2176,11 @@ module Aws::ApplicationAutoScaling
2138
2176
  # resp.scheduled_actions #=> Array
2139
2177
  # resp.scheduled_actions[0].scheduled_action_name #=> String
2140
2178
  # resp.scheduled_actions[0].scheduled_action_arn #=> String
2141
- # 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"
2142
2180
  # resp.scheduled_actions[0].schedule #=> String
2143
2181
  # resp.scheduled_actions[0].timezone #=> String
2144
2182
  # resp.scheduled_actions[0].resource_id #=> String
2145
- # 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"
2146
2184
  # resp.scheduled_actions[0].start_time #=> Time
2147
2185
  # resp.scheduled_actions[0].end_time #=> Time
2148
2186
  # resp.scheduled_actions[0].scalable_target_action.min_capacity #=> Integer
@@ -2163,7 +2201,7 @@ module Aws::ApplicationAutoScaling
2163
2201
  # scalable target.
2164
2202
  #
2165
2203
  # For general information about tags, including the format and syntax,
2166
- # see [Tagging Amazon Web Services resources][1] in the *Amazon Web
2204
+ # see [Tagging your Amazon Web Services resources][1] in the *Amazon Web
2167
2205
  # Services General Reference*.
2168
2206
  #
2169
2207
  #
@@ -2280,7 +2318,7 @@ module Aws::ApplicationAutoScaling
2280
2318
  #
2281
2319
  # * ECS service - The resource type is `service` and the unique
2282
2320
  # identifier is the cluster name and service name. Example:
2283
- # `service/default/sample-webapp`.
2321
+ # `service/my-cluster/my-service`.
2284
2322
  #
2285
2323
  # * Spot Fleet - The resource type is `spot-fleet-request` and the
2286
2324
  # unique identifier is the Spot Fleet request ID. Example:
@@ -2342,7 +2380,7 @@ module Aws::ApplicationAutoScaling
2342
2380
  # * Neptune cluster - The resource type is `cluster` and the unique
2343
2381
  # identifier is the cluster name. Example: `cluster:mycluster`.
2344
2382
  #
2345
- # * SageMaker Serverless endpoint - The resource type is `variant` and
2383
+ # * SageMaker serverless endpoint - The resource type is `variant` and
2346
2384
  # the unique identifier is the resource ID. Example:
2347
2385
  # `endpoint/my-end-point/variant/KMeansClustering`.
2348
2386
  #
@@ -2350,6 +2388,10 @@ module Aws::ApplicationAutoScaling
2350
2388
  # `inference-component` and the unique identifier is the resource ID.
2351
2389
  # Example: `inference-component/my-inference-component`.
2352
2390
  #
2391
+ # * Amazon WorkSpaces - The resource type is `workspacespool` and the
2392
+ # unique identifier is the pool ID. Example:
2393
+ # `workspacespool/wspool-123456`.
2394
+ #
2353
2395
  #
2354
2396
  #
2355
2397
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -2358,8 +2400,7 @@ module Aws::ApplicationAutoScaling
2358
2400
  # The scalable dimension. This string consists of the service namespace,
2359
2401
  # resource type, and scaling property.
2360
2402
  #
2361
- # * `ecs:service:DesiredCount` - The desired task count of an ECS
2362
- # service.
2403
+ # * `ecs:service:DesiredCount` - The task count of an ECS service.
2363
2404
  #
2364
2405
  # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
2365
2406
  # of an EMR Instance Group.
@@ -2367,8 +2408,8 @@ module Aws::ApplicationAutoScaling
2367
2408
  # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
2368
2409
  # Spot Fleet.
2369
2410
  #
2370
- # * `appstream:fleet:DesiredCapacity` - The desired capacity of an
2371
- # AppStream 2.0 fleet.
2411
+ # * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
2412
+ # fleet.
2372
2413
  #
2373
2414
  # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
2374
2415
  # for a DynamoDB table.
@@ -2422,11 +2463,14 @@ module Aws::ApplicationAutoScaling
2422
2463
  # an Amazon Neptune DB cluster.
2423
2464
  #
2424
2465
  # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
2425
- # concurrency for a SageMaker Serverless endpoint.
2466
+ # concurrency for a SageMaker serverless endpoint.
2426
2467
  #
2427
2468
  # * `sagemaker:inference-component:DesiredCopyCount` - The number of
2428
2469
  # copies across an endpoint for a SageMaker inference component.
2429
2470
  #
2471
+ # * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
2472
+ # WorkSpaces pool.
2473
+ #
2430
2474
  # @option params [String] :policy_type
2431
2475
  # The scaling policy type. This parameter is required if you are
2432
2476
  # creating a scaling policy.
@@ -2507,9 +2551,9 @@ module Aws::ApplicationAutoScaling
2507
2551
  #
2508
2552
  # resp = client.put_scaling_policy({
2509
2553
  # policy_name: "PolicyName", # required
2510
- # 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
2511
2555
  # resource_id: "ResourceIdMaxLen1600", # required
2512
- # 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
2513
2557
  # policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling
2514
2558
  # step_scaling_policy_configuration: {
2515
2559
  # adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
@@ -2527,7 +2571,7 @@ module Aws::ApplicationAutoScaling
2527
2571
  # target_tracking_scaling_policy_configuration: {
2528
2572
  # target_value: 1.0, # required
2529
2573
  # predefined_metric_specification: {
2530
- # 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
2531
2575
  # resource_label: "ResourceLabel",
2532
2576
  # },
2533
2577
  # customized_metric_specification: {
@@ -2645,13 +2689,12 @@ module Aws::ApplicationAutoScaling
2645
2689
  # For rate expressions, *value* is a positive integer and *unit* is
2646
2690
  # `minute` \| `minutes` \| `hour` \| `hours` \| `day` \| `days`.
2647
2691
  #
2648
- # For more information and examples, see [Example scheduled actions for
2649
- # Application Auto Scaling][1] in the *Application Auto Scaling User
2650
- # Guide*.
2692
+ # For more information, see [Schedule recurring scaling actions using
2693
+ # cron expressions][1] in the *Application Auto Scaling User Guide*.
2651
2694
  #
2652
2695
  #
2653
2696
  #
2654
- # [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
2655
2698
  #
2656
2699
  # @option params [String] :timezone
2657
2700
  # Specifies the time zone used when setting a scheduled action by using
@@ -2676,7 +2719,7 @@ module Aws::ApplicationAutoScaling
2676
2719
  #
2677
2720
  # * ECS service - The resource type is `service` and the unique
2678
2721
  # identifier is the cluster name and service name. Example:
2679
- # `service/default/sample-webapp`.
2722
+ # `service/my-cluster/my-service`.
2680
2723
  #
2681
2724
  # * Spot Fleet - The resource type is `spot-fleet-request` and the
2682
2725
  # unique identifier is the Spot Fleet request ID. Example:
@@ -2738,7 +2781,7 @@ module Aws::ApplicationAutoScaling
2738
2781
  # * Neptune cluster - The resource type is `cluster` and the unique
2739
2782
  # identifier is the cluster name. Example: `cluster:mycluster`.
2740
2783
  #
2741
- # * SageMaker Serverless endpoint - The resource type is `variant` and
2784
+ # * SageMaker serverless endpoint - The resource type is `variant` and
2742
2785
  # the unique identifier is the resource ID. Example:
2743
2786
  # `endpoint/my-end-point/variant/KMeansClustering`.
2744
2787
  #
@@ -2746,6 +2789,10 @@ module Aws::ApplicationAutoScaling
2746
2789
  # `inference-component` and the unique identifier is the resource ID.
2747
2790
  # Example: `inference-component/my-inference-component`.
2748
2791
  #
2792
+ # * Amazon WorkSpaces - The resource type is `workspacespool` and the
2793
+ # unique identifier is the pool ID. Example:
2794
+ # `workspacespool/wspool-123456`.
2795
+ #
2749
2796
  #
2750
2797
  #
2751
2798
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -2754,8 +2801,7 @@ module Aws::ApplicationAutoScaling
2754
2801
  # The scalable dimension. This string consists of the service namespace,
2755
2802
  # resource type, and scaling property.
2756
2803
  #
2757
- # * `ecs:service:DesiredCount` - The desired task count of an ECS
2758
- # service.
2804
+ # * `ecs:service:DesiredCount` - The task count of an ECS service.
2759
2805
  #
2760
2806
  # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
2761
2807
  # of an EMR Instance Group.
@@ -2763,8 +2809,8 @@ module Aws::ApplicationAutoScaling
2763
2809
  # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
2764
2810
  # Spot Fleet.
2765
2811
  #
2766
- # * `appstream:fleet:DesiredCapacity` - The desired capacity of an
2767
- # AppStream 2.0 fleet.
2812
+ # * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
2813
+ # fleet.
2768
2814
  #
2769
2815
  # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
2770
2816
  # for a DynamoDB table.
@@ -2818,11 +2864,14 @@ module Aws::ApplicationAutoScaling
2818
2864
  # an Amazon Neptune DB cluster.
2819
2865
  #
2820
2866
  # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
2821
- # concurrency for a SageMaker Serverless endpoint.
2867
+ # concurrency for a SageMaker serverless endpoint.
2822
2868
  #
2823
2869
  # * `sagemaker:inference-component:DesiredCopyCount` - The number of
2824
2870
  # copies across an endpoint for a SageMaker inference component.
2825
2871
  #
2872
+ # * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
2873
+ # WorkSpaces pool.
2874
+ #
2826
2875
  # @option params [Time,DateTime,Date,Integer,String] :start_time
2827
2876
  # The date and time for this scheduled action to start, in UTC.
2828
2877
  #
@@ -2863,12 +2912,12 @@ module Aws::ApplicationAutoScaling
2863
2912
  # @example Request syntax with placeholder values
2864
2913
  #
2865
2914
  # resp = client.put_scheduled_action({
2866
- # 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
2867
2916
  # schedule: "ResourceIdMaxLen1600",
2868
2917
  # timezone: "ResourceIdMaxLen1600",
2869
2918
  # scheduled_action_name: "ScheduledActionName", # required
2870
2919
  # resource_id: "ResourceIdMaxLen1600", # required
2871
- # 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
2872
2921
  # start_time: Time.now,
2873
2922
  # end_time: Time.now,
2874
2923
  # scalable_target_action: {
@@ -2951,7 +3000,7 @@ module Aws::ApplicationAutoScaling
2951
3000
  #
2952
3001
  # * ECS service - The resource type is `service` and the unique
2953
3002
  # identifier is the cluster name and service name. Example:
2954
- # `service/default/sample-webapp`.
3003
+ # `service/my-cluster/my-service`.
2955
3004
  #
2956
3005
  # * Spot Fleet - The resource type is `spot-fleet-request` and the
2957
3006
  # unique identifier is the Spot Fleet request ID. Example:
@@ -3013,7 +3062,7 @@ module Aws::ApplicationAutoScaling
3013
3062
  # * Neptune cluster - The resource type is `cluster` and the unique
3014
3063
  # identifier is the cluster name. Example: `cluster:mycluster`.
3015
3064
  #
3016
- # * SageMaker Serverless endpoint - The resource type is `variant` and
3065
+ # * SageMaker serverless endpoint - The resource type is `variant` and
3017
3066
  # the unique identifier is the resource ID. Example:
3018
3067
  # `endpoint/my-end-point/variant/KMeansClustering`.
3019
3068
  #
@@ -3021,6 +3070,10 @@ module Aws::ApplicationAutoScaling
3021
3070
  # `inference-component` and the unique identifier is the resource ID.
3022
3071
  # Example: `inference-component/my-inference-component`.
3023
3072
  #
3073
+ # * Amazon WorkSpaces - The resource type is `workspacespool` and the
3074
+ # unique identifier is the pool ID. Example:
3075
+ # `workspacespool/wspool-123456`.
3076
+ #
3024
3077
  #
3025
3078
  #
3026
3079
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -3030,8 +3083,7 @@ module Aws::ApplicationAutoScaling
3030
3083
  # string consists of the service namespace, resource type, and scaling
3031
3084
  # property.
3032
3085
  #
3033
- # * `ecs:service:DesiredCount` - The desired task count of an ECS
3034
- # service.
3086
+ # * `ecs:service:DesiredCount` - The task count of an ECS service.
3035
3087
  #
3036
3088
  # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
3037
3089
  # of an EMR Instance Group.
@@ -3039,8 +3091,8 @@ module Aws::ApplicationAutoScaling
3039
3091
  # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
3040
3092
  # Spot Fleet.
3041
3093
  #
3042
- # * `appstream:fleet:DesiredCapacity` - The desired capacity of an
3043
- # AppStream 2.0 fleet.
3094
+ # * `appstream:fleet:DesiredCapacity` - The capacity of an AppStream 2.0
3095
+ # fleet.
3044
3096
  #
3045
3097
  # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity
3046
3098
  # for a DynamoDB table.
@@ -3094,11 +3146,14 @@ module Aws::ApplicationAutoScaling
3094
3146
  # an Amazon Neptune DB cluster.
3095
3147
  #
3096
3148
  # * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
3097
- # concurrency for a SageMaker Serverless endpoint.
3149
+ # concurrency for a SageMaker serverless endpoint.
3098
3150
  #
3099
3151
  # * `sagemaker:inference-component:DesiredCopyCount` - The number of
3100
3152
  # copies across an endpoint for a SageMaker inference component.
3101
3153
  #
3154
+ # * `workspaces:workspacespool:DesiredUserSessions` - The capacity of a
3155
+ # WorkSpaces pool.
3156
+ #
3102
3157
  # @option params [Integer] :min_capacity
3103
3158
  # The minimum value that you plan to scale in to. When a scaling policy
3104
3159
  # is in effect, Application Auto Scaling can scale in (contract) as
@@ -3119,7 +3174,9 @@ module Aws::ApplicationAutoScaling
3119
3174
  #
3120
3175
  # * SageMaker endpoint variants
3121
3176
  #
3122
- # * SageMaker Serverless endpoint provisioned concurrency
3177
+ # * SageMaker inference components
3178
+ #
3179
+ # * SageMaker serverless endpoint provisioned concurrency
3123
3180
  #
3124
3181
  # * Spot Fleets
3125
3182
  #
@@ -3163,11 +3220,12 @@ module Aws::ApplicationAutoScaling
3163
3220
  #
3164
3221
  # If the service supports service-linked roles, Application Auto Scaling
3165
3222
  # uses a service-linked role, which it creates if it does not yet exist.
3166
- # For more information, see [Application Auto Scaling IAM roles][1].
3223
+ # For more information, see [How Application Auto Scaling works with
3224
+ # IAM][1].
3167
3225
  #
3168
3226
  #
3169
3227
  #
3170
- # [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
3171
3229
  #
3172
3230
  # @option params [Types::SuspendedState] :suspended_state
3173
3231
  # An embedded object that contains attributes and attribute values that
@@ -3189,7 +3247,7 @@ module Aws::ApplicationAutoScaling
3189
3247
  # * For `ScheduledScalingSuspended`, while a suspension is in effect,
3190
3248
  # all scaling activities that involve scheduled actions are suspended.
3191
3249
  #
3192
- # For more information, see [Suspending and resuming scaling][1] in the
3250
+ # For more information, see [Suspend and resume scaling][1] in the
3193
3251
  # *Application Auto Scaling User Guide*.
3194
3252
  #
3195
3253
  #
@@ -3239,9 +3297,9 @@ module Aws::ApplicationAutoScaling
3239
3297
  # @example Request syntax with placeholder values
3240
3298
  #
3241
3299
  # resp = client.register_scalable_target({
3242
- # 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
3243
3301
  # resource_id: "ResourceIdMaxLen1600", # required
3244
- # 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
3245
3303
  # min_capacity: 1,
3246
3304
  # max_capacity: 1,
3247
3305
  # role_arn: "ResourceIdMaxLen1600",
@@ -3281,7 +3339,7 @@ module Aws::ApplicationAutoScaling
3281
3339
  # while creating it (`RegisterScalableTarget`).
3282
3340
  #
3283
3341
  # For general information about tags, including the format and syntax,
3284
- # see [Tagging Amazon Web Services resources][1] in the *Amazon Web
3342
+ # see [Tagging your Amazon Web Services resources][1] in the *Amazon Web
3285
3343
  # Services General Reference*.
3286
3344
  #
3287
3345
  # Use tags to control access to a scalable target. For more information,
@@ -3315,7 +3373,7 @@ module Aws::ApplicationAutoScaling
3315
3373
  #
3316
3374
  # For information about the rules that apply to tag keys and tag values,
3317
3375
  # see [User-defined tag restrictions][1] in the *Amazon Web Services
3318
- # Billing and Cost Management User Guide*.
3376
+ # Billing User Guide*.
3319
3377
  #
3320
3378
  #
3321
3379
  #
@@ -3421,7 +3479,7 @@ module Aws::ApplicationAutoScaling
3421
3479
  params: params,
3422
3480
  config: config)
3423
3481
  context[:gem_name] = 'aws-sdk-applicationautoscaling'
3424
- context[:gem_version] = '1.85.0'
3482
+ context[:gem_version] = '1.87.0'
3425
3483
  Seahorse::Client::Request.new(handlers, context)
3426
3484
  end
3427
3485