@aws-sdk/client-auto-scaling-plans 3.321.1 → 3.326.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.
@@ -98,6 +98,10 @@ export interface CreateScalingPlanCommandOutput extends CreateScalingPlanRespons
98
98
  * };
99
99
  * const command = new CreateScalingPlanCommand(input);
100
100
  * const response = await client.send(command);
101
+ * // { // CreateScalingPlanResponse
102
+ * // ScalingPlanVersion: Number("long"), // required
103
+ * // };
104
+ *
101
105
  * ```
102
106
  *
103
107
  * @param CreateScalingPlanCommandInput - {@link CreateScalingPlanCommandInput}
@@ -120,6 +124,8 @@ export interface CreateScalingPlanCommandOutput extends CreateScalingPlanRespons
120
124
  * @throws {@link ValidationException} (client fault)
121
125
  * <p>An exception was thrown for a validation issue. Review the parameters provided.</p>
122
126
  *
127
+ * @throws {@link AutoScalingPlansServiceException}
128
+ * <p>Base exception class for all service exceptions from AutoScalingPlans service.</p>
123
129
  *
124
130
  */
125
131
  export declare class CreateScalingPlanCommand extends $Command<CreateScalingPlanCommandInput, CreateScalingPlanCommandOutput, AutoScalingPlansClientResolvedConfig> {
@@ -36,6 +36,8 @@ export interface DeleteScalingPlanCommandOutput extends DeleteScalingPlanRespons
36
36
  * };
37
37
  * const command = new DeleteScalingPlanCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param DeleteScalingPlanCommandInput - {@link DeleteScalingPlanCommandInput}
@@ -57,6 +59,8 @@ export interface DeleteScalingPlanCommandOutput extends DeleteScalingPlanRespons
57
59
  * @throws {@link ValidationException} (client fault)
58
60
  * <p>An exception was thrown for a validation issue. Review the parameters provided.</p>
59
61
  *
62
+ * @throws {@link AutoScalingPlansServiceException}
63
+ * <p>Base exception class for all service exceptions from AutoScalingPlans service.</p>
60
64
  *
61
65
  */
62
66
  export declare class DeleteScalingPlanCommand extends $Command<DeleteScalingPlanCommandInput, DeleteScalingPlanCommandOutput, AutoScalingPlansClientResolvedConfig> {
@@ -34,6 +34,50 @@ export interface DescribeScalingPlanResourcesCommandOutput extends DescribeScali
34
34
  * };
35
35
  * const command = new DescribeScalingPlanResourcesCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // DescribeScalingPlanResourcesResponse
38
+ * // ScalingPlanResources: [ // ScalingPlanResources
39
+ * // { // ScalingPlanResource
40
+ * // ScalingPlanName: "STRING_VALUE", // required
41
+ * // ScalingPlanVersion: Number("long"), // required
42
+ * // ServiceNamespace: "STRING_VALUE", // required
43
+ * // ResourceId: "STRING_VALUE", // required
44
+ * // ScalableDimension: "STRING_VALUE", // required
45
+ * // ScalingPolicies: [ // ScalingPolicies
46
+ * // { // ScalingPolicy
47
+ * // PolicyName: "STRING_VALUE", // required
48
+ * // PolicyType: "STRING_VALUE", // required
49
+ * // TargetTrackingConfiguration: { // TargetTrackingConfiguration
50
+ * // PredefinedScalingMetricSpecification: { // PredefinedScalingMetricSpecification
51
+ * // PredefinedScalingMetricType: "STRING_VALUE", // required
52
+ * // ResourceLabel: "STRING_VALUE",
53
+ * // },
54
+ * // CustomizedScalingMetricSpecification: { // CustomizedScalingMetricSpecification
55
+ * // MetricName: "STRING_VALUE", // required
56
+ * // Namespace: "STRING_VALUE", // required
57
+ * // Dimensions: [ // MetricDimensions
58
+ * // { // MetricDimension
59
+ * // Name: "STRING_VALUE", // required
60
+ * // Value: "STRING_VALUE", // required
61
+ * // },
62
+ * // ],
63
+ * // Statistic: "STRING_VALUE", // required
64
+ * // Unit: "STRING_VALUE",
65
+ * // },
66
+ * // TargetValue: Number("double"), // required
67
+ * // DisableScaleIn: true || false,
68
+ * // ScaleOutCooldown: Number("int"),
69
+ * // ScaleInCooldown: Number("int"),
70
+ * // EstimatedInstanceWarmup: Number("int"),
71
+ * // },
72
+ * // },
73
+ * // ],
74
+ * // ScalingStatusCode: "STRING_VALUE", // required
75
+ * // ScalingStatusMessage: "STRING_VALUE",
76
+ * // },
77
+ * // ],
78
+ * // NextToken: "STRING_VALUE",
79
+ * // };
80
+ *
37
81
  * ```
38
82
  *
