@aws-sdk/client-arc-zonal-shift 3.934.0 → 3.936.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.
@@ -1,30 +1,14 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ARCZonalShiftServiceException as __BaseException } from "./ARCZonalShiftServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
- );
9
- }
10
- export declare const AppliedStatus: {
11
- readonly APPLIED: "APPLIED";
12
- readonly NOT_APPLIED: "NOT_APPLIED";
13
- };
14
- export type AppliedStatus = (typeof AppliedStatus)[keyof typeof AppliedStatus];
15
- export declare class InternalServerException extends __BaseException {
16
- readonly name: "InternalServerException";
17
- readonly $fault: "server";
18
- constructor(
19
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
20
- );
21
- }
22
- export declare const AutoshiftExecutionStatus: {
23
- readonly ACTIVE: "ACTIVE";
24
- readonly COMPLETED: "COMPLETED";
25
- };
26
- export type AutoshiftExecutionStatus =
27
- (typeof AutoshiftExecutionStatus)[keyof typeof AutoshiftExecutionStatus];
1
+ import {
2
+ AppliedStatus,
3
+ AutoshiftAppliedStatus,
4
+ AutoshiftExecutionStatus,
5
+ AutoshiftObserverNotificationStatus,
6
+ ControlConditionType,
7
+ PracticeRunOutcome,
8
+ ShiftType,
9
+ ZonalAutoshiftStatus,
10
+ ZonalShiftStatus,
11
+ } from "./enums";
28
12
  export interface ListAutoshiftsRequest {
29
13
  nextToken?: string | undefined;
30
14
  status?: AutoshiftExecutionStatus | undefined;
@@ -40,58 +24,12 @@ export interface ListAutoshiftsResponse {
40
24
  items?: AutoshiftSummary[] | undefined;
41
25
  nextToken?: string | undefined;
42
26
  }
43
- export declare class ThrottlingException extends __BaseException {
44
- readonly name: "ThrottlingException";
45
- readonly $fault: "client";
46
- constructor(
47
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
48
- );
49
- }
50
- export declare const ValidationExceptionReason: {
51
- readonly AUTOSHIFT_UPDATE_NOT_ALLOWED: "AutoshiftUpdateNotAllowed";
52
- readonly CONFLICTING_PRACTICE_WINDOWS: "InvalidPracticeWindows";
53
- readonly FIS_EXPERIMENT_UPDATE_NOT_ALLOWED: "FISExperimentUpdateNotAllowed";
54
- readonly INVALID_ALARM_CONDITION: "InvalidAlarmCondition";
55
- readonly INVALID_AZ: "InvalidAz";
56
- readonly INVALID_CONDITION_TYPE: "InvalidConditionType";
57
- readonly INVALID_EXPIRES_IN: "InvalidExpiresIn";
58
- readonly INVALID_PRACTICE_ALLOWED_WINDOW: "InvalidPracticeAllowedWindow";
59
- readonly INVALID_PRACTICE_BLOCKER: "InvalidPracticeBlocker";
60
- readonly INVALID_RESOURCE_IDENTIFIER: "InvalidResourceIdentifier";
61
- readonly INVALID_STATUS: "InvalidStatus";
62
- readonly INVALID_TOKEN: "InvalidToken";
63
- readonly MISSING_VALUE: "MissingValue";
64
- readonly UNSUPPORTED_AZ: "UnsupportedAz";
65
- readonly UNSUPPORTED_PRACTICE_CANCEL_SHIFT_TYPE: "UnsupportedPracticeCancelShiftType";
66
- };
67
- export type ValidationExceptionReason =
68
- (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
69
- export declare class ValidationException extends __BaseException {
70
- readonly name: "ValidationException";
71
- readonly $fault: "client";
72
- reason: ValidationExceptionReason | undefined;
73
- constructor(
74
- opts: __ExceptionOptionType<ValidationException, __BaseException>
75
- );
76
- }
77
- export declare const AutoshiftAppliedStatus: {
78
- readonly APPLIED: "APPLIED";
79
- readonly NOT_APPLIED: "NOT_APPLIED";
80
- };
81
- export type AutoshiftAppliedStatus =
82
- (typeof AutoshiftAppliedStatus)[keyof typeof AutoshiftAppliedStatus];
83
27
  export interface AutoshiftInResource {
84
28
  appliedStatus: AutoshiftAppliedStatus | undefined;
85
29
  awayFrom: string | undefined;
86
30
  startTime: Date | undefined;
87
31
  }
88
32
  export interface GetAutoshiftObserverNotificationStatusRequest {}
89
- export declare const AutoshiftObserverNotificationStatus: {
90
- readonly DISABLED: "DISABLED";
91
- readonly ENABLED: "ENABLED";
92
- };
93
- export type AutoshiftObserverNotificationStatus =
94
- (typeof AutoshiftObserverNotificationStatus)[keyof typeof AutoshiftObserverNotificationStatus];
95
33
  export interface GetAutoshiftObserverNotificationStatusResponse {
96
34
  status: AutoshiftObserverNotificationStatus | undefined;
97
35
  }
@@ -101,11 +39,6 @@ export interface UpdateAutoshiftObserverNotificationStatusRequest {
101
39
  export interface UpdateAutoshiftObserverNotificationStatusResponse {
102
40
  status: AutoshiftObserverNotificationStatus | undefined;
103
41
  }
104
- export declare const ControlConditionType: {
105
- readonly CLOUDWATCH: "CLOUDWATCH";
106
- };
107
- export type ControlConditionType =
108
- (typeof ControlConditionType)[keyof typeof ControlConditionType];
109
42
  export interface ControlCondition {
110
43
  type: ControlConditionType | undefined;
111
44
  alarmIdentifier: string | undefined;
@@ -113,13 +46,6 @@ export interface ControlCondition {
113
46
  export interface CancelPracticeRunRequest {
114
47
  zonalShiftId: string | undefined;
115
48
  }
116
- export declare const ZonalShiftStatus: {
117
- readonly ACTIVE: "ACTIVE";
118
- readonly CANCELED: "CANCELED";
119
- readonly EXPIRED: "EXPIRED";
120
- };
121
- export type ZonalShiftStatus =
122
- (typeof ZonalShiftStatus)[keyof typeof ZonalShiftStatus];
123
49
  export interface CancelPracticeRunResponse {
124
50
  zonalShiftId: string | undefined;
125
51
  resourceIdentifier: string | undefined;
@@ -129,36 +55,6 @@ export interface CancelPracticeRunResponse {
129
55
  status: ZonalShiftStatus | undefined;
130
56
  comment: string | undefined;
131
57
  }
132
- export declare const ConflictExceptionReason: {
133
- readonly AUTOSHIFT_ENABLED: "AutoShiftEnabled";
134
- readonly PRACTICE_BLOCKING_ALARMS_RED: "PracticeBlockingAlarmsRed";
135
- readonly PRACTICE_CONFIGURATION_ALREADY_EXISTS: "PracticeConfigurationAlreadyExists";
136
- readonly PRACTICE_CONFIGURATION_DOES_NOT_EXIST: "PracticeConfigurationDoesNotExist";
137
- readonly PRACTICE_IN_BLOCKED_DATES: "PracticeInBlockedDates";
138
- readonly PRACTICE_IN_BLOCKED_WINDOWS: "PracticeInBlockedWindows";
139
- readonly PRACTICE_OUTCOME_ALARMS_RED: "PracticeOutcomeAlarmsRed";
140
- readonly PRACTICE_OUTSIDE_ALLOWED_WINDOWS: "PracticeOutsideAllowedWindows";
141
- readonly SIMULTANEOUS_ZONAL_SHIFTS_CONFLICT: "SimultaneousZonalShiftsConflict";
142
- readonly ZONAL_AUTOSHIFT_ACTIVE: "ZonalAutoshiftActive";
143
- readonly ZONAL_SHIFT_ALREADY_EXISTS: "ZonalShiftAlreadyExists";
144
- readonly ZONAL_SHIFT_STATUS_NOT_ACTIVE: "ZonalShiftStatusNotActive";
145
- };
146
- export type ConflictExceptionReason =
147
- (typeof ConflictExceptionReason)[keyof typeof ConflictExceptionReason];
148
- export declare class ConflictException extends __BaseException {
149
- readonly name: "ConflictException";
150
- readonly $fault: "client";
151
- reason: ConflictExceptionReason | undefined;
152
- zonalShiftId?: string | undefined;
153
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
154
- }
155
- export declare class ResourceNotFoundException extends __BaseException {
156
- readonly name: "ResourceNotFoundException";
157
- readonly $fault: "client";
158
- constructor(
159
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
160
- );
161
- }
162
58
  export interface CancelZonalShiftRequest {
163
59
  zonalShiftId: string | undefined;
164
60
  }
@@ -186,12 +82,6 @@ export interface PracticeRunConfiguration {
186
82
  allowedWindows?: string[] | undefined;
187
83
  blockedDates?: string[] | undefined;
188
84
  }
189
- export declare const ZonalAutoshiftStatus: {
190
- readonly DISABLED: "DISABLED";
191
- readonly ENABLED: "ENABLED";
192
- };
193
- export type ZonalAutoshiftStatus =
194
- (typeof ZonalAutoshiftStatus)[keyof typeof ZonalAutoshiftStatus];
195
85
  export interface CreatePracticeRunConfigurationResponse {
196
86
  arn: string | undefined;
197
87
  name: string | undefined;
@@ -209,22 +99,6 @@ export interface DeletePracticeRunConfigurationResponse {
209
99
  export interface GetManagedResourceRequest {
210
100
  resourceIdentifier: string | undefined;
211
101
  }
212
- export declare const PracticeRunOutcome: {
213
- readonly CAPACITY_CHECK_FAILED: "CAPACITY_CHECK_FAILED";
214
- readonly FAILED: "FAILED";
215
- readonly INTERRUPTED: "INTERRUPTED";
216
- readonly PENDING: "PENDING";
217
- readonly SUCCEEDED: "SUCCEEDED";
218
- };
219
- export type PracticeRunOutcome =
220
- (typeof PracticeRunOutcome)[keyof typeof PracticeRunOutcome];
221
- export declare const ShiftType: {
222
- readonly FIS_EXPERIMENT: "FIS_EXPERIMENT";
223
- readonly PRACTICE_RUN: "PRACTICE_RUN";
224
- readonly ZONAL_AUTOSHIFT: "ZONAL_AUTOSHIFT";
225
- readonly ZONAL_SHIFT: "ZONAL_SHIFT";
226
- };
227
- export type ShiftType = (typeof ShiftType)[keyof typeof ShiftType];
228
102
  export interface ZonalShiftInResource {
229
103
  appliedStatus: AppliedStatus | undefined;
230
104
  zonalShiftId: string | undefined;
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.934.0",
4
+ "version": "3.936.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.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";