@aws-sdk/client-application-auto-scaling 3.529.1 → 3.535.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.
- package/dist-types/ApplicationAutoScaling.d.ts +1 -1
- package/dist-types/ApplicationAutoScalingClient.d.ts +1 -1
- package/dist-types/commands/DeleteScalingPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +2 -1
- package/dist-types/commands/DeregisterScalableTargetCommand.d.ts +2 -1
- package/dist-types/commands/DescribeScalableTargetsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeScalingPoliciesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +2 -1
- package/dist-types/commands/PutScheduledActionCommand.d.ts +2 -1
- package/dist-types/commands/RegisterScalableTargetCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +194 -194
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/ts3.4/commands/DeleteScalingPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteScheduledActionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeregisterScalableTargetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeScalableTargetsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeScalingActivitiesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeScalingPoliciesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeScheduledActionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutScalingPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutScheduledActionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RegisterScalableTargetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/package.json +40 -40
|
@@ -14,25 +14,25 @@ export declare const AdjustmentType: {
|
|
|
14
14
|
*/
|
|
15
15
|
export type AdjustmentType = (typeof AdjustmentType)[keyof typeof AdjustmentType];
|
|
16
16
|
/**
|
|
17
|
-
* @public
|
|
18
17
|
* <p>Represents a CloudWatch alarm associated with a scaling policy.</p>
|
|
18
|
+
* @public
|
|
19
19
|
*/
|
|
20
20
|
export interface Alarm {
|
|
21
21
|
/**
|
|
22
|
-
* @public
|
|
23
22
|
* <p>The name of the alarm.</p>
|
|
23
|
+
* @public
|
|
24
24
|
*/
|
|
25
25
|
AlarmName: string | undefined;
|
|
26
26
|
/**
|
|
27
|
-
* @public
|
|
28
27
|
* <p>The Amazon Resource Name (ARN) of the alarm.</p>
|
|
28
|
+
* @public
|
|
29
29
|
*/
|
|
30
30
|
AlarmARN: string | undefined;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
* @public
|
|
34
33
|
* <p>Concurrent updates caused an exception, for example, if you request an update to an
|
|
35
34
|
* Application Auto Scaling resource that already has a pending update.</p>
|
|
35
|
+
* @public
|
|
36
36
|
*/
|
|
37
37
|
export declare class ConcurrentUpdateException extends __BaseException {
|
|
38
38
|
readonly name: "ConcurrentUpdateException";
|
|
@@ -104,18 +104,17 @@ export type ServiceNamespace = (typeof ServiceNamespace)[keyof typeof ServiceNam
|
|
|
104
104
|
*/
|
|
105
105
|
export interface DeleteScalingPolicyRequest {
|
|
106
106
|
/**
|
|
107
|
-
* @public
|
|
108
107
|
* <p>The name of the scaling policy.</p>
|
|
108
|
+
* @public
|
|
109
109
|
*/
|
|
110
110
|
PolicyName: string | undefined;
|
|
111
111
|
/**
|
|
112
|
-
* @public
|
|
113
112
|
* <p>The namespace of the Amazon Web Services service that provides the resource. For a resource provided
|
|
114
113
|
* by your own application or service, use <code>custom-resource</code> instead.</p>
|
|
114
|
+
* @public
|
|
115
115
|
*/
|
|
116
116
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
117
117
|
/**
|
|
118
|
-
* @public
|
|
119
118
|
* <p>The identifier of the resource associated with the scalable target.
|
|
120
119
|
* This string consists of the resource type and unique identifier.</p>
|
|
121
120
|
* <ul>
|
|
@@ -190,10 +189,10 @@ export interface DeleteScalingPolicyRequest {
|
|
|
190
189
|
* Example: <code>inference-component/my-inference-component</code>.</p>
|
|
191
190
|
* </li>
|
|
192
191
|
* </ul>
|
|
192
|
+
* @public
|
|
193
193
|
*/
|
|
194
194
|
ResourceId: string | undefined;
|
|
195
195
|
/**
|
|
196
|
-
* @public
|
|
197
196
|
* <p>The scalable dimension. This string consists of the service namespace, resource type, and scaling property.</p>
|
|
198
197
|
* <ul>
|
|
199
198
|
* <li>
|
|
@@ -285,6 +284,7 @@ export interface DeleteScalingPolicyRequest {
|
|
|
285
284
|
* <code>sagemaker:inference-component:DesiredCopyCount</code> - The number of copies across an endpoint for a SageMaker inference component.</p>
|
|
286
285
|
* </li>
|
|
287
286
|
* </ul>
|
|
287
|
+
* @public
|
|
288
288
|
*/
|
|
289
289
|
ScalableDimension: ScalableDimension | undefined;
|
|
290
290
|
}
|
|
@@ -294,8 +294,8 @@ export interface DeleteScalingPolicyRequest {
|
|
|
294
294
|
export interface DeleteScalingPolicyResponse {
|
|
295
295
|
}
|
|
296
296
|
/**
|
|
297
|
-
* @public
|
|
298
297
|
* <p>The service encountered an internal error.</p>
|
|
298
|
+
* @public
|
|
299
299
|
*/
|
|
300
300
|
export declare class InternalServiceException extends __BaseException {
|
|
301
301
|
readonly name: "InternalServiceException";
|
|
@@ -307,12 +307,12 @@ export declare class InternalServiceException extends __BaseException {
|
|
|
307
307
|
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
308
308
|
}
|
|
309
309
|
/**
|
|
310
|
-
* @public
|
|
311
310
|
* <p>The specified object could not be found. For any operation that depends on the existence
|
|
312
311
|
* of a scalable target, this exception is thrown if the scalable target with the specified
|
|
313
312
|
* service namespace, resource ID, and scalable dimension does not exist. For any operation
|
|
314
313
|
* that deletes or deregisters a resource, this exception is thrown if the resource cannot be
|
|
315
314
|
* found.</p>
|
|
315
|
+
* @public
|
|
316
316
|
*/
|
|
317
317
|
export declare class ObjectNotFoundException extends __BaseException {
|
|
318
318
|
readonly name: "ObjectNotFoundException";
|
|
@@ -324,9 +324,9 @@ export declare class ObjectNotFoundException extends __BaseException {
|
|
|
324
324
|
constructor(opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>);
|
|
325
325
|
}
|
|
326
326
|
/**
|
|
327
|
-
* @public
|
|
328
327
|
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
329
328
|
* API request.</p>
|
|
329
|
+
* @public
|
|
330
330
|
*/
|
|
331
331
|
export declare class ValidationException extends __BaseException {
|
|
332
332
|
readonly name: "ValidationException";
|
|
@@ -342,18 +342,17 @@ export declare class ValidationException extends __BaseException {
|
|
|
342
342
|
*/
|
|
343
343
|
export interface DeleteScheduledActionRequest {
|
|
344
344
|
/**
|
|
345
|
-
* @public
|
|
346
345
|
* <p>The namespace of the Amazon Web Services service that provides the resource. For a resource provided
|
|
347
346
|
* by your own application or service, use <code>custom-resource</code> instead.</p>
|
|
347
|
+
* @public
|
|
348
348
|
*/
|
|
349
349
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
350
350
|
/**
|
|
351
|
-
* @public
|
|
352
351
|
* <p>The name of the scheduled action.</p>
|
|
352
|
+
* @public
|
|
353
353
|
*/
|
|
354
354
|
ScheduledActionName: string | undefined;
|
|
355
355
|
/**
|
|
356
|
-
* @public
|
|
357
356
|
* <p>The identifier of the resource associated with the scheduled action.
|
|
358
357
|
* This string consists of the resource type and unique identifier.</p>
|
|
359
358
|
* <ul>
|
|
@@ -428,10 +427,10 @@ export interface DeleteScheduledActionRequest {
|
|
|
428
427
|
* Example: <code>inference-component/my-inference-component</code>.</p>
|
|
429
428
|
* </li>
|
|
430
429
|
* </ul>
|
|
430
|
+
* @public
|
|
431
431
|
*/
|
|
432
432
|
ResourceId: string | undefined;
|
|
433
433
|
/**
|
|
434
|
-
* @public
|
|
435
434
|
* <p>The scalable dimension. This string consists of the service namespace, resource type, and scaling property.</p>
|
|
436
435
|
* <ul>
|
|
437
436
|
* <li>
|
|
@@ -523,6 +522,7 @@ export interface DeleteScheduledActionRequest {
|
|
|
523
522
|
* <code>sagemaker:inference-component:DesiredCopyCount</code> - The number of copies across an endpoint for a SageMaker inference component.</p>
|
|
524
523
|
* </li>
|
|
525
524
|
* </ul>
|
|
525
|
+
* @public
|
|
526
526
|
*/
|
|
527
527
|
ScalableDimension: ScalableDimension | undefined;
|
|
528
528
|
}
|
|
@@ -536,13 +536,12 @@ export interface DeleteScheduledActionResponse {
|
|
|
536
536
|
*/
|
|
537
537
|
export interface DeregisterScalableTargetRequest {
|
|
538
538
|
/**
|
|
539
|
-
* @public
|
|
540
539
|
* <p>The namespace of the Amazon Web Services service that provides the resource. For a resource provided
|
|
541
540
|
* by your own application or service, use <code>custom-resource</code> instead.</p>
|
|
541
|
+
* @public
|
|
542
542
|
*/
|
|
543
543
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
544
544
|
/**
|
|
545
|
-
* @public
|
|
546
545
|
* <p>The identifier of the resource associated with the scalable target.
|
|
547
546
|
* This string consists of the resource type and unique identifier.</p>
|
|
548
547
|
* <ul>
|
|
@@ -617,10 +616,10 @@ export interface DeregisterScalableTargetRequest {
|
|
|
617
616
|
* Example: <code>inference-component/my-inference-component</code>.</p>
|
|
618
617
|
* </li>
|
|
619
618
|
* </ul>
|
|
619
|
+
* @public
|
|
620
620
|
*/
|
|
621
621
|
ResourceId: string | undefined;
|
|
622
622
|
/**
|
|
623
|
-
* @public
|
|
624
623
|
* <p>The scalable dimension associated with the scalable target.
|
|
625
624
|
* This string consists of the service namespace, resource type, and scaling property.</p>
|
|
626
625
|
* <ul>
|
|
@@ -713,6 +712,7 @@ export interface DeregisterScalableTargetRequest {
|
|
|
713
712
|
* <code>sagemaker:inference-component:DesiredCopyCount</code> - The number of copies across an endpoint for a SageMaker inference component.</p>
|
|
714
713
|
* </li>
|
|
715
714
|
* </ul>
|
|
715
|
+
* @public
|
|
716
716
|
*/
|
|
717
717
|
ScalableDimension: ScalableDimension | undefined;
|
|
718
718
|
}
|
|
@@ -726,13 +726,12 @@ export interface DeregisterScalableTargetResponse {
|
|
|
726
726
|
*/
|
|
727
727
|
export interface DescribeScalableTargetsRequest {
|
|
728
728
|
/**
|
|
729
|
-
* @public
|
|
730
729
|
* <p>The namespace of the Amazon Web Services service that provides the resource. For a resource provided
|
|
731
730
|
* by your own application or service, use <code>custom-resource</code> instead.</p>
|
|
731
|
+
* @public
|
|
732
732
|
*/
|
|
733
733
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
734
734
|
/**
|
|
735
|
-
* @public
|
|
736
735
|
* <p>The identifier of the resource associated with the scalable target.
|
|
737
736
|
* This string consists of the resource type and unique identifier.</p>
|
|
738
737
|
* <ul>
|
|
@@ -807,10 +806,10 @@ export interface DescribeScalableTargetsRequest {
|
|
|
807
806
|
* Example: <code>inference-component/my-inference-component</code>.</p>
|
|
808
807
|
* </li>
|
|
809
808
|
* </ul>
|
|
809
|
+
* @public
|
|
810
810
|
*/
|
|
811
811
|
ResourceIds?: string[];
|
|
812
812
|
/**
|
|
813
|
-
* @public
|
|
814
813
|
* <p>The scalable dimension associated with the scalable target.
|
|
815
814
|
* This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID.</p>
|
|
816
815
|
* <ul>
|
|
@@ -903,10 +902,10 @@ export interface DescribeScalableTargetsRequest {
|
|
|
903
902
|
* <code>sagemaker:inference-component:DesiredCopyCount</code> - The number of copies across an endpoint for a SageMaker inference component.</p>
|
|
904
903
|
* </li>
|
|
905
904
|
* </ul>
|
|
905
|
+
* @public
|
|
906
906
|
*/
|
|
907
907
|
ScalableDimension?: ScalableDimension;
|
|
908
908
|
/**
|
|
909
|
-
* @public
|
|
910
909
|
* <p>The maximum number of scalable targets. This value can be between 1 and
|
|
911
910
|
* 50. The default value is 50.</p>
|
|
912
911
|
* <p>If this parameter is used, the operation returns up to <code>MaxResults</code> results
|
|
@@ -914,55 +913,55 @@ export interface DescribeScalableTargetsRequest {
|
|
|
914
913
|
* include the <code>NextToken</code> value in a subsequent call. If this parameter is not
|
|
915
914
|
* used, the operation returns up to 50 results and a
|
|
916
915
|
* <code>NextToken</code> value, if applicable.</p>
|
|
916
|
+
* @public
|
|
917
917
|
*/
|
|
918
918
|
MaxResults?: number;
|
|
919
919
|
/**
|
|
920
|
-
* @public
|
|
921
920
|
* <p>The token for the next set of results.</p>
|
|
921
|
+
* @public
|
|
922
922
|
*/
|
|
923
923
|
NextToken?: string;
|
|
924
924
|
}
|
|
925
925
|
/**
|
|
926
|
-
* @public
|
|
927
926
|
* <p>Specifies whether the scaling activities for a scalable target are in a suspended state.
|
|
928
927
|
* </p>
|
|
928
|
+
* @public
|
|
929
929
|
*/
|
|
930
930
|
export interface SuspendedState {
|
|
931
931
|
/**
|
|
932
|
-
* @public
|
|
933
932
|
* <p>Whether scale in by a target tracking scaling policy or a step scaling policy is
|
|
934
933
|
* suspended. Set the value to <code>true</code> if you don't want Application Auto Scaling to remove capacity
|
|
935
934
|
* when a scaling policy is triggered. The default is <code>false</code>. </p>
|
|
935
|
+
* @public
|
|
936
936
|
*/
|
|
937
937
|
DynamicScalingInSuspended?: boolean;
|
|
938
938
|
/**
|
|
939
|
-
* @public
|
|
940
939
|
* <p>Whether scale out by a target tracking scaling policy or a step scaling policy is
|
|
941
940
|
* suspended. Set the value to <code>true</code> if you don't want Application Auto Scaling to add capacity
|
|
942
941
|
* when a scaling policy is triggered. The default is <code>false</code>. </p>
|
|
942
|
+
* @public
|
|
943
943
|
*/
|
|
944
944
|
DynamicScalingOutSuspended?: boolean;
|
|
945
945
|
/**
|
|
946
|
-
* @public
|
|
947
946
|
* <p>Whether scheduled scaling is suspended. Set the value to <code>true</code> if you don't
|
|
948
947
|
* want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default is
|
|
949
948
|
* <code>false</code>. </p>
|
|
949
|
+
* @public
|
|
950
950
|
*/
|
|
951
951
|
ScheduledScalingSuspended?: boolean;
|
|
952
952
|
}
|
|
953
953
|
/**
|
|
954
|
-
* @public
|
|
955
954
|
* <p>Represents a scalable target.</p>
|
|
955
|
+
* @public
|
|
956
956
|
*/
|
|
957
957
|
export interface ScalableTarget {
|
|
958
958
|
/**
|
|
959
|
-
* @public
|
|
960
959
|
* <p>The namespace of the Amazon Web Services service that provides the resource, or a
|
|
961
960
|
* <code>custom-resource</code>.</p>
|
|
961
|
+
* @public
|
|
962
962
|
*/
|
|
963
963
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
964
964
|
/**
|
|
965
|
-
* @public
|
|
966
965
|
* <p>The identifier of the resource associated with the scalable target.
|
|
967
966
|
* This string consists of the resource type and unique identifier.</p>
|
|
968
967
|
* <ul>
|
|
@@ -1037,10 +1036,10 @@ export interface ScalableTarget {
|
|
|
1037
1036
|
* Example: <code>inference-component/my-inference-component</code>.</p>
|
|
1038
1037
|
* </li>
|
|
1039
1038
|
* </ul>
|
|
1039
|
+
* @public
|
|
1040
1040
|
*/
|
|
1041
1041
|
ResourceId: string | undefined;
|
|
1042
1042
|
/**
|
|
1043
|
-
* @public
|
|
1044
1043
|
* <p>The scalable dimension associated with the scalable target.
|
|
1045
1044
|
* This string consists of the service namespace, resource type, and scaling property.</p>
|
|
1046
1045
|
* <ul>
|
|
@@ -1133,38 +1132,39 @@ export interface ScalableTarget {
|
|
|
1133
1132
|
* <code>sagemaker:inference-component:DesiredCopyCount</code> - The number of copies across an endpoint for a SageMaker inference component.</p>
|
|
1134
1133
|
* </li>
|
|
1135
1134
|
* </ul>
|
|
1135
|
+
* @public
|
|
1136
1136
|
*/
|
|
1137
1137
|
ScalableDimension: ScalableDimension | undefined;
|
|
1138
1138
|
/**
|
|
1139
|
-
* @public
|
|
1140
1139
|
* <p>The minimum value to scale to in response to a scale-in activity.</p>
|
|
1140
|
+
* @public
|
|
1141
1141
|
*/
|
|
1142
1142
|
MinCapacity: number | undefined;
|
|
1143
1143
|
/**
|
|
1144
|
-
* @public
|
|
1145
1144
|
* <p>The maximum value to scale to in response to a scale-out activity.</p>
|
|
1145
|
+
* @public
|
|
1146
1146
|
*/
|
|
1147
1147
|
MaxCapacity: number | undefined;
|
|
1148
1148
|
/**
|
|
1149
|
-
* @public
|
|
1150
1149
|
* <p>The ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your
|
|
1151
1150
|
* behalf.</p>
|
|
1151
|
+
* @public
|
|
1152
1152
|
*/
|
|
1153
1153
|
RoleARN: string | undefined;
|
|
1154
1154
|
/**
|
|
1155
|
-
* @public
|
|
1156
1155
|
* <p>The Unix timestamp for when the scalable target was created.</p>
|
|
1156
|
+
* @public
|
|
1157
1157
|
*/
|
|
1158
1158
|
CreationTime: Date | undefined;
|
|
1159
1159
|
/**
|
|
1160
|
-
* @public
|
|
1161
1160
|
* <p>Specifies whether the scaling activities for a scalable target are in a suspended
|
|
1162
1161
|
* state.</p>
|
|
1162
|
+
* @public
|
|
1163
1163
|
*/
|
|
1164
1164
|
SuspendedState?: SuspendedState;
|
|
1165
1165
|
/**
|
|
1166
|
-
* @public
|
|
1167
1166
|
* <p>The ARN of the scalable target.</p>
|
|
1167
|
+
* @public
|
|
1168
1168
|
*/
|
|
1169
1169
|
ScalableTargetARN?: string;
|
|
1170
1170
|
}
|
|
@@ -1173,20 +1173,20 @@ export interface ScalableTarget {
|
|
|
1173
1173
|
*/
|
|
1174
1174
|
export interface DescribeScalableTargetsResponse {
|
|
1175
1175
|
/**
|
|
1176
|
-
* @public
|
|
1177
1176
|
* <p>The scalable targets that match the request parameters.</p>
|
|
1177
|
+
* @public
|
|
1178
1178
|
*/
|
|
1179
1179
|
ScalableTargets?: ScalableTarget[];
|
|
1180
1180
|
/**
|
|
1181
|
-
* @public
|
|
1182
1181
|
* <p>The token required to get the next set of results. This value is <code>null</code> if
|
|
1183
1182
|
* there are no more results to return.</p>
|
|
1183
|
+
* @public
|
|
1184
1184
|
*/
|
|
1185
1185
|
NextToken?: string;
|
|
1186
1186
|
}
|
|
1187
1187
|
/**
|
|
1188
|
-
* @public
|
|
1189
1188
|
* <p>The next token supplied was invalid.</p>
|
|
1189
|
+
* @public
|
|
1190
1190
|
*/
|
|
1191
1191
|
export declare class InvalidNextTokenException extends __BaseException {
|
|
1192
1192
|
readonly name: "InvalidNextTokenException";
|
|
@@ -1202,13 +1202,12 @@ export declare class InvalidNextTokenException extends __BaseException {
|
|
|
1202
1202
|
*/
|
|
1203
1203
|
export interface DescribeScalingActivitiesRequest {
|
|
1204
1204
|
/**
|
|
1205
|
-
* @public
|
|
1206
1205
|
* <p>The namespace of the Amazon Web Services service that provides the resource. For a resource provided
|
|
1207
1206
|
* by your own application or service, use <code>custom-resource</code> instead.</p>
|
|
1207
|
+
* @public
|
|
1208
1208
|
*/
|
|
1209
1209
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
1210
1210
|
/**
|
|
1211
|
-
* @public
|
|
1212
1211
|
* <p>The identifier of the resource associated with the scaling activity.
|
|
1213
1212
|
* This string consists of the resource type and unique identifier.</p>
|
|
1214
1213
|
* <ul>
|
|
@@ -1283,10 +1282,10 @@ export interface DescribeScalingActivitiesRequest {
|
|
|
1283
1282
|
* Example: <code>inference-component/my-inference-component</code>.</p>
|
|
1284
1283
|
* </li>
|
|
1285
1284
|
* </ul>
|
|
1285
|
+
* @public
|
|
1286
1286
|
*/
|
|
1287
1287
|
ResourceId?: string;
|
|
1288
1288
|
/**
|
|
1289
|
-
* @public
|
|
1290
1289
|
* <p>The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
|
|
1291
1290
|
* If you specify a scalable dimension, you must also specify a resource ID.</p>
|
|
1292
1291
|
* <ul>
|
|
@@ -1379,10 +1378,10 @@ export interface DescribeScalingActivitiesRequest {
|
|
|
1379
1378
|
* <code>sagemaker:inference-component:DesiredCopyCount</code> - The number of copies across an endpoint for a SageMaker inference component.</p>
|
|
1380
1379
|
* </li>
|
|
1381
1380
|
* </ul>
|
|
1381
|
+
* @public
|
|
1382
1382
|
*/
|
|
1383
1383
|
ScalableDimension?: ScalableDimension;
|
|
1384
1384
|
/**
|
|
1385
|
-
* @public
|
|
1386
1385
|
* <p>The maximum number of scalable targets. This value can be between 1 and
|
|
1387
1386
|
* 50. The default value is 50.</p>
|
|
1388
1387
|
* <p>If this parameter is used, the operation returns up to <code>MaxResults</code> results
|
|
@@ -1390,31 +1389,31 @@ export interface DescribeScalingActivitiesRequest {
|
|
|
1390
1389
|
* include the <code>NextToken</code> value in a subsequent call. If this parameter is not
|
|
1391
1390
|
* used, the operation returns up to 50 results and a
|
|
1392
1391
|
* <code>NextToken</code> value, if applicable.</p>
|
|
1392
|
+
* @public
|
|
1393
1393
|
*/
|
|
1394
1394
|
MaxResults?: number;
|
|
1395
1395
|
/**
|
|
1396
|
-
* @public
|
|
1397
1396
|
* <p>The token for the next set of results.</p>
|
|
1397
|
+
* @public
|
|
1398
1398
|
*/
|
|
1399
1399
|
NextToken?: string;
|
|
1400
1400
|
/**
|
|
1401
|
-
* @public
|
|
1402
1401
|
* <p>Specifies whether to include activities that aren't scaled (<i>not scaled
|
|
1403
1402
|
* activities</i>) in the response. Not scaled activities are activities that aren't
|
|
1404
1403
|
* completed or started for various reasons, such as preventing infinite scaling loops. For
|
|
1405
1404
|
* help interpreting the not scaled reason details in the response, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scaling-activities.html">Scaling activities for Application Auto Scaling</a>.</p>
|
|
1405
|
+
* @public
|
|
1406
1406
|
*/
|
|
1407
1407
|
IncludeNotScaledActivities?: boolean;
|
|
1408
1408
|
}
|
|
1409
1409
|
/**
|
|
1410
|
-
* @public
|
|
1411
1410
|
* <p>Describes the reason for an activity that isn't scaled (<i>not scaled
|
|
1412
1411
|
* activity</i>), in machine-readable format. For help interpreting the not scaled
|
|
1413
1412
|
* reason details, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scaling-activities.html">Scaling activities for Application Auto Scaling</a>.</p>
|
|
1413
|
+
* @public
|
|
1414
1414
|
*/
|
|
1415
1415
|
export interface NotScaledReason {
|
|
1416
1416
|
/**
|
|
1417
|
-
* @public
|
|
1418
1417
|
* <p>A code that represents the reason for not scaling.</p>
|
|
1419
1418
|
* <p>Valid values:</p>
|
|
1420
1419
|
* <ul>
|
|
@@ -1434,21 +1433,22 @@ export interface NotScaledReason {
|
|
|
1434
1433
|
* <p>AlreadyAtDesiredCapacity</p>
|
|
1435
1434
|
* </li>
|
|
1436
1435
|
* </ul>
|
|
1436
|
+
* @public
|
|
1437
1437
|
*/
|
|
1438
1438
|
Code: string | undefined;
|
|
1439
1439
|
/**
|
|
1440
|
-
* @public
|
|
1441
1440
|
* <p>The maximum capacity.</p>
|
|
1441
|
+
* @public
|
|
1442
1442
|
*/
|
|
1443
1443
|
MaxCapacity?: number;
|
|
1444
1444
|
/**
|
|
1445
|
-
* @public
|
|
1446
1445
|
* <p>The minimum capacity.</p>
|
|
1446
|
+
* @public
|
|
1447
1447
|
*/
|
|
1448
1448
|
MinCapacity?: number;
|
|
1449
1449
|
/**
|
|
1450
|
-
* @public
|
|
1451
1450
|
* <p>The current capacity.</p>
|
|
1451
|
+
* @public
|
|
1452
1452
|
*/
|
|
1453
1453
|
CurrentCapacity?: number;
|
|
1454
1454
|
}
|
|
@@ -1469,23 +1469,22 @@ export declare const ScalingActivityStatusCode: {
|
|
|
1469
1469
|
*/
|
|
1470
1470
|
export type ScalingActivityStatusCode = (typeof ScalingActivityStatusCode)[keyof typeof ScalingActivityStatusCode];
|
|
1471
1471
|
/**
|
|
1472
|
-
* @public
|
|
1473
1472
|
* <p>Represents a scaling activity.</p>
|
|
1473
|
+
* @public
|
|
1474
1474
|
*/
|
|
1475
1475
|
export interface ScalingActivity {
|
|
1476
1476
|
/**
|
|
1477
|
-
* @public
|
|
1478
1477
|
* <p>The unique identifier of the scaling activity.</p>
|
|
1478
|
+
* @public
|
|
1479
1479
|
*/
|
|
1480
1480
|
ActivityId: string | undefined;
|
|
1481
1481
|
/**
|
|
1482
|
-
* @public
|
|
1483
1482
|
* <p>The namespace of the Amazon Web Services service that provides the resource, or a
|
|
1484
1483
|
* <code>custom-resource</code>.</p>
|
|
1484
|
+
* @public
|
|
1485
1485
|
*/
|
|
1486
1486
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
1487
1487
|
/**
|
|
1488
|
-
* @public
|
|
1489
1488
|
* <p>The identifier of the resource associated with the scaling activity.
|
|
1490
1489
|
* This string consists of the resource type and unique identifier.</p>
|
|
1491
1490
|
* <ul>
|
|
@@ -1560,10 +1559,10 @@ export interface ScalingActivity {
|
|
|
1560
1559
|
* Example: <code>inference-component/my-inference-component</code>.</p>
|
|
1561
1560
|
* </li>
|
|
1562
1561
|
* </ul>
|
|
1562
|
+
* @public
|
|
1563
1563
|
*/
|
|
1564
1564
|
ResourceId: string | undefined;
|
|
1565
1565
|
/**
|
|
1566
|
-
* @public
|
|
1567
1566
|
* <p>The scalable dimension. This string consists of the service namespace, resource type, and scaling property.</p>
|
|
1568
1567
|
* <ul>
|
|
1569
1568
|
* <li>
|
|
@@ -1655,47 +1654,48 @@ export interface ScalingActivity {
|
|
|
1655
1654
|
* <code>sagemaker:inference-component:DesiredCopyCount</code> - The number of copies across an endpoint for a SageMaker inference component.</p>
|
|
1656
1655
|
* </li>
|
|
1657
1656
|
* </ul>
|
|
1657
|
+
* @public
|
|
1658
1658
|
*/
|
|
1659
1659
|
ScalableDimension: ScalableDimension | undefined;
|
|
1660
1660
|
/**
|
|
1661
|
-
* @public
|
|
1662
1661
|
* <p>A simple description of what action the scaling activity intends to accomplish.</p>
|
|
1662
|
+
* @public
|
|
1663
1663
|
*/
|
|
1664
1664
|
Description: string | undefined;
|
|
1665
1665
|
/**
|
|
1666
|
-
* @public
|
|
1667
1666
|
* <p>A simple description of what caused the scaling activity to happen.</p>
|
|
1667
|
+
* @public
|
|
1668
1668
|
*/
|
|
1669
1669
|
Cause: string | undefined;
|
|
1670
1670
|
/**
|
|
1671
|
-
* @public
|
|
1672
1671
|
* <p>The Unix timestamp for when the scaling activity began.</p>
|
|
1672
|
+
* @public
|
|
1673
1673
|
*/
|
|
1674
1674
|
StartTime: Date | undefined;
|
|
1675
1675
|
/**
|
|
1676
|
-
* @public
|
|
1677
1676
|
* <p>The Unix timestamp for when the scaling activity ended.</p>
|
|
1677
|
+
* @public
|
|
1678
1678
|
*/
|
|
1679
1679
|
EndTime?: Date;
|
|
1680
1680
|
/**
|
|
1681
|
-
* @public
|
|
1682
1681
|
* <p>Indicates the status of the scaling activity.</p>
|
|
1682
|
+
* @public
|
|
1683
1683
|
*/
|
|
1684
1684
|
StatusCode: ScalingActivityStatusCode | undefined;
|
|
1685
1685
|
/**
|
|
1686
|
-
* @public
|
|
1687
1686
|
* <p>A simple message about the current status of the scaling activity.</p>
|
|
1687
|
+
* @public
|
|
1688
1688
|
*/
|
|
1689
1689
|
StatusMessage?: string;
|
|
1690
1690
|
/**
|
|
1691
|
-
* @public
|
|
1692
1691
|
* <p>The details about the scaling activity.</p>
|
|
1692
|
+
* @public
|
|
1693
1693
|
*/
|
|
1694
1694
|
Details?: string;
|
|
1695
1695
|
/**
|
|
1696
|
-
* @public
|
|
1697
1696
|
* <p>Machine-readable data that describes the reason for a not scaled activity. Only
|
|
1698
1697
|
* available when <a href="https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalingActivities.html">DescribeScalingActivities</a> includes not scaled activities.</p>
|
|
1698
|
+
* @public
|
|
1699
1699
|
*/
|
|
1700
1700
|
NotScaledReasons?: NotScaledReason[];
|
|
1701
1701
|
}
|
|
@@ -1704,14 +1704,14 @@ export interface ScalingActivity {
|
|
|
1704
1704
|
*/
|
|
1705
1705
|
export interface DescribeScalingActivitiesResponse {
|
|
1706
1706
|
/**
|
|
1707
|
-
* @public
|
|
1708
1707
|
* <p>A list of scaling activity objects.</p>
|
|
1708
|
+
* @public
|
|
1709
1709
|
*/
|
|
1710
1710
|
ScalingActivities?: ScalingActivity[];
|
|
1711
1711
|
/**
|
|
1712
|
-
* @public
|
|
1713
1712
|
* <p>The token required to get the next set of results. This value is <code>null</code> if
|
|
1714
1713
|
* there are no more results to return.</p>
|
|
1714
|
+
* @public
|
|
1715
1715
|
*/
|
|
1716
1716
|
NextToken?: string;
|
|
1717
1717
|
}
|
|
@@ -1720,18 +1720,17 @@ export interface DescribeScalingActivitiesResponse {
|
|
|
1720
1720
|
*/
|
|
1721
1721
|
export interface DescribeScalingPoliciesRequest {
|
|
1722
1722
|
/**
|
|
1723
|
-
* @public
|
|
1724
1723
|
* <p>The names of the scaling policies to describe.</p>
|
|
1724
|
+
* @public
|
|
1725
1725
|
*/
|
|
1726
1726
|
PolicyNames?: string[];
|
|
1727
1727
|
/**
|
|
1728
|
-
* @public
|
|
1729
1728
|
* <p>The namespace of the Amazon Web Services service that provides the resource. For a resource provided
|
|
1730
1729
|
* by your own application or service, use <code>custom-resource</code> instead.</p>
|
|
1730
|
+
* @public
|
|
1731
1731
|
*/
|
|
1732
1732
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
1733
1733
|
/**
|
|
1734
|
-
* @public
|
|
1735
1734
|
* <p>The identifier of the resource associated with the scaling policy.
|
|
1736
1735
|
* This string consists of the resource type and unique identifier.</p>
|
|
1737
1736
|
* <ul>
|
|
@@ -1806,10 +1805,10 @@ export interface DescribeScalingPoliciesRequest {
|
|
|
1806
1805
|
* Example: <code>inference-component/my-inference-component</code>.</p>
|
|
1807
1806
|
* </li>
|
|
1808
1807
|
* </ul>
|
|
1808
|
+
* @public
|
|
1809
1809
|
*/
|
|
1810
1810
|
ResourceId?: string;
|
|
1811
1811
|
/**
|
|
1812
|
-
* @public
|
|
1813
1812
|
* <p>The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
|
|
1814
1813
|
* If you specify a scalable dimension, you must also specify a resource ID.</p>
|
|
1815
1814
|
* <ul>
|
|
@@ -1902,10 +1901,10 @@ export interface DescribeScalingPoliciesRequest {
|
|
|
1902
1901
|
* <code>sagemaker:inference-component:DesiredCopyCount</code> - The number of copies across an endpoint for a SageMaker inference component.</p>
|
|
1903
1902
|
* </li>
|
|
1904
1903
|
* </ul>
|
|
1904
|
+
* @public
|
|
1905
1905
|
*/
|
|
1906
1906
|
ScalableDimension?: ScalableDimension;
|
|
1907
1907
|
/**
|
|
1908
|
-
* @public
|
|
1909
1908
|
* <p>The maximum number of scalable targets. This value can be between 1 and 10. The default
|
|
1910
1909
|
* value is 10.</p>
|
|
1911
1910
|
* <p>If this parameter is used, the operation returns up to <code>MaxResults</code> results
|
|
@@ -1913,11 +1912,12 @@ export interface DescribeScalingPoliciesRequest {
|
|
|
1913
1912
|
* include the <code>NextToken</code> value in a subsequent call. If this parameter is not
|
|
1914
1913
|
* used, the operation returns up to 10 results and a <code>NextToken</code> value, if
|
|
1915
1914
|
* applicable.</p>
|
|
1915
|
+
* @public
|
|
1916
1916
|
*/
|
|
1917
1917
|
MaxResults?: number;
|
|
1918
1918
|
/**
|
|
1919
|
-
* @public
|
|
1920
1919
|
* <p>The token for the next set of results.</p>
|
|
1920
|
+
* @public
|
|
1921
1921
|
*/
|
|
1922
1922
|
NextToken?: string;
|
|
1923
1923
|
}
|
|
@@ -1947,7 +1947,6 @@ export declare const MetricAggregationType: {
|
|
|
1947
1947
|
*/
|
|
1948
1948
|
export type MetricAggregationType = (typeof MetricAggregationType)[keyof typeof MetricAggregationType];
|
|
1949
1949
|
/**
|
|
1950
|
-
* @public
|
|
1951
1950
|
* <p>Represents a step adjustment for a <a href="https://docs.aws.amazon.com/autoscaling/application/APIReference/API_StepScalingPolicyConfiguration.html">StepScalingPolicyConfiguration</a>. Describes an adjustment based on the difference
|
|
1952
1951
|
* between the value of the aggregated CloudWatch metric and the breach threshold that you've
|
|
1953
1952
|
* defined for the alarm. </p>
|
|
@@ -1984,61 +1983,61 @@ export type MetricAggregationType = (typeof MetricAggregationType)[keyof typeof
|
|
|
1984
1983
|
* <p>The upper and lower bound can't be null in the same step adjustment.</p>
|
|
1985
1984
|
* </li>
|
|
1986
1985
|
* </ul>
|
|
1986
|
+
* @public
|
|
1987
1987
|
*/
|
|
1988
1988
|
export interface StepAdjustment {
|
|
1989
1989
|
/**
|
|
1990
|
-
* @public
|
|
1991
1990
|
* <p>The lower bound for the difference between the alarm threshold and the CloudWatch metric. If
|
|
1992
1991
|
* the metric value is above the breach threshold, the lower bound is inclusive (the metric
|
|
1993
1992
|
* must be greater than or equal to the threshold plus the lower bound). Otherwise, it's
|
|
1994
1993
|
* exclusive (the metric must be greater than the threshold plus the lower bound). A null
|
|
1995
1994
|
* value indicates negative infinity.</p>
|
|
1995
|
+
* @public
|
|
1996
1996
|
*/
|
|
1997
1997
|
MetricIntervalLowerBound?: number;
|
|
1998
1998
|
/**
|
|
1999
|
-
* @public
|
|
2000
1999
|
* <p>The upper bound for the difference between the alarm threshold and the CloudWatch metric. If
|
|
2001
2000
|
* the metric value is above the breach threshold, the upper bound is exclusive (the metric
|
|
2002
2001
|
* must be less than the threshold plus the upper bound). Otherwise, it's inclusive (the
|
|
2003
2002
|
* metric must be less than or equal to the threshold plus the upper bound). A null value
|
|
2004
2003
|
* indicates positive infinity.</p>
|
|
2005
2004
|
* <p>The upper bound must be greater than the lower bound.</p>
|
|
2005
|
+
* @public
|
|
2006
2006
|
*/
|
|
2007
2007
|
MetricIntervalUpperBound?: number;
|
|
2008
2008
|
/**
|
|
2009
|
-
* @public
|
|
2010
2009
|
* <p>The amount by which to scale, based on the specified adjustment type. A positive value
|
|
2011
2010
|
* adds to the current capacity while a negative number removes from the current capacity. For
|
|
2012
2011
|
* exact capacity, you must specify a non-negative value.</p>
|
|
2012
|
+
* @public
|
|
2013
2013
|
*/
|
|
2014
2014
|
ScalingAdjustment: number | undefined;
|
|
2015
2015
|
}
|
|
2016
2016
|
/**
|
|
2017
|
-
* @public
|
|
2018
2017
|
* <p>Represents a step scaling policy configuration to use with Application Auto Scaling.</p>
|
|
2019
2018
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html">Step scaling policies</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
2019
|
+
* @public
|
|
2020
2020
|
*/
|
|
2021
2021
|
export interface StepScalingPolicyConfiguration {
|
|
2022
2022
|
/**
|
|
2023
|
-
* @public
|
|
2024
2023
|
* <p>Specifies how the <code>ScalingAdjustment</code> value in a <a href="https://docs.aws.amazon.com/autoscaling/application/APIReference/API_StepAdjustment.html">StepAdjustment</a> is interpreted (for example, an absolute number or a
|
|
2025
2024
|
* percentage). The valid values are <code>ChangeInCapacity</code>,
|
|
2026
2025
|
* <code>ExactCapacity</code>, and <code>PercentChangeInCapacity</code>. </p>
|
|
2027
2026
|
* <p>
|
|
2028
2027
|
* <code>AdjustmentType</code> is required if you are adding a new step scaling policy
|
|
2029
2028
|
* configuration.</p>
|
|
2029
|
+
* @public
|
|
2030
2030
|
*/
|
|
2031
2031
|
AdjustmentType?: AdjustmentType;
|
|
2032
2032
|
/**
|
|
2033
|
-
* @public
|
|
2034
2033
|
* <p>A set of adjustments that enable you to scale based on the size of the alarm
|
|
2035
2034
|
* breach.</p>
|
|
2036
2035
|
* <p>At least one step adjustment is required if you are adding a new step scaling policy
|
|
2037
2036
|
* configuration.</p>
|
|
2037
|
+
* @public
|
|
2038
2038
|
*/
|
|
2039
2039
|
StepAdjustments?: StepAdjustment[];
|
|
2040
2040
|
/**
|
|
2041
|
-
* @public
|
|
2042
2041
|
* <p>The minimum value to scale by when the adjustment type is
|
|
2043
2042
|
* <code>PercentChangeInCapacity</code>. For example, suppose that you create a step
|
|
2044
2043
|
* scaling policy to scale out an Amazon ECS service by 25 percent and you specify a
|
|
@@ -2046,158 +2045,158 @@ export interface StepScalingPolicyConfiguration {
|
|
|
2046
2045
|
* policy is performed, 25 percent of 4 is 1. However, because you specified a
|
|
2047
2046
|
* <code>MinAdjustmentMagnitude</code> of 2, Application Auto Scaling scales out the service by 2
|
|
2048
2047
|
* tasks.</p>
|
|
2048
|
+
* @public
|
|
2049
2049
|
*/
|
|
2050
2050
|
MinAdjustmentMagnitude?: number;
|
|
2051
2051
|
/**
|
|
2052
|
-
* @public
|
|
2053
2052
|
* <p>The amount of time, in seconds, to wait for a previous scaling activity to take effect. If
|
|
2054
2053
|
* not specified, the default value is 300. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/step-scaling-policy-overview.html#step-scaling-cooldown">Cooldown period</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
2054
|
+
* @public
|
|
2055
2055
|
*/
|
|
2056
2056
|
Cooldown?: number;
|
|
2057
2057
|
/**
|
|
2058
|
-
* @public
|
|
2059
2058
|
* <p>The aggregation type for the CloudWatch metrics. Valid values are <code>Minimum</code>,
|
|
2060
2059
|
* <code>Maximum</code>, and <code>Average</code>. If the aggregation type is null, the
|
|
2061
2060
|
* value is treated as <code>Average</code>.</p>
|
|
2061
|
+
* @public
|
|
2062
2062
|
*/
|
|
2063
2063
|
MetricAggregationType?: MetricAggregationType;
|
|
2064
2064
|
}
|
|
2065
2065
|
/**
|
|
2066
|
-
* @public
|
|
2067
2066
|
* <p>Describes the dimension names and values associated with a metric.</p>
|
|
2067
|
+
* @public
|
|
2068
2068
|
*/
|
|
2069
2069
|
export interface MetricDimension {
|
|
2070
2070
|
/**
|
|
2071
|
-
* @public
|
|
2072
2071
|
* <p>The name of the dimension.</p>
|
|
2072
|
+
* @public
|
|
2073
2073
|
*/
|
|
2074
2074
|
Name: string | undefined;
|
|
2075
2075
|
/**
|
|
2076
|
-
* @public
|
|
2077
2076
|
* <p>The value of the dimension.</p>
|
|
2077
|
+
* @public
|
|
2078
2078
|
*/
|
|
2079
2079
|
Value: string | undefined;
|
|
2080
2080
|
}
|
|
2081
2081
|
/**
|
|
2082
|
-
* @public
|
|
2083
2082
|
* <p>Describes the dimension of a metric.</p>
|
|
2083
|
+
* @public
|
|
2084
2084
|
*/
|
|
2085
2085
|
export interface TargetTrackingMetricDimension {
|
|
2086
2086
|
/**
|
|
2087
|
-
* @public
|
|
2088
2087
|
* <p>The name of the dimension.</p>
|
|
2088
|
+
* @public
|
|
2089
2089
|
*/
|
|
2090
2090
|
Name: string | undefined;
|
|
2091
2091
|
/**
|
|
2092
|
-
* @public
|
|
2093
2092
|
* <p>The value of the dimension.</p>
|
|
2093
|
+
* @public
|
|
2094
2094
|
*/
|
|
2095
2095
|
Value: string | undefined;
|
|
2096
2096
|
}
|
|
2097
2097
|
/**
|
|
2098
|
-
* @public
|
|
2099
2098
|
* <p>Represents a specific metric.</p>
|
|
2100
2099
|
* <p>Metric is a property of the <a>TargetTrackingMetricStat</a> object.</p>
|
|
2100
|
+
* @public
|
|
2101
2101
|
*/
|
|
2102
2102
|
export interface TargetTrackingMetric {
|
|
2103
2103
|
/**
|
|
2104
|
-
* @public
|
|
2105
2104
|
* <p>The dimensions for the metric. For the list of available dimensions, see the Amazon Web Services
|
|
2106
2105
|
* documentation available from the table in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html">Amazon Web Services
|
|
2107
2106
|
* services that publish CloudWatch metrics </a> in the <i>Amazon CloudWatch User
|
|
2108
2107
|
* Guide</i>. </p>
|
|
2109
2108
|
* <p>Conditional: If you published your metric with dimensions, you must specify the same
|
|
2110
2109
|
* dimensions in your scaling policy.</p>
|
|
2110
|
+
* @public
|
|
2111
2111
|
*/
|
|
2112
2112
|
Dimensions?: TargetTrackingMetricDimension[];
|
|
2113
2113
|
/**
|
|
2114
|
-
* @public
|
|
2115
2114
|
* <p>The name of the metric.</p>
|
|
2115
|
+
* @public
|
|
2116
2116
|
*/
|
|
2117
2117
|
MetricName?: string;
|
|
2118
2118
|
/**
|
|
2119
|
-
* @public
|
|
2120
2119
|
* <p>The namespace of the metric. For more information, see the table in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html">Amazon Web Services
|
|
2121
2120
|
* services that publish CloudWatch metrics </a> in the <i>Amazon CloudWatch User
|
|
2122
2121
|
* Guide</i>.</p>
|
|
2122
|
+
* @public
|
|
2123
2123
|
*/
|
|
2124
2124
|
Namespace?: string;
|
|
2125
2125
|
}
|
|
2126
2126
|
/**
|
|
2127
|
-
* @public
|
|
2128
2127
|
* <p>This structure defines the CloudWatch metric to return, along with the statistic, period, and
|
|
2129
2128
|
* unit.</p>
|
|
2130
2129
|
* <p>For more information about the CloudWatch terminology below, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html">Amazon CloudWatch
|
|
2131
2130
|
* concepts</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
|
|
2131
|
+
* @public
|
|
2132
2132
|
*/
|
|
2133
2133
|
export interface TargetTrackingMetricStat {
|
|
2134
2134
|
/**
|
|
2135
|
-
* @public
|
|
2136
2135
|
* <p>The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get
|
|
2137
2136
|
* the exact metric name, namespace, and dimensions, inspect the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html">Metric</a> object that is
|
|
2138
2137
|
* returned by a call to <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html">ListMetrics</a>.</p>
|
|
2138
|
+
* @public
|
|
2139
2139
|
*/
|
|
2140
2140
|
Metric: TargetTrackingMetric | undefined;
|
|
2141
2141
|
/**
|
|
2142
|
-
* @public
|
|
2143
2142
|
* <p>The statistic to return. It can include any CloudWatch statistic or extended statistic. For a
|
|
2144
2143
|
* list of valid values, see the table in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic">Statistics</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
|
|
2145
2144
|
* <p>The most commonly used metric for scaling is <code>Average</code>.</p>
|
|
2145
|
+
* @public
|
|
2146
2146
|
*/
|
|
2147
2147
|
Stat: string | undefined;
|
|
2148
2148
|
/**
|
|
2149
|
-
* @public
|
|
2150
2149
|
* <p>The unit to use for the returned data points. For a complete list of the units that CloudWatch
|
|
2151
2150
|
* supports, see the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html">MetricDatum</a> data
|
|
2152
2151
|
* type in the <i>Amazon CloudWatch API Reference</i>.</p>
|
|
2152
|
+
* @public
|
|
2153
2153
|
*/
|
|
2154
2154
|
Unit?: string;
|
|
2155
2155
|
}
|
|
2156
2156
|
/**
|
|
2157
|
-
* @public
|
|
2158
2157
|
* <p>The metric data to return. Also defines whether this call is returning data for one
|
|
2159
2158
|
* metric only, or whether it is performing a math expression on the values of returned metric
|
|
2160
2159
|
* statistics to create a new time series. A time series is a series of data points, each of
|
|
2161
2160
|
* which is associated with a timestamp.</p>
|
|
2162
2161
|
* <p>For more information and examples, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking-metric-math.html">Create a target tracking scaling policy for Application Auto Scaling using metric math</a> in the
|
|
2163
2162
|
* <i>Application Auto Scaling User Guide</i>.</p>
|
|
2163
|
+
* @public
|
|
2164
2164
|
*/
|
|
2165
2165
|
export interface TargetTrackingMetricDataQuery {
|
|
2166
2166
|
/**
|
|
2167
|
-
* @public
|
|
2168
2167
|
* <p>The math expression to perform on the returned data, if this object is performing a math
|
|
2169
2168
|
* expression. This expression can use the <code>Id</code> of the other metrics to refer to
|
|
2170
2169
|
* those metrics, and can also use the <code>Id</code> of other expressions to use the result
|
|
2171
2170
|
* of those expressions. </p>
|
|
2172
2171
|
* <p>Conditional: Within each <code>TargetTrackingMetricDataQuery</code> object, you must
|
|
2173
2172
|
* specify either <code>Expression</code> or <code>MetricStat</code>, but not both.</p>
|
|
2173
|
+
* @public
|
|
2174
2174
|
*/
|
|
2175
2175
|
Expression?: string;
|
|
2176
2176
|
/**
|
|
2177
|
-
* @public
|
|
2178
2177
|
* <p>A short name that identifies the object's results in the response. This name must be
|
|
2179
2178
|
* unique among all <code>MetricDataQuery</code> objects specified for a single scaling
|
|
2180
2179
|
* policy. If you are performing math expressions on this set of data, this name represents
|
|
2181
2180
|
* that data and can serve as a variable in the mathematical expression. The valid characters
|
|
2182
2181
|
* are letters, numbers, and underscores. The first character must be a lowercase letter.
|
|
2183
2182
|
* </p>
|
|
2183
|
+
* @public
|
|
2184
2184
|
*/
|
|
2185
2185
|
Id: string | undefined;
|
|
2186
2186
|
/**
|
|
2187
|
-
* @public
|
|
2188
2187
|
* <p>A human-readable label for this metric or expression. This is especially useful if this
|
|
2189
2188
|
* is a math expression, so that you know what the value represents.</p>
|
|
2189
|
+
* @public
|
|
2190
2190
|
*/
|
|
2191
2191
|
Label?: string;
|
|
2192
2192
|
/**
|
|
2193
|
-
* @public
|
|
2194
2193
|
* <p>Information about the metric data to return.</p>
|
|
2195
2194
|
* <p>Conditional: Within each <code>MetricDataQuery</code> object, you must specify either
|
|
2196
2195
|
* <code>Expression</code> or <code>MetricStat</code>, but not both.</p>
|
|
2196
|
+
* @public
|
|
2197
2197
|
*/
|
|
2198
2198
|
MetricStat?: TargetTrackingMetricStat;
|
|
2199
2199
|
/**
|
|
2200
|
-
* @public
|
|
2201
2200
|
* <p>Indicates whether to return the timestamps and raw data values of this metric. </p>
|
|
2202
2201
|
* <p>If you use any math expressions, specify <code>true</code> for this value for only the
|
|
2203
2202
|
* final math expression that the metric specification is based on. You must specify
|
|
@@ -2206,6 +2205,7 @@ export interface TargetTrackingMetricDataQuery {
|
|
|
2206
2205
|
* <p>If you are only retrieving metrics and not performing any math expressions, do not
|
|
2207
2206
|
* specify anything for <code>ReturnData</code>. This sets it to its default
|
|
2208
2207
|
* (<code>true</code>).</p>
|
|
2208
|
+
* @public
|
|
2209
2209
|
*/
|
|
2210
2210
|
ReturnData?: boolean;
|
|
2211
2211
|
}
|
|
@@ -2225,7 +2225,6 @@ export declare const MetricStatistic: {
|
|
|
2225
2225
|
*/
|
|
2226
2226
|
export type MetricStatistic = (typeof MetricStatistic)[keyof typeof MetricStatistic];
|
|
2227
2227
|
/**
|
|
2228
|
-
* @public
|
|
2229
2228
|
* <p>Represents a CloudWatch metric of your choosing for a target tracking scaling policy to use
|
|
2230
2229
|
* with Application Auto Scaling.</p>
|
|
2231
2230
|
* <p>For information about the available metrics for a service, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html">Amazon Web Services
|
|
@@ -2248,42 +2247,43 @@ export type MetricStatistic = (typeof MetricStatistic)[keyof typeof MetricStatis
|
|
|
2248
2247
|
* </ul>
|
|
2249
2248
|
* <p>For more information about the CloudWatch terminology below, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html">Amazon CloudWatch
|
|
2250
2249
|
* concepts</a> in the <i>Amazon CloudWatch User Guide</i>. </p>
|
|
2250
|
+
* @public
|
|
2251
2251
|
*/
|
|
2252
2252
|
export interface CustomizedMetricSpecification {
|
|
2253
2253
|
/**
|
|
2254
|
-
* @public
|
|
2255
2254
|
* <p>The name of the metric. To get the exact metric name, namespace, and dimensions, inspect
|
|
2256
2255
|
* the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html">Metric</a> object that's returned by a call to <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html">ListMetrics</a>.</p>
|
|
2256
|
+
* @public
|
|
2257
2257
|
*/
|
|
2258
2258
|
MetricName?: string;
|
|
2259
2259
|
/**
|
|
2260
|
-
* @public
|
|
2261
2260
|
* <p>The namespace of the metric.</p>
|
|
2261
|
+
* @public
|
|
2262
2262
|
*/
|
|
2263
2263
|
Namespace?: string;
|
|
2264
2264
|
/**
|
|
2265
|
-
* @public
|
|
2266
2265
|
* <p>The dimensions of the metric. </p>
|
|
2267
2266
|
* <p>Conditional: If you published your metric with dimensions, you must specify the same
|
|
2268
2267
|
* dimensions in your scaling policy.</p>
|
|
2268
|
+
* @public
|
|
2269
2269
|
*/
|
|
2270
2270
|
Dimensions?: MetricDimension[];
|
|
2271
2271
|
/**
|
|
2272
|
-
* @public
|
|
2273
2272
|
* <p>The statistic of the metric.</p>
|
|
2273
|
+
* @public
|
|
2274
2274
|
*/
|
|
2275
2275
|
Statistic?: MetricStatistic;
|
|
2276
2276
|
/**
|
|
2277
|
-
* @public
|
|
2278
2277
|
* <p>The unit of the metric. For a complete list of the units that CloudWatch supports, see the
|
|
2279
2278
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html">MetricDatum</a> data
|
|
2280
2279
|
* type in the <i>Amazon CloudWatch API Reference</i>.</p>
|
|
2280
|
+
* @public
|
|
2281
2281
|
*/
|
|
2282
2282
|
Unit?: string;
|
|
2283
2283
|
/**
|
|
2284
|
-
* @public
|
|
2285
2284
|
* <p>The metrics to include in the target tracking scaling policy, as a metric data query.
|
|
2286
2285
|
* This can include both raw metric and metric math expressions.</p>
|
|
2286
|
+
* @public
|
|
2287
2287
|
*/
|
|
2288
2288
|
Metrics?: TargetTrackingMetricDataQuery[];
|
|
2289
2289
|
}
|
|
@@ -2322,23 +2322,22 @@ export declare const MetricType: {
|
|
|
2322
2322
|
*/
|
|
2323
2323
|
export type MetricType = (typeof MetricType)[keyof typeof MetricType];
|
|
2324
2324
|
/**
|
|
2325
|
-
* @public
|
|
2326
2325
|
* <p>Represents a predefined metric for a target tracking scaling policy to use with
|
|
2327
2326
|
* Application Auto Scaling.</p>
|
|
2328
2327
|
* <p>Only the Amazon Web Services that you're using send metrics to Amazon CloudWatch. To determine whether a
|
|
2329
2328
|
* desired metric already exists by looking up its namespace and dimension using the CloudWatch
|
|
2330
2329
|
* metrics dashboard in the console, follow the procedure in <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/monitoring-cloudwatch.html">Monitor your
|
|
2331
2330
|
* resources using CloudWatch</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
2331
|
+
* @public
|
|
2332
2332
|
*/
|
|
2333
2333
|
export interface PredefinedMetricSpecification {
|
|
2334
2334
|
/**
|
|
2335
|
-
* @public
|
|
2336
2335
|
* <p>The metric type. The <code>ALBRequestCountPerTarget</code> metric type applies only to
|
|
2337
2336
|
* Spot Fleets and ECS services.</p>
|
|
2337
|
+
* @public
|
|
2338
2338
|
*/
|
|
2339
2339
|
PredefinedMetricType: MetricType | undefined;
|
|
2340
2340
|
/**
|
|
2341
|
-
* @public
|
|
2342
2341
|
* <p>Identifies the resource associated with the metric type. You can't specify a resource
|
|
2343
2342
|
* label unless the metric type is <code>ALBRequestCountPerTarget</code> and there is a target
|
|
2344
2343
|
* group attached to the Spot Fleet or ECS service.</p>
|
|
@@ -2360,18 +2359,18 @@ export interface PredefinedMetricSpecification {
|
|
|
2360
2359
|
* </ul>
|
|
2361
2360
|
* <p>To find the ARN for an Application Load Balancer, use the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html">DescribeLoadBalancers</a> API operation. To find the ARN for the target group, use
|
|
2362
2361
|
* the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html">DescribeTargetGroups</a> API operation.</p>
|
|
2362
|
+
* @public
|
|
2363
2363
|
*/
|
|
2364
2364
|
ResourceLabel?: string;
|
|
2365
2365
|
}
|
|
2366
2366
|
/**
|
|
2367
|
-
* @public
|
|
2368
2367
|
* <p>Represents a target tracking scaling policy configuration to use with Application Auto Scaling.</p>
|
|
2369
2368
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html">Target tracking scaling policies</a> in the <i>Application Auto Scaling User
|
|
2370
2369
|
* Guide</i>.</p>
|
|
2370
|
+
* @public
|
|
2371
2371
|
*/
|
|
2372
2372
|
export interface TargetTrackingScalingPolicyConfiguration {
|
|
2373
2373
|
/**
|
|
2374
|
-
* @public
|
|
2375
2374
|
* <p>The target value for the metric. Although this property accepts numbers of type Double,
|
|
2376
2375
|
* it won't accept values that are either too small or too large. Values must be in the range
|
|
2377
2376
|
* of -2^360 to 2^360. The value must be a valid number based on the choice of metric. For
|
|
@@ -2382,69 +2381,69 @@ export interface TargetTrackingScalingPolicyConfiguration {
|
|
|
2382
2381
|
* metric, specify the target utilization as the optimal average request count per target
|
|
2383
2382
|
* during any one-minute interval.</p>
|
|
2384
2383
|
* </note>
|
|
2384
|
+
* @public
|
|
2385
2385
|
*/
|
|
2386
2386
|
TargetValue: number | undefined;
|
|
2387
2387
|
/**
|
|
2388
|
-
* @public
|
|
2389
2388
|
* <p>A predefined metric. You can specify either a predefined metric or a customized
|
|
2390
2389
|
* metric.</p>
|
|
2390
|
+
* @public
|
|
2391
2391
|
*/
|
|
2392
2392
|
PredefinedMetricSpecification?: PredefinedMetricSpecification;
|
|
2393
2393
|
/**
|
|
2394
|
-
* @public
|
|
2395
2394
|
* <p>A customized metric. You can specify either a predefined metric or a customized
|
|
2396
2395
|
* metric.</p>
|
|
2396
|
+
* @public
|
|
2397
2397
|
*/
|
|
2398
2398
|
CustomizedMetricSpecification?: CustomizedMetricSpecification;
|
|
2399
2399
|
/**
|
|
2400
|
-
* @public
|
|
2401
2400
|
* <p>The amount of time, in seconds, to wait for a previous scale-out activity to take effect.
|
|
2402
2401
|
* For more information and for default values, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown">Define cooldown periods</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
2402
|
+
* @public
|
|
2403
2403
|
*/
|
|
2404
2404
|
ScaleOutCooldown?: number;
|
|
2405
2405
|
/**
|
|
2406
|
-
* @public
|
|
2407
2406
|
* <p>The amount of time, in seconds, after a scale-in activity completes before another
|
|
2408
2407
|
* scale-in activity can start. For more information and for default values, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown">Define cooldown periods</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
2408
|
+
* @public
|
|
2409
2409
|
*/
|
|
2410
2410
|
ScaleInCooldown?: number;
|
|
2411
2411
|
/**
|
|
2412
|
-
* @public
|
|
2413
2412
|
* <p>Indicates whether scale in by the target tracking scaling policy is disabled. If the
|
|
2414
2413
|
* value is <code>true</code>, scale in is disabled and the target tracking scaling policy
|
|
2415
2414
|
* won't remove capacity from the scalable target. Otherwise, scale in is enabled and the
|
|
2416
2415
|
* target tracking scaling policy can remove capacity from the scalable target. The default
|
|
2417
2416
|
* value is <code>false</code>.</p>
|
|
2417
|
+
* @public
|
|
2418
2418
|
*/
|
|
2419
2419
|
DisableScaleIn?: boolean;
|
|
2420
2420
|
}
|
|
2421
2421
|
/**
|
|
2422
|
-
* @public
|
|
2423
2422
|
* <p>Represents a scaling policy to use with Application Auto Scaling.</p>
|
|
2424
2423
|
* <p>For more information about configuring scaling policies for a specific service, see
|
|
2425
2424
|
* <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/integrated-services-list.html">Amazon Web Services services
|
|
2426
2425
|
* that you can use with Application Auto Scaling</a> in the
|
|
2427
2426
|
* <i>Application Auto Scaling User Guide</i>.</p>
|
|
2427
|
+
* @public
|
|
2428
2428
|
*/
|
|
2429
2429
|
export interface ScalingPolicy {
|
|
2430
2430
|
/**
|
|
2431
|
-
* @public
|
|
2432
2431
|
* <p>The Amazon Resource Name (ARN) of the scaling policy.</p>
|
|
2432
|
+
* @public
|
|
2433
2433
|
*/
|
|
2434
2434
|
PolicyARN: string | undefined;
|
|
2435
2435
|
/**
|
|
2436
|
-
* @public
|
|
2437
2436
|
* <p>The name of the scaling policy.</p>
|
|
2437
|
+
* @public
|
|
2438
2438
|
*/
|
|
2439
2439
|
PolicyName: string | undefined;
|
|
2440
2440
|
/**
|
|
2441
|
-
* @public
|
|
2442
2441
|
* <p>The namespace of the Amazon Web Services service that provides the resource, or a
|
|
2443
2442
|
* <code>custom-resource</code>.</p>
|
|
2443
|
+
* @public
|
|
2444
2444
|
*/
|
|
2445
2445
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
2446
2446
|
/**
|
|
2447
|
-
* @public
|
|
2448
2447
|
* <p>The identifier of the resource associated with the scaling policy.
|
|
2449
2448
|
* This string consists of the resource type and unique identifier.</p>
|
|
2450
2449
|
* <ul>
|
|
@@ -2519,10 +2518,10 @@ export interface ScalingPolicy {
|
|
|
2519
2518
|
* Example: <code>inference-component/my-inference-component</code>.</p>
|
|
2520
2519
|
* </li>
|
|
2521
2520
|
* </ul>
|
|
2521
|
+
* @public
|
|
2522
2522
|
*/
|
|
2523
2523
|
ResourceId: string | undefined;
|
|
2524
2524
|
/**
|
|
2525
|
-
* @public
|
|
2526
2525
|
* <p>The scalable dimension. This string consists of the service namespace, resource type, and scaling property.</p>
|
|
2527
2526
|
* <ul>
|
|
2528
2527
|
* <li>
|
|
@@ -2614,10 +2613,10 @@ export interface ScalingPolicy {
|
|
|
2614
2613
|
* <code>sagemaker:inference-component:DesiredCopyCount</code> - The number of copies across an endpoint for a SageMaker inference component.</p>
|
|
2615
2614
|
* </li>
|
|
2616
2615
|
* </ul>
|
|
2616
|
+
* @public
|
|
2617
2617
|
*/
|
|
2618
2618
|
ScalableDimension: ScalableDimension | undefined;
|
|
2619
2619
|
/**
|
|
2620
|
-
* @public
|
|
2621
2620
|
* <p>The scaling policy type.</p>
|
|
2622
2621
|
* <p>The following policy types are supported: </p>
|
|
2623
2622
|
* <p>
|
|
@@ -2625,26 +2624,27 @@ export interface ScalingPolicy {
|
|
|
2625
2624
|
* <p>
|
|
2626
2625
|
* <code>StepScaling</code>—Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or
|
|
2627
2626
|
* Neptune.</p>
|
|
2627
|
+
* @public
|
|
2628
2628
|
*/
|
|
2629
2629
|
PolicyType: PolicyType | undefined;
|
|
2630
2630
|
/**
|
|
2631
|
-
* @public
|
|
2632
2631
|
* <p>A step scaling policy.</p>
|
|
2632
|
+
* @public
|
|
2633
2633
|
*/
|
|
2634
2634
|
StepScalingPolicyConfiguration?: StepScalingPolicyConfiguration;
|
|
2635
2635
|
/**
|
|
2636
|
-
* @public
|
|
2637
2636
|
* <p>A target tracking scaling policy.</p>
|
|
2637
|
+
* @public
|
|
2638
2638
|
*/
|
|
2639
2639
|
TargetTrackingScalingPolicyConfiguration?: TargetTrackingScalingPolicyConfiguration;
|
|
2640
2640
|
/**
|
|
2641
|
-
* @public
|
|
2642
2641
|
* <p>The CloudWatch alarms associated with the scaling policy.</p>
|
|
2642
|
+
* @public
|
|
2643
2643
|
*/
|
|
2644
2644
|
Alarms?: Alarm[];
|
|
2645
2645
|
/**
|
|
2646
|
-
* @public
|
|
2647
2646
|
* <p>The Unix timestamp for when the scaling policy was created.</p>
|
|
2647
|
+
* @public
|
|
2648
2648
|
*/
|
|
2649
2649
|
CreationTime: Date | undefined;
|
|
2650
2650
|
}
|
|
@@ -2653,23 +2653,23 @@ export interface ScalingPolicy {
|
|
|
2653
2653
|
*/
|
|
2654
2654
|
export interface DescribeScalingPoliciesResponse {
|
|
2655
2655
|
/**
|
|
2656
|
-
* @public
|
|
2657
2656
|
* <p>Information about the scaling policies.</p>
|
|
2657
|
+
* @public
|
|
2658
2658
|
*/
|
|
2659
2659
|
ScalingPolicies?: ScalingPolicy[];
|
|
2660
2660
|
/**
|
|
2661
|
-
* @public
|
|
2662
2661
|
* <p>The token required to get the next set of results. This value is <code>null</code> if
|
|
2663
2662
|
* there are no more results to return.</p>
|
|
2663
|
+
* @public
|
|
2664
2664
|
*/
|
|
2665
2665
|
NextToken?: string;
|
|
2666
2666
|
}
|
|
2667
2667
|
/**
|
|
2668
|
-
* @public
|
|
2669
2668
|
* <p>Failed access to resources caused an exception. This exception is thrown when Application Auto Scaling
|
|
2670
2669
|
* is unable to retrieve the alarms associated with a scaling policy due to a client error,
|
|
2671
2670
|
* for example, if the role ARN specified for a scalable target does not have permission to
|
|
2672
2671
|
* call the CloudWatch <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html">DescribeAlarms</a> on your behalf.</p>
|
|
2672
|
+
* @public
|
|
2673
2673
|
*/
|
|
2674
2674
|
export declare class FailedResourceAccessException extends __BaseException {
|
|
2675
2675
|
readonly name: "FailedResourceAccessException";
|
|
@@ -2685,18 +2685,17 @@ export declare class FailedResourceAccessException extends __BaseException {
|
|
|
2685
2685
|
*/
|
|
2686
2686
|
export interface DescribeScheduledActionsRequest {
|
|
2687
2687
|
/**
|
|
2688
|
-
* @public
|
|
2689
2688
|
* <p>The names of the scheduled actions to describe.</p>
|
|
2689
|
+
* @public
|
|
2690
2690
|
*/
|
|
2691
2691
|
ScheduledActionNames?: string[];
|
|
2692
2692
|
/**
|
|
2693
|
-
* @public
|
|
2694
2693
|
* <p>The namespace of the Amazon Web Services service that provides the resource. For a resource provided
|
|
2695
2694
|
* by your own application or service, use <code>custom-resource</code> instead.</p>
|
|
2695
|
+
* @public
|
|
2696
2696
|
*/
|
|
2697
2697
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
2698
2698
|
/**
|
|
2699
|
-
* @public
|
|
2700
2699
|
* <p>The identifier of the resource associated with the scheduled action.
|
|
2701
2700
|
* This string consists of the resource type and unique identifier.</p>
|
|
2702
2701
|
* <ul>
|
|
@@ -2771,10 +2770,10 @@ export interface DescribeScheduledActionsRequest {
|
|
|
2771
2770
|
* Example: <code>inference-component/my-inference-component</code>.</p>
|
|
2772
2771
|
* </li>
|
|
2773
2772
|
* </ul>
|
|
2773
|
+
* @public
|
|
2774
2774
|
*/
|
|
2775
2775
|
ResourceId?: string;
|
|
2776
2776
|
/**
|
|
2777
|
-
* @public
|
|
2778
2777
|
* <p>The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
|
|
2779
2778
|
* If you specify a scalable dimension, you must also specify a resource ID.</p>
|
|
2780
2779
|
* <ul>
|
|
@@ -2867,10 +2866,10 @@ export interface DescribeScheduledActionsRequest {
|
|
|
2867
2866
|
* <code>sagemaker:inference-component:DesiredCopyCount</code> - The number of copies across an endpoint for a SageMaker inference component.</p>
|
|
2868
2867
|
* </li>
|
|
2869
2868
|
* </ul>
|
|
2869
|
+
* @public
|
|
2870
2870
|
*/
|
|
2871
2871
|
ScalableDimension?: ScalableDimension;
|
|
2872
2872
|
/**
|
|
2873
|
-
* @public
|
|
2874
2873
|
* <p>The maximum number of scheduled action results. This value can be between
|
|
2875
2874
|
* 1 and 50. The default value is 50.</p>
|
|
2876
2875
|
* <p>If this parameter is used, the operation returns up to <code>MaxResults</code> results
|
|
@@ -2878,29 +2877,29 @@ export interface DescribeScheduledActionsRequest {
|
|
|
2878
2877
|
* include the <code>NextToken</code> value in a subsequent call. If this parameter is not
|
|
2879
2878
|
* used, the operation returns up to 50 results and a
|
|
2880
2879
|
* <code>NextToken</code> value, if applicable.</p>
|
|
2880
|
+
* @public
|
|
2881
2881
|
*/
|
|
2882
2882
|
MaxResults?: number;
|
|
2883
2883
|
/**
|
|
2884
|
-
* @public
|
|
2885
2884
|
* <p>The token for the next set of results.</p>
|
|
2885
|
+
* @public
|
|
2886
2886
|
*/
|
|
2887
2887
|
NextToken?: string;
|
|
2888
2888
|
}
|
|
2889
2889
|
/**
|
|
2890
|
-
* @public
|
|
2891
2890
|
* <p>Represents the minimum and maximum capacity for a scheduled action.</p>
|
|
2891
|
+
* @public
|
|
2892
2892
|
*/
|
|
2893
2893
|
export interface ScalableTargetAction {
|
|
2894
2894
|
/**
|
|
2895
|
-
* @public
|
|
2896
2895
|
* <p>The minimum capacity.</p>
|
|
2897
2896
|
* <p>When the scheduled action runs, the resource will have at least this much capacity, but it
|
|
2898
2897
|
* might have more depending on other settings, such as the target utilization level of a target
|
|
2899
2898
|
* tracking scaling policy.</p>
|
|
2899
|
+
* @public
|
|
2900
2900
|
*/
|
|
2901
2901
|
MinCapacity?: number;
|
|
2902
2902
|
/**
|
|
2903
|
-
* @public
|
|
2904
2903
|
* <p>The maximum capacity.</p>
|
|
2905
2904
|
* <p>Although you can specify a large maximum capacity, note that service quotas may impose
|
|
2906
2905
|
* lower limits. Each service has its own default quotas for the maximum capacity of the
|
|
@@ -2908,32 +2907,32 @@ export interface ScalableTargetAction {
|
|
|
2908
2907
|
* information, consult the documentation for that service. For information about the default
|
|
2909
2908
|
* quotas for each service, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html">Service endpoints and
|
|
2910
2909
|
* quotas</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
2910
|
+
* @public
|
|
2911
2911
|
*/
|
|
2912
2912
|
MaxCapacity?: number;
|
|
2913
2913
|
}
|
|
2914
2914
|
/**
|
|
2915
|
-
* @public
|
|
2916
2915
|
* <p>Represents a scheduled action.</p>
|
|
2916
|
+
* @public
|
|
2917
2917
|
*/
|
|
2918
2918
|
export interface ScheduledAction {
|
|
2919
2919
|
/**
|
|
2920
|
-
* @public
|
|
2921
2920
|
* <p>The name of the scheduled action.</p>
|
|
2921
|
+
* @public
|
|
2922
2922
|
*/
|
|
2923
2923
|
ScheduledActionName: string | undefined;
|
|
2924
2924
|
/**
|
|
2925
|
-
* @public
|
|
2926
2925
|
* <p>The Amazon Resource Name (ARN) of the scheduled action.</p>
|
|
2926
|
+
* @public
|
|
2927
2927
|
*/
|
|
2928
2928
|
ScheduledActionARN: string | undefined;
|
|
2929
2929
|
/**
|
|
2930
|
-
* @public
|
|
2931
2930
|
* <p>The namespace of the Amazon Web Services service that provides the resource, or a
|
|
2932
2931
|
* <code>custom-resource</code>.</p>
|
|
2932
|
+
* @public
|
|
2933
2933
|
*/
|
|
2934
2934
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
2935
2935
|
/**
|
|
2936
|
-
* @public
|
|
2937
2936
|
* <p>The schedule for this action. The following formats are supported:</p>
|
|
2938
2937
|
* <ul>
|
|
2939
2938
|
* <li>
|
|
@@ -2956,16 +2955,16 @@ export interface ScheduledAction {
|
|
|
2956
2955
|
* <p>For rate expressions, <i>value</i> is a positive integer and <i>unit</i> is
|
|
2957
2956
|
* <code>minute</code> | <code>minutes</code> | <code>hour</code> | <code>hours</code> | <code>day</code> | <code>days</code>.</p>
|
|
2958
2957
|
* <p>For more information and examples, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/examples-scheduled-actions.html">Example scheduled actions for Application Auto Scaling</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
2958
|
+
* @public
|
|
2959
2959
|
*/
|
|
2960
2960
|
Schedule: string | undefined;
|
|
2961
2961
|
/**
|
|
2962
|
-
* @public
|
|
2963
2962
|
* <p>The time zone used when referring to the date and time of a scheduled action, when the
|
|
2964
2963
|
* scheduled action uses an at or cron expression.</p>
|
|
2964
|
+
* @public
|
|
2965
2965
|
*/
|
|
2966
2966
|
Timezone?: string;
|
|
2967
2967
|
/**
|
|
2968
|
-
* @public
|
|
2969
2968
|
* <p>The identifier of the resource associated with the scaling policy.
|
|
2970
2969
|
* This string consists of the resource type and unique identifier.</p>
|
|
2971
2970
|
* <ul>
|
|
@@ -3040,10 +3039,10 @@ export interface ScheduledAction {
|
|
|
3040
3039
|
* Example: <code>inference-component/my-inference-component</code>.</p>
|
|
3041
3040
|
* </li>
|
|
3042
3041
|
* </ul>
|
|
3042
|
+
* @public
|
|
3043
3043
|
*/
|
|
3044
3044
|
ResourceId: string | undefined;
|
|
3045
3045
|
/**
|
|
3046
|
-
* @public
|
|
3047
3046
|
* <p>The scalable dimension. This string consists of the service namespace, resource type, and scaling property.</p>
|
|
3048
3047
|
* <ul>
|
|
3049
3048
|
* <li>
|
|
@@ -3135,29 +3134,30 @@ export interface ScheduledAction {
|
|
|
3135
3134
|
* <code>sagemaker:inference-component:DesiredCopyCount</code> - The number of copies across an endpoint for a SageMaker inference component.</p>
|
|
3136
3135
|
* </li>
|
|
3137
3136
|
* </ul>
|
|
3137
|
+
* @public
|
|
3138
3138
|
*/
|
|
3139
3139
|
ScalableDimension?: ScalableDimension;
|
|
3140
3140
|
/**
|
|
3141
|
-
* @public
|
|
3142
3141
|
* <p>The date and time that the action is scheduled to begin, in UTC.</p>
|
|
3142
|
+
* @public
|
|
3143
3143
|
*/
|
|
3144
3144
|
StartTime?: Date;
|
|
3145
3145
|
/**
|
|
3146
|
-
* @public
|
|
3147
3146
|
* <p>The date and time that the action is scheduled to end, in UTC.</p>
|
|
3147
|
+
* @public
|
|
3148
3148
|
*/
|
|
3149
3149
|
EndTime?: Date;
|
|
3150
3150
|
/**
|
|
3151
|
-
* @public
|
|
3152
3151
|
* <p>The new minimum and maximum capacity. You can set both values or just one. At the
|
|
3153
3152
|
* scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out
|
|
3154
3153
|
* to the minimum capacity. If the current capacity is above the maximum capacity, Application Auto Scaling
|
|
3155
3154
|
* scales in to the maximum capacity.</p>
|
|
3155
|
+
* @public
|
|
3156
3156
|
*/
|
|
3157
3157
|
ScalableTargetAction?: ScalableTargetAction;
|
|
3158
3158
|
/**
|
|
3159
|
-
* @public
|
|
3160
3159
|
* <p>The date and time that the scheduled action was created.</p>
|
|
3160
|
+
* @public
|
|
3161
3161
|
*/
|
|
3162
3162
|
CreationTime: Date | undefined;
|
|
3163
3163
|
}
|
|
@@ -3166,14 +3166,14 @@ export interface ScheduledAction {
|
|
|
3166
3166
|
*/
|
|
3167
3167
|
export interface DescribeScheduledActionsResponse {
|
|
3168
3168
|
/**
|
|
3169
|
-
* @public
|
|
3170
3169
|
* <p>Information about the scheduled actions.</p>
|
|
3170
|
+
* @public
|
|
3171
3171
|
*/
|
|
3172
3172
|
ScheduledActions?: ScheduledAction[];
|
|
3173
3173
|
/**
|
|
3174
|
-
* @public
|
|
3175
3174
|
* <p>The token required to get the next set of results. This value is <code>null</code> if
|
|
3176
3175
|
* there are no more results to return.</p>
|
|
3176
|
+
* @public
|
|
3177
3177
|
*/
|
|
3178
3178
|
NextToken?: string;
|
|
3179
3179
|
}
|
|
@@ -3182,12 +3182,12 @@ export interface DescribeScheduledActionsResponse {
|
|
|
3182
3182
|
*/
|
|
3183
3183
|
export interface ListTagsForResourceRequest {
|
|
3184
3184
|
/**
|
|
3185
|
-
* @public
|
|
3186
3185
|
* <p>Specify the ARN of the scalable target.</p>
|
|
3187
3186
|
* <p>For example:
|
|
3188
3187
|
* <code>arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123</code>
|
|
3189
3188
|
* </p>
|
|
3190
3189
|
* <p>To get the ARN for a scalable target, use <a>DescribeScalableTargets</a>.</p>
|
|
3190
|
+
* @public
|
|
3191
3191
|
*/
|
|
3192
3192
|
ResourceARN: string | undefined;
|
|
3193
3193
|
}
|
|
@@ -3196,22 +3196,22 @@ export interface ListTagsForResourceRequest {
|
|
|
3196
3196
|
*/
|
|
3197
3197
|
export interface ListTagsForResourceResponse {
|
|
3198
3198
|
/**
|
|
3199
|
-
* @public
|
|
3200
3199
|
* <p>A list of tags. Each tag consists of a tag key and a tag value.</p>
|
|
3200
|
+
* @public
|
|
3201
3201
|
*/
|
|
3202
3202
|
Tags?: Record<string, string>;
|
|
3203
3203
|
}
|
|
3204
3204
|
/**
|
|
3205
|
-
* @public
|
|
3206
3205
|
* <p>The specified resource doesn't exist.</p>
|
|
3206
|
+
* @public
|
|
3207
3207
|
*/
|
|
3208
3208
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
3209
3209
|
readonly name: "ResourceNotFoundException";
|
|
3210
3210
|
readonly $fault: "client";
|
|
3211
3211
|
Message?: string;
|
|
3212
3212
|
/**
|
|
3213
|
-
* @public
|
|
3214
3213
|
* <p>The name of the Application Auto Scaling resource. This value is an Amazon Resource Name (ARN).</p>
|
|
3214
|
+
* @public
|
|
3215
3215
|
*/
|
|
3216
3216
|
ResourceName?: string;
|
|
3217
3217
|
/**
|
|
@@ -3220,8 +3220,8 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
3220
3220
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
3221
3221
|
}
|
|
3222
3222
|
/**
|
|
3223
|
-
* @public
|
|
3224
3223
|
* <p>A per-account resource limit is exceeded. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-limits.html">Application Auto Scaling service quotas</a>.</p>
|
|
3224
|
+
* @public
|
|
3225
3225
|
*/
|
|
3226
3226
|
export declare class LimitExceededException extends __BaseException {
|
|
3227
3227
|
readonly name: "LimitExceededException";
|
|
@@ -3237,20 +3237,19 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
3237
3237
|
*/
|
|
3238
3238
|
export interface PutScalingPolicyRequest {
|
|
3239
3239
|
/**
|
|
3240
|
-
* @public
|
|
3241
3240
|
* <p>The name of the scaling policy.</p>
|
|
3242
3241
|
* <p>You cannot change the name of a scaling policy, but you can delete the original scaling
|
|
3243
3242
|
* policy and create a new scaling policy with the same settings and a different name.</p>
|
|
3243
|
+
* @public
|
|
3244
3244
|
*/
|
|
3245
3245
|
PolicyName: string | undefined;
|
|
3246
3246
|
/**
|
|
3247
|
-
* @public
|
|
3248
3247
|
* <p>The namespace of the Amazon Web Services service that provides the resource. For a resource provided
|
|
3249
3248
|
* by your own application or service, use <code>custom-resource</code> instead.</p>
|
|
3249
|
+
* @public
|
|
3250
3250
|
*/
|
|
3251
3251
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
3252
3252
|
/**
|
|
3253
|
-
* @public
|
|
3254
3253
|
* <p>The identifier of the resource associated with the scaling policy.
|
|
3255
3254
|
* This string consists of the resource type and unique identifier.</p>
|
|
3256
3255
|
* <ul>
|
|
@@ -3325,10 +3324,10 @@ export interface PutScalingPolicyRequest {
|
|
|
3325
3324
|
* Example: <code>inference-component/my-inference-component</code>.</p>
|
|
3326
3325
|
* </li>
|
|
3327
3326
|
* </ul>
|
|
3327
|
+
* @public
|
|
3328
3328
|
*/
|
|
3329
3329
|
ResourceId: string | undefined;
|
|
3330
3330
|
/**
|
|
3331
|
-
* @public
|
|
3332
3331
|
* <p>The scalable dimension. This string consists of the service namespace, resource type, and scaling property.</p>
|
|
3333
3332
|
* <ul>
|
|
3334
3333
|
* <li>
|
|
@@ -3420,10 +3419,10 @@ export interface PutScalingPolicyRequest {
|
|
|
3420
3419
|
* <code>sagemaker:inference-component:DesiredCopyCount</code> - The number of copies across an endpoint for a SageMaker inference component.</p>
|
|
3421
3420
|
* </li>
|
|
3422
3421
|
* </ul>
|
|
3422
|
+
* @public
|
|
3423
3423
|
*/
|
|
3424
3424
|
ScalableDimension: ScalableDimension | undefined;
|
|
3425
3425
|
/**
|
|
3426
|
-
* @public
|
|
3427
3426
|
* <p>The scaling policy type. This parameter is required if you are creating a scaling
|
|
3428
3427
|
* policy.</p>
|
|
3429
3428
|
* <p>The following policy types are supported: </p>
|
|
@@ -3434,21 +3433,22 @@ export interface PutScalingPolicyRequest {
|
|
|
3434
3433
|
* Neptune.</p>
|
|
3435
3434
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html">Target
|
|
3436
3435
|
* tracking scaling policies</a> and <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html">Step scaling policies</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
3436
|
+
* @public
|
|
3437
3437
|
*/
|
|
3438
3438
|
PolicyType?: PolicyType;
|
|
3439
3439
|
/**
|
|
3440
|
-
* @public
|
|
3441
3440
|
* <p>A step scaling policy.</p>
|
|
3442
3441
|
* <p>This parameter is required if you are creating a policy and the policy type is
|
|
3443
3442
|
* <code>StepScaling</code>.</p>
|
|
3443
|
+
* @public
|
|
3444
3444
|
*/
|
|
3445
3445
|
StepScalingPolicyConfiguration?: StepScalingPolicyConfiguration;
|
|
3446
3446
|
/**
|
|
3447
|
-
* @public
|
|
3448
3447
|
* <p>A target tracking scaling policy. Includes support for predefined or customized
|
|
3449
3448
|
* metrics.</p>
|
|
3450
3449
|
* <p>This parameter is required if you are creating a policy and the policy type is
|
|
3451
3450
|
* <code>TargetTrackingScaling</code>.</p>
|
|
3451
|
+
* @public
|
|
3452
3452
|
*/
|
|
3453
3453
|
TargetTrackingScalingPolicyConfiguration?: TargetTrackingScalingPolicyConfiguration;
|
|
3454
3454
|
}
|
|
@@ -3457,13 +3457,13 @@ export interface PutScalingPolicyRequest {
|
|
|
3457
3457
|
*/
|
|
3458
3458
|
export interface PutScalingPolicyResponse {
|
|
3459
3459
|
/**
|
|
3460
|
-
* @public
|
|
3461
3460
|
* <p>The Amazon Resource Name (ARN) of the resulting scaling policy.</p>
|
|
3461
|
+
* @public
|
|
3462
3462
|
*/
|
|
3463
3463
|
PolicyARN: string | undefined;
|
|
3464
3464
|
/**
|
|
3465
|
-
* @public
|
|
3466
3465
|
* <p>The CloudWatch alarms created for the target tracking scaling policy.</p>
|
|
3466
|
+
* @public
|
|
3467
3467
|
*/
|
|
3468
3468
|
Alarms?: Alarm[];
|
|
3469
3469
|
}
|
|
@@ -3472,13 +3472,12 @@ export interface PutScalingPolicyResponse {
|
|
|
3472
3472
|
*/
|
|
3473
3473
|
export interface PutScheduledActionRequest {
|
|
3474
3474
|
/**
|
|
3475
|
-
* @public
|
|
3476
3475
|
* <p>The namespace of the Amazon Web Services service that provides the resource. For a resource provided
|
|
3477
3476
|
* by your own application or service, use <code>custom-resource</code> instead.</p>
|
|
3477
|
+
* @public
|
|
3478
3478
|
*/
|
|
3479
3479
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
3480
3480
|
/**
|
|
3481
|
-
* @public
|
|
3482
3481
|
* <p>The schedule for this action. The following formats are supported:</p>
|
|
3483
3482
|
* <ul>
|
|
3484
3483
|
* <li>
|
|
@@ -3501,24 +3500,24 @@ export interface PutScheduledActionRequest {
|
|
|
3501
3500
|
* <p>For rate expressions, <i>value</i> is a positive integer and <i>unit</i> is
|
|
3502
3501
|
* <code>minute</code> | <code>minutes</code> | <code>hour</code> | <code>hours</code> | <code>day</code> | <code>days</code>.</p>
|
|
3503
3502
|
* <p>For more information and examples, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/examples-scheduled-actions.html">Example scheduled actions for Application Auto Scaling</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
3503
|
+
* @public
|
|
3504
3504
|
*/
|
|
3505
3505
|
Schedule?: string;
|
|
3506
3506
|
/**
|
|
3507
|
-
* @public
|
|
3508
3507
|
* <p>Specifies the time zone used when setting a scheduled action by using an at or cron
|
|
3509
3508
|
* expression. If a time zone is not provided, UTC is used by default.</p>
|
|
3510
3509
|
* <p>Valid values are the canonical names of the IANA time zones supported by Joda-Time (such
|
|
3511
3510
|
* as <code>Etc/GMT+9</code> or <code>Pacific/Tahiti</code>). For more information, see <a href="https://www.joda.org/joda-time/timezones.html">https://www.joda.org/joda-time/timezones.html</a>.</p>
|
|
3511
|
+
* @public
|
|
3512
3512
|
*/
|
|
3513
3513
|
Timezone?: string;
|
|
3514
3514
|
/**
|
|
3515
|
-
* @public
|
|
3516
3515
|
* <p>The name of the scheduled action. This name must be unique among all other scheduled
|
|
3517
3516
|
* actions on the specified scalable target. </p>
|
|
3517
|
+
* @public
|
|
3518
3518
|
*/
|
|
3519
3519
|
ScheduledActionName: string | undefined;
|
|
3520
3520
|
/**
|
|
3521
|
-
* @public
|
|
3522
3521
|
* <p>The identifier of the resource associated with the scheduled action.
|
|
3523
3522
|
* This string consists of the resource type and unique identifier.</p>
|
|
3524
3523
|
* <ul>
|
|
@@ -3593,10 +3592,10 @@ export interface PutScheduledActionRequest {
|
|
|
3593
3592
|
* Example: <code>inference-component/my-inference-component</code>.</p>
|
|
3594
3593
|
* </li>
|
|
3595
3594
|
* </ul>
|
|
3595
|
+
* @public
|
|
3596
3596
|
*/
|
|
3597
3597
|
ResourceId: string | undefined;
|
|
3598
3598
|
/**
|
|
3599
|
-
* @public
|
|
3600
3599
|
* <p>The scalable dimension. This string consists of the service namespace, resource type, and scaling property.</p>
|
|
3601
3600
|
* <ul>
|
|
3602
3601
|
* <li>
|
|
@@ -3688,24 +3687,25 @@ export interface PutScheduledActionRequest {
|
|
|
3688
3687
|
* <code>sagemaker:inference-component:DesiredCopyCount</code> - The number of copies across an endpoint for a SageMaker inference component.</p>
|
|
3689
3688
|
* </li>
|
|
3690
3689
|
* </ul>
|
|
3690
|
+
* @public
|
|
3691
3691
|
*/
|
|
3692
3692
|
ScalableDimension: ScalableDimension | undefined;
|
|
3693
3693
|
/**
|
|
3694
|
-
* @public
|
|
3695
3694
|
* <p>The date and time for this scheduled action to start, in UTC.</p>
|
|
3695
|
+
* @public
|
|
3696
3696
|
*/
|
|
3697
3697
|
StartTime?: Date;
|
|
3698
3698
|
/**
|
|
3699
|
-
* @public
|
|
3700
3699
|
* <p>The date and time for the recurring schedule to end, in UTC.</p>
|
|
3700
|
+
* @public
|
|
3701
3701
|
*/
|
|
3702
3702
|
EndTime?: Date;
|
|
3703
3703
|
/**
|
|
3704
|
-
* @public
|
|
3705
3704
|
* <p>The new minimum and maximum capacity. You can set both values or just one. At the
|
|
3706
3705
|
* scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out
|
|
3707
3706
|
* to the minimum capacity. If the current capacity is above the maximum capacity, Application Auto Scaling
|
|
3708
3707
|
* scales in to the maximum capacity.</p>
|
|
3708
|
+
* @public
|
|
3709
3709
|
*/
|
|
3710
3710
|
ScalableTargetAction?: ScalableTargetAction;
|
|
3711
3711
|
}
|
|
@@ -3719,13 +3719,12 @@ export interface PutScheduledActionResponse {
|
|
|
3719
3719
|
*/
|
|
3720
3720
|
export interface RegisterScalableTargetRequest {
|
|
3721
3721
|
/**
|
|
3722
|
-
* @public
|
|
3723
3722
|
* <p>The namespace of the Amazon Web Services service that provides the resource. For a resource provided
|
|
3724
3723
|
* by your own application or service, use <code>custom-resource</code> instead.</p>
|
|
3724
|
+
* @public
|
|
3725
3725
|
*/
|
|
3726
3726
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
3727
3727
|
/**
|
|
3728
|
-
* @public
|
|
3729
3728
|
* <p>The identifier of the resource that is associated with the scalable target.
|
|
3730
3729
|
* This string consists of the resource type and unique identifier.</p>
|
|
3731
3730
|
* <ul>
|
|
@@ -3800,10 +3799,10 @@ export interface RegisterScalableTargetRequest {
|
|
|
3800
3799
|
* Example: <code>inference-component/my-inference-component</code>.</p>
|
|
3801
3800
|
* </li>
|
|
3802
3801
|
* </ul>
|
|
3802
|
+
* @public
|
|
3803
3803
|
*/
|
|
3804
3804
|
ResourceId: string | undefined;
|
|
3805
3805
|
/**
|
|
3806
|
-
* @public
|
|
3807
3806
|
* <p>The scalable dimension associated with the scalable target.
|
|
3808
3807
|
* This string consists of the service namespace, resource type, and scaling property.</p>
|
|
3809
3808
|
* <ul>
|
|
@@ -3896,10 +3895,10 @@ export interface RegisterScalableTargetRequest {
|
|
|
3896
3895
|
* <code>sagemaker:inference-component:DesiredCopyCount</code> - The number of copies across an endpoint for a SageMaker inference component.</p>
|
|
3897
3896
|
* </li>
|
|
3898
3897
|
* </ul>
|
|
3898
|
+
* @public
|
|
3899
3899
|
*/
|
|
3900
3900
|
ScalableDimension: ScalableDimension | undefined;
|
|
3901
3901
|
/**
|
|
3902
|
-
* @public
|
|
3903
3902
|
* <p>The minimum value that you plan to scale in to. When a scaling policy is in effect,
|
|
3904
3903
|
* Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to
|
|
3905
3904
|
* changing demand. This property is required when registering a new scalable target.</p>
|
|
@@ -3940,10 +3939,10 @@ export interface RegisterScalableTargetRequest {
|
|
|
3940
3939
|
* you are using. If you provide a value that is lower than what a resource can accept, an error
|
|
3941
3940
|
* occurs. In which case, the error message will provide the minimum value that the resource can
|
|
3942
3941
|
* accept.</p>
|
|
3942
|
+
* @public
|
|
3943
3943
|
*/
|
|
3944
3944
|
MinCapacity?: number;
|
|
3945
3945
|
/**
|
|
3946
|
-
* @public
|
|
3947
3946
|
* <p>The maximum value that you plan to scale out to. When a scaling policy is in effect,
|
|
3948
3947
|
* Application Auto Scaling can scale out (expand) as needed to the maximum capacity limit in response to
|
|
3949
3948
|
* changing demand. This property is required when registering a new scalable target.</p>
|
|
@@ -3953,19 +3952,19 @@ export interface RegisterScalableTargetRequest {
|
|
|
3953
3952
|
* information, consult the documentation for that service. For information about the default
|
|
3954
3953
|
* quotas for each service, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html">Service endpoints and
|
|
3955
3954
|
* quotas</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
3955
|
+
* @public
|
|
3956
3956
|
*/
|
|
3957
3957
|
MaxCapacity?: number;
|
|
3958
3958
|
/**
|
|
3959
|
-
* @public
|
|
3960
3959
|
* <p>This parameter is required for services that do not support service-linked roles (such as
|
|
3961
3960
|
* Amazon EMR), and it must specify the ARN of an IAM role that allows Application Auto Scaling to modify the scalable
|
|
3962
3961
|
* target on your behalf. </p>
|
|
3963
3962
|
* <p>If the service supports service-linked roles, Application Auto Scaling uses a service-linked role, which
|
|
3964
3963
|
* it creates if it does not yet exist. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html#security_iam_service-with-iam-roles">Application Auto Scaling IAM roles</a>.</p>
|
|
3964
|
+
* @public
|
|
3965
3965
|
*/
|
|
3966
3966
|
RoleARN?: string;
|
|
3967
3967
|
/**
|
|
3968
|
-
* @public
|
|
3969
3968
|
* <p>An embedded object that contains attributes and attribute values that are used to
|
|
3970
3969
|
* suspend and resume automatic scaling. Setting the value of an attribute to
|
|
3971
3970
|
* <code>true</code> suspends the specified scaling activities. Setting it to
|
|
@@ -3989,10 +3988,10 @@ export interface RegisterScalableTargetRequest {
|
|
|
3989
3988
|
* </ul>
|
|
3990
3989
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-suspend-resume-scaling.html">Suspending and resuming scaling</a> in the <i>Application Auto Scaling User
|
|
3991
3990
|
* Guide</i>.</p>
|
|
3991
|
+
* @public
|
|
3992
3992
|
*/
|
|
3993
3993
|
SuspendedState?: SuspendedState;
|
|
3994
3994
|
/**
|
|
3995
|
-
* @public
|
|
3996
3995
|
* <p>Assigns one or more tags to the scalable target. Use this parameter to tag the scalable
|
|
3997
3996
|
* target when it is created. To tag an existing scalable target, use the <a>TagResource</a> operation.</p>
|
|
3998
3997
|
* <p>Each tag consists of a tag key and a tag value. Both the tag key and the tag value are
|
|
@@ -4000,6 +3999,7 @@ export interface RegisterScalableTargetRequest {
|
|
|
4000
3999
|
* key.</p>
|
|
4001
4000
|
* <p>Use tags to control access to a scalable target. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/resource-tagging-support.html">Tagging support
|
|
4002
4001
|
* for Application Auto Scaling</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
4002
|
+
* @public
|
|
4003
4003
|
*/
|
|
4004
4004
|
Tags?: Record<string, string>;
|
|
4005
4005
|
}
|
|
@@ -4008,8 +4008,8 @@ export interface RegisterScalableTargetRequest {
|
|
|
4008
4008
|
*/
|
|
4009
4009
|
export interface RegisterScalableTargetResponse {
|
|
4010
4010
|
/**
|
|
4011
|
-
* @public
|
|
4012
4011
|
* <p>The ARN of the scalable target.</p>
|
|
4012
|
+
* @public
|
|
4013
4013
|
*/
|
|
4014
4014
|
ScalableTargetARN?: string;
|
|
4015
4015
|
}
|
|
@@ -4018,16 +4018,15 @@ export interface RegisterScalableTargetResponse {
|
|
|
4018
4018
|
*/
|
|
4019
4019
|
export interface TagResourceRequest {
|
|
4020
4020
|
/**
|
|
4021
|
-
* @public
|
|
4022
4021
|
* <p>Identifies the Application Auto Scaling scalable target that you want to apply tags to.</p>
|
|
4023
4022
|
* <p>For example:
|
|
4024
4023
|
* <code>arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123</code>
|
|
4025
4024
|
* </p>
|
|
4026
4025
|
* <p>To get the ARN for a scalable target, use <a>DescribeScalableTargets</a>.</p>
|
|
4026
|
+
* @public
|
|
4027
4027
|
*/
|
|
4028
4028
|
ResourceARN: string | undefined;
|
|
4029
4029
|
/**
|
|
4030
|
-
* @public
|
|
4031
4030
|
* <p>The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services
|
|
4032
4031
|
* resource.</p>
|
|
4033
4032
|
* <p>Each tag consists of a tag key and a tag value.</p>
|
|
@@ -4037,6 +4036,7 @@ export interface TagResourceRequest {
|
|
|
4037
4036
|
* <p>For information about the rules that apply to tag keys and tag values, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html">User-defined tag
|
|
4038
4037
|
* restrictions</a> in the <i>Amazon Web Services Billing and Cost Management User
|
|
4039
4038
|
* Guide</i>.</p>
|
|
4039
|
+
* @public
|
|
4040
4040
|
*/
|
|
4041
4041
|
Tags: Record<string, string> | undefined;
|
|
4042
4042
|
}
|
|
@@ -4046,16 +4046,16 @@ export interface TagResourceRequest {
|
|
|
4046
4046
|
export interface TagResourceResponse {
|
|
4047
4047
|
}
|
|
4048
4048
|
/**
|
|
4049
|
-
* @public
|
|
4050
4049
|
* <p>The request contains too many tags. Try the request again with fewer tags.</p>
|
|
4050
|
+
* @public
|
|
4051
4051
|
*/
|
|
4052
4052
|
export declare class TooManyTagsException extends __BaseException {
|
|
4053
4053
|
readonly name: "TooManyTagsException";
|
|
4054
4054
|
readonly $fault: "client";
|
|
4055
4055
|
Message?: string;
|
|
4056
4056
|
/**
|
|
4057
|
-
* @public
|
|
4058
4057
|
* <p>The name of the Application Auto Scaling resource. This value is an Amazon Resource Name (ARN).</p>
|
|
4058
|
+
* @public
|
|
4059
4059
|
*/
|
|
4060
4060
|
ResourceName?: string;
|
|
4061
4061
|
/**
|
|
@@ -4068,17 +4068,17 @@ export declare class TooManyTagsException extends __BaseException {
|
|
|
4068
4068
|
*/
|
|
4069
4069
|
export interface UntagResourceRequest {
|
|
4070
4070
|
/**
|
|
4071
|
-
* @public
|
|
4072
4071
|
* <p>Identifies the Application Auto Scaling scalable target from which to remove tags.</p>
|
|
4073
4072
|
* <p>For example:
|
|
4074
4073
|
* <code>arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123</code>
|
|
4075
4074
|
* </p>
|
|
4076
4075
|
* <p>To get the ARN for a scalable target, use <a>DescribeScalableTargets</a>.</p>
|
|
4076
|
+
* @public
|
|
4077
4077
|
*/
|
|
4078
4078
|
ResourceARN: string | undefined;
|
|
4079
4079
|
/**
|
|
4080
|
-
* @public
|
|
4081
4080
|
* <p>One or more tag keys. Specify only the tag keys, not the tag values.</p>
|
|
4081
|
+
* @public
|
|
4082
4082
|
*/
|
|
4083
4083
|
TagKeys: string[] | undefined;
|
|
4084
4084
|
}
|