39
83
  * @param DescribeScalingPlanResourcesCommandInput - {@link DescribeScalingPlanResourcesCommandInput}
@@ -55,6 +99,8 @@ export interface DescribeScalingPlanResourcesCommandOutput extends DescribeScali
55
99
  * @throws {@link ValidationException} (client fault)
56
100
  * <p>An exception was thrown for a validation issue. Review the parameters provided.</p>
57
101
  *
102
+ * @throws {@link AutoScalingPlansServiceException}
103
+ * <p>Base exception class for all service exceptions from AutoScalingPlans service.</p>
58
104
  *
59
105
  */
60
106
  export declare class DescribeScalingPlanResourcesCommand extends $Command<DescribeScalingPlanResourcesCommandInput, DescribeScalingPlanResourcesCommandOutput, AutoScalingPlansClientResolvedConfig> {
@@ -49,6 +49,87 @@ export interface DescribeScalingPlansCommandOutput extends DescribeScalingPlansR
49
49
  * };
50
50
  * const command = new DescribeScalingPlansCommand(input);
51
51
  * const response = await client.send(command);
52
+ * // { // DescribeScalingPlansResponse
53
+ * // ScalingPlans: [ // ScalingPlans
54
+ * // { // ScalingPlan
55
+ * // ScalingPlanName: "STRING_VALUE", // required
56
+ * // ScalingPlanVersion: Number("long"), // required
57
+ * // ApplicationSource: { // ApplicationSource
58
+ * // CloudFormationStackARN: "STRING_VALUE",
59
+ * // TagFilters: [ // TagFilters
60
+ * // { // TagFilter
61
+ * // Key: "STRING_VALUE",
62
+ * // Values: [ // TagValues
63
+ * // "STRING_VALUE",
64
+ * // ],
65
+ * // },
66
+ * // ],
67
+ * // },
68
+ * // ScalingInstructions: [ // ScalingInstructions // required
69
+ * // { // ScalingInstruction
70
+ * // ServiceNamespace: "STRING_VALUE", // required
71
+ * // ResourceId: "STRING_VALUE", // required
72
+ * // ScalableDimension: "STRING_VALUE", // required
73
+ * // MinCapacity: Number("int"), // required
74
+ * // MaxCapacity: Number("int"), // required
75
+ * // TargetTrackingConfigurations: [ // TargetTrackingConfigurations // required
76
+ * // { // TargetTrackingConfiguration
77
+ * // PredefinedScalingMetricSpecification: { // PredefinedScalingMetricSpecification
78
+ * // PredefinedScalingMetricType: "STRING_VALUE", // required
79
+ * // ResourceLabel: "STRING_VALUE",
80
+ * // },
81
+ * // CustomizedScalingMetricSpecification: { // CustomizedScalingMetricSpecification
82
+ * // MetricName: "STRING_VALUE", // required
83
+ * // Namespace: "STRING_VALUE", // required
84
+ * // Dimensions: [ // MetricDimensions
85
+ * // { // MetricDimension
86
+ * // Name: "STRING_VALUE", // required
87
+ * // Value: "STRING_VALUE", // required
88
+ * // },
89
+ * // ],
90
+ * // Statistic: "STRING_VALUE", // required
91
+ * // Unit: "STRING_VALUE",
92
+ * // },
93
+ * // TargetValue: Number("double"), // required
94
+ * // DisableScaleIn: true || false,
95
+ * // ScaleOutCooldown: Number("int"),
96
+ * // ScaleInCooldown: Number("int"),
97
+ * // EstimatedInstanceWarmup: Number("int"),
98
+ * // },
99
+ * // ],
100
+ * // PredefinedLoadMetricSpecification: { // PredefinedLoadMetricSpecification
101
+ * // PredefinedLoadMetricType: "STRING_VALUE", // required
102
+ * // ResourceLabel: "STRING_VALUE",
103
+ * // },
104
+ * // CustomizedLoadMetricSpecification: { // CustomizedLoadMetricSpecification
105
+ * // MetricName: "STRING_VALUE", // required
106
+ * // Namespace: "STRING_VALUE", // required
107
+ * // Dimensions: [
108
+ * // {
109
+ * // Name: "STRING_VALUE", // required
110
+ * // Value: "STRING_VALUE", // required
111
+ * // },
112
+ * // ],
113
+ * // Statistic: "STRING_VALUE", // required
114
+ * // Unit: "STRING_VALUE",
115
+ * // },
116
+ * // ScheduledActionBufferTime: Number("int"),
117
+ * // PredictiveScalingMaxCapacityBehavior: "STRING_VALUE",
118
+ * // PredictiveScalingMaxCapacityBuffer: Number("int"),
119
+ * // PredictiveScalingMode: "STRING_VALUE",
120
+ * // ScalingPolicyUpdateBehavior: "STRING_VALUE",
121
+ * // DisableDynamicScaling: true || false,
122
+ * // },
123
+ * // ],
124
+ * // StatusCode: "STRING_VALUE", // required
125
+ * // StatusMessage: "STRING_VALUE",
126
+ * // StatusStartTime: new Date("TIMESTAMP"),
127
+ * // CreationTime: new Date("TIMESTAMP"),
128
+ * // },
129
+ * // ],
130
+ * // NextToken: "STRING_VALUE",
131
+ * // };
132
+ *
52
133
  * ```
53
134
  *
54
135
  * @param DescribeScalingPlansCommandInput - {@link DescribeScalingPlansCommandInput}
@@ -70,6 +151,8 @@ export interface DescribeScalingPlansCommandOutput extends DescribeScalingPlansR
70
151
  * @throws {@link ValidationException} (client fault)
71
152
  * <p>An exception was thrown for a validation issue. Review the parameters provided.</p>
72
153
  *
154
+ * @throws {@link AutoScalingPlansServiceException}
155
+ * <p>Base exception class for all service exceptions from AutoScalingPlans service.</p>
73
156
  *
74
157
  */
75
158
  export declare class DescribeScalingPlansCommand extends $Command<DescribeScalingPlansCommandInput, DescribeScalingPlansCommandOutput, AutoScalingPlansClientResolvedConfig> {
@@ -41,6 +41,15 @@ export interface GetScalingPlanResourceForecastDataCommandOutput extends GetScal
41
41
  * };
42
42
  * const command = new GetScalingPlanResourceForecastDataCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // GetScalingPlanResourceForecastDataResponse
45
+ * // Datapoints: [ // Datapoints // required
46
+ * // { // Datapoint
47
+ * // Timestamp: new Date("TIMESTAMP"),
48
+ * // Value: Number("double"),
49
+ * // },
50
+ * // ],
51
+ * // };
52
+ *
44
53
  * ```
