@aws-sdk/client-scheduler 3.935.0 → 3.939.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 +47 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +37 -0
- package/dist-es/models/models_0.js +1 -37
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +109 -0
- package/dist-types/models/models_0.d.ts +1 -109
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +52 -0
- package/dist-types/ts3.4/models/models_0.d.ts +11 -52
- package/package.json +12 -12
package/dist-cjs/index.js
CHANGED
|
@@ -971,6 +971,44 @@ const paginateListScheduleGroups = core.createPaginator(SchedulerClient, ListSch
|
|
|
971
971
|
|
|
972
972
|
const paginateListSchedules = core.createPaginator(SchedulerClient, ListSchedulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
973
973
|
|
|
974
|
+
const ActionAfterCompletion = {
|
|
975
|
+
DELETE: "DELETE",
|
|
976
|
+
NONE: "NONE",
|
|
977
|
+
};
|
|
978
|
+
const AssignPublicIp = {
|
|
979
|
+
DISABLED: "DISABLED",
|
|
980
|
+
ENABLED: "ENABLED",
|
|
981
|
+
};
|
|
982
|
+
const FlexibleTimeWindowMode = {
|
|
983
|
+
FLEXIBLE: "FLEXIBLE",
|
|
984
|
+
OFF: "OFF",
|
|
985
|
+
};
|
|
986
|
+
const ScheduleState = {
|
|
987
|
+
DISABLED: "DISABLED",
|
|
988
|
+
ENABLED: "ENABLED",
|
|
989
|
+
};
|
|
990
|
+
const LaunchType = {
|
|
991
|
+
EC2: "EC2",
|
|
992
|
+
EXTERNAL: "EXTERNAL",
|
|
993
|
+
FARGATE: "FARGATE",
|
|
994
|
+
};
|
|
995
|
+
const PlacementConstraintType = {
|
|
996
|
+
DISTINCT_INSTANCE: "distinctInstance",
|
|
997
|
+
MEMBER_OF: "memberOf",
|
|
998
|
+
};
|
|
999
|
+
const PlacementStrategyType = {
|
|
1000
|
+
BINPACK: "binpack",
|
|
1001
|
+
RANDOM: "random",
|
|
1002
|
+
SPREAD: "spread",
|
|
1003
|
+
};
|
|
1004
|
+
const PropagateTags = {
|
|
1005
|
+
TASK_DEFINITION: "TASK_DEFINITION",
|
|
1006
|
+
};
|
|
1007
|
+
const ScheduleGroupState = {
|
|
1008
|
+
ACTIVE: "ACTIVE",
|
|
1009
|
+
DELETING: "DELETING",
|
|
1010
|
+
};
|
|
1011
|
+
|
|
974
1012
|
Object.defineProperty(exports, "$Command", {
|
|
975
1013
|
enumerable: true,
|
|
976
1014
|
get: function () { return smithyClient.Command; }
|
|
@@ -979,18 +1017,27 @@ Object.defineProperty(exports, "__Client", {
|
|
|
979
1017
|
enumerable: true,
|
|
980
1018
|
get: function () { return smithyClient.Client; }
|
|
981
1019
|
});
|
|
1020
|
+
exports.ActionAfterCompletion = ActionAfterCompletion;
|
|
1021
|
+
exports.AssignPublicIp = AssignPublicIp;
|
|
982
1022
|
exports.ConflictException = ConflictException$1;
|
|
983
1023
|
exports.CreateScheduleCommand = CreateScheduleCommand;
|
|
984
1024
|
exports.CreateScheduleGroupCommand = CreateScheduleGroupCommand;
|
|
985
1025
|
exports.DeleteScheduleCommand = DeleteScheduleCommand;
|
|
986
1026
|
exports.DeleteScheduleGroupCommand = DeleteScheduleGroupCommand;
|
|
1027
|
+
exports.FlexibleTimeWindowMode = FlexibleTimeWindowMode;
|
|
987
1028
|
exports.GetScheduleCommand = GetScheduleCommand;
|
|
988
1029
|
exports.GetScheduleGroupCommand = GetScheduleGroupCommand;
|
|
989
1030
|
exports.InternalServerException = InternalServerException$1;
|
|
1031
|
+
exports.LaunchType = LaunchType;
|
|
990
1032
|
exports.ListScheduleGroupsCommand = ListScheduleGroupsCommand;
|
|
991
1033
|
exports.ListSchedulesCommand = ListSchedulesCommand;
|
|
992
1034
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1035
|
+
exports.PlacementConstraintType = PlacementConstraintType;
|
|
1036
|
+
exports.PlacementStrategyType = PlacementStrategyType;
|
|
1037
|
+
exports.PropagateTags = PropagateTags;
|
|
993
1038
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1039
|
+
exports.ScheduleGroupState = ScheduleGroupState;
|
|
1040
|
+
exports.ScheduleState = ScheduleState;
|
|
994
1041
|
exports.Scheduler = Scheduler;
|
|
995
1042
|
exports.SchedulerClient = SchedulerClient;
|
|
996
1043
|
exports.SchedulerServiceException = SchedulerServiceException$1;
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./SchedulerClient";
|
|
|
2
2
|
export * from "./Scheduler";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
+
export * from "./models/enums";
|
|
5
6
|
export * from "./models/errors";
|
|
6
7
|
export { SchedulerServiceException } from "./models/SchedulerServiceException";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export const ActionAfterCompletion = {
|
|
2
|
+
DELETE: "DELETE",
|
|
3
|
+
NONE: "NONE",
|
|
4
|
+
};
|
|
5
|
+
export const AssignPublicIp = {
|
|
6
|
+
DISABLED: "DISABLED",
|
|
7
|
+
ENABLED: "ENABLED",
|
|
8
|
+
};
|
|
9
|
+
export const FlexibleTimeWindowMode = {
|
|
10
|
+
FLEXIBLE: "FLEXIBLE",
|
|
11
|
+
OFF: "OFF",
|
|
12
|
+
};
|
|
13
|
+
export const ScheduleState = {
|
|
14
|
+
DISABLED: "DISABLED",
|
|
15
|
+
ENABLED: "ENABLED",
|
|
16
|
+
};
|
|
17
|
+
export const LaunchType = {
|
|
18
|
+
EC2: "EC2",
|
|
19
|
+
EXTERNAL: "EXTERNAL",
|
|
20
|
+
FARGATE: "FARGATE",
|
|
21
|
+
};
|
|
22
|
+
export const PlacementConstraintType = {
|
|
23
|
+
DISTINCT_INSTANCE: "distinctInstance",
|
|
24
|
+
MEMBER_OF: "memberOf",
|
|
25
|
+
};
|
|
26
|
+
export const PlacementStrategyType = {
|
|
27
|
+
BINPACK: "binpack",
|
|
28
|
+
RANDOM: "random",
|
|
29
|
+
SPREAD: "spread",
|
|
30
|
+
};
|
|
31
|
+
export const PropagateTags = {
|
|
32
|
+
TASK_DEFINITION: "TASK_DEFINITION",
|
|
33
|
+
};
|
|
34
|
+
export const ScheduleGroupState = {
|
|
35
|
+
ACTIVE: "ACTIVE",
|
|
36
|
+
DELETING: "DELETING",
|
|
37
|
+
};
|
|
@@ -1,37 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
DELETE: "DELETE",
|
|
3
|
-
NONE: "NONE",
|
|
4
|
-
};
|
|
5
|
-
export const AssignPublicIp = {
|
|
6
|
-
DISABLED: "DISABLED",
|
|
7
|
-
ENABLED: "ENABLED",
|
|
8
|
-
};
|
|
9
|
-
export const FlexibleTimeWindowMode = {
|
|
10
|
-
FLEXIBLE: "FLEXIBLE",
|
|
11
|
-
OFF: "OFF",
|
|
12
|
-
};
|
|
13
|
-
export const ScheduleState = {
|
|
14
|
-
DISABLED: "DISABLED",
|
|
15
|
-
ENABLED: "ENABLED",
|
|
16
|
-
};
|
|
17
|
-
export const LaunchType = {
|
|
18
|
-
EC2: "EC2",
|
|
19
|
-
EXTERNAL: "EXTERNAL",
|
|
20
|
-
FARGATE: "FARGATE",
|
|
21
|
-
};
|
|
22
|
-
export const PlacementConstraintType = {
|
|
23
|
-
DISTINCT_INSTANCE: "distinctInstance",
|
|
24
|
-
MEMBER_OF: "memberOf",
|
|
25
|
-
};
|
|
26
|
-
export const PlacementStrategyType = {
|
|
27
|
-
BINPACK: "binpack",
|
|
28
|
-
RANDOM: "random",
|
|
29
|
-
SPREAD: "spread",
|
|
30
|
-
};
|
|
31
|
-
export const PropagateTags = {
|
|
32
|
-
TASK_DEFINITION: "TASK_DEFINITION",
|
|
33
|
-
};
|
|
34
|
-
export const ScheduleGroupState = {
|
|
35
|
-
ACTIVE: "ACTIVE",
|
|
36
|
-
DELETING: "DELETING",
|
|
37
|
-
};
|
|
1
|
+
export {};
|
package/dist-types/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ 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/enums";
|
|
17
18
|
export * from "./models/errors";
|
|
18
19
|
export type * from "./models/models_0";
|
|
19
20
|
export { SchedulerServiceException } from "./models/SchedulerServiceException";
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ActionAfterCompletion: {
|
|
6
|
+
readonly DELETE: "DELETE";
|
|
7
|
+
readonly NONE: "NONE";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type ActionAfterCompletion = (typeof ActionAfterCompletion)[keyof typeof ActionAfterCompletion];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const AssignPublicIp: {
|
|
18
|
+
readonly DISABLED: "DISABLED";
|
|
19
|
+
readonly ENABLED: "ENABLED";
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export type AssignPublicIp = (typeof AssignPublicIp)[keyof typeof AssignPublicIp];
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
* @enum
|
|
28
|
+
*/
|
|
29
|
+
export declare const FlexibleTimeWindowMode: {
|
|
30
|
+
readonly FLEXIBLE: "FLEXIBLE";
|
|
31
|
+
readonly OFF: "OFF";
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export type FlexibleTimeWindowMode = (typeof FlexibleTimeWindowMode)[keyof typeof FlexibleTimeWindowMode];
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
* @enum
|
|
40
|
+
*/
|
|
41
|
+
export declare const ScheduleState: {
|
|
42
|
+
readonly DISABLED: "DISABLED";
|
|
43
|
+
readonly ENABLED: "ENABLED";
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
export type ScheduleState = (typeof ScheduleState)[keyof typeof ScheduleState];
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
* @enum
|
|
52
|
+
*/
|
|
53
|
+
export declare const LaunchType: {
|
|
54
|
+
readonly EC2: "EC2";
|
|
55
|
+
readonly EXTERNAL: "EXTERNAL";
|
|
56
|
+
readonly FARGATE: "FARGATE";
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export type LaunchType = (typeof LaunchType)[keyof typeof LaunchType];
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
* @enum
|
|
65
|
+
*/
|
|
66
|
+
export declare const PlacementConstraintType: {
|
|
67
|
+
readonly DISTINCT_INSTANCE: "distinctInstance";
|
|
68
|
+
readonly MEMBER_OF: "memberOf";
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export type PlacementConstraintType = (typeof PlacementConstraintType)[keyof typeof PlacementConstraintType];
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
* @enum
|
|
77
|
+
*/
|
|
78
|
+
export declare const PlacementStrategyType: {
|
|
79
|
+
readonly BINPACK: "binpack";
|
|
80
|
+
readonly RANDOM: "random";
|
|
81
|
+
readonly SPREAD: "spread";
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export type PlacementStrategyType = (typeof PlacementStrategyType)[keyof typeof PlacementStrategyType];
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
* @enum
|
|
90
|
+
*/
|
|
91
|
+
export declare const PropagateTags: {
|
|
92
|
+
readonly TASK_DEFINITION: "TASK_DEFINITION";
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export type PropagateTags = (typeof PropagateTags)[keyof typeof PropagateTags];
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
* @enum
|
|
101
|
+
*/
|
|
102
|
+
export declare const ScheduleGroupState: {
|
|
103
|
+
readonly ACTIVE: "ACTIVE";
|
|
104
|
+
readonly DELETING: "DELETING";
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export type ScheduleGroupState = (typeof ScheduleGroupState)[keyof typeof ScheduleGroupState];
|
|
@@ -1,27 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* @public
|
|
3
|
-
* @enum
|
|
4
|
-
*/
|
|
5
|
-
export declare const ActionAfterCompletion: {
|
|
6
|
-
readonly DELETE: "DELETE";
|
|
7
|
-
readonly NONE: "NONE";
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* @public
|
|
11
|
-
*/
|
|
12
|
-
export type ActionAfterCompletion = (typeof ActionAfterCompletion)[keyof typeof ActionAfterCompletion];
|
|
13
|
-
/**
|
|
14
|
-
* @public
|
|
15
|
-
* @enum
|
|
16
|
-
*/
|
|
17
|
-
export declare const AssignPublicIp: {
|
|
18
|
-
readonly DISABLED: "DISABLED";
|
|
19
|
-
readonly ENABLED: "ENABLED";
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* @public
|
|
23
|
-
*/
|
|
24
|
-
export type AssignPublicIp = (typeof AssignPublicIp)[keyof typeof AssignPublicIp];
|
|
1
|
+
import { ActionAfterCompletion, AssignPublicIp, FlexibleTimeWindowMode, LaunchType, PlacementConstraintType, PlacementStrategyType, PropagateTags, ScheduleGroupState, ScheduleState } from "./enums";
|
|
25
2
|
/**
|
|
26
3
|
* @public
|
|
27
4
|
*/
|
|
@@ -58,18 +35,6 @@ export interface ListTagsForResourceOutput {
|
|
|
58
35
|
*/
|
|
59
36
|
Tags?: Tag[] | undefined;
|
|
60
37
|
}
|
|
61
|
-
/**
|
|
62
|
-
* @public
|
|
63
|
-
* @enum
|
|
64
|
-
*/
|
|
65
|
-
export declare const FlexibleTimeWindowMode: {
|
|
66
|
-
readonly FLEXIBLE: "FLEXIBLE";
|
|
67
|
-
readonly OFF: "OFF";
|
|
68
|
-
};
|
|
69
|
-
/**
|
|
70
|
-
* @public
|
|
71
|
-
*/
|
|
72
|
-
export type FlexibleTimeWindowMode = (typeof FlexibleTimeWindowMode)[keyof typeof FlexibleTimeWindowMode];
|
|
73
38
|
/**
|
|
74
39
|
* <p>Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.</p>
|
|
75
40
|
* @public
|
|
@@ -86,18 +51,6 @@ export interface FlexibleTimeWindow {
|
|
|
86
51
|
*/
|
|
87
52
|
MaximumWindowInMinutes?: number | undefined;
|
|
88
53
|
}
|
|
89
|
-
/**
|
|
90
|
-
* @public
|
|
91
|
-
* @enum
|
|
92
|
-
*/
|
|
93
|
-
export declare const ScheduleState: {
|
|
94
|
-
readonly DISABLED: "DISABLED";
|
|
95
|
-
readonly ENABLED: "ENABLED";
|
|
96
|
-
};
|
|
97
|
-
/**
|
|
98
|
-
* @public
|
|
99
|
-
*/
|
|
100
|
-
export type ScheduleState = (typeof ScheduleState)[keyof typeof ScheduleState];
|
|
101
54
|
/**
|
|
102
55
|
* <p>An object that contains information about an Amazon SQS queue that EventBridge Scheduler uses as a dead-letter queue for your schedule. If specified, EventBridge Scheduler delivers failed events that could not be successfully delivered to a target to the queue.</p>
|
|
103
56
|
* @public
|
|
@@ -132,19 +85,6 @@ export interface CapacityProviderStrategyItem {
|
|
|
132
85
|
*/
|
|
133
86
|
base?: number | undefined;
|
|
134
87
|
}
|
|
135
|
-
/**
|
|
136
|
-
* @public
|
|
137
|
-
* @enum
|
|
138
|
-
*/
|
|
139
|
-
export declare const LaunchType: {
|
|
140
|
-
readonly EC2: "EC2";
|
|
141
|
-
readonly EXTERNAL: "EXTERNAL";
|
|
142
|
-
readonly FARGATE: "FARGATE";
|
|
143
|
-
};
|
|
144
|
-
/**
|
|
145
|
-
* @public
|
|
146
|
-
*/
|
|
147
|
-
export type LaunchType = (typeof LaunchType)[keyof typeof LaunchType];
|
|
148
88
|
/**
|
|
149
89
|
* <p>This structure specifies the VPC subnets and security groups for the task, and whether a public IP address is to be used. This structure is relevant only for ECS tasks that use the awsvpc network mode.</p>
|
|
150
90
|
* @public
|
|
@@ -178,18 +118,6 @@ export interface NetworkConfiguration {
|
|
|
178
118
|
*/
|
|
179
119
|
awsvpcConfiguration?: AwsVpcConfiguration | undefined;
|
|
180
120
|
}
|
|
181
|
-
/**
|
|
182
|
-
* @public
|
|
183
|
-
* @enum
|
|
184
|
-
*/
|
|
185
|
-
export declare const PlacementConstraintType: {
|
|
186
|
-
readonly DISTINCT_INSTANCE: "distinctInstance";
|
|
187
|
-
readonly MEMBER_OF: "memberOf";
|
|
188
|
-
};
|
|
189
|
-
/**
|
|
190
|
-
* @public
|
|
191
|
-
*/
|
|
192
|
-
export type PlacementConstraintType = (typeof PlacementConstraintType)[keyof typeof PlacementConstraintType];
|
|
193
121
|
/**
|
|
194
122
|
* <p>An object representing a constraint on task placement.</p>
|
|
195
123
|
* @public
|
|
@@ -207,19 +135,6 @@ export interface PlacementConstraint {
|
|
|
207
135
|
*/
|
|
208
136
|
expression?: string | undefined;
|
|
209
137
|
}
|
|
210
|
-
/**
|
|
211
|
-
* @public
|
|
212
|
-
* @enum
|
|
213
|
-
*/
|
|
214
|
-
export declare const PlacementStrategyType: {
|
|
215
|
-
readonly BINPACK: "binpack";
|
|
216
|
-
readonly RANDOM: "random";
|
|
217
|
-
readonly SPREAD: "spread";
|
|
218
|
-
};
|
|
219
|
-
/**
|
|
220
|
-
* @public
|
|
221
|
-
*/
|
|
222
|
-
export type PlacementStrategyType = (typeof PlacementStrategyType)[keyof typeof PlacementStrategyType];
|
|
223
138
|
/**
|
|
224
139
|
* <p>The task placement strategy for a task or service.</p>
|
|
225
140
|
* @public
|
|
@@ -240,17 +155,6 @@ export interface PlacementStrategy {
|
|
|
240
155
|
*/
|
|
241
156
|
field?: string | undefined;
|
|
242
157
|
}
|
|
243
|
-
/**
|
|
244
|
-
* @public
|
|
245
|
-
* @enum
|
|
246
|
-
*/
|
|
247
|
-
export declare const PropagateTags: {
|
|
248
|
-
readonly TASK_DEFINITION: "TASK_DEFINITION";
|
|
249
|
-
};
|
|
250
|
-
/**
|
|
251
|
-
* @public
|
|
252
|
-
*/
|
|
253
|
-
export type PropagateTags = (typeof PropagateTags)[keyof typeof PropagateTags];
|
|
254
158
|
/**
|
|
255
159
|
* <p>The templated target type for the Amazon ECS <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html">
|
|
256
160
|
* <code>RunTask</code>
|
|
@@ -1071,18 +975,6 @@ export interface GetScheduleGroupInput {
|
|
|
1071
975
|
*/
|
|
1072
976
|
Name: string | undefined;
|
|
1073
977
|
}
|
|
1074
|
-
/**
|
|
1075
|
-
* @public
|
|
1076
|
-
* @enum
|
|
1077
|
-
*/
|
|
1078
|
-
export declare const ScheduleGroupState: {
|
|
1079
|
-
readonly ACTIVE: "ACTIVE";
|
|
1080
|
-
readonly DELETING: "DELETING";
|
|
1081
|
-
};
|
|
1082
|
-
/**
|
|
1083
|
-
* @public
|
|
1084
|
-
*/
|
|
1085
|
-
export type ScheduleGroupState = (typeof ScheduleGroupState)[keyof typeof ScheduleGroupState];
|
|
1086
978
|
/**
|
|
1087
979
|
* @public
|
|
1088
980
|
*/
|
|
@@ -5,6 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { SchedulerExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
+
export * from "./models/enums";
|
|
8
9
|
export * from "./models/errors";
|
|
9
10
|
export * from "./models/models_0";
|
|
10
11
|
export { SchedulerServiceException } from "./models/SchedulerServiceException";
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare const ActionAfterCompletion: {
|
|
2
|
+
readonly DELETE: "DELETE";
|
|
3
|
+
readonly NONE: "NONE";
|
|
4
|
+
};
|
|
5
|
+
export type ActionAfterCompletion =
|
|
6
|
+
(typeof ActionAfterCompletion)[keyof typeof ActionAfterCompletion];
|
|
7
|
+
export declare const AssignPublicIp: {
|
|
8
|
+
readonly DISABLED: "DISABLED";
|
|
9
|
+
readonly ENABLED: "ENABLED";
|
|
10
|
+
};
|
|
11
|
+
export type AssignPublicIp =
|
|
12
|
+
(typeof AssignPublicIp)[keyof typeof AssignPublicIp];
|
|
13
|
+
export declare const FlexibleTimeWindowMode: {
|
|
14
|
+
readonly FLEXIBLE: "FLEXIBLE";
|
|
15
|
+
readonly OFF: "OFF";
|
|
16
|
+
};
|
|
17
|
+
export type FlexibleTimeWindowMode =
|
|
18
|
+
(typeof FlexibleTimeWindowMode)[keyof typeof FlexibleTimeWindowMode];
|
|
19
|
+
export declare const ScheduleState: {
|
|
20
|
+
readonly DISABLED: "DISABLED";
|
|
21
|
+
readonly ENABLED: "ENABLED";
|
|
22
|
+
};
|
|
23
|
+
export type ScheduleState = (typeof ScheduleState)[keyof typeof ScheduleState];
|
|
24
|
+
export declare const LaunchType: {
|
|
25
|
+
readonly EC2: "EC2";
|
|
26
|
+
readonly EXTERNAL: "EXTERNAL";
|
|
27
|
+
readonly FARGATE: "FARGATE";
|
|
28
|
+
};
|
|
29
|
+
export type LaunchType = (typeof LaunchType)[keyof typeof LaunchType];
|
|
30
|
+
export declare const PlacementConstraintType: {
|
|
31
|
+
readonly DISTINCT_INSTANCE: "distinctInstance";
|
|
32
|
+
readonly MEMBER_OF: "memberOf";
|
|
33
|
+
};
|
|
34
|
+
export type PlacementConstraintType =
|
|
35
|
+
(typeof PlacementConstraintType)[keyof typeof PlacementConstraintType];
|
|
36
|
+
export declare const PlacementStrategyType: {
|
|
37
|
+
readonly BINPACK: "binpack";
|
|
38
|
+
readonly RANDOM: "random";
|
|
39
|
+
readonly SPREAD: "spread";
|
|
40
|
+
};
|
|
41
|
+
export type PlacementStrategyType =
|
|
42
|
+
(typeof PlacementStrategyType)[keyof typeof PlacementStrategyType];
|
|
43
|
+
export declare const PropagateTags: {
|
|
44
|
+
readonly TASK_DEFINITION: "TASK_DEFINITION";
|
|
45
|
+
};
|
|
46
|
+
export type PropagateTags = (typeof PropagateTags)[keyof typeof PropagateTags];
|
|
47
|
+
export declare const ScheduleGroupState: {
|
|
48
|
+
readonly ACTIVE: "ACTIVE";
|
|
49
|
+
readonly DELETING: "DELETING";
|
|
50
|
+
};
|
|
51
|
+
export type ScheduleGroupState =
|
|
52
|
+
(typeof ScheduleGroupState)[keyof typeof ScheduleGroupState];
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
(typeof AssignPublicIp)[keyof typeof AssignPublicIp];
|
|
1
|
+
import {
|
|
2
|
+
ActionAfterCompletion,
|
|
3
|
+
AssignPublicIp,
|
|
4
|
+
FlexibleTimeWindowMode,
|
|
5
|
+
LaunchType,
|
|
6
|
+
PlacementConstraintType,
|
|
7
|
+
PlacementStrategyType,
|
|
8
|
+
PropagateTags,
|
|
9
|
+
ScheduleGroupState,
|
|
10
|
+
ScheduleState,
|
|
11
|
+
} from "./enums";
|
|
13
12
|
export interface ListTagsForResourceInput {
|
|
14
13
|
ResourceArn: string | undefined;
|
|
15
14
|
}
|
|
@@ -20,21 +19,10 @@ export interface Tag {
|
|
|
20
19
|
export interface ListTagsForResourceOutput {
|
|
21
20
|
Tags?: Tag[] | undefined;
|
|
22
21
|
}
|
|
23
|
-
export declare const FlexibleTimeWindowMode: {
|
|
24
|
-
readonly FLEXIBLE: "FLEXIBLE";
|
|
25
|
-
readonly OFF: "OFF";
|
|
26
|
-
};
|
|
27
|
-
export type FlexibleTimeWindowMode =
|
|
28
|
-
(typeof FlexibleTimeWindowMode)[keyof typeof FlexibleTimeWindowMode];
|
|
29
22
|
export interface FlexibleTimeWindow {
|
|
30
23
|
Mode: FlexibleTimeWindowMode | undefined;
|
|
31
24
|
MaximumWindowInMinutes?: number | undefined;
|
|
32
25
|
}
|
|
33
|
-
export declare const ScheduleState: {
|
|
34
|
-
readonly DISABLED: "DISABLED";
|
|
35
|
-
readonly ENABLED: "ENABLED";
|
|
36
|
-
};
|
|
37
|
-
export type ScheduleState = (typeof ScheduleState)[keyof typeof ScheduleState];
|
|
38
26
|
export interface DeadLetterConfig {
|
|
39
27
|
Arn?: string | undefined;
|
|
40
28
|
}
|
|
@@ -43,12 +31,6 @@ export interface CapacityProviderStrategyItem {
|
|
|
43
31
|
weight?: number | undefined;
|
|
44
32
|
base?: number | undefined;
|
|
45
33
|
}
|
|
46
|
-
export declare const LaunchType: {
|
|
47
|
-
readonly EC2: "EC2";
|
|
48
|
-
readonly EXTERNAL: "EXTERNAL";
|
|
49
|
-
readonly FARGATE: "FARGATE";
|
|
50
|
-
};
|
|
51
|
-
export type LaunchType = (typeof LaunchType)[keyof typeof LaunchType];
|
|
52
34
|
export interface AwsVpcConfiguration {
|
|
53
35
|
Subnets: string[] | undefined;
|
|
54
36
|
SecurityGroups?: string[] | undefined;
|
|
@@ -57,31 +39,14 @@ export interface AwsVpcConfiguration {
|
|
|
57
39
|
export interface NetworkConfiguration {
|
|
58
40
|
awsvpcConfiguration?: AwsVpcConfiguration | undefined;
|
|
59
41
|
}
|
|
60
|
-
export declare const PlacementConstraintType: {
|
|
61
|
-
readonly DISTINCT_INSTANCE: "distinctInstance";
|
|
62
|
-
readonly MEMBER_OF: "memberOf";
|
|
63
|
-
};
|
|
64
|
-
export type PlacementConstraintType =
|
|
65
|
-
(typeof PlacementConstraintType)[keyof typeof PlacementConstraintType];
|
|
66
42
|
export interface PlacementConstraint {
|
|
67
43
|
type?: PlacementConstraintType | undefined;
|
|
68
44
|
expression?: string | undefined;
|
|
69
45
|
}
|
|
70
|
-
export declare const PlacementStrategyType: {
|
|
71
|
-
readonly BINPACK: "binpack";
|
|
72
|
-
readonly RANDOM: "random";
|
|
73
|
-
readonly SPREAD: "spread";
|
|
74
|
-
};
|
|
75
|
-
export type PlacementStrategyType =
|
|
76
|
-
(typeof PlacementStrategyType)[keyof typeof PlacementStrategyType];
|
|
77
46
|
export interface PlacementStrategy {
|
|
78
47
|
type?: PlacementStrategyType | undefined;
|
|
79
48
|
field?: string | undefined;
|
|
80
49
|
}
|
|
81
|
-
export declare const PropagateTags: {
|
|
82
|
-
readonly TASK_DEFINITION: "TASK_DEFINITION";
|
|
83
|
-
};
|
|
84
|
-
export type PropagateTags = (typeof PropagateTags)[keyof typeof PropagateTags];
|
|
85
50
|
export interface EcsParameters {
|
|
86
51
|
TaskDefinitionArn: string | undefined;
|
|
87
52
|
TaskCount?: number | undefined;
|
|
@@ -233,12 +198,6 @@ export interface DeleteScheduleGroupOutput {}
|
|
|
233
198
|
export interface GetScheduleGroupInput {
|
|
234
199
|
Name: string | undefined;
|
|
235
200
|
}
|
|
236
|
-
export declare const ScheduleGroupState: {
|
|
237
|
-
readonly ACTIVE: "ACTIVE";
|
|
238
|
-
readonly DELETING: "DELETING";
|
|
239
|
-
};
|
|
240
|
-
export type ScheduleGroupState =
|
|
241
|
-
(typeof ScheduleGroupState)[keyof typeof ScheduleGroupState];
|
|
242
201
|
export interface GetScheduleGroupOutput {
|
|
243
202
|
Arn?: string | undefined;
|
|
244
203
|
Name?: 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.939.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,17 +20,17 @@
|
|
|
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.939.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
35
|
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|