@aws-sdk/client-scheduler 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.
- package/dist-cjs/index.js +0 -46
- package/dist-es/index.js +1 -1
- package/dist-es/models/errors.js +85 -0
- package/dist-es/models/models_0.js +0 -85
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/errors.d.ts +80 -0
- package/dist-types/models/models_0.d.ts +0 -80
- package/dist-types/ts3.4/index.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +48 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -48
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -117,14 +117,6 @@ let SchedulerServiceException$1 = class SchedulerServiceException extends smithy
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
const ActionAfterCompletion = {
|
|
121
|
-
DELETE: "DELETE",
|
|
122
|
-
NONE: "NONE",
|
|
123
|
-
};
|
|
124
|
-
const AssignPublicIp = {
|
|
125
|
-
DISABLED: "DISABLED",
|
|
126
|
-
ENABLED: "ENABLED",
|
|
127
|
-
};
|
|
128
120
|
let InternalServerException$1 = class InternalServerException extends SchedulerServiceException$1 {
|
|
129
121
|
name = "InternalServerException";
|
|
130
122
|
$fault = "server";
|
|
@@ -195,31 +187,6 @@ let ConflictException$1 = class ConflictException extends SchedulerServiceExcept
|
|
|
195
187
|
this.Message = opts.Message;
|
|
196
188
|
}
|
|
197
189
|
};
|
|
198
|
-
const FlexibleTimeWindowMode = {
|
|
199
|
-
FLEXIBLE: "FLEXIBLE",
|
|
200
|
-
OFF: "OFF",
|
|
201
|
-
};
|
|
202
|
-
const ScheduleState = {
|
|
203
|
-
DISABLED: "DISABLED",
|
|
204
|
-
ENABLED: "ENABLED",
|
|
205
|
-
};
|
|
206
|
-
const LaunchType = {
|
|
207
|
-
EC2: "EC2",
|
|
208
|
-
EXTERNAL: "EXTERNAL",
|
|
209
|
-
FARGATE: "FARGATE",
|
|
210
|
-
};
|
|
211
|
-
const PlacementConstraintType = {
|
|
212
|
-
DISTINCT_INSTANCE: "distinctInstance",
|
|
213
|
-
MEMBER_OF: "memberOf",
|
|
214
|
-
};
|
|
215
|
-
const PlacementStrategyType = {
|
|
216
|
-
BINPACK: "binpack",
|
|
217
|
-
RANDOM: "random",
|
|
218
|
-
SPREAD: "spread",
|
|
219
|
-
};
|
|
220
|
-
const PropagateTags = {
|
|
221
|
-
TASK_DEFINITION: "TASK_DEFINITION",
|
|
222
|
-
};
|
|
223
190
|
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends SchedulerServiceException$1 {
|
|
224
191
|
name = "ServiceQuotaExceededException";
|
|
225
192
|
$fault = "client";
|
|
@@ -234,10 +201,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
|
|
|
234
201
|
this.Message = opts.Message;
|
|
235
202
|
}
|
|
236
203
|
};
|
|
237
|
-
const ScheduleGroupState = {
|
|
238
|
-
ACTIVE: "ACTIVE",
|
|
239
|
-
DELETING: "DELETING",
|
|
240
|
-
};
|
|
241
204
|
|
|
242
205
|
const _A = "Arn";
|
|
243
206
|
const _AAC = "ActionAfterCompletion";
|
|
@@ -1016,27 +979,18 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1016
979
|
enumerable: true,
|
|
1017
980
|
get: function () { return smithyClient.Client; }
|
|
1018
981
|
});
|
|
1019
|
-
exports.ActionAfterCompletion = ActionAfterCompletion;
|
|
1020
|
-
exports.AssignPublicIp = AssignPublicIp;
|
|
1021
982
|
exports.ConflictException = ConflictException$1;
|
|
1022
983
|
exports.CreateScheduleCommand = CreateScheduleCommand;
|
|
1023
984
|
exports.CreateScheduleGroupCommand = CreateScheduleGroupCommand;
|
|
1024
985
|
exports.DeleteScheduleCommand = DeleteScheduleCommand;
|
|
1025
986
|
exports.DeleteScheduleGroupCommand = DeleteScheduleGroupCommand;
|
|
1026
|
-
exports.FlexibleTimeWindowMode = FlexibleTimeWindowMode;
|
|
1027
987
|
exports.GetScheduleCommand = GetScheduleCommand;
|
|
1028
988
|
exports.GetScheduleGroupCommand = GetScheduleGroupCommand;
|
|
1029
989
|
exports.InternalServerException = InternalServerException$1;
|
|
1030
|
-
exports.LaunchType = LaunchType;
|
|
1031
990
|
exports.ListScheduleGroupsCommand = ListScheduleGroupsCommand;
|
|
1032
991
|
exports.ListSchedulesCommand = ListSchedulesCommand;
|
|
1033
992
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1034
|
-
exports.PlacementConstraintType = PlacementConstraintType;
|
|
1035
|
-
exports.PlacementStrategyType = PlacementStrategyType;
|
|
1036
|
-
exports.PropagateTags = PropagateTags;
|
|
1037
993
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1038
|
-
exports.ScheduleGroupState = ScheduleGroupState;
|
|
1039
|
-
exports.ScheduleState = ScheduleState;
|
|
1040
994
|
exports.Scheduler = Scheduler;
|
|
1041
995
|
exports.SchedulerClient = SchedulerClient;
|
|
1042
996
|
exports.SchedulerServiceException = SchedulerServiceException$1;
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,5 @@ export * from "./SchedulerClient";
|
|
|
2
2
|
export * from "./Scheduler";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/errors";
|
|
6
6
|
export { SchedulerServiceException } from "./models/SchedulerServiceException";
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { SchedulerServiceException as __BaseException } from "./SchedulerServiceException";
|
|
2
|
+
export class InternalServerException extends __BaseException {
|
|
3
|
+
name = "InternalServerException";
|
|
4
|
+
$fault = "server";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "InternalServerException",
|
|
9
|
+
$fault: "server",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
17
|
+
name = "ResourceNotFoundException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
Message;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "ResourceNotFoundException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class ThrottlingException extends __BaseException {
|
|
31
|
+
name = "ThrottlingException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
Message;
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "ThrottlingException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
41
|
+
this.Message = opts.Message;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export class ValidationException extends __BaseException {
|
|
45
|
+
name = "ValidationException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
Message;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "ValidationException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
55
|
+
this.Message = opts.Message;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export class ConflictException extends __BaseException {
|
|
59
|
+
name = "ConflictException";
|
|
60
|
+
$fault = "client";
|
|
61
|
+
Message;
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "ConflictException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
69
|
+
this.Message = opts.Message;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
73
|
+
name = "ServiceQuotaExceededException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
Message;
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "ServiceQuotaExceededException",
|
|
79
|
+
$fault: "client",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
83
|
+
this.Message = opts.Message;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SchedulerServiceException as __BaseException } from "./SchedulerServiceException";
|
|
2
1
|
export const ActionAfterCompletion = {
|
|
3
2
|
DELETE: "DELETE",
|
|
4
3
|
NONE: "NONE",
|
|
@@ -7,76 +6,6 @@ export const AssignPublicIp = {
|
|
|
7
6
|
DISABLED: "DISABLED",
|
|
8
7
|
ENABLED: "ENABLED",
|
|
9
8
|
};
|
|
10
|
-
export class InternalServerException extends __BaseException {
|
|
11
|
-
name = "InternalServerException";
|
|
12
|
-
$fault = "server";
|
|
13
|
-
Message;
|
|
14
|
-
constructor(opts) {
|
|
15
|
-
super({
|
|
16
|
-
name: "InternalServerException",
|
|
17
|
-
$fault: "server",
|
|
18
|
-
...opts,
|
|
19
|
-
});
|
|
20
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
21
|
-
this.Message = opts.Message;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
25
|
-
name = "ResourceNotFoundException";
|
|
26
|
-
$fault = "client";
|
|
27
|
-
Message;
|
|
28
|
-
constructor(opts) {
|
|
29
|
-
super({
|
|
30
|
-
name: "ResourceNotFoundException",
|
|
31
|
-
$fault: "client",
|
|
32
|
-
...opts,
|
|
33
|
-
});
|
|
34
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
35
|
-
this.Message = opts.Message;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
export class ThrottlingException extends __BaseException {
|
|
39
|
-
name = "ThrottlingException";
|
|
40
|
-
$fault = "client";
|
|
41
|
-
Message;
|
|
42
|
-
constructor(opts) {
|
|
43
|
-
super({
|
|
44
|
-
name: "ThrottlingException",
|
|
45
|
-
$fault: "client",
|
|
46
|
-
...opts,
|
|
47
|
-
});
|
|
48
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
49
|
-
this.Message = opts.Message;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
export class ValidationException extends __BaseException {
|
|
53
|
-
name = "ValidationException";
|
|
54
|
-
$fault = "client";
|
|
55
|
-
Message;
|
|
56
|
-
constructor(opts) {
|
|
57
|
-
super({
|
|
58
|
-
name: "ValidationException",
|
|
59
|
-
$fault: "client",
|
|
60
|
-
...opts,
|
|
61
|
-
});
|
|
62
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
63
|
-
this.Message = opts.Message;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
export class ConflictException extends __BaseException {
|
|
67
|
-
name = "ConflictException";
|
|
68
|
-
$fault = "client";
|
|
69
|
-
Message;
|
|
70
|
-
constructor(opts) {
|
|
71
|
-
super({
|
|
72
|
-
name: "ConflictException",
|
|
73
|
-
$fault: "client",
|
|
74
|
-
...opts,
|
|
75
|
-
});
|
|
76
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
77
|
-
this.Message = opts.Message;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
9
|
export const FlexibleTimeWindowMode = {
|
|
81
10
|
FLEXIBLE: "FLEXIBLE",
|
|
82
11
|
OFF: "OFF",
|
|
@@ -102,20 +31,6 @@ export const PlacementStrategyType = {
|
|
|
102
31
|
export const PropagateTags = {
|
|
103
32
|
TASK_DEFINITION: "TASK_DEFINITION",
|
|
104
33
|
};
|
|
105
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
106
|
-
name = "ServiceQuotaExceededException";
|
|
107
|
-
$fault = "client";
|
|
108
|
-
Message;
|
|
109
|
-
constructor(opts) {
|
|
110
|
-
super({
|
|
111
|
-
name: "ServiceQuotaExceededException",
|
|
112
|
-
$fault: "client",
|
|
113
|
-
...opts,
|
|
114
|
-
});
|
|
115
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
116
|
-
this.Message = opts.Message;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
34
|
export const ScheduleGroupState = {
|
|
120
35
|
ACTIVE: "ACTIVE",
|
|
121
36
|
DELETING: "DELETING",
|
|
@@ -136,7 +136,7 @@ const _t = "type";
|
|
|
136
136
|
const _w = "weight";
|
|
137
137
|
const n0 = "com.amazonaws.scheduler";
|
|
138
138
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
139
|
-
import { ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
139
|
+
import { ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
140
140
|
import { SchedulerServiceException as __SchedulerServiceException } from "../models/SchedulerServiceException";
|
|
141
141
|
export var AwsVpcConfiguration = [3, n0, _AVC, 0, [_S, _SG, _API], [64 | 0, 64 | 0, 0]];
|
|
142
142
|
export var CapacityProviderStrategyItem = [3, n0, _CPSI, 0, [_cP, _w, _b], [0, 1, 1]];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -14,5 +14,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
14
14
|
export type { SchedulerExtensionConfiguration } from "./extensionConfiguration";
|
|
15
15
|
export * from "./commands";
|
|
16
16
|
export * from "./pagination";
|
|
17
|
-
export * from "./models";
|
|
17
|
+
export * from "./models/errors";
|
|
18
|
+
export type * from "./models/models_0";
|
|
18
19
|
export { SchedulerServiceException } from "./models/SchedulerServiceException";
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SchedulerServiceException as __BaseException } from "./SchedulerServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Unexpected error encountered while processing the request.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class InternalServerException extends __BaseException {
|
|
8
|
+
readonly name: "InternalServerException";
|
|
9
|
+
readonly $fault: "server";
|
|
10
|
+
Message: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>The request references a resource which does not exist.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
21
|
+
readonly name: "ResourceNotFoundException";
|
|
22
|
+
readonly $fault: "client";
|
|
23
|
+
Message: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* <p>The request was denied due to request throttling.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export declare class ThrottlingException extends __BaseException {
|
|
34
|
+
readonly name: "ThrottlingException";
|
|
35
|
+
readonly $fault: "client";
|
|
36
|
+
Message: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export declare class ValidationException extends __BaseException {
|
|
47
|
+
readonly name: "ValidationException";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
Message: string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* <p>Updating or deleting the resource can cause an inconsistent state.</p>
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
export declare class ConflictException extends __BaseException {
|
|
60
|
+
readonly name: "ConflictException";
|
|
61
|
+
readonly $fault: "client";
|
|
62
|
+
Message: string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* <p>The request exceeds a service quota.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
73
|
+
readonly name: "ServiceQuotaExceededException";
|
|
74
|
+
readonly $fault: "client";
|
|
75
|
+
Message: string | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
80
|
+
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { SchedulerServiceException as __BaseException } from "./SchedulerServiceException";
|
|
3
1
|
/**
|
|
4
2
|
* @public
|
|
5
3
|
* @enum
|
|
@@ -24,19 +22,6 @@ export declare const AssignPublicIp: {
|
|
|
24
22
|
* @public
|
|
25
23
|
*/
|
|
26
24
|
export type AssignPublicIp = (typeof AssignPublicIp)[keyof typeof AssignPublicIp];
|
|
27
|
-
/**
|
|
28
|
-
* <p>Unexpected error encountered while processing the request.</p>
|
|
29
|
-
* @public
|
|
30
|
-
*/
|
|
31
|
-
export declare class InternalServerException extends __BaseException {
|
|
32
|
-
readonly name: "InternalServerException";
|
|
33
|
-
readonly $fault: "server";
|
|
34
|
-
Message: string | undefined;
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
39
|
-
}
|
|
40
25
|
/**
|
|
41
26
|
* @public
|
|
42
27
|
*/
|
|
@@ -73,58 +58,6 @@ export interface ListTagsForResourceOutput {
|
|
|
73
58
|
*/
|
|
74
59
|
Tags?: Tag[] | undefined;
|
|
75
60
|
}
|
|
76
|
-
/**
|
|
77
|
-
* <p>The request references a resource which does not exist.</p>
|
|
78
|
-
* @public
|
|
79
|
-
*/
|
|
80
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
81
|
-
readonly name: "ResourceNotFoundException";
|
|
82
|
-
readonly $fault: "client";
|
|
83
|
-
Message: string | undefined;
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* <p>The request was denied due to request throttling.</p>
|
|
91
|
-
* @public
|
|
92
|
-
*/
|
|
93
|
-
export declare class ThrottlingException extends __BaseException {
|
|
94
|
-
readonly name: "ThrottlingException";
|
|
95
|
-
readonly $fault: "client";
|
|
96
|
-
Message: string | undefined;
|
|
97
|
-
/**
|
|
98
|
-
* @internal
|
|
99
|
-
*/
|
|
100
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
104
|
-
* @public
|
|
105
|
-
*/
|
|
106
|
-
export declare class ValidationException extends __BaseException {
|
|
107
|
-
readonly name: "ValidationException";
|
|
108
|
-
readonly $fault: "client";
|
|
109
|
-
Message: string | undefined;
|
|
110
|
-
/**
|
|
111
|
-
* @internal
|
|
112
|
-
*/
|
|
113
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* <p>Updating or deleting the resource can cause an inconsistent state.</p>
|
|
117
|
-
* @public
|
|
118
|
-
*/
|
|
119
|
-
export declare class ConflictException extends __BaseException {
|
|
120
|
-
readonly name: "ConflictException";
|
|
121
|
-
readonly $fault: "client";
|
|
122
|
-
Message: string | undefined;
|
|
123
|
-
/**
|
|
124
|
-
* @internal
|
|
125
|
-
*/
|
|
126
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
127
|
-
}
|
|
128
61
|
/**
|
|
129
62
|
* @public
|
|
130
63
|
* @enum
|
|
@@ -694,19 +627,6 @@ export interface CreateScheduleOutput {
|
|
|
694
627
|
*/
|
|
695
628
|
ScheduleArn: string | undefined;
|
|
696
629
|
}
|
|
697
|
-
/**
|
|
698
|
-
* <p>The request exceeds a service quota.</p>
|
|
699
|
-
* @public
|
|
700
|
-
*/
|
|
701
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
702
|
-
readonly name: "ServiceQuotaExceededException";
|
|
703
|
-
readonly $fault: "client";
|
|
704
|
-
Message: string | undefined;
|
|
705
|
-
/**
|
|
706
|
-
* @internal
|
|
707
|
-
*/
|
|
708
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
709
|
-
}
|
|
710
630
|
/**
|
|
711
631
|
* @public
|
|
712
632
|
*/
|
|
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { SchedulerExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
9
10
|
export { SchedulerServiceException } from "./models/SchedulerServiceException";
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SchedulerServiceException as __BaseException } from "./SchedulerServiceException";
|
|
3
|
+
export declare class InternalServerException extends __BaseException {
|
|
4
|
+
readonly name: "InternalServerException";
|
|
5
|
+
readonly $fault: "server";
|
|
6
|
+
Message: string | undefined;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
12
|
+
readonly name: "ResourceNotFoundException";
|
|
13
|
+
readonly $fault: "client";
|
|
14
|
+
Message: string | undefined;
|
|
15
|
+
constructor(
|
|
16
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
export declare class ThrottlingException extends __BaseException {
|
|
20
|
+
readonly name: "ThrottlingException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
Message: string | undefined;
|
|
23
|
+
constructor(
|
|
24
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
export declare class ValidationException extends __BaseException {
|
|
28
|
+
readonly name: "ValidationException";
|
|
29
|
+
readonly $fault: "client";
|
|
30
|
+
Message: string | undefined;
|
|
31
|
+
constructor(
|
|
32
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
export declare class ConflictException extends __BaseException {
|
|
36
|
+
readonly name: "ConflictException";
|
|
37
|
+
readonly $fault: "client";
|
|
38
|
+
Message: string | undefined;
|
|
39
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
40
|
+
}
|
|
41
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
42
|
+
readonly name: "ServiceQuotaExceededException";
|
|
43
|
+
readonly $fault: "client";
|
|
44
|
+
Message: string | undefined;
|
|
45
|
+
constructor(
|
|
46
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
47
|
+
);
|
|
48
|
+
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { SchedulerServiceException as __BaseException } from "./SchedulerServiceException";
|
|
3
1
|
export declare const ActionAfterCompletion: {
|
|
4
2
|
readonly DELETE: "DELETE";
|
|
5
3
|
readonly NONE: "NONE";
|
|
@@ -12,14 +10,6 @@ export declare const AssignPublicIp: {
|
|
|
12
10
|
};
|
|
13
11
|
export type AssignPublicIp =
|
|
14
12
|
(typeof AssignPublicIp)[keyof typeof AssignPublicIp];
|
|
15
|
-
export declare class InternalServerException extends __BaseException {
|
|
16
|
-
readonly name: "InternalServerException";
|
|
17
|
-
readonly $fault: "server";
|
|
18
|
-
Message: string | undefined;
|
|
19
|
-
constructor(
|
|
20
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
13
|
export interface ListTagsForResourceInput {
|
|
24
14
|
ResourceArn: string | undefined;
|
|
25
15
|
}
|
|
@@ -30,36 +20,6 @@ export interface Tag {
|
|
|
30
20
|
export interface ListTagsForResourceOutput {
|
|
31
21
|
Tags?: Tag[] | undefined;
|
|
32
22
|
}
|
|
33
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
34
|
-
readonly name: "ResourceNotFoundException";
|
|
35
|
-
readonly $fault: "client";
|
|
36
|
-
Message: string | undefined;
|
|
37
|
-
constructor(
|
|
38
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
export declare class ThrottlingException extends __BaseException {
|
|
42
|
-
readonly name: "ThrottlingException";
|
|
43
|
-
readonly $fault: "client";
|
|
44
|
-
Message: string | undefined;
|
|
45
|
-
constructor(
|
|
46
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
export declare class ValidationException extends __BaseException {
|
|
50
|
-
readonly name: "ValidationException";
|
|
51
|
-
readonly $fault: "client";
|
|
52
|
-
Message: string | undefined;
|
|
53
|
-
constructor(
|
|
54
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
55
|
-
);
|
|
56
|
-
}
|
|
57
|
-
export declare class ConflictException extends __BaseException {
|
|
58
|
-
readonly name: "ConflictException";
|
|
59
|
-
readonly $fault: "client";
|
|
60
|
-
Message: string | undefined;
|
|
61
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
62
|
-
}
|
|
63
23
|
export declare const FlexibleTimeWindowMode: {
|
|
64
24
|
readonly FLEXIBLE: "FLEXIBLE";
|
|
65
25
|
readonly OFF: "OFF";
|
|
@@ -189,14 +149,6 @@ export interface CreateScheduleInput {
|
|
|
189
149
|
export interface CreateScheduleOutput {
|
|
190
150
|
ScheduleArn: string | undefined;
|
|
191
151
|
}
|
|
192
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
193
|
-
readonly name: "ServiceQuotaExceededException";
|
|
194
|
-
readonly $fault: "client";
|
|
195
|
-
Message: string | undefined;
|
|
196
|
-
constructor(
|
|
197
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
198
|
-
);
|
|
199
|
-
}
|
|
200
152
|
export interface DeleteScheduleInput {
|
|
201
153
|
Name: string | undefined;
|
|
202
154
|
GroupName?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-scheduler",
|
|
3
3
|
"description": "AWS SDK for JavaScript Scheduler Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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-scheduler",
|
|
@@ -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.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.
|
|
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.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
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.
|
|
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.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
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",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|