45
54
  *
46
55
  * @param GetScalingPlanResourceForecastDataCommandInput - {@link GetScalingPlanResourceForecastDataCommandInput}
@@ -55,6 +64,8 @@ export interface GetScalingPlanResourceForecastDataCommandOutput extends GetScal
55
64
  * @throws {@link ValidationException} (client fault)
56
65
  * <p>An exception was thrown for a validation issue. Review the parameters provided.</p>
57
66
  *
67
+ * @throws {@link AutoScalingPlansServiceException}
68
+ * <p>Base exception class for all service exceptions from AutoScalingPlans service.</p>
58
69
  *
59
70
  */
60
71
  export declare class GetScalingPlanResourceForecastDataCommand extends $Command<GetScalingPlanResourceForecastDataCommandInput, GetScalingPlanResourceForecastDataCommandOutput, AutoScalingPlansClientResolvedConfig> {
@@ -101,6 +101,8 @@ export interface UpdateScalingPlanCommandOutput extends UpdateScalingPlanRespons
101
101
  * };
102
102
  * const command = new UpdateScalingPlanCommand(input);
103
103
  * const response = await client.send(command);
104
+ * // {};
105
+ *
104
106
  * ```
105
107
  *
106
108
  * @param UpdateScalingPlanCommandInput - {@link UpdateScalingPlanCommandInput}
@@ -122,6 +124,8 @@ export interface UpdateScalingPlanCommandOutput extends UpdateScalingPlanRespons
122
124
  * @throws {@link ValidationException} (client fault)
123
125
  * <p>An exception was thrown for a validation issue. Review the parameters provided.</p>
124
126
  *
127
+ * @throws {@link AutoScalingPlansServiceException}
128
+ * <p>Base exception class for all service exceptions from AutoScalingPlans service.</p>
125
129
  *
126
130
  */
127
131
  export declare class UpdateScalingPlanCommand extends $Command<UpdateScalingPlanCommandInput, UpdateScalingPlanCommandOutput, AutoScalingPlansClientResolvedConfig> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-auto-scaling-plans",
3
3
  "description": "AWS SDK for JavaScript Auto Scaling Plans Client for Node.js, Browser and React Native",
4
- "version": "3.321.1",
4
+ "version": "3.326.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",
@@ -21,33 +21,33 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.321.1",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
30
- "@aws-sdk/middleware-content-length": "3.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-serde": "3.310.0",
37
- "@aws-sdk/middleware-signing": "3.310.0",
38
- "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.319.0",
30
+ "@aws-sdk/middleware-content-length": "3.325.0",
31
+ "@aws-sdk/middleware-endpoint": "3.325.0",
32
+ "@aws-sdk/middleware-host-header": "3.325.0",
33
+ "@aws-sdk/middleware-logger": "3.325.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-serde": "3.325.0",
37
+ "@aws-sdk/middleware-signing": "3.325.0",
38
+ "@aws-sdk/middleware-stack": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.325.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.316.0",
43
+ "@aws-sdk/smithy-client": "3.325.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
51
  "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",