@aws-sdk/client-application-auto-scaling 3.289.0 → 3.290.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.
@@ -34,6 +34,25 @@ export interface DeleteScalingPolicyCommandOutput extends DeleteScalingPolicyRes
34
34
  * @see {@link DeleteScalingPolicyCommandOutput} for command's `response` shape.
35
35
  * @see {@link ApplicationAutoScalingClientResolvedConfig | config} for ApplicationAutoScalingClient's `config` shape.
36
36
  *
37
+ * @throws {@link ConcurrentUpdateException} (server fault)
38
+ * <p>Concurrent updates caused an exception, for example, if you request an update to an
39
+ * Application Auto Scaling resource that already has a pending update.</p>
40
+ *
41
+ * @throws {@link InternalServiceException} (server fault)
42
+ * <p>The service encountered an internal error.</p>
43
+ *
44
+ * @throws {@link ObjectNotFoundException} (client fault)
45
+ * <p>The specified object could not be found. For any operation that depends on the existence
46
+ * of a scalable target, this exception is thrown if the scalable target with the specified
47
+ * service namespace, resource ID, and scalable dimension does not exist. For any operation
48
+ * that deletes or deregisters a resource, this exception is thrown if the resource cannot be
49
+ * found.</p>
50
+ *
51
+ * @throws {@link ValidationException} (client fault)
52
+ * <p>An exception was thrown for a validation issue. Review the available parameters for the
53
+ * API request.</p>
54
+ *
55
+ *
37
56
  * @example To delete a scaling policy
38
57
  * ```javascript
39
58
  * // This example deletes a scaling policy for the Amazon ECS service called web-app, which is running in the default cluster.
@@ -30,6 +30,25 @@ export interface DeleteScheduledActionCommandOutput extends DeleteScheduledActio
30
30
  * @see {@link DeleteScheduledActionCommandOutput} for command's `response` shape.
31
31
  * @see {@link ApplicationAutoScalingClientResolvedConfig | config} for ApplicationAutoScalingClient's `config` shape.
32
32
  *
33
+ * @throws {@link ConcurrentUpdateException} (server fault)
34
+ * <p>Concurrent updates caused an exception, for example, if you request an update to an
35
+ * Application Auto Scaling resource that already has a pending update.</p>
36
+ *
37
+ * @throws {@link InternalServiceException} (server fault)
38
+ * <p>The service encountered an internal error.</p>
39
+ *
40
+ * @throws {@link ObjectNotFoundException} (client fault)
41
+ * <p>The specified object could not be found. For any operation that depends on the existence
42
+ * of a scalable target, this exception is thrown if the scalable target with the specified
43
+ * service namespace, resource ID, and scalable dimension does not exist. For any operation
44
+ * that deletes or deregisters a resource, this exception is thrown if the resource cannot be
45
+ * found.</p>
46
+ *
47
+ * @throws {@link ValidationException} (client fault)
48
+ * <p>An exception was thrown for a validation issue. Review the available parameters for the
49
+ * API request.</p>
50
+ *
51
+ *
33
52
  */
34
53
  export declare class DeleteScheduledActionCommand extends $Command<DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
35
54
  readonly input: DeleteScheduledActionCommandInput;
@@ -34,6 +34,25 @@ export interface DeregisterScalableTargetCommandOutput extends DeregisterScalabl
34
34
  * @see {@link DeregisterScalableTargetCommandOutput} for command's `response` shape.
35
35
  * @see {@link ApplicationAutoScalingClientResolvedConfig | config} for ApplicationAutoScalingClient's `config` shape.
36
36
  *
37
+ * @throws {@link ConcurrentUpdateException} (server fault)
38
+ * <p>Concurrent updates caused an exception, for example, if you request an update to an
39
+ * Application Auto Scaling resource that already has a pending update.</p>
40
+ *
41
+ * @throws {@link InternalServiceException} (server fault)
42
+ * <p>The service encountered an internal error.</p>
43
+ *
44
+ * @throws {@link ObjectNotFoundException} (client fault)
45
+ * <p>The specified object could not be found. For any operation that depends on the existence
46
+ * of a scalable target, this exception is thrown if the scalable target with the specified
47
+ * service namespace, resource ID, and scalable dimension does not exist. For any operation
48
+ * that deletes or deregisters a resource, this exception is thrown if the resource cannot be
49
+ * found.</p>
50
+ *
51
+ * @throws {@link ValidationException} (client fault)
52
+ * <p>An exception was thrown for a validation issue. Review the available parameters for the
53
+ * API request.</p>
54
+ *
55
+ *
37
56
  * @example To deregister a scalable target
38
57
  * ```javascript
39
58
  * // This example deregisters a scalable target for an Amazon ECS service called web-app that is running in the default cluster.
