@aws-sdk/client-auto-scaling-plans 3.299.0 → 3.301.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.
@@ -26,6 +26,76 @@ export interface CreateScalingPlanCommandOutput extends CreateScalingPlanRespons
26
26
  * import { AutoScalingPlansClient, CreateScalingPlanCommand } from "@aws-sdk/client-auto-scaling-plans"; // ES Modules import
27
27
  * // const { AutoScalingPlansClient, CreateScalingPlanCommand } = require("@aws-sdk/client-auto-scaling-plans"); // CommonJS import
28
28
  * const client = new AutoScalingPlansClient(config);
29
+ * const input = { // CreateScalingPlanRequest
30
+ * ScalingPlanName: "STRING_VALUE", // required
31
+ * ApplicationSource: { // ApplicationSource
32
+ * CloudFormationStackARN: "STRING_VALUE",
33
+ * TagFilters: [ // TagFilters
34
+ * { // TagFilter
35
+ * Key: "STRING_VALUE",
36
+ * Values: [ // TagValues
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * },
40
+ * ],
41
+ * },
42
+ * ScalingInstructions: [ // ScalingInstructions // required
43
+ * { // ScalingInstruction
44
+ * ServiceNamespace: "STRING_VALUE", // required
45
+ * ResourceId: "STRING_VALUE", // required
46
+ * ScalableDimension: "STRING_VALUE", // required
47
+ * MinCapacity: Number("int"), // required
48
+ * MaxCapacity: Number("int"), // required
49
+ * TargetTrackingConfigurations: [ // TargetTrackingConfigurations // required
50
+ * { // TargetTrackingConfiguration
51
+ * PredefinedScalingMetricSpecification: { // PredefinedScalingMetricSpecification
52
+ * PredefinedScalingMetricType: "STRING_VALUE", // required
53
+ * ResourceLabel: "STRING_VALUE",
54
+ * },
55
+ * CustomizedScalingMetricSpecification: { // CustomizedScalingMetricSpecification
56
+ * MetricName: "STRING_VALUE", // required
57
+ * Namespace: "STRING_VALUE", // required
58
+ * Dimensions: [ // MetricDimensions
59
+ * { // MetricDimension
60
+ * Name: "STRING_VALUE", // required
61
+ * Value: "STRING_VALUE", // required
62
+ * },
63
+ * ],
64
+ * Statistic: "STRING_VALUE", // required
65
+ * Unit: "STRING_VALUE",
66
+ * },
67
+ * TargetValue: Number("double"), // required
68
+ * DisableScaleIn: true || false,
69
+ * ScaleOutCooldown: Number("int"),
70
+ * ScaleInCooldown: Number("int"),
71
+ * EstimatedInstanceWarmup: Number("int"),
72
+ * },
73
+ * ],
74
+ * PredefinedLoadMetricSpecification: { // PredefinedLoadMetricSpecification
75
+ * PredefinedLoadMetricType: "STRING_VALUE", // required
76
+ * ResourceLabel: "STRING_VALUE",
77
+ * },
78
+ * CustomizedLoadMetricSpecification: { // CustomizedLoadMetricSpecification
79
+ * MetricName: "STRING_VALUE", // required
80
+ * Namespace: "STRING_VALUE", // required
81
+ * Dimensions: [
82
+ * {
83
+ * Name: "STRING_VALUE", // required
84
+ * Value: "STRING_VALUE", // required
85
+ * },
86
+ * ],
87
+ * Statistic: "STRING_VALUE", // required
88
+ * Unit: "STRING_VALUE",
89
+ * },
90
+ * ScheduledActionBufferTime: Number("int"),
91
+ * PredictiveScalingMaxCapacityBehavior: "STRING_VALUE",
92
+ * PredictiveScalingMaxCapacityBuffer: Number("int"),
93
+ * PredictiveScalingMode: "STRING_VALUE",
94
+ * ScalingPolicyUpdateBehavior: "STRING_VALUE",
95
+ * DisableDynamicScaling: true || false,
96
+ * },
97
+ * ],
98
+ * };
29
99
  * const command = new CreateScalingPlanCommand(input);
30
100
  * const response = await client.send(command);
31
101
  * ```
@@ -30,6 +30,10 @@ export interface DeleteScalingPlanCommandOutput extends DeleteScalingPlanRespons
30
30
  * import { AutoScalingPlansClient, DeleteScalingPlanCommand } from "@aws-sdk/client-auto-scaling-plans"; // ES Modules import
31
31
  * // const { AutoScalingPlansClient, DeleteScalingPlanCommand } = require("@aws-sdk/client-auto-scaling-plans"); // CommonJS import
32
32
  * const client = new AutoScalingPlansClient(config);
33
+ * const input = { // DeleteScalingPlanRequest
34
+ * ScalingPlanName: "STRING_VALUE", // required
35
+ * ScalingPlanVersion: Number("long"), // required
36
+ * };
33
37
  * const command = new DeleteScalingPlanCommand(input);
34
38
  * const response = await client.send(command);
35
39
  * ```
@@ -26,6 +26,12 @@ export interface DescribeScalingPlanResourcesCommandOutput extends DescribeScali
26
26
  * import { AutoScalingPlansClient, DescribeScalingPlanResourcesCommand } from "@aws-sdk/client-auto-scaling-plans"; // ES Modules import
27
27
  * // const { AutoScalingPlansClient, DescribeScalingPlanResourcesCommand } = require("@aws-sdk/client-auto-scaling-plans"); // CommonJS import
28
28
  * const client = new AutoScalingPlansClient(config);
29
+ * const input = { // DescribeScalingPlanResourcesRequest
30
+ * ScalingPlanName: "STRING_VALUE", // required
31
+ * ScalingPlanVersion: Number("long"), // required
32
+ * MaxResults: Number("int"),
33
+ * NextToken: "STRING_VALUE",
34
+ * };
29
35
  * const command = new DescribeScalingPlanResourcesCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,27 @@ export interface DescribeScalingPlansCommandOutput extends DescribeScalingPlansR
26
26
  * import { AutoScalingPlansClient, DescribeScalingPlansCommand } from "@aws-sdk/client-auto-scaling-plans"; // ES Modules import
27
27
  * // const { AutoScalingPlansClient, DescribeScalingPlansCommand } = require("@aws-sdk/client-auto-scaling-plans"); // CommonJS import
28
28
  * const client = new AutoScalingPlansClient(config);
29
+ * const input = { // DescribeScalingPlansRequest
30
+ * ScalingPlanNames: [ // ScalingPlanNames
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * ScalingPlanVersion: Number("long"),
34
+ * ApplicationSources: [ // ApplicationSources
35
+ * { // ApplicationSource
36
+ * CloudFormationStackARN: "STRING_VALUE",
37
+ * TagFilters: [ // TagFilters
38
+ * { // TagFilter
39
+ * Key: "STRING_VALUE",
40
+ * Values: [ // TagValues
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * },
44
+ * ],
45
+ * },
46
+ * ],
47
+ * MaxResults: Number("int"),
48
+ * NextToken: "STRING_VALUE",
49
+ * };
29
50
  * const command = new DescribeScalingPlansCommand(input);
30
51
  * const response = await client.send(command);
31
52
  * ```
@@ -29,6 +29,16 @@ export interface GetScalingPlanResourceForecastDataCommandOutput extends GetScal
29
29
  * import { AutoScalingPlansClient, GetScalingPlanResourceForecastDataCommand } from "@aws-sdk/client-auto-scaling-plans"; // ES Modules import
30
30
  * // const { AutoScalingPlansClient, GetScalingPlanResourceForecastDataCommand } = require("@aws-sdk/client-auto-scaling-plans"); // CommonJS import
31
31
  * const client = new AutoScalingPlansClient(config);
32
+ * const input = { // GetScalingPlanResourceForecastDataRequest
33
+ * ScalingPlanName: "STRING_VALUE", // required
34
+ * ScalingPlanVersion: Number("long"), // required
35
+ * ServiceNamespace: "STRING_VALUE", // required
36
+ * ResourceId: "STRING_VALUE", // required
37
+ * ScalableDimension: "STRING_VALUE", // required
38
+ * ForecastDataType: "STRING_VALUE", // required
39
+ * StartTime: new Date("TIMESTAMP"), // required
40
+ * EndTime: new Date("TIMESTAMP"), // required
41
+ * };
32
42
  * const command = new GetScalingPlanResourceForecastDataCommand(input);
33
43
  * const response = await client.send(command);
34
44
  * ```
@@ -28,6 +28,77 @@ export interface UpdateScalingPlanCommandOutput extends UpdateScalingPlanRespons
28
28
  * import { AutoScalingPlansClient, UpdateScalingPlanCommand } from "@aws-sdk/client-auto-scaling-plans"; // ES Modules import
29
29
  * // const { AutoScalingPlansClient, UpdateScalingPlanCommand } = require("@aws-sdk/client-auto-scaling-plans"); // CommonJS import
30
30
  * const client = new AutoScalingPlansClient(config);
31
+ * const input = { // UpdateScalingPlanRequest
32
+ * ScalingPlanName: "STRING_VALUE", // required
33
+ * ScalingPlanVersion: Number("long"), // required
34
+ * ApplicationSource: { // ApplicationSource
35
+ * CloudFormationStackARN: "STRING_VALUE",
36
+ * TagFilters: [ // TagFilters
37
+ * { // TagFilter
38
+ * Key: "STRING_VALUE",
39
+ * Values: [ // TagValues
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * },
43
+ * ],
44
+ * },
45
+ * ScalingInstructions: [ // ScalingInstructions
46
+ * { // ScalingInstruction
47
+ * ServiceNamespace: "STRING_VALUE", // required
48
+ * ResourceId: "STRING_VALUE", // required
49
+ * ScalableDimension: "STRING_VALUE", // required
50
+ * MinCapacity: Number("int"), // required
51
+ * MaxCapacity: Number("int"), // required
52
+ * TargetTrackingConfigurations: [ // TargetTrackingConfigurations // required
53
+ * { // TargetTrackingConfiguration
54
+ * PredefinedScalingMetricSpecification: { // PredefinedScalingMetricSpecification
55
+ * PredefinedScalingMetricType: "STRING_VALUE", // required
56
+ * ResourceLabel: "STRING_VALUE",
57
+ * },
58
+ * CustomizedScalingMetricSpecification: { // CustomizedScalingMetricSpecification
59
+ * MetricName: "STRING_VALUE", // required
60
+ * Namespace: "STRING_VALUE", // required
61
+ * Dimensions: [ // MetricDimensions
62
+ * { // MetricDimension
63
+ * Name: "STRING_VALUE", // required
64
+ * Value: "STRING_VALUE", // required
65
+ * },
66
+ * ],
67
+ * Statistic: "STRING_VALUE", // required
68
+ * Unit: "STRING_VALUE",
69
+ * },
70
+ * TargetValue: Number("double"), // required
71
+ * DisableScaleIn: true || false,
72
+ * ScaleOutCooldown: Number("int"),
73
+ * ScaleInCooldown: Number("int"),
74
+ * EstimatedInstanceWarmup: Number("int"),
75
+ * },
76
+ * ],
77
+ * PredefinedLoadMetricSpecification: { // PredefinedLoadMetricSpecification
78
+ * PredefinedLoadMetricType: "STRING_VALUE", // required
79
+ * ResourceLabel: "STRING_VALUE",
80
+ * },
81
+ * CustomizedLoadMetricSpecification: { // CustomizedLoadMetricSpecification
82
+ * MetricName: "STRING_VALUE", // required
83
+ * Namespace: "STRING_VALUE", // required
84
+ * Dimensions: [
85
+ * {
86
+ * Name: "STRING_VALUE", // required
87
+ * Value: "STRING_VALUE", // required
88
+ * },
89
+ * ],
90
+ * Statistic: "STRING_VALUE", // required
91
+ * Unit: "STRING_VALUE",
92
+ * },
93
+ * ScheduledActionBufferTime: Number("int"),
94
+ * PredictiveScalingMaxCapacityBehavior: "STRING_VALUE",
95
+ * PredictiveScalingMaxCapacityBuffer: Number("int"),
96
+ * PredictiveScalingMode: "STRING_VALUE",
97
+ * ScalingPolicyUpdateBehavior: "STRING_VALUE",
98
+ * DisableDynamicScaling: true || false,
99
+ * },
100
+ * ],
101
+ * };
31
102
  * const command = new UpdateScalingPlanCommand(input);
32
103
  * const response = await client.send(command);
33
104
  * ```
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.299.0",
4
+ "version": "3.301.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,9 +21,9 @@
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.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },