@aws-sdk/client-auto-scaling-plans 3.1136.0 → 3.1138.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-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1137.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -329,10 +329,10 @@ const _hE = "httpError";
|
|
|
329
329
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.autoscalingplans";
|
|
330
330
|
const _se = "server";
|
|
331
331
|
const n0 = "com.amazonaws.autoscalingplans";
|
|
332
|
-
const _s_registry = TypeRegistry
|
|
332
|
+
const _s_registry = new TypeRegistry(_s);
|
|
333
333
|
var AutoScalingPlansServiceException$ = [-3, _s, "AutoScalingPlansServiceException", 0, [], []];
|
|
334
334
|
_s_registry.registerError(AutoScalingPlansServiceException$, AutoScalingPlansServiceException);
|
|
335
|
-
const n0_registry = TypeRegistry
|
|
335
|
+
const n0_registry = new TypeRegistry(n0);
|
|
336
336
|
var ConcurrentUpdateException$ = [-3, n0, _CUE,
|
|
337
337
|
{ [_aQE]: [`ConcurrentUpdateException`, 500], [_e]: _se, [_hE]: 500 },
|
|
338
338
|
[_M],
|
|
@@ -101,10 +101,10 @@ const n0 = "com.amazonaws.autoscalingplans";
|
|
|
101
101
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
102
102
|
import { AutoScalingPlansServiceException } from "../models/AutoScalingPlansServiceException";
|
|
103
103
|
import { ConcurrentUpdateException, InternalServiceException, InvalidNextTokenException, LimitExceededException, ObjectNotFoundException, ValidationException, } from "../models/errors";
|
|
104
|
-
const _s_registry = TypeRegistry
|
|
104
|
+
const _s_registry = new TypeRegistry(_s);
|
|
105
105
|
export var AutoScalingPlansServiceException$ = [-3, _s, "AutoScalingPlansServiceException", 0, [], []];
|
|
106
106
|
_s_registry.registerError(AutoScalingPlansServiceException$, AutoScalingPlansServiceException);
|
|
107
|
-
const n0_registry = TypeRegistry
|
|
107
|
+
const n0_registry = new TypeRegistry(n0);
|
|
108
108
|
export var ConcurrentUpdateException$ = [-3, n0, _CUE,
|
|
109
109
|
{ [_aQE]: [`ConcurrentUpdateException`, 500], [_e]: _se, [_hE]: 500 },
|
|
110
110
|
[_M],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
|
|
2
2
|
import { AutoScalingPlansClient } from "./AutoScalingPlansClient";
|
|
3
3
|
import { type CreateScalingPlanCommandInput, type CreateScalingPlanCommandOutput } from "./commands/CreateScalingPlanCommand";
|
|
4
4
|
import { type DeleteScalingPlanCommandInput, type DeleteScalingPlanCommandOutput } from "./commands/DeleteScalingPlanCommand";
|
|
@@ -6,44 +6,50 @@ import { type DescribeScalingPlanResourcesCommandInput, type DescribeScalingPlan
|
|
|
6
6
|
import { type DescribeScalingPlansCommandInput, type DescribeScalingPlansCommandOutput } from "./commands/DescribeScalingPlansCommand";
|
|
7
7
|
import { type GetScalingPlanResourceForecastDataCommandInput, type GetScalingPlanResourceForecastDataCommandOutput } from "./commands/GetScalingPlanResourceForecastDataCommand";
|
|
8
8
|
import { type UpdateScalingPlanCommandInput, type UpdateScalingPlanCommandOutput } from "./commands/UpdateScalingPlanCommand";
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export interface AutoScalingPlansRequestOptions extends __HttpHandlerOptions {
|
|
13
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
14
|
+
}
|
|
9
15
|
export interface AutoScalingPlans {
|
|
10
16
|
/**
|
|
11
17
|
* @see {@link CreateScalingPlanCommand}
|
|
12
18
|
*/
|
|
13
|
-
createScalingPlan(args: CreateScalingPlanCommandInput, options?:
|
|
19
|
+
createScalingPlan(args: CreateScalingPlanCommandInput, options?: AutoScalingPlansRequestOptions): Promise<CreateScalingPlanCommandOutput>;
|
|
14
20
|
createScalingPlan(args: CreateScalingPlanCommandInput, cb: (err: any, data?: CreateScalingPlanCommandOutput) => void): void;
|
|
15
|
-
createScalingPlan(args: CreateScalingPlanCommandInput, options:
|
|
21
|
+
createScalingPlan(args: CreateScalingPlanCommandInput, options: AutoScalingPlansRequestOptions, cb: (err: any, data?: CreateScalingPlanCommandOutput) => void): void;
|
|
16
22
|
/**
|
|
17
23
|
* @see {@link DeleteScalingPlanCommand}
|
|
18
24
|
*/
|
|
19
|
-
deleteScalingPlan(args: DeleteScalingPlanCommandInput, options?:
|
|
25
|
+
deleteScalingPlan(args: DeleteScalingPlanCommandInput, options?: AutoScalingPlansRequestOptions): Promise<DeleteScalingPlanCommandOutput>;
|
|
20
26
|
deleteScalingPlan(args: DeleteScalingPlanCommandInput, cb: (err: any, data?: DeleteScalingPlanCommandOutput) => void): void;
|
|
21
|
-
deleteScalingPlan(args: DeleteScalingPlanCommandInput, options:
|
|
27
|
+
deleteScalingPlan(args: DeleteScalingPlanCommandInput, options: AutoScalingPlansRequestOptions, cb: (err: any, data?: DeleteScalingPlanCommandOutput) => void): void;
|
|
22
28
|
/**
|
|
23
29
|
* @see {@link DescribeScalingPlanResourcesCommand}
|
|
24
30
|
*/
|
|
25
|
-
describeScalingPlanResources(args: DescribeScalingPlanResourcesCommandInput, options?:
|
|
31
|
+
describeScalingPlanResources(args: DescribeScalingPlanResourcesCommandInput, options?: AutoScalingPlansRequestOptions): Promise<DescribeScalingPlanResourcesCommandOutput>;
|
|
26
32
|
describeScalingPlanResources(args: DescribeScalingPlanResourcesCommandInput, cb: (err: any, data?: DescribeScalingPlanResourcesCommandOutput) => void): void;
|
|
27
|
-
describeScalingPlanResources(args: DescribeScalingPlanResourcesCommandInput, options:
|
|
33
|
+
describeScalingPlanResources(args: DescribeScalingPlanResourcesCommandInput, options: AutoScalingPlansRequestOptions, cb: (err: any, data?: DescribeScalingPlanResourcesCommandOutput) => void): void;
|
|
28
34
|
/**
|
|
29
35
|
* @see {@link DescribeScalingPlansCommand}
|
|
30
36
|
*/
|
|
31
37
|
describeScalingPlans(): Promise<DescribeScalingPlansCommandOutput>;
|
|
32
|
-
describeScalingPlans(args: DescribeScalingPlansCommandInput, options?:
|
|
38
|
+
describeScalingPlans(args: DescribeScalingPlansCommandInput, options?: AutoScalingPlansRequestOptions): Promise<DescribeScalingPlansCommandOutput>;
|
|
33
39
|
describeScalingPlans(args: DescribeScalingPlansCommandInput, cb: (err: any, data?: DescribeScalingPlansCommandOutput) => void): void;
|
|
34
|
-
describeScalingPlans(args: DescribeScalingPlansCommandInput, options:
|
|
40
|
+
describeScalingPlans(args: DescribeScalingPlansCommandInput, options: AutoScalingPlansRequestOptions, cb: (err: any, data?: DescribeScalingPlansCommandOutput) => void): void;
|
|
35
41
|
/**
|
|
36
42
|
* @see {@link GetScalingPlanResourceForecastDataCommand}
|
|
37
43
|
*/
|
|
38
|
-
getScalingPlanResourceForecastData(args: GetScalingPlanResourceForecastDataCommandInput, options?:
|
|
44
|
+
getScalingPlanResourceForecastData(args: GetScalingPlanResourceForecastDataCommandInput, options?: AutoScalingPlansRequestOptions): Promise<GetScalingPlanResourceForecastDataCommandOutput>;
|
|
39
45
|
getScalingPlanResourceForecastData(args: GetScalingPlanResourceForecastDataCommandInput, cb: (err: any, data?: GetScalingPlanResourceForecastDataCommandOutput) => void): void;
|
|
40
|
-
getScalingPlanResourceForecastData(args: GetScalingPlanResourceForecastDataCommandInput, options:
|
|
46
|
+
getScalingPlanResourceForecastData(args: GetScalingPlanResourceForecastDataCommandInput, options: AutoScalingPlansRequestOptions, cb: (err: any, data?: GetScalingPlanResourceForecastDataCommandOutput) => void): void;
|
|
41
47
|
/**
|
|
42
48
|
* @see {@link UpdateScalingPlanCommand}
|
|
43
49
|
*/
|
|
44
|
-
updateScalingPlan(args: UpdateScalingPlanCommandInput, options?:
|
|
50
|
+
updateScalingPlan(args: UpdateScalingPlanCommandInput, options?: AutoScalingPlansRequestOptions): Promise<UpdateScalingPlanCommandOutput>;
|
|
45
51
|
updateScalingPlan(args: UpdateScalingPlanCommandInput, cb: (err: any, data?: UpdateScalingPlanCommandOutput) => void): void;
|
|
46
|
-
updateScalingPlan(args: UpdateScalingPlanCommandInput, options:
|
|
52
|
+
updateScalingPlan(args: UpdateScalingPlanCommandInput, options: AutoScalingPlansRequestOptions, cb: (err: any, data?: UpdateScalingPlanCommandOutput) => void): void;
|
|
47
53
|
}
|
|
48
54
|
/**
|
|
49
55
|
* <fullname>AWS Auto Scaling</fullname>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
} from "@smithy/types";
|
|
2
5
|
import { AutoScalingPlansClient } from "./AutoScalingPlansClient";
|
|
3
6
|
import {
|
|
4
7
|
CreateScalingPlanCommandInput,
|
|
@@ -24,10 +27,13 @@ import {
|
|
|
24
27
|
UpdateScalingPlanCommandInput,
|
|
25
28
|
UpdateScalingPlanCommandOutput,
|
|
26
29
|
} from "./commands/UpdateScalingPlanCommand";
|
|
30
|
+
export interface AutoScalingPlansRequestOptions extends __HttpHandlerOptions {
|
|
31
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
32
|
+
}
|
|
27
33
|
export interface AutoScalingPlans {
|
|
28
34
|
createScalingPlan(
|
|
29
35
|
args: CreateScalingPlanCommandInput,
|
|
30
|
-
options?:
|
|
36
|
+
options?: AutoScalingPlansRequestOptions,
|
|
31
37
|
): Promise<CreateScalingPlanCommandOutput>;
|
|
32
38
|
createScalingPlan(
|
|
33
39
|
args: CreateScalingPlanCommandInput,
|
|
@@ -35,12 +41,12 @@ export interface AutoScalingPlans {
|
|
|
35
41
|
): void;
|
|
36
42
|
createScalingPlan(
|
|
37
43
|
args: CreateScalingPlanCommandInput,
|
|
38
|
-
options:
|
|
44
|
+
options: AutoScalingPlansRequestOptions,
|
|
39
45
|
cb: (err: any, data?: CreateScalingPlanCommandOutput) => void,
|
|
40
46
|
): void;
|
|
41
47
|
deleteScalingPlan(
|
|
42
48
|
args: DeleteScalingPlanCommandInput,
|
|
43
|
-
options?:
|
|
49
|
+
options?: AutoScalingPlansRequestOptions,
|
|
44
50
|
): Promise<DeleteScalingPlanCommandOutput>;
|
|
45
51
|
deleteScalingPlan(
|
|
46
52
|
args: DeleteScalingPlanCommandInput,
|
|
@@ -48,12 +54,12 @@ export interface AutoScalingPlans {
|
|
|
48
54
|
): void;
|
|
49
55
|
deleteScalingPlan(
|
|
50
56
|
args: DeleteScalingPlanCommandInput,
|
|
51
|
-
options:
|
|
57
|
+
options: AutoScalingPlansRequestOptions,
|
|
52
58
|
cb: (err: any, data?: DeleteScalingPlanCommandOutput) => void,
|
|
53
59
|
): void;
|
|
54
60
|
describeScalingPlanResources(
|
|
55
61
|
args: DescribeScalingPlanResourcesCommandInput,
|
|
56
|
-
options?:
|
|
62
|
+
options?: AutoScalingPlansRequestOptions,
|
|
57
63
|
): Promise<DescribeScalingPlanResourcesCommandOutput>;
|
|
58
64
|
describeScalingPlanResources(
|
|
59
65
|
args: DescribeScalingPlanResourcesCommandInput,
|
|
@@ -61,13 +67,13 @@ export interface AutoScalingPlans {
|
|
|
61
67
|
): void;
|
|
62
68
|
describeScalingPlanResources(
|
|
63
69
|
args: DescribeScalingPlanResourcesCommandInput,
|
|
64
|
-
options:
|
|
70
|
+
options: AutoScalingPlansRequestOptions,
|
|
65
71
|
cb: (err: any, data?: DescribeScalingPlanResourcesCommandOutput) => void,
|
|
66
72
|
): void;
|
|
67
73
|
describeScalingPlans(): Promise<DescribeScalingPlansCommandOutput>;
|
|
68
74
|
describeScalingPlans(
|
|
69
75
|
args: DescribeScalingPlansCommandInput,
|
|
70
|
-
options?:
|
|
76
|
+
options?: AutoScalingPlansRequestOptions,
|
|
71
77
|
): Promise<DescribeScalingPlansCommandOutput>;
|
|
72
78
|
describeScalingPlans(
|
|
73
79
|
args: DescribeScalingPlansCommandInput,
|
|
@@ -75,12 +81,12 @@ export interface AutoScalingPlans {
|
|
|
75
81
|
): void;
|
|
76
82
|
describeScalingPlans(
|
|
77
83
|
args: DescribeScalingPlansCommandInput,
|
|
78
|
-
options:
|
|
84
|
+
options: AutoScalingPlansRequestOptions,
|
|
79
85
|
cb: (err: any, data?: DescribeScalingPlansCommandOutput) => void,
|
|
80
86
|
): void;
|
|
81
87
|
getScalingPlanResourceForecastData(
|
|
82
88
|
args: GetScalingPlanResourceForecastDataCommandInput,
|
|
83
|
-
options?:
|
|
89
|
+
options?: AutoScalingPlansRequestOptions,
|
|
84
90
|
): Promise<GetScalingPlanResourceForecastDataCommandOutput>;
|
|
85
91
|
getScalingPlanResourceForecastData(
|
|
86
92
|
args: GetScalingPlanResourceForecastDataCommandInput,
|
|
@@ -88,12 +94,12 @@ export interface AutoScalingPlans {
|
|
|
88
94
|
): void;
|
|
89
95
|
getScalingPlanResourceForecastData(
|
|
90
96
|
args: GetScalingPlanResourceForecastDataCommandInput,
|
|
91
|
-
options:
|
|
97
|
+
options: AutoScalingPlansRequestOptions,
|
|
92
98
|
cb: (err: any, data?: GetScalingPlanResourceForecastDataCommandOutput) => void,
|
|
93
99
|
): void;
|
|
94
100
|
updateScalingPlan(
|
|
95
101
|
args: UpdateScalingPlanCommandInput,
|
|
96
|
-
options?:
|
|
102
|
+
options?: AutoScalingPlansRequestOptions,
|
|
97
103
|
): Promise<UpdateScalingPlanCommandOutput>;
|
|
98
104
|
updateScalingPlan(
|
|
99
105
|
args: UpdateScalingPlanCommandInput,
|
|
@@ -101,7 +107,7 @@ export interface AutoScalingPlans {
|
|
|
101
107
|
): void;
|
|
102
108
|
updateScalingPlan(
|
|
103
109
|
args: UpdateScalingPlanCommandInput,
|
|
104
|
-
options:
|
|
110
|
+
options: AutoScalingPlansRequestOptions,
|
|
105
111
|
cb: (err: any, data?: UpdateScalingPlanCommandOutput) => void,
|
|
106
112
|
): void;
|
|
107
113
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auto-scaling-plans",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1138.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Auto Scaling Plans Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-auto-scaling-plans",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|