@@ -31,6 +31,21 @@ export interface DescribeScalableTargetsCommandOutput extends DescribeScalableTa
31
31
  * @see {@link DescribeScalableTargetsCommandOutput} for command's `response` shape.
32
32
  * @see {@link ApplicationAutoScalingClientResolvedConfig | config} for ApplicationAutoScalingClient's `config` shape.
33
33
  *
34
+ * @throws {@link ConcurrentUpdateException} (server fault)
35
+ * <p>Concurrent updates caused an exception, for example, if you request an update to an
36
+ * Application Auto Scaling resource that already has a pending update.</p>
37
+ *
38
+ * @throws {@link InternalServiceException} (server fault)
39
+ * <p>The service encountered an internal error.</p>
40
+ *
41
+ * @throws {@link InvalidNextTokenException} (client fault)
42
+ * <p>The next token supplied was invalid.</p>
43
+ *
44
+ * @throws {@link ValidationException} (client fault)
45
+ * <p>An exception was thrown for a validation issue. Review the available parameters for the
46
+ * API request.</p>
47
+ *
48
+ *
34
49
  * @example To describe scalable targets
35
50
  * ```javascript
36
51
  * // This example describes the scalable targets for the ECS service namespace.
@@ -33,6 +33,21 @@ export interface DescribeScalingActivitiesCommandOutput extends DescribeScalingA
33
33
  * @see {@link DescribeScalingActivitiesCommandOutput} for command's `response` shape.
34
34
  * @see {@link ApplicationAutoScalingClientResolvedConfig | config} for ApplicationAutoScalingClient's `config` shape.
35
35
  *
36
+ * @throws {@link ConcurrentUpdateException} (server fault)
37
+ * <p>Concurrent updates caused an exception, for example, if you request an update to an
38
+ * Application Auto Scaling resource that already has a pending update.</p>
39
+ *
40
+ * @throws {@link InternalServiceException} (server fault)
41
+ * <p>The service encountered an internal error.</p>
42
+ *
43
+ * @throws {@link InvalidNextTokenException} (client fault)
44
+ * <p>The next token supplied was invalid.</p>
45
+ *
46
+ * @throws {@link ValidationException} (client fault)
47
+ * <p>An exception was thrown for a validation issue. Review the available parameters for the
48
+ * API request.</p>
49
+ *
50
+ *
36
51
  * @example To describe scaling activities for a scalable target
37
52
  * ```javascript
38
53
  * // This example describes the scaling activities for an Amazon ECS service called web-app that is running in the default cluster.
@@ -32,6 +32,27 @@ export interface DescribeScalingPoliciesCommandOutput extends DescribeScalingPol
32
32
  * @see {@link DescribeScalingPoliciesCommandOutput} for command's `response` shape.
33
33
  * @see {@link ApplicationAutoScalingClientResolvedConfig | config} for ApplicationAutoScalingClient's `config` shape.
34
34
  *
35
+ * @throws {@link ConcurrentUpdateException} (server fault)
36
+ * <p>Concurrent updates caused an exception, for example, if you request an update to an
37
+ * Application Auto Scaling resource that already has a pending update.</p>
38
+ *
39
+ * @throws {@link FailedResourceAccessException} (client fault)
40
+ * <p>Failed access to resources caused an exception. This exception is thrown when Application Auto Scaling
41
+ * is unable to retrieve the alarms associated with a scaling policy due to a client error,
42
+ * for example, if the role ARN specified for a scalable target does not have permission to
43
+ * call the CloudWatch <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html">DescribeAlarms</a> on your behalf.</p>
44
+ *
45
+ * @throws {@link InternalServiceException} (server fault)
46
+ * <p>The service encountered an internal error.</p>
47
+ *
48
+ * @throws {@link InvalidNextTokenException} (client fault)
49
+ * <p>The next token supplied was invalid.</p>
50
+ *
51
+ * @throws {@link ValidationException} (client fault)
52
+ * <p>An exception was thrown for a validation issue. Review the available parameters for the
53
+ * API request.</p>
54
+ *
55
+ *
35
56
  * @example To describe scaling policies
