@aws-sdk/client-arc-zonal-shift 3.839.0 → 3.844.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/README.md +17 -34
- package/dist-cjs/index.js +116 -8
- package/dist-es/ARCZonalShift.js +4 -0
- package/dist-es/commands/CancelPracticeRunCommand.js +22 -0
- package/dist-es/commands/StartPracticeRunCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +11 -5
- package/dist-es/protocols/Aws_restJson1.js +64 -0
- package/dist-types/ARCZonalShift.d.ts +15 -34
- package/dist-types/ARCZonalShiftClient.d.ts +5 -36
- package/dist-types/commands/CancelPracticeRunCommand.d.ts +96 -0
- package/dist-types/commands/CancelZonalShiftCommand.d.ts +1 -4
- package/dist-types/commands/CreatePracticeRunConfigurationCommand.d.ts +1 -11
- package/dist-types/commands/DeletePracticeRunConfigurationCommand.d.ts +1 -3
- package/dist-types/commands/GetAutoshiftObserverNotificationStatusCommand.d.ts +1 -2
- package/dist-types/commands/GetManagedResourceCommand.d.ts +2 -3
- package/dist-types/commands/ListAutoshiftsCommand.d.ts +1 -4
- package/dist-types/commands/ListManagedResourcesCommand.d.ts +2 -5
- package/dist-types/commands/ListZonalShiftsCommand.d.ts +2 -2
- package/dist-types/commands/StartPracticeRunCommand.d.ts +98 -0
- package/dist-types/commands/StartZonalShiftCommand.d.ts +1 -11
- package/dist-types/commands/UpdateAutoshiftObserverNotificationStatusCommand.d.ts +1 -11
- package/dist-types/commands/UpdatePracticeRunConfigurationCommand.d.ts +1 -3
- package/dist-types/commands/UpdateZonalAutoshiftConfigurationCommand.d.ts +1 -8
- package/dist-types/commands/UpdateZonalShiftCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +1 -34
- package/dist-types/models/models_0.d.ts +204 -417
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/ARCZonalShift.d.ts +34 -0
- package/dist-types/ts3.4/ARCZonalShiftClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CancelPracticeRunCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartPracticeRunCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +40 -8
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +20 -20
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
|
+
import { CancelPracticeRunCommandInput, CancelPracticeRunCommandOutput } from "../commands/CancelPracticeRunCommand";
|
|
3
4
|
import { CancelZonalShiftCommandInput, CancelZonalShiftCommandOutput } from "../commands/CancelZonalShiftCommand";
|
|
4
5
|
import { CreatePracticeRunConfigurationCommandInput, CreatePracticeRunConfigurationCommandOutput } from "../commands/CreatePracticeRunConfigurationCommand";
|
|
5
6
|
import { DeletePracticeRunConfigurationCommandInput, DeletePracticeRunConfigurationCommandOutput } from "../commands/DeletePracticeRunConfigurationCommand";
|
|
@@ -8,11 +9,16 @@ import { GetManagedResourceCommandInput, GetManagedResourceCommandOutput } from
|
|
|
8
9
|
import { ListAutoshiftsCommandInput, ListAutoshiftsCommandOutput } from "../commands/ListAutoshiftsCommand";
|
|
9
10
|
import { ListManagedResourcesCommandInput, ListManagedResourcesCommandOutput } from "../commands/ListManagedResourcesCommand";
|
|
10
11
|
import { ListZonalShiftsCommandInput, ListZonalShiftsCommandOutput } from "../commands/ListZonalShiftsCommand";
|
|
12
|
+
import { StartPracticeRunCommandInput, StartPracticeRunCommandOutput } from "../commands/StartPracticeRunCommand";
|
|
11
13
|
import { StartZonalShiftCommandInput, StartZonalShiftCommandOutput } from "../commands/StartZonalShiftCommand";
|
|
12
14
|
import { UpdateAutoshiftObserverNotificationStatusCommandInput, UpdateAutoshiftObserverNotificationStatusCommandOutput } from "../commands/UpdateAutoshiftObserverNotificationStatusCommand";
|
|
13
15
|
import { UpdatePracticeRunConfigurationCommandInput, UpdatePracticeRunConfigurationCommandOutput } from "../commands/UpdatePracticeRunConfigurationCommand";
|
|
14
16
|
import { UpdateZonalAutoshiftConfigurationCommandInput, UpdateZonalAutoshiftConfigurationCommandOutput } from "../commands/UpdateZonalAutoshiftConfigurationCommand";
|
|
15
17
|
import { UpdateZonalShiftCommandInput, UpdateZonalShiftCommandOutput } from "../commands/UpdateZonalShiftCommand";
|
|
18
|
+
/**
|
|
19
|
+
* serializeAws_restJson1CancelPracticeRunCommand
|
|
20
|
+
*/
|
|
21
|
+
export declare const se_CancelPracticeRunCommand: (input: CancelPracticeRunCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
16
22
|
/**
|
|
17
23
|
* serializeAws_restJson1CancelZonalShiftCommand
|
|
18
24
|
*/
|
|
@@ -45,6 +51,10 @@ export declare const se_ListManagedResourcesCommand: (input: ListManagedResource
|
|
|
45
51
|
* serializeAws_restJson1ListZonalShiftsCommand
|
|
46
52
|
*/
|
|
47
53
|
export declare const se_ListZonalShiftsCommand: (input: ListZonalShiftsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
54
|
+
/**
|
|
55
|
+
* serializeAws_restJson1StartPracticeRunCommand
|
|
56
|
+
*/
|
|
57
|
+
export declare const se_StartPracticeRunCommand: (input: StartPracticeRunCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
48
58
|
/**
|
|
49
59
|
* serializeAws_restJson1StartZonalShiftCommand
|
|
50
60
|
*/
|
|
@@ -65,6 +75,10 @@ export declare const se_UpdateZonalAutoshiftConfigurationCommand: (input: Update
|
|
|
65
75
|
* serializeAws_restJson1UpdateZonalShiftCommand
|
|
66
76
|
*/
|
|
67
77
|
export declare const se_UpdateZonalShiftCommand: (input: UpdateZonalShiftCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
78
|
+
/**
|
|
79
|
+
* deserializeAws_restJson1CancelPracticeRunCommand
|
|
80
|
+
*/
|
|
81
|
+
export declare const de_CancelPracticeRunCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelPracticeRunCommandOutput>;
|
|
68
82
|
/**
|
|
69
83
|
* deserializeAws_restJson1CancelZonalShiftCommand
|
|
70
84
|
*/
|
|
@@ -97,6 +111,10 @@ export declare const de_ListManagedResourcesCommand: (output: __HttpResponse, co
|
|
|
97
111
|
* deserializeAws_restJson1ListZonalShiftsCommand
|
|
98
112
|
*/
|
|
99
113
|
export declare const de_ListZonalShiftsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListZonalShiftsCommandOutput>;
|
|
114
|
+
/**
|
|
115
|
+
* deserializeAws_restJson1StartPracticeRunCommand
|
|
116
|
+
*/
|
|
117
|
+
export declare const de_StartPracticeRunCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartPracticeRunCommandOutput>;
|
|
100
118
|
/**
|
|
101
119
|
* deserializeAws_restJson1StartZonalShiftCommand
|
|
102
120
|
*/
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { ARCZonalShiftClient } from "./ARCZonalShiftClient";
|
|
3
|
+
import {
|
|
4
|
+
CancelPracticeRunCommandInput,
|
|
5
|
+
CancelPracticeRunCommandOutput,
|
|
6
|
+
} from "./commands/CancelPracticeRunCommand";
|
|
3
7
|
import {
|
|
4
8
|
CancelZonalShiftCommandInput,
|
|
5
9
|
CancelZonalShiftCommandOutput,
|
|
@@ -32,6 +36,10 @@ import {
|
|
|
32
36
|
ListZonalShiftsCommandInput,
|
|
33
37
|
ListZonalShiftsCommandOutput,
|
|
34
38
|
} from "./commands/ListZonalShiftsCommand";
|
|
39
|
+
import {
|
|
40
|
+
StartPracticeRunCommandInput,
|
|
41
|
+
StartPracticeRunCommandOutput,
|
|
42
|
+
} from "./commands/StartPracticeRunCommand";
|
|
35
43
|
import {
|
|
36
44
|
StartZonalShiftCommandInput,
|
|
37
45
|
StartZonalShiftCommandOutput,
|
|
@@ -53,6 +61,19 @@ import {
|
|
|
53
61
|
UpdateZonalShiftCommandOutput,
|
|
54
62
|
} from "./commands/UpdateZonalShiftCommand";
|
|
55
63
|
export interface ARCZonalShift {
|
|
64
|
+
cancelPracticeRun(
|
|
65
|
+
args: CancelPracticeRunCommandInput,
|
|
66
|
+
options?: __HttpHandlerOptions
|
|
67
|
+
): Promise<CancelPracticeRunCommandOutput>;
|
|
68
|
+
cancelPracticeRun(
|
|
69
|
+
args: CancelPracticeRunCommandInput,
|
|
70
|
+
cb: (err: any, data?: CancelPracticeRunCommandOutput) => void
|
|
71
|
+
): void;
|
|
72
|
+
cancelPracticeRun(
|
|
73
|
+
args: CancelPracticeRunCommandInput,
|
|
74
|
+
options: __HttpHandlerOptions,
|
|
75
|
+
cb: (err: any, data?: CancelPracticeRunCommandOutput) => void
|
|
76
|
+
): void;
|
|
56
77
|
cancelZonalShift(
|
|
57
78
|
args: CancelZonalShiftCommandInput,
|
|
58
79
|
options?: __HttpHandlerOptions
|
|
@@ -167,6 +188,19 @@ export interface ARCZonalShift {
|
|
|
167
188
|
options: __HttpHandlerOptions,
|
|
168
189
|
cb: (err: any, data?: ListZonalShiftsCommandOutput) => void
|
|
169
190
|
): void;
|
|
191
|
+
startPracticeRun(
|
|
192
|
+
args: StartPracticeRunCommandInput,
|
|
193
|
+
options?: __HttpHandlerOptions
|
|
194
|
+
): Promise<StartPracticeRunCommandOutput>;
|
|
195
|
+
startPracticeRun(
|
|
196
|
+
args: StartPracticeRunCommandInput,
|
|
197
|
+
cb: (err: any, data?: StartPracticeRunCommandOutput) => void
|
|
198
|
+
): void;
|
|
199
|
+
startPracticeRun(
|
|
200
|
+
args: StartPracticeRunCommandInput,
|
|
201
|
+
options: __HttpHandlerOptions,
|
|
202
|
+
cb: (err: any, data?: StartPracticeRunCommandOutput) => void
|
|
203
|
+
): void;
|
|
170
204
|
startZonalShift(
|
|
171
205
|
args: StartZonalShiftCommandInput,
|
|
172
206
|
options?: __HttpHandlerOptions
|
|
@@ -45,6 +45,10 @@ import {
|
|
|
45
45
|
HttpAuthSchemeInputConfig,
|
|
46
46
|
HttpAuthSchemeResolvedConfig,
|
|
47
47
|
} from "./auth/httpAuthSchemeProvider";
|
|
48
|
+
import {
|
|
49
|
+
CancelPracticeRunCommandInput,
|
|
50
|
+
CancelPracticeRunCommandOutput,
|
|
51
|
+
} from "./commands/CancelPracticeRunCommand";
|
|
48
52
|
import {
|
|
49
53
|
CancelZonalShiftCommandInput,
|
|
50
54
|
CancelZonalShiftCommandOutput,
|
|
@@ -77,6 +81,10 @@ import {
|
|
|
77
81
|
ListZonalShiftsCommandInput,
|
|
78
82
|
ListZonalShiftsCommandOutput,
|
|
79
83
|
} from "./commands/ListZonalShiftsCommand";
|
|
84
|
+
import {
|
|
85
|
+
StartPracticeRunCommandInput,
|
|
86
|
+
StartPracticeRunCommandOutput,
|
|
87
|
+
} from "./commands/StartPracticeRunCommand";
|
|
80
88
|
import {
|
|
81
89
|
StartZonalShiftCommandInput,
|
|
82
90
|
StartZonalShiftCommandOutput,
|
|
@@ -105,6 +113,7 @@ import {
|
|
|
105
113
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
106
114
|
export { __Client };
|
|
107
115
|
export type ServiceInputTypes =
|
|
116
|
+
| CancelPracticeRunCommandInput
|
|
108
117
|
| CancelZonalShiftCommandInput
|
|
109
118
|
| CreatePracticeRunConfigurationCommandInput
|
|
110
119
|
| DeletePracticeRunConfigurationCommandInput
|
|
@@ -113,12 +122,14 @@ export type ServiceInputTypes =
|
|
|
113
122
|
| ListAutoshiftsCommandInput
|
|
114
123
|
| ListManagedResourcesCommandInput
|
|
115
124
|
| ListZonalShiftsCommandInput
|
|
125
|
+
| StartPracticeRunCommandInput
|
|
116
126
|
| StartZonalShiftCommandInput
|
|
117
127
|
| UpdateAutoshiftObserverNotificationStatusCommandInput
|
|
118
128
|
| UpdatePracticeRunConfigurationCommandInput
|
|
119
129
|
| UpdateZonalAutoshiftConfigurationCommandInput
|
|
120
130
|
| UpdateZonalShiftCommandInput;
|
|
121
131
|
export type ServiceOutputTypes =
|
|
132
|
+
| CancelPracticeRunCommandOutput
|
|
122
133
|
| CancelZonalShiftCommandOutput
|
|
123
134
|
| CreatePracticeRunConfigurationCommandOutput
|
|
124
135
|
| DeletePracticeRunConfigurationCommandOutput
|
|
@@ -127,6 +138,7 @@ export type ServiceOutputTypes =
|
|
|
127
138
|
| ListAutoshiftsCommandOutput
|
|
128
139
|
| ListManagedResourcesCommandOutput
|
|
129
140
|
| ListZonalShiftsCommandOutput
|
|
141
|
+
| StartPracticeRunCommandOutput
|
|
130
142
|
| StartZonalShiftCommandOutput
|
|
131
143
|
| UpdateAutoshiftObserverNotificationStatusCommandOutput
|
|
132
144
|
| UpdatePracticeRunConfigurationCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ARCZonalShiftClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ARCZonalShiftClient";
|
|
8
|
+
import {
|
|
9
|
+
CancelPracticeRunRequest,
|
|
10
|
+
CancelPracticeRunResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface CancelPracticeRunCommandInput
|
|
15
|
+
extends CancelPracticeRunRequest {}
|
|
16
|
+
export interface CancelPracticeRunCommandOutput
|
|
17
|
+
extends CancelPracticeRunResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const CancelPracticeRunCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: CancelPracticeRunCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
CancelPracticeRunCommandInput,
|
|
24
|
+
CancelPracticeRunCommandOutput,
|
|
25
|
+
ARCZonalShiftClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: CancelPracticeRunCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
CancelPracticeRunCommandInput,
|
|
33
|
+
CancelPracticeRunCommandOutput,
|
|
34
|
+
ARCZonalShiftClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class CancelPracticeRunCommand extends CancelPracticeRunCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: CancelPracticeRunRequest;
|
|
44
|
+
output: CancelPracticeRunResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: CancelPracticeRunCommandInput;
|
|
48
|
+
output: CancelPracticeRunCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ARCZonalShiftClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ARCZonalShiftClient";
|
|
8
|
+
import {
|
|
9
|
+
StartPracticeRunRequest,
|
|
10
|
+
StartPracticeRunResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface StartPracticeRunCommandInput extends StartPracticeRunRequest {}
|
|
15
|
+
export interface StartPracticeRunCommandOutput
|
|
16
|
+
extends StartPracticeRunResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const StartPracticeRunCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: StartPracticeRunCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
StartPracticeRunCommandInput,
|
|
23
|
+
StartPracticeRunCommandOutput,
|
|
24
|
+
ARCZonalShiftClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
input: StartPracticeRunCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
StartPracticeRunCommandInput,
|
|
32
|
+
StartPracticeRunCommandOutput,
|
|
33
|
+
ARCZonalShiftClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class StartPracticeRunCommand extends StartPracticeRunCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: StartPracticeRunRequest;
|
|
43
|
+
output: StartPracticeRunResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: StartPracticeRunCommandInput;
|
|
47
|
+
output: StartPracticeRunCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./CancelPracticeRunCommand";
|
|
1
2
|
export * from "./CancelZonalShiftCommand";
|
|
2
3
|
export * from "./CreatePracticeRunConfigurationCommand";
|
|
3
4
|
export * from "./DeletePracticeRunConfigurationCommand";
|
|
@@ -6,6 +7,7 @@ export * from "./GetManagedResourceCommand";
|
|
|
6
7
|
export * from "./ListAutoshiftsCommand";
|
|
7
8
|
export * from "./ListManagedResourcesCommand";
|
|
8
9
|
export * from "./ListZonalShiftsCommand";
|
|
10
|
+
export * from "./StartPracticeRunCommand";
|
|
9
11
|
export * from "./StartZonalShiftCommand";
|
|
10
12
|
export * from "./UpdateAutoshiftObserverNotificationStatusCommand";
|
|
11
13
|
export * from "./UpdatePracticeRunConfigurationCommand";
|
|
@@ -60,6 +60,7 @@ export declare const ValidationExceptionReason: {
|
|
|
60
60
|
readonly INVALID_TOKEN: "InvalidToken";
|
|
61
61
|
readonly MISSING_VALUE: "MissingValue";
|
|
62
62
|
readonly UNSUPPORTED_AZ: "UnsupportedAz";
|
|
63
|
+
readonly UNSUPPORTED_PRACTICE_CANCEL_SHIFT_TYPE: "UnsupportedPracticeCancelShiftType";
|
|
63
64
|
};
|
|
64
65
|
export type ValidationExceptionReason =
|
|
65
66
|
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
@@ -98,13 +99,33 @@ export interface UpdateAutoshiftObserverNotificationStatusRequest {
|
|
|
98
99
|
export interface UpdateAutoshiftObserverNotificationStatusResponse {
|
|
99
100
|
status: AutoshiftObserverNotificationStatus | undefined;
|
|
100
101
|
}
|
|
101
|
-
export interface
|
|
102
|
+
export interface CancelPracticeRunRequest {
|
|
102
103
|
zonalShiftId: string | undefined;
|
|
103
104
|
}
|
|
105
|
+
export declare const ZonalShiftStatus: {
|
|
106
|
+
readonly ACTIVE: "ACTIVE";
|
|
107
|
+
readonly CANCELED: "CANCELED";
|
|
108
|
+
readonly EXPIRED: "EXPIRED";
|
|
109
|
+
};
|
|
110
|
+
export type ZonalShiftStatus =
|
|
111
|
+
(typeof ZonalShiftStatus)[keyof typeof ZonalShiftStatus];
|
|
112
|
+
export interface CancelPracticeRunResponse {
|
|
113
|
+
zonalShiftId: string | undefined;
|
|
114
|
+
resourceIdentifier: string | undefined;
|
|
115
|
+
awayFrom: string | undefined;
|
|
116
|
+
expiryTime: Date | undefined;
|
|
117
|
+
startTime: Date | undefined;
|
|
118
|
+
status: ZonalShiftStatus | undefined;
|
|
119
|
+
comment: string | undefined;
|
|
120
|
+
}
|
|
104
121
|
export declare const ConflictExceptionReason: {
|
|
105
122
|
readonly AUTOSHIFT_ENABLED: "AutoShiftEnabled";
|
|
123
|
+
readonly PRACTICE_BLOCKING_ALARMS_RED: "PracticeBlockingAlarmsRed";
|
|
106
124
|
readonly PRACTICE_CONFIGURATION_ALREADY_EXISTS: "PracticeConfigurationAlreadyExists";
|
|
107
125
|
readonly PRACTICE_CONFIGURATION_DOES_NOT_EXIST: "PracticeConfigurationDoesNotExist";
|
|
126
|
+
readonly PRACTICE_IN_BLOCKED_DATES: "PracticeInBlockedDates";
|
|
127
|
+
readonly PRACTICE_IN_BLOCKED_WINDOWS: "PracticeInBlockedWindows";
|
|
128
|
+
readonly PRACTICE_OUTCOME_ALARMS_RED: "PracticeOutcomeAlarmsRed";
|
|
108
129
|
readonly SIMULTANEOUS_ZONAL_SHIFTS_CONFLICT: "SimultaneousZonalShiftsConflict";
|
|
109
130
|
readonly ZONAL_AUTOSHIFT_ACTIVE: "ZonalAutoshiftActive";
|
|
110
131
|
readonly ZONAL_SHIFT_ALREADY_EXISTS: "ZonalShiftAlreadyExists";
|
|
@@ -126,13 +147,9 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
126
147
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
127
148
|
);
|
|
128
149
|
}
|
|
129
|
-
export
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
readonly EXPIRED: "EXPIRED";
|
|
133
|
-
};
|
|
134
|
-
export type ZonalShiftStatus =
|
|
135
|
-
(typeof ZonalShiftStatus)[keyof typeof ZonalShiftStatus];
|
|
150
|
+
export interface CancelZonalShiftRequest {
|
|
151
|
+
zonalShiftId: string | undefined;
|
|
152
|
+
}
|
|
136
153
|
export interface ZonalShift {
|
|
137
154
|
zonalShiftId: string | undefined;
|
|
138
155
|
resourceIdentifier: string | undefined;
|
|
@@ -188,6 +205,7 @@ export interface GetManagedResourceRequest {
|
|
|
188
205
|
resourceIdentifier: string | undefined;
|
|
189
206
|
}
|
|
190
207
|
export declare const PracticeRunOutcome: {
|
|
208
|
+
readonly CAPACITY_CHECK_FAILED: "CAPACITY_CHECK_FAILED";
|
|
191
209
|
readonly FAILED: "FAILED";
|
|
192
210
|
readonly INTERRUPTED: "INTERRUPTED";
|
|
193
211
|
readonly PENDING: "PENDING";
|
|
@@ -287,6 +305,20 @@ export interface UpdateZonalShiftRequest {
|
|
|
287
305
|
comment?: string | undefined;
|
|
288
306
|
expiresIn?: string | undefined;
|
|
289
307
|
}
|
|
308
|
+
export interface StartPracticeRunRequest {
|
|
309
|
+
resourceIdentifier: string | undefined;
|
|
310
|
+
awayFrom: string | undefined;
|
|
311
|
+
comment: string | undefined;
|
|
312
|
+
}
|
|
313
|
+
export interface StartPracticeRunResponse {
|
|
314
|
+
zonalShiftId: string | undefined;
|
|
315
|
+
resourceIdentifier: string | undefined;
|
|
316
|
+
awayFrom: string | undefined;
|
|
317
|
+
expiryTime: Date | undefined;
|
|
318
|
+
startTime: Date | undefined;
|
|
319
|
+
status: ZonalShiftStatus | undefined;
|
|
320
|
+
comment: string | undefined;
|
|
321
|
+
}
|
|
290
322
|
export interface StartZonalShiftRequest {
|
|
291
323
|
resourceIdentifier: string | undefined;
|
|
292
324
|
awayFrom: string | undefined;
|
|
@@ -3,6 +3,10 @@ import {
|
|
|
3
3
|
HttpResponse as __HttpResponse,
|
|
4
4
|
} from "@smithy/protocol-http";
|
|
5
5
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
+
import {
|
|
7
|
+
CancelPracticeRunCommandInput,
|
|
8
|
+
CancelPracticeRunCommandOutput,
|
|
9
|
+
} from "../commands/CancelPracticeRunCommand";
|
|
6
10
|
import {
|
|
7
11
|
CancelZonalShiftCommandInput,
|
|
8
12
|
CancelZonalShiftCommandOutput,
|
|
@@ -35,6 +39,10 @@ import {
|
|
|
35
39
|
ListZonalShiftsCommandInput,
|
|
36
40
|
ListZonalShiftsCommandOutput,
|
|
37
41
|
} from "../commands/ListZonalShiftsCommand";
|
|
42
|
+
import {
|
|
43
|
+
StartPracticeRunCommandInput,
|
|
44
|
+
StartPracticeRunCommandOutput,
|
|
45
|
+
} from "../commands/StartPracticeRunCommand";
|
|
38
46
|
import {
|
|
39
47
|
StartZonalShiftCommandInput,
|
|
40
48
|
StartZonalShiftCommandOutput,
|
|
@@ -55,6 +63,10 @@ import {
|
|
|
55
63
|
UpdateZonalShiftCommandInput,
|
|
56
64
|
UpdateZonalShiftCommandOutput,
|
|
57
65
|
} from "../commands/UpdateZonalShiftCommand";
|
|
66
|
+
export declare const se_CancelPracticeRunCommand: (
|
|
67
|
+
input: CancelPracticeRunCommandInput,
|
|
68
|
+
context: __SerdeContext
|
|
69
|
+
) => Promise<__HttpRequest>;
|
|
58
70
|
export declare const se_CancelZonalShiftCommand: (
|
|
59
71
|
input: CancelZonalShiftCommandInput,
|
|
60
72
|
context: __SerdeContext
|
|
@@ -87,6 +99,10 @@ export declare const se_ListZonalShiftsCommand: (
|
|
|
87
99
|
input: ListZonalShiftsCommandInput,
|
|
88
100
|
context: __SerdeContext
|
|
89
101
|
) => Promise<__HttpRequest>;
|
|
102
|
+
export declare const se_StartPracticeRunCommand: (
|
|
103
|
+
input: StartPracticeRunCommandInput,
|
|
104
|
+
context: __SerdeContext
|
|
105
|
+
) => Promise<__HttpRequest>;
|
|
90
106
|
export declare const se_StartZonalShiftCommand: (
|
|
91
107
|
input: StartZonalShiftCommandInput,
|
|
92
108
|
context: __SerdeContext
|
|
@@ -107,6 +123,10 @@ export declare const se_UpdateZonalShiftCommand: (
|
|
|
107
123
|
input: UpdateZonalShiftCommandInput,
|
|
108
124
|
context: __SerdeContext
|
|
109
125
|
) => Promise<__HttpRequest>;
|
|
126
|
+
export declare const de_CancelPracticeRunCommand: (
|
|
127
|
+
output: __HttpResponse,
|
|
128
|
+
context: __SerdeContext
|
|
129
|
+
) => Promise<CancelPracticeRunCommandOutput>;
|
|
110
130
|
export declare const de_CancelZonalShiftCommand: (
|
|
111
131
|
output: __HttpResponse,
|
|
112
132
|
context: __SerdeContext
|
|
@@ -139,6 +159,10 @@ export declare const de_ListZonalShiftsCommand: (
|
|
|
139
159
|
output: __HttpResponse,
|
|
140
160
|
context: __SerdeContext
|
|
141
161
|
) => Promise<ListZonalShiftsCommandOutput>;
|
|
162
|
+
export declare const de_StartPracticeRunCommand: (
|
|
163
|
+
output: __HttpResponse,
|
|
164
|
+
context: __SerdeContext
|
|
165
|
+
) => Promise<StartPracticeRunCommandOutput>;
|
|
142
166
|
export declare const de_StartZonalShiftCommand: (
|
|
143
167
|
output: __HttpResponse,
|
|
144
168
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-arc-zonal-shift",
|
|
3
3
|
"description": "AWS SDK for JavaScript Arc Zonal Shift Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.844.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-arc-zonal-shift",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.844.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.844.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.840.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.840.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.840.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.844.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.840.0",
|
|
30
|
+
"@aws-sdk/types": "3.840.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.844.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.840.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.844.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.4",
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.0
|
|
35
|
+
"@smithy/core": "^3.7.0",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.1.0",
|
|
37
37
|
"@smithy/hash-node": "^4.0.4",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.4",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.4",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
41
|
-
"@smithy/middleware-retry": "^4.1.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.14",
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.15",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.8",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.4",
|
|
44
44
|
"@smithy/node-config-provider": "^4.1.3",
|
|
45
|
-
"@smithy/node-http-handler": "^4.0
|
|
45
|
+
"@smithy/node-http-handler": "^4.1.0",
|
|
46
46
|
"@smithy/protocol-http": "^5.1.2",
|
|
47
|
-
"@smithy/smithy-client": "^4.4.
|
|
47
|
+
"@smithy/smithy-client": "^4.4.6",
|
|
48
48
|
"@smithy/types": "^4.3.1",
|
|
49
49
|
"@smithy/url-parser": "^4.0.4",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.22",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.22",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.6",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.4",
|
|
57
57
|
"@smithy/util-retry": "^4.0.6",
|