@aws-sdk/client-application-auto-scaling 3.693.0 → 3.698.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.
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ApplicationAutoScalingClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ApplicationAutoScalingClient";
8
+ import {
9
+ GetPredictiveScalingForecastRequest,
10
+ GetPredictiveScalingForecastResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetPredictiveScalingForecastCommandInput
15
+ extends GetPredictiveScalingForecastRequest {}
16
+ export interface GetPredictiveScalingForecastCommandOutput
17
+ extends GetPredictiveScalingForecastResponse,
18
+ __MetadataBearer {}
19
+ declare const GetPredictiveScalingForecastCommand_base: {
20
+ new (
21
+ input: GetPredictiveScalingForecastCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetPredictiveScalingForecastCommandInput,
24
+ GetPredictiveScalingForecastCommandOutput,
25
+ ApplicationAutoScalingClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: GetPredictiveScalingForecastCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetPredictiveScalingForecastCommandInput,
33
+ GetPredictiveScalingForecastCommandOutput,
34
+ ApplicationAutoScalingClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetPredictiveScalingForecastCommand extends GetPredictiveScalingForecastCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetPredictiveScalingForecastRequest;
44
+ output: GetPredictiveScalingForecastResponse;
45
+ };
46
+ sdk: {
47
+ input: GetPredictiveScalingForecastCommandInput;
48
+ output: GetPredictiveScalingForecastCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -5,6 +5,7 @@ export * from "./DescribeScalableTargetsCommand";
5
5
  export * from "./DescribeScalingActivitiesCommand";
6
6
  export * from "./DescribeScalingPoliciesCommand";
7
7
  export * from "./DescribeScheduledActionsCommand";
8
+ export * from "./GetPredictiveScalingForecastCommand";
8
9
  export * from "./ListTagsForResourceCommand";
9
10
  export * from "./PutScalingPolicyCommand";
10
11
  export * from "./PutScheduledActionCommand";
@@ -127,6 +127,7 @@ export interface ScalableTarget {
127
127
  ScalableDimension: ScalableDimension | undefined;
128
128
  MinCapacity: number | undefined;
129
129
  MaxCapacity: number | undefined;
130
+ PredictedCapacity?: number | undefined;
130
131
  RoleARN: string | undefined;
131
132
  CreationTime: Date | undefined;
132
133
  SuspendedState?: SuspendedState | undefined;
@@ -195,10 +196,89 @@ export interface DescribeScalingPoliciesRequest {
195
196
  NextToken?: string | undefined;
196
197
  }
197
198
  export declare const PolicyType: {
199
+ readonly PredictiveScaling: "PredictiveScaling";
198
200
  readonly StepScaling: "StepScaling";
199
201
  readonly TargetTrackingScaling: "TargetTrackingScaling";
200
202
  };
201
203
  export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
204
+ export declare const PredictiveScalingMaxCapacityBreachBehavior: {
205
+ readonly HonorMaxCapacity: "HonorMaxCapacity";
206
+ readonly IncreaseMaxCapacity: "IncreaseMaxCapacity";
207
+ };
208
+ export type PredictiveScalingMaxCapacityBreachBehavior =
209
+ (typeof PredictiveScalingMaxCapacityBreachBehavior)[keyof typeof PredictiveScalingMaxCapacityBreachBehavior];
210
+ export interface PredictiveScalingMetricDimension {
211
+ Name: string | undefined;
212
+ Value: string | undefined;
213
+ }
214
+ export interface PredictiveScalingMetric {
215
+ Dimensions?: PredictiveScalingMetricDimension[] | undefined;
216
+ MetricName?: string | undefined;
217
+ Namespace?: string | undefined;
218
+ }
219
+ export interface PredictiveScalingMetricStat {
220
+ Metric: PredictiveScalingMetric | undefined;
221
+ Stat: string | undefined;
222
+ Unit?: string | undefined;
223
+ }
224
+ export interface PredictiveScalingMetricDataQuery {
225
+ Id: string | undefined;
226
+ Expression?: string | undefined;
227
+ MetricStat?: PredictiveScalingMetricStat | undefined;
228
+ Label?: string | undefined;
229
+ ReturnData?: boolean | undefined;
230
+ }
231
+ export interface PredictiveScalingCustomizedMetricSpecification {
232
+ MetricDataQueries: PredictiveScalingMetricDataQuery[] | undefined;
233
+ }
234
+ export interface PredictiveScalingPredefinedLoadMetricSpecification {
235
+ PredefinedMetricType: string | undefined;
236
+ ResourceLabel?: string | undefined;
237
+ }
238
+ export interface PredictiveScalingPredefinedMetricPairSpecification {
239
+ PredefinedMetricType: string | undefined;
240
+ ResourceLabel?: string | undefined;
241
+ }
242
+ export interface PredictiveScalingPredefinedScalingMetricSpecification {
243
+ PredefinedMetricType: string | undefined;
244
+ ResourceLabel?: string | undefined;
245
+ }
246
+ export interface PredictiveScalingMetricSpecification {
247
+ TargetValue: number | undefined;
248
+ PredefinedMetricPairSpecification?:
249
+ | PredictiveScalingPredefinedMetricPairSpecification
250
+ | undefined;
251
+ PredefinedScalingMetricSpecification?:
252
+ | PredictiveScalingPredefinedScalingMetricSpecification
253
+ | undefined;
254
+ PredefinedLoadMetricSpecification?:
255
+ | PredictiveScalingPredefinedLoadMetricSpecification
256
+ | undefined;
257
+ CustomizedScalingMetricSpecification?:
258
+ | PredictiveScalingCustomizedMetricSpecification
259
+ | undefined;
260
+ CustomizedLoadMetricSpecification?:
261
+ | PredictiveScalingCustomizedMetricSpecification
262
+ | undefined;
263
+ CustomizedCapacityMetricSpecification?:
264
+ | PredictiveScalingCustomizedMetricSpecification
265
+ | undefined;
266
+ }
267
+ export declare const PredictiveScalingMode: {
268
+ readonly ForecastAndScale: "ForecastAndScale";
269
+ readonly ForecastOnly: "ForecastOnly";
270
+ };
271
+ export type PredictiveScalingMode =
272
+ (typeof PredictiveScalingMode)[keyof typeof PredictiveScalingMode];
273
+ export interface PredictiveScalingPolicyConfiguration {
274
+ MetricSpecifications: PredictiveScalingMetricSpecification[] | undefined;
275
+ Mode?: PredictiveScalingMode | undefined;
276
+ SchedulingBufferTime?: number | undefined;
277
+ MaxCapacityBreachBehavior?:
278
+ | PredictiveScalingMaxCapacityBreachBehavior
279
+ | undefined;
280
+ MaxCapacityBuffer?: number | undefined;
281
+ }
202
282
  export declare const MetricAggregationType: {
203
283
  readonly Average: "Average";
204
284
  readonly Maximum: "Maximum";
@@ -313,6 +393,9 @@ export interface ScalingPolicy {
313
393
  TargetTrackingScalingPolicyConfiguration?:
314
394
  | TargetTrackingScalingPolicyConfiguration
315
395
  | undefined;
396
+ PredictiveScalingPolicyConfiguration?:
397
+ | PredictiveScalingPolicyConfiguration
398
+ | undefined;
316
399
  Alarms?: Alarm[] | undefined;
317
400
  CreationTime: Date | undefined;
318
401
  }
@@ -357,6 +440,28 @@ export interface DescribeScheduledActionsResponse {
357
440
  ScheduledActions?: ScheduledAction[] | undefined;
358
441
  NextToken?: string | undefined;
359
442
  }
443
+ export interface GetPredictiveScalingForecastRequest {
444
+ ServiceNamespace: ServiceNamespace | undefined;
445
+ ResourceId: string | undefined;
446
+ ScalableDimension: ScalableDimension | undefined;
447
+ PolicyName: string | undefined;
448
+ StartTime: Date | undefined;
449
+ EndTime: Date | undefined;
450
+ }
451
+ export interface CapacityForecast {
452
+ Timestamps: Date[] | undefined;
453
+ Values: number[] | undefined;
454
+ }
455
+ export interface LoadForecast {
456
+ Timestamps: Date[] | undefined;
457
+ Values: number[] | undefined;
458
+ MetricSpecification: PredictiveScalingMetricSpecification | undefined;
459
+ }
460
+ export interface GetPredictiveScalingForecastResponse {
461
+ LoadForecast?: LoadForecast[] | undefined;
462
+ CapacityForecast?: CapacityForecast | undefined;
463
+ UpdateTime?: Date | undefined;
464
+ }
360
465
  export interface ListTagsForResourceRequest {
361
466
  ResourceARN: string | undefined;
362
467
  }
@@ -390,6 +495,9 @@ export interface PutScalingPolicyRequest {
390
495
  TargetTrackingScalingPolicyConfiguration?:
391
496
  | TargetTrackingScalingPolicyConfiguration
392
497
  | undefined;
498
+ PredictiveScalingPolicyConfiguration?:
499
+ | PredictiveScalingPolicyConfiguration
500
+ | undefined;
393
501
  }
394
502
  export interface PutScalingPolicyResponse {
395
503
  PolicyARN: string | undefined;
@@ -31,6 +31,10 @@ import {
31
31
  DescribeScheduledActionsCommandInput,
32
32
  DescribeScheduledActionsCommandOutput,
33
33
  } from "../commands/DescribeScheduledActionsCommand";
34
+ import {
35
+ GetPredictiveScalingForecastCommandInput,
36
+ GetPredictiveScalingForecastCommandOutput,
37
+ } from "../commands/GetPredictiveScalingForecastCommand";
34
38
  import {
35
39
  ListTagsForResourceCommandInput,
36
40
  ListTagsForResourceCommandOutput,
@@ -83,6 +87,10 @@ export declare const se_DescribeScheduledActionsCommand: (
83
87
  input: DescribeScheduledActionsCommandInput,
84
88
  context: __SerdeContext
85
89
  ) => Promise<__HttpRequest>;
90
+ export declare const se_GetPredictiveScalingForecastCommand: (
91
+ input: GetPredictiveScalingForecastCommandInput,
92
+ context: __SerdeContext
93
+ ) => Promise<__HttpRequest>;
86
94
  export declare const se_ListTagsForResourceCommand: (
87
95
  input: ListTagsForResourceCommandInput,
88
96
  context: __SerdeContext
@@ -135,6 +143,10 @@ export declare const de_DescribeScheduledActionsCommand: (
135
143
  output: __HttpResponse,
136
144
  context: __SerdeContext
137
145
  ) => Promise<DescribeScheduledActionsCommandOutput>;
146
+ export declare const de_GetPredictiveScalingForecastCommand: (
147
+ output: __HttpResponse,
148
+ context: __SerdeContext
149
+ ) => Promise<GetPredictiveScalingForecastCommandOutput>;
138
150
  export declare const de_ListTagsForResourceCommand: (
139
151
  output: __HttpResponse,
140
152
  context: __SerdeContext
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.693.0",
4
+ "version": "3.698.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-application-auto-scaling",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.693.0",
24
- "@aws-sdk/client-sts": "3.693.0",
25
- "@aws-sdk/core": "3.693.0",
26
- "@aws-sdk/credential-provider-node": "3.693.0",
27
- "@aws-sdk/middleware-host-header": "3.693.0",
28
- "@aws-sdk/middleware-logger": "3.693.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.693.0",
30
- "@aws-sdk/middleware-user-agent": "3.693.0",
31
- "@aws-sdk/region-config-resolver": "3.693.0",
32
- "@aws-sdk/types": "3.692.0",
33
- "@aws-sdk/util-endpoints": "3.693.0",
34
- "@aws-sdk/util-user-agent-browser": "3.693.0",
35
- "@aws-sdk/util-user-agent-node": "3.693.0",
36
- "@smithy/config-resolver": "^3.0.11",
37
- "@smithy/core": "^2.5.2",
38
- "@smithy/fetch-http-handler": "^4.1.0",
39
- "@smithy/hash-node": "^3.0.9",
40
- "@smithy/invalid-dependency": "^3.0.9",
41
- "@smithy/middleware-content-length": "^3.0.11",
42
- "@smithy/middleware-endpoint": "^3.2.2",
43
- "@smithy/middleware-retry": "^3.0.26",
44
- "@smithy/middleware-serde": "^3.0.9",
45
- "@smithy/middleware-stack": "^3.0.9",
46
- "@smithy/node-config-provider": "^3.1.10",
47
- "@smithy/node-http-handler": "^3.3.0",
48
- "@smithy/protocol-http": "^4.1.6",
49
- "@smithy/smithy-client": "^3.4.3",
50
- "@smithy/types": "^3.7.0",
51
- "@smithy/url-parser": "^3.0.9",
23
+ "@aws-sdk/client-sso-oidc": "3.696.0",
24
+ "@aws-sdk/client-sts": "3.696.0",
25
+ "@aws-sdk/core": "3.696.0",
26
+ "@aws-sdk/credential-provider-node": "3.696.0",
27
+ "@aws-sdk/middleware-host-header": "3.696.0",
28
+ "@aws-sdk/middleware-logger": "3.696.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.696.0",
30
+ "@aws-sdk/middleware-user-agent": "3.696.0",
31
+ "@aws-sdk/region-config-resolver": "3.696.0",
32
+ "@aws-sdk/types": "3.696.0",
33
+ "@aws-sdk/util-endpoints": "3.696.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.696.0",
35
+ "@aws-sdk/util-user-agent-node": "3.696.0",
36
+ "@smithy/config-resolver": "^3.0.12",
37
+ "@smithy/core": "^2.5.3",
38
+ "@smithy/fetch-http-handler": "^4.1.1",
39
+ "@smithy/hash-node": "^3.0.10",
40
+ "@smithy/invalid-dependency": "^3.0.10",
41
+ "@smithy/middleware-content-length": "^3.0.12",
42
+ "@smithy/middleware-endpoint": "^3.2.3",
43
+ "@smithy/middleware-retry": "^3.0.27",
44
+ "@smithy/middleware-serde": "^3.0.10",
45
+ "@smithy/middleware-stack": "^3.0.10",
46
+ "@smithy/node-config-provider": "^3.1.11",
47
+ "@smithy/node-http-handler": "^3.3.1",
48
+ "@smithy/protocol-http": "^4.1.7",
49
+ "@smithy/smithy-client": "^3.4.4",
50
+ "@smithy/types": "^3.7.1",
51
+ "@smithy/url-parser": "^3.0.10",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.26",
56
- "@smithy/util-defaults-mode-node": "^3.0.26",
57
- "@smithy/util-endpoints": "^2.1.5",
58
- "@smithy/util-middleware": "^3.0.9",
59
- "@smithy/util-retry": "^3.0.9",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.27",
56
+ "@smithy/util-defaults-mode-node": "^3.0.27",
57
+ "@smithy/util-endpoints": "^2.1.6",
58
+ "@smithy/util-middleware": "^3.0.10",
59
+ "@smithy/util-retry": "^3.0.10",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },