@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
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateZonalAutoshiftConfigurationCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ARCZonalShiftClient";
|
|
29
|
-
const commandName = "UpdateZonalAutoshiftConfigurationCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "PercDataPlane",
|
|
38
|
-
operation: "UpdateZonalAutoshiftConfiguration",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateZonalAutoshiftConfigurationCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateZonalAutoshiftConfigurationCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateZonalAutoshiftConfigurationCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("PercDataPlane", "UpdateZonalAutoshiftConfiguration", {})
|
|
22
|
+
.n("ARCZonalShiftClient", "UpdateZonalAutoshiftConfigurationCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateZonalAutoshiftConfigurationCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateZonalAutoshiftConfigurationCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateZonalAutoshiftConfigurationCommand = UpdateZonalAutoshiftConfigurationCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateZonalShiftCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ARCZonalShiftClient";
|
|
29
|
-
const commandName = "UpdateZonalShiftCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "PercDataPlane",
|
|
38
|
-
operation: "UpdateZonalShift",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateZonalShiftCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateZonalShiftCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateZonalShiftCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("PercDataPlane", "UpdateZonalShift", {})
|
|
22
|
+
.n("ARCZonalShiftClient", "UpdateZonalShiftCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateZonalShiftCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateZonalShiftCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateZonalShiftCommand = UpdateZonalShiftCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAutoshifts = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ARCZonalShiftClient_1 = require("../ARCZonalShiftClient");
|
|
5
6
|
const ListAutoshiftsCommand_1 = require("../commands/ListAutoshiftsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListAutoshiftsCommand_1.ListAutoshiftsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListAutoshifts(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ARCZonalShiftClient_1.ARCZonalShiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ARCZonalShift | ARCZonalShiftClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListAutoshifts = paginateListAutoshifts;
|
|
7
|
+
exports.paginateListAutoshifts = (0, core_1.createPaginator)(ARCZonalShiftClient_1.ARCZonalShiftClient, ListAutoshiftsCommand_1.ListAutoshiftsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListManagedResources = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ARCZonalShiftClient_1 = require("../ARCZonalShiftClient");
|
|
5
6
|
const ListManagedResourcesCommand_1 = require("../commands/ListManagedResourcesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListManagedResourcesCommand_1.ListManagedResourcesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListManagedResources(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ARCZonalShiftClient_1.ARCZonalShiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ARCZonalShift | ARCZonalShiftClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListManagedResources = paginateListManagedResources;
|
|
7
|
+
exports.paginateListManagedResources = (0, core_1.createPaginator)(ARCZonalShiftClient_1.ARCZonalShiftClient, ListManagedResourcesCommand_1.ListManagedResourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListZonalShifts = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ARCZonalShiftClient_1 = require("../ARCZonalShiftClient");
|
|
5
6
|
const ListZonalShiftsCommand_1 = require("../commands/ListZonalShiftsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListZonalShiftsCommand_1.ListZonalShiftsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListZonalShifts(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ARCZonalShiftClient_1.ARCZonalShiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ARCZonalShift | ARCZonalShiftClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListZonalShifts = paginateListZonalShifts;
|
|
7
|
+
exports.paginateListZonalShifts = (0, core_1.createPaginator)(ARCZonalShiftClient_1.ARCZonalShiftClient, ListZonalShiftsCommand_1.ListZonalShiftsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -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_CancelZonalShiftCommand, se_CancelZonalShiftCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CancelZonalShiftCommand 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 = "CancelZonalShiftCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "PercDataPlane",
|
|
35
|
-
operation: "CancelZonalShift",
|
|
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_CancelZonalShiftCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CancelZonalShiftCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CancelZonalShiftCommand 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", "CancelZonalShift", {})
|
|
19
|
+
.n("ARCZonalShiftClient", "CancelZonalShiftCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CancelZonalShiftCommand)
|
|
22
|
+
.de(de_CancelZonalShiftCommand)
|
|
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_CreatePracticeRunConfigurationCommand, se_CreatePracticeRunConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreatePracticeRunConfigurationCommand 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 = "CreatePracticeRunConfigurationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "PercDataPlane",
|
|
35
|
-
operation: "CreatePracticeRunConfiguration",
|
|
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_CreatePracticeRunConfigurationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreatePracticeRunConfigurationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreatePracticeRunConfigurationCommand 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", "CreatePracticeRunConfiguration", {})
|
|
19
|
+
.n("ARCZonalShiftClient", "CreatePracticeRunConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreatePracticeRunConfigurationCommand)
|
|
22
|
+
.de(de_CreatePracticeRunConfigurationCommand)
|
|
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_DeletePracticeRunConfigurationCommand, se_DeletePracticeRunConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeletePracticeRunConfigurationCommand 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 = "DeletePracticeRunConfigurationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "PercDataPlane",
|
|
35
|
-
operation: "DeletePracticeRunConfiguration",
|
|
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_DeletePracticeRunConfigurationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeletePracticeRunConfigurationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeletePracticeRunConfigurationCommand 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", "DeletePracticeRunConfiguration", {})
|
|
19
|
+
.n("ARCZonalShiftClient", "DeletePracticeRunConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeletePracticeRunConfigurationCommand)
|
|
22
|
+
.de(de_DeletePracticeRunConfigurationCommand)
|
|
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_GetManagedResourceCommand, se_GetManagedResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetManagedResourceCommand 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 = "GetManagedResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "PercDataPlane",
|
|
35
|
-
operation: "GetManagedResource",
|
|
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_GetManagedResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetManagedResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetManagedResourceCommand 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", "GetManagedResource", {})
|
|
19
|
+
.n("ARCZonalShiftClient", "GetManagedResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetManagedResourceCommand)
|
|
22
|
+
.de(de_GetManagedResourceCommand)
|
|
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_ListAutoshiftsCommand, se_ListAutoshiftsCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListAutoshiftsCommand 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 = "ListAutoshiftsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "PercDataPlane",
|
|
35
|
-
operation: "ListAutoshifts",
|
|
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_ListAutoshiftsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListAutoshiftsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListAutoshiftsCommand 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", "ListAutoshifts", {})
|
|
19
|
+
.n("ARCZonalShiftClient", "ListAutoshiftsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListAutoshiftsCommand)
|
|
22
|
+
.de(de_ListAutoshiftsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|