36
57
  * ```javascript
37
58
  * // This example describes the scaling policies for the ECS service namespace.
@@ -33,6 +33,21 @@ export interface DescribeScheduledActionsCommandOutput extends DescribeScheduled
33
33
  * @see {@link DescribeScheduledActionsCommandOutput} for command's `response` shape.
34
34
  * @see {@link ApplicationAutoScalingClientResolvedConfig | config} for ApplicationAutoScalingClient's `config` shape.
35
35
  *
36
+ * @throws {@link ConcurrentUpdateException} (server fault)
37
+ * <p>Concurrent updates caused an exception, for example, if you request an update to an
38
+ * Application Auto Scaling resource that already has a pending update.</p>
39
+ *
40
+ * @throws {@link InternalServiceException} (server fault)
41
+ * <p>The service encountered an internal error.</p>
42
+ *
43
+ * @throws {@link InvalidNextTokenException} (client fault)
44
+ * <p>The next token supplied was invalid.</p>
45
+ *
46
+ * @throws {@link ValidationException} (client fault)
47
+ * <p>An exception was thrown for a validation issue. Review the available parameters for the
48
+ * API request.</p>
49
+ *
50
+ *
36
51
  */
37
52
  export declare class DescribeScheduledActionsCommand extends $Command<DescribeScheduledActionsCommandInput, DescribeScheduledActionsCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
38
53
  readonly input: DescribeScheduledActionsCommandInput;
@@ -53,6 +53,34 @@ export interface PutScalingPolicyCommandOutput extends PutScalingPolicyResponse,
53
53
  * @see {@link PutScalingPolicyCommandOutput} for command's `response` shape.
54
54
  * @see {@link ApplicationAutoScalingClientResolvedConfig | config} for ApplicationAutoScalingClient's `config` shape.
55
55
  *
56
+ * @throws {@link ConcurrentUpdateException} (server fault)
57
+ * <p>Concurrent updates caused an exception, for example, if you request an update to an
58
+ * Application Auto Scaling resource that already has a pending update.</p>
59
+ *
60
+ * @throws {@link FailedResourceAccessException} (client fault)
61
+ * <p>Failed access to resources caused an exception. This exception is thrown when Application Auto Scaling
62
+ * is unable to retrieve the alarms associated with a scaling policy due to a client error,
63
+ * for example, if the role ARN specified for a scalable target does not have permission to
64
+ * call the CloudWatch <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html">DescribeAlarms</a> on your behalf.</p>
65
+ *
66
+ * @throws {@link InternalServiceException} (server fault)
67
+ * <p>The service encountered an internal error.</p>
68
+ *
69
+ * @throws {@link LimitExceededException} (client fault)
70
+ * <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>
71
+ *
72
+ * @throws {@link ObjectNotFoundException} (client fault)
73
+ * <p>The specified object could not be found. For any operation that depends on the existence
74
+ * of a scalable target, this exception is thrown if the scalable target with the specified
75
+ * service namespace, resource ID, and scalable dimension does not exist. For any operation
76
+ * that deletes or deregisters a resource, this exception is thrown if the resource cannot be
77
+ * found.</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>An exception was thrown for a validation issue. Review the available parameters for the
81
+ * API request.</p>
82
+ *
83
+ *
56
84
  * @example To apply a target tracking scaling policy with a predefined metric specification
57
85
  * ```javascript
58
86
  * // The following example applies a target tracking scaling policy with a predefined metric specification to an Amazon ECS service called web-app in the default cluster. The policy keeps the average CPU utilization of the service at 75 percent, with scale-out and scale-in cooldown periods of 60 seconds.
@@ -43,6 +43,28 @@ export interface PutScheduledActionCommandOutput extends PutScheduledActionRespo
43
43
  * @see {@link PutScheduledActionCommandOutput} for command's `response` shape.
44
44
  * @see {@link ApplicationAutoScalingClientResolvedConfig | config} for ApplicationAutoScalingClient's `config` shape.
45
45
  *
46
+ * @throws {@link ConcurrentUpdateException} (server fault)
47
+ * <p>Concurrent updates caused an exception, for example, if you request an update to an
48
+ * Application Auto Scaling resource that already has a pending update.</p>
49
+ *
50
+ * @throws {@link InternalServiceException} (server fault)
51
+ * <p>The service encountered an internal error.</p>
52
+ *
53
+ * @throws {@link LimitExceededException} (client fault)
54
+ * <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>
55
+ *
56
+ * @throws {@link ObjectNotFoundException} (client fault)
57
+ * <p>The specified object could not be found. For any operation that depends on the existence
58
+ * of a scalable target, this exception is thrown if the scalable target with the specified
59
+ * service namespace, resource ID, and scalable dimension does not exist. For any operation
60
+ * that deletes or deregisters a resource, this exception is thrown if the resource cannot be
61
+ * found.</p>
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ * <p>An exception was thrown for a validation issue. Review the available parameters for the
65
+ * API request.</p>
66
+ *
67
+ *
46
68
  */
47
69
  export declare class PutScheduledActionCommand extends $Command<PutScheduledActionCommandInput, PutScheduledActionCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
48
70
  readonly input: PutScheduledActionCommandInput;
@@ -53,6 +53,21 @@ export interface RegisterScalableTargetCommandOutput extends RegisterScalableTar
53
53
  * @see {@link RegisterScalableTargetCommandOutput} for command's `response` shape.
