@aws-sdk/client-arc-zonal-shift 3.477.0 → 3.481.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/commands/CancelZonalShiftCommand.js +18 -41
- package/dist-cjs/commands/CreatePracticeRunConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DeletePracticeRunConfigurationCommand.js +18 -41
- package/dist-cjs/commands/GetManagedResourceCommand.js +18 -41
- package/dist-cjs/commands/ListAutoshiftsCommand.js +18 -41
- package/dist-cjs/commands/ListManagedResourcesCommand.js +18 -41
- package/dist-cjs/commands/ListZonalShiftsCommand.js +18 -41
- package/dist-cjs/commands/StartZonalShiftCommand.js +18 -41
- package/dist-cjs/commands/UpdatePracticeRunConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateZonalAutoshiftConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateZonalShiftCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListAutoshiftsPaginator.js +2 -24
- package/dist-cjs/pagination/ListManagedResourcesPaginator.js +2 -24
- package/dist-cjs/pagination/ListZonalShiftsPaginator.js +2 -24
- package/dist-es/commands/CancelZonalShiftCommand.js +18 -41
- package/dist-es/commands/CreatePracticeRunConfigurationCommand.js +18 -41
- package/dist-es/commands/DeletePracticeRunConfigurationCommand.js +18 -41
- package/dist-es/commands/GetManagedResourceCommand.js +18 -41
- package/dist-es/commands/ListAutoshiftsCommand.js +18 -41
- package/dist-es/commands/ListManagedResourcesCommand.js +18 -41
- package/dist-es/commands/ListZonalShiftsCommand.js +18 -41
- package/dist-es/commands/StartZonalShiftCommand.js +18 -41
- package/dist-es/commands/UpdatePracticeRunConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateZonalAutoshiftConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateZonalShiftCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListAutoshiftsPaginator.js +2 -23
- package/dist-es/pagination/ListManagedResourcesPaginator.js +2 -23
- package/dist-es/pagination/ListZonalShiftsPaginator.js +2 -23
- package/dist-types/commands/CancelZonalShiftCommand.d.ts +6 -21
- package/dist-types/commands/CreatePracticeRunConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DeletePracticeRunConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/GetManagedResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListAutoshiftsCommand.d.ts +6 -21
- package/dist-types/commands/ListManagedResourcesCommand.d.ts +6 -21
- package/dist-types/commands/ListZonalShiftsCommand.d.ts +6 -21
- package/dist-types/commands/StartZonalShiftCommand.d.ts +6 -21
- package/dist-types/commands/UpdatePracticeRunConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateZonalAutoshiftConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateZonalShiftCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListAutoshiftsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListManagedResourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListZonalShiftsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CancelZonalShiftCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreatePracticeRunConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeletePracticeRunConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetManagedResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAutoshiftsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListManagedResourcesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListZonalShiftsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartZonalShiftCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdatePracticeRunConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateZonalAutoshiftConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateZonalShiftCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListAutoshiftsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListManagedResourcesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListZonalShiftsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListManagedResourcesCommand, se_ListManagedResourcesCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListManagedResourcesCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ARCZonalShiftClient";
|
|
26
|
-
const commandName = "ListManagedResourcesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "PercDataPlane",
|
|
35
|
-
operation: "ListManagedResources",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListManagedResourcesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListManagedResourcesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListManagedResourcesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("PercDataPlane", "ListManagedResources", {})
|
|
19
|
+
.n("ARCZonalShiftClient", "ListManagedResourcesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListManagedResourcesCommand)
|
|
22
|
+
.de(de_ListManagedResourcesCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListZonalShiftsCommand, se_ListZonalShiftsCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListZonalShiftsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ARCZonalShiftClient";
|
|
26
|
-
const commandName = "ListZonalShiftsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "PercDataPlane",
|
|
35
|
-
operation: "ListZonalShifts",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListZonalShiftsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListZonalShiftsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListZonalShiftsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("PercDataPlane", "ListZonalShifts", {})
|
|
19
|
+
.n("ARCZonalShiftClient", "ListZonalShiftsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListZonalShiftsCommand)
|
|
22
|
+
.de(de_ListZonalShiftsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_StartZonalShiftCommand, se_StartZonalShiftCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StartZonalShiftCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ARCZonalShiftClient";
|
|
26
|
-
const commandName = "StartZonalShiftCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "PercDataPlane",
|
|
35
|
-
operation: "StartZonalShift",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_StartZonalShiftCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StartZonalShiftCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StartZonalShiftCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("PercDataPlane", "StartZonalShift", {})
|
|
19
|
+
.n("ARCZonalShiftClient", "StartZonalShiftCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StartZonalShiftCommand)
|
|
22
|
+
.de(de_StartZonalShiftCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdatePracticeRunConfigurationCommand, se_UpdatePracticeRunConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdatePracticeRunConfigurationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ARCZonalShiftClient";
|
|
26
|
-
const commandName = "UpdatePracticeRunConfigurationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "PercDataPlane",
|
|
35
|
-
operation: "UpdatePracticeRunConfiguration",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdatePracticeRunConfigurationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdatePracticeRunConfigurationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdatePracticeRunConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("PercDataPlane", "UpdatePracticeRunConfiguration", {})
|
|
19
|
+
.n("ARCZonalShiftClient", "UpdatePracticeRunConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdatePracticeRunConfigurationCommand)
|
|
22
|
+
.de(de_UpdatePracticeRunConfigurationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateZonalAutoshiftConfigurationCommand, se_UpdateZonalAutoshiftConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateZonalAutoshiftConfigurationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ARCZonalShiftClient";
|
|
26
|
-
const commandName = "UpdateZonalAutoshiftConfigurationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "PercDataPlane",
|
|
35
|
-
operation: "UpdateZonalAutoshiftConfiguration",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateZonalAutoshiftConfigurationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateZonalAutoshiftConfigurationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateZonalAutoshiftConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("PercDataPlane", "UpdateZonalAutoshiftConfiguration", {})
|
|
19
|
+
.n("ARCZonalShiftClient", "UpdateZonalAutoshiftConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateZonalAutoshiftConfigurationCommand)
|
|
22
|
+
.de(de_UpdateZonalAutoshiftConfigurationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateZonalShiftCommand, se_UpdateZonalShiftCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateZonalShiftCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ARCZonalShiftClient";
|
|
26
|
-
const commandName = "UpdateZonalShiftCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "PercDataPlane",
|
|
35
|
-
operation: "UpdateZonalShift",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateZonalShiftCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateZonalShiftCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateZonalShiftCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("PercDataPlane", "UpdateZonalShift", {})
|
|
19
|
+
.n("ARCZonalShiftClient", "UpdateZonalShiftCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateZonalShiftCommand)
|
|
22
|
+
.de(de_UpdateZonalShiftCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "arc-zonal-shift",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ARCZonalShiftClient } from "../ARCZonalShiftClient";
|
|
2
3
|
import { ListAutoshiftsCommand, } from "../commands/ListAutoshiftsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAutoshiftsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAutoshifts(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ARCZonalShiftClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ARCZonalShift | ARCZonalShiftClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAutoshifts = createPaginator(ARCZonalShiftClient, ListAutoshiftsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ARCZonalShiftClient } from "../ARCZonalShiftClient";
|
|
2
3
|
import { ListManagedResourcesCommand, } from "../commands/ListManagedResourcesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListManagedResourcesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListManagedResources(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ARCZonalShiftClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ARCZonalShift | ARCZonalShiftClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListManagedResources = createPaginator(ARCZonalShiftClient, ListManagedResourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ARCZonalShiftClient } from "../ARCZonalShiftClient";
|
|
2
3
|
import { ListZonalShiftsCommand, } from "../commands/ListZonalShiftsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListZonalShiftsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListZonalShifts(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ARCZonalShiftClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ARCZonalShift | ARCZonalShiftClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListZonalShifts = createPaginator(ARCZonalShiftClient, ListZonalShiftsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ARCZonalShiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ARCZonalShiftClient";
|
|
5
4
|
import { CancelZonalShiftRequest, ZonalShift } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CancelZonalShiftCommandInput extends CancelZonalShiftRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CancelZonalShiftCommandOutput extends ZonalShift, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CancelZonalShiftCommand_base: {
|
|
24
|
+
new (input: CancelZonalShiftCommandInput): import("@smithy/smithy-client").CommandImpl<CancelZonalShiftCommandInput, CancelZonalShiftCommandOutput, ARCZonalShiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Cancel a zonal shift in Amazon Route 53 Application Recovery Controller. To cancel the zonal shift, specify the zonal shift ID.</p>
|
|
@@ -78,23 +81,5 @@ export interface CancelZonalShiftCommandOutput extends ZonalShift, __MetadataBea
|
|
|
78
81
|
* <p>Base exception class for all service exceptions from ARCZonalShift service.</p>
|
|
79
82
|
*
|
|
80
83
|
*/
|
|
81
|
-
export declare class CancelZonalShiftCommand extends
|
|
82
|
-
readonly input: CancelZonalShiftCommandInput;
|
|
83
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
84
|
-
/**
|
|
85
|
-
* @public
|
|
86
|
-
*/
|
|
87
|
-
constructor(input: CancelZonalShiftCommandInput);
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ARCZonalShiftClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelZonalShiftCommandInput, CancelZonalShiftCommandOutput>;
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
95
|
-
private serialize;
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
99
|
-
private deserialize;
|
|
84
|
+
export declare class CancelZonalShiftCommand extends CancelZonalShiftCommand_base {
|
|
100
85
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ARCZonalShiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ARCZonalShiftClient";
|
|
5
4
|
import { CreatePracticeRunConfigurationRequest, CreatePracticeRunConfigurationResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreatePracticeRunConfigurationCommandInput extends CreatePracti
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreatePracticeRunConfigurationCommandOutput extends CreatePracticeRunConfigurationResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreatePracticeRunConfigurationCommand_base: {
|
|
24
|
+
new (input: CreatePracticeRunConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePracticeRunConfigurationCommandInput, CreatePracticeRunConfigurationCommandOutput, ARCZonalShiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>A practice run configuration for zonal autoshift is required when you enable zonal autoshift.
|
|
@@ -116,23 +119,5 @@ export interface CreatePracticeRunConfigurationCommandOutput extends CreatePract
|
|
|
116
119
|
* <p>Base exception class for all service exceptions from ARCZonalShift service.</p>
|
|
117
120
|
*
|
|
118
121
|
*/
|
|
119
|
-
export declare class CreatePracticeRunConfigurationCommand extends
|
|
120
|
-
readonly input: CreatePracticeRunConfigurationCommandInput;
|
|
121
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
122
|
-
/**
|
|
123
|
-
* @public
|
|
124
|
-
*/
|
|
125
|
-
constructor(input: CreatePracticeRunConfigurationCommandInput);
|
|
126
|
-
/**
|
|
127
|
-
* @internal
|
|
128
|
-
*/
|
|
129
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ARCZonalShiftClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePracticeRunConfigurationCommandInput, CreatePracticeRunConfigurationCommandOutput>;
|
|
130
|
-
/**
|
|
131
|
-
* @internal
|
|
132
|
-
*/
|
|
133
|
-
private serialize;
|
|
134
|
-
/**
|
|
135
|
-
* @internal
|
|
136
|
-
*/
|
|
137
|
-
private deserialize;
|
|
122
|
+
export declare class CreatePracticeRunConfigurationCommand extends CreatePracticeRunConfigurationCommand_base {
|
|
138
123
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ARCZonalShiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ARCZonalShiftClient";
|
|
5
4
|
import { DeletePracticeRunConfigurationRequest, DeletePracticeRunConfigurationResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeletePracticeRunConfigurationCommandInput extends DeletePracti
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeletePracticeRunConfigurationCommandOutput extends DeletePracticeRunConfigurationResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeletePracticeRunConfigurationCommand_base: {
|
|
24
|
+
new (input: DeletePracticeRunConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePracticeRunConfigurationCommandInput, DeletePracticeRunConfigurationCommandOutput, ARCZonalShiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes the practice run configuration for a resource. Before you can delete
|
|
@@ -73,23 +76,5 @@ export interface DeletePracticeRunConfigurationCommandOutput extends DeletePract
|
|
|
73
76
|
* <p>Base exception class for all service exceptions from ARCZonalShift service.</p>
|
|
74
77
|
*
|
|
75
78
|
*/
|
|
76
|
-
export declare class DeletePracticeRunConfigurationCommand extends
|
|
77
|
-
readonly input: DeletePracticeRunConfigurationCommandInput;
|
|
78
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
79
|
-
/**
|
|
80
|
-
* @public
|
|
81
|
-
*/
|
|
82
|
-
constructor(input: DeletePracticeRunConfigurationCommandInput);
|
|
83
|
-
/**
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
86
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ARCZonalShiftClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeletePracticeRunConfigurationCommandInput, DeletePracticeRunConfigurationCommandOutput>;
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
|
-
private serialize;
|
|
91
|
-
/**
|
|
92
|
-
* @internal
|
|
93
|
-
*/
|
|
94
|
-
private deserialize;
|
|
79
|
+
export declare class DeletePracticeRunConfigurationCommand extends DeletePracticeRunConfigurationCommand_base {
|
|
95
80
|
}
|