54
54
  * @see {@link ApplicationAutoScalingClientResolvedConfig | config} for ApplicationAutoScalingClient's `config` shape.
55
55
  *
56
+ * @throws {@link ConcurrentUpdateException} (server fault)
57
+ * <p>Concurrent updates caused an exception, for example, if you request an update to an
58
+ * Application Auto Scaling resource that already has a pending update.</p>
59
+ *
60
+ * @throws {@link InternalServiceException} (server fault)
61
+ * <p>The service encountered an internal error.</p>
62
+ *
63
+ * @throws {@link LimitExceededException} (client fault)
64
+ * <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>
65
+ *
66
+ * @throws {@link ValidationException} (client fault)
67
+ * <p>An exception was thrown for a validation issue. Review the available parameters for the
68
+ * API request.</p>
69
+ *
70
+ *
56
71
  * @example To register an ECS service as a scalable target
57
72
  * ```javascript
58
73
  * // This example registers a scalable target from an Amazon ECS service called web-app that is running on the default cluster, with a minimum desired count of 1 task and a maximum desired count of 10 tasks.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-application-auto-scaling",
3
3
  "description": "AWS SDK for JavaScript Application Auto Scaling Client for Node.js, Browser and React Native",
4
- "version": "3.289.0",
4
+ "version": "3.290.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,37 +20,37 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.289.0",
24
- "@aws-sdk/config-resolver": "3.289.0",
25
- "@aws-sdk/credential-provider-node": "3.289.0",
26
- "@aws-sdk/fetch-http-handler": "3.289.0",
27
- "@aws-sdk/hash-node": "3.289.0",
28
- "@aws-sdk/invalid-dependency": "3.289.0",
29
- "@aws-sdk/middleware-content-length": "3.289.0",
30
- "@aws-sdk/middleware-endpoint": "3.289.0",
31
- "@aws-sdk/middleware-host-header": "3.289.0",
32
- "@aws-sdk/middleware-logger": "3.289.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.289.0",
34
- "@aws-sdk/middleware-retry": "3.289.0",
35
- "@aws-sdk/middleware-serde": "3.289.0",
36
- "@aws-sdk/middleware-signing": "3.289.0",
37
- "@aws-sdk/middleware-stack": "3.289.0",
38
- "@aws-sdk/middleware-user-agent": "3.289.0",
39
- "@aws-sdk/node-config-provider": "3.289.0",
40
- "@aws-sdk/node-http-handler": "3.289.0",
41
- "@aws-sdk/protocol-http": "3.289.0",
42
- "@aws-sdk/smithy-client": "3.289.0",
43
- "@aws-sdk/types": "3.289.0",
44
- "@aws-sdk/url-parser": "3.289.0",
23
+ "@aws-sdk/client-sts": "3.290.0",
24
+ "@aws-sdk/config-resolver": "3.290.0",
25
+ "@aws-sdk/credential-provider-node": "3.290.0",
26
+ "@aws-sdk/fetch-http-handler": "3.290.0",
27
+ "@aws-sdk/hash-node": "3.290.0",
28
+ "@aws-sdk/invalid-dependency": "3.290.0",
29
+ "@aws-sdk/middleware-content-length": "3.290.0",
30
+ "@aws-sdk/middleware-endpoint": "3.290.0",
31
+ "@aws-sdk/middleware-host-header": "3.290.0",
32
+ "@aws-sdk/middleware-logger": "3.290.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.290.0",
34
+ "@aws-sdk/middleware-retry": "3.290.0",
35
+ "@aws-sdk/middleware-serde": "3.290.0",
36
+ "@aws-sdk/middleware-signing": "3.290.0",
37
+ "@aws-sdk/middleware-stack": "3.290.0",
38
+ "@aws-sdk/middleware-user-agent": "3.290.0",
39
+ "@aws-sdk/node-config-provider": "3.290.0",
40
+ "@aws-sdk/node-http-handler": "3.290.0",
41
+ "@aws-sdk/protocol-http": "3.290.0",
42
+ "@aws-sdk/smithy-client": "3.290.0",
43
+ "@aws-sdk/types": "3.290.0",
44
+ "@aws-sdk/url-parser": "3.290.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.289.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.289.0",
50
- "@aws-sdk/util-endpoints": "3.289.0",
51
- "@aws-sdk/util-retry": "3.289.0",
52
- "@aws-sdk/util-user-agent-browser": "3.289.0",
53
- "@aws-sdk/util-user-agent-node": "3.289.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.290.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.290.0",
50
+ "@aws-sdk/util-endpoints": "3.290.0",
51
+ "@aws-sdk/util-retry": "3.290.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.290.0",
53
+ "@aws-sdk/util-user-agent-node": "3.290.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
55
  "tslib": "^2.3.1"
56
56
  },