@aws-sdk/client-scheduler 3.427.0 → 3.429.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.
@@ -146,7 +146,7 @@ export interface FlexibleTimeWindow {
146
146
  * @public
147
147
  * <p>Determines whether the schedule is invoked within a flexible time window.</p>
148
148
  */
149
- Mode: FlexibleTimeWindowMode | string | undefined;
149
+ Mode: FlexibleTimeWindowMode | undefined;
150
150
  /**
151
151
  * @public
152
152
  * <p>The maximum time window during which a schedule can be invoked.</p>
@@ -232,7 +232,7 @@ export interface AwsVpcConfiguration {
232
232
  * @public
233
233
  * <p>Specifies whether the task's elastic network interface receives a public IP address. You can specify <code>ENABLED</code> only when <code>LaunchType</code> in <code>EcsParameters</code> is set to <code>FARGATE</code>.</p>
234
234
  */
235
- AssignPublicIp?: AssignPublicIp | string;
235
+ AssignPublicIp?: AssignPublicIp;
236
236
  }
237
237
  /**
238
238
  * @public
@@ -266,7 +266,7 @@ export interface PlacementConstraint {
266
266
  * @public
267
267
  * <p>The type of constraint. Use <code>distinctInstance</code> to ensure that each task in a particular group is running on a different container instance. Use <code>memberOf</code> to restrict the selection to a group of valid candidates.</p>
268
268
  */
269
- type?: PlacementConstraintType | string;
269
+ type?: PlacementConstraintType;
270
270
  /**
271
271
  * @public
272
272
  * <p>A cluster query language expression to apply to the constraint. You cannot specify an expression if the constraint type is <code>distinctInstance</code>.
@@ -298,7 +298,7 @@ export interface PlacementStrategy {
298
298
  * evenly based on the field parameter. The binpack strategy places tasks on available candidates that have the least available amount of the resource that is specified with the field parameter.
299
299
  * For example, if you binpack on memory, a task is placed on the instance with the least amount of remaining memory (but still enough to run the task).</p>
300
300
  */
301
- type?: PlacementStrategyType | string;
301
+ type?: PlacementStrategyType;
302
302
  /**
303
303
  * @public
304
304
  * <p>The field to apply the placement strategy against. For the spread placement strategy, valid values are <code>instanceId</code> (or <code>instanceId</code>, which has the same effect),
@@ -341,7 +341,7 @@ export interface EcsParameters {
341
341
  * The <code>FARGATE</code> value is supported only in the Regions where Fargate with Amazon ECS is supported.
342
342
  * For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS_Fargate.html">AWS Fargate on Amazon ECS</a> in the <i>Amazon ECS Developer Guide</i>.</p>
343
343
  */
344
- LaunchType?: LaunchType | string;
344
+ LaunchType?: LaunchType;
345
345
  /**
346
346
  * @public
347
347
  * <p>This structure specifies the network configuration for an ECS task.</p>
@@ -392,7 +392,7 @@ export interface EcsParameters {
392
392
  * API action.
393
393
  * </p>
394
394
  */
395
- PropagateTags?: PropagateTags | string;
395
+ PropagateTags?: PropagateTags;
396
396
  /**
397
397
  * @public
398
398
  * <p>The reference ID to use for the task.</p>
@@ -654,7 +654,7 @@ export interface CreateScheduleInput {
654
654
  * @public
655
655
  * <p>Specifies whether the schedule is enabled or disabled.</p>
656
656
  */
657
- State?: ScheduleState | string;
657
+ State?: ScheduleState;
658
658
  /**
659
659
  * @public
660
660
  * <p>The Amazon Resource Name (ARN) for the customer managed KMS key that EventBridge Scheduler will use to encrypt and decrypt your data.</p>
@@ -682,7 +682,7 @@ export interface CreateScheduleInput {
682
682
  * @public
683
683
  * <p>Specifies the action that EventBridge Scheduler applies to the schedule after the schedule completes invoking the target.</p>
684
684
  */
685
- ActionAfterCompletion?: ActionAfterCompletion | string;
685
+ ActionAfterCompletion?: ActionAfterCompletion;
686
686
  }
687
687
  /**
688
688
  * @public
@@ -835,7 +835,7 @@ export interface GetScheduleOutput {
835
835
  * @public
836
836
  * <p>Specifies whether the schedule is enabled or disabled.</p>
837
837
  */
838
- State?: ScheduleState | string;
838
+ State?: ScheduleState;
839
839
  /**
840
840
  * @public
841
841
  * <p>The time at which the schedule was created.</p>
@@ -865,7 +865,7 @@ export interface GetScheduleOutput {
865
865
  * @public
866
866
  * <p>Indicates the action that EventBridge Scheduler applies to the schedule after the schedule completes invoking the target.</p>
867
867
  */
868
- ActionAfterCompletion?: ActionAfterCompletion | string;
868
+ ActionAfterCompletion?: ActionAfterCompletion;
869
869
  }
870
870
  /**
871
871
  * @public
@@ -885,7 +885,7 @@ export interface ListSchedulesInput {
885
885
  * @public
886
886
  * <p>If specified, only lists the schedules whose current state matches the given filter.</p>
887
887
  */
888
- State?: ScheduleState | string;
888
+ State?: ScheduleState;
889
889
  /**
890
890
  * @public
891
891
  * <p>The token returned by a previous call to retrieve the next set of results.</p>
@@ -932,7 +932,7 @@ export interface ScheduleSummary {
932
932
  * @public
933
933
  * <p>Specifies whether the schedule is enabled or disabled.</p>
934
934
  */
935
- State?: ScheduleState | string;
935
+ State?: ScheduleState;
936
936
  /**
937
937
  * @public
938
938
  * <p>The time at which the schedule was created.</p>
@@ -1045,7 +1045,7 @@ export interface UpdateScheduleInput {
1045
1045
  * @public
1046
1046
  * <p>Specifies whether the schedule is enabled or disabled.</p>
1047
1047
  */
1048
- State?: ScheduleState | string;
1048
+ State?: ScheduleState;
1049
1049
  /**
1050
1050
  * @public
1051
1051
  * <p>The ARN for the customer managed KMS key that that you want EventBridge Scheduler to use to encrypt and decrypt your data.</p>
@@ -1073,7 +1073,7 @@ export interface UpdateScheduleInput {
1073
1073
  * @public
1074
1074
  * <p>Specifies the action that EventBridge Scheduler applies to the schedule after the schedule completes invoking the target.</p>
1075
1075
  */
1076
- ActionAfterCompletion?: ActionAfterCompletion | string;
1076
+ ActionAfterCompletion?: ActionAfterCompletion;
1077
1077
  }
1078
1078
  /**
1079
1079
  * @public
@@ -1181,7 +1181,7 @@ export interface GetScheduleGroupOutput {
1181
1181
  * @public
1182
1182
  * <p>Specifies the state of the schedule group.</p>
1183
1183
  */
1184
- State?: ScheduleGroupState | string;
1184
+ State?: ScheduleGroupState;
1185
1185
  /**
1186
1186
  * @public
1187
1187
  * <p>The time at which the schedule group was created.</p>
@@ -1232,7 +1232,7 @@ export interface ScheduleGroupSummary {
1232
1232
  * @public
1233
1233
  * <p>Specifies the state of the schedule group.</p>
1234
1234
  */
1235
- State?: ScheduleGroupState | string;
1235
+ State?: ScheduleGroupState;
1236
1236
  /**
1237
1237
  * @public
1238
1238
  * <p>The time at which the schedule group was created.</p>
@@ -67,7 +67,7 @@ export declare const FlexibleTimeWindowMode: {
67
67
  export type FlexibleTimeWindowMode =
68
68
  (typeof FlexibleTimeWindowMode)[keyof typeof FlexibleTimeWindowMode];
69
69
  export interface FlexibleTimeWindow {
70
- Mode: FlexibleTimeWindowMode | string | undefined;
70
+ Mode: FlexibleTimeWindowMode | undefined;
71
71
  MaximumWindowInMinutes?: number;
72
72
  }
73
73
  export declare const ScheduleState: {
@@ -92,7 +92,7 @@ export type LaunchType = (typeof LaunchType)[keyof typeof LaunchType];
92
92
  export interface AwsVpcConfiguration {
93
93
  Subnets: string[] | undefined;
94
94
  SecurityGroups?: string[];
95
- AssignPublicIp?: AssignPublicIp | string;
95
+ AssignPublicIp?: AssignPublicIp;
96
96
  }
97
97
  export interface NetworkConfiguration {
98
98
  awsvpcConfiguration?: AwsVpcConfiguration;
@@ -104,7 +104,7 @@ export declare const PlacementConstraintType: {
104
104
  export type PlacementConstraintType =
105
105
  (typeof PlacementConstraintType)[keyof typeof PlacementConstraintType];
106
106
  export interface PlacementConstraint {
107
- type?: PlacementConstraintType | string;
107
+ type?: PlacementConstraintType;
108
108
  expression?: string;
109
109
  }
110
110
  export declare const PlacementStrategyType: {
@@ -115,7 +115,7 @@ export declare const PlacementStrategyType: {
115
115
  export type PlacementStrategyType =
116
116
  (typeof PlacementStrategyType)[keyof typeof PlacementStrategyType];
117
117
  export interface PlacementStrategy {
118
- type?: PlacementStrategyType | string;
118
+ type?: PlacementStrategyType;
119
119
  field?: string;
120
120
  }
121
121
  export declare const PropagateTags: {
@@ -125,7 +125,7 @@ export type PropagateTags = (typeof PropagateTags)[keyof typeof PropagateTags];
125
125
  export interface EcsParameters {
126
126
  TaskDefinitionArn: string | undefined;
127
127
  TaskCount?: number;
128
- LaunchType?: LaunchType | string;
128
+ LaunchType?: LaunchType;
129
129
  NetworkConfiguration?: NetworkConfiguration;
130
130
  PlatformVersion?: string;
131
131
  Group?: string;
@@ -134,7 +134,7 @@ export interface EcsParameters {
134
134
  EnableExecuteCommand?: boolean;
135
135
  PlacementConstraints?: PlacementConstraint[];
136
136
  PlacementStrategy?: PlacementStrategy[];
137
- PropagateTags?: PropagateTags | string;
137
+ PropagateTags?: PropagateTags;
138
138
  ReferenceId?: string;
139
139
  Tags?: Record<string, string>[];
140
140
  }
@@ -179,12 +179,12 @@ export interface CreateScheduleInput {
179
179
  EndDate?: Date;
180
180
  Description?: string;
181
181
  ScheduleExpressionTimezone?: string;
182
- State?: ScheduleState | string;
182
+ State?: ScheduleState;
183
183
  KmsKeyArn?: string;
184
184
  Target: Target | undefined;
185
185
  FlexibleTimeWindow: FlexibleTimeWindow | undefined;
186
186
  ClientToken?: string;
187
- ActionAfterCompletion?: ActionAfterCompletion | string;
187
+ ActionAfterCompletion?: ActionAfterCompletion;
188
188
  }
189
189
  export interface CreateScheduleOutput {
190
190
  ScheduleArn: string | undefined;
@@ -216,18 +216,18 @@ export interface GetScheduleOutput {
216
216
  EndDate?: Date;
217
217
  Description?: string;
218
218
  ScheduleExpressionTimezone?: string;
219
- State?: ScheduleState | string;
219
+ State?: ScheduleState;
220
220
  CreationDate?: Date;
221
221
  LastModificationDate?: Date;
222
222
  KmsKeyArn?: string;
223
223
  Target?: Target;
224
224
  FlexibleTimeWindow?: FlexibleTimeWindow;
225
- ActionAfterCompletion?: ActionAfterCompletion | string;
225
+ ActionAfterCompletion?: ActionAfterCompletion;
226
226
  }
227
227
  export interface ListSchedulesInput {
228
228
  GroupName?: string;
229
229
  NamePrefix?: string;
230
- State?: ScheduleState | string;
230
+ State?: ScheduleState;
231
231
  NextToken?: string;
232
232
  MaxResults?: number;
233
233
  }
@@ -238,7 +238,7 @@ export interface ScheduleSummary {
238
238
  Arn?: string;
239
239
  Name?: string;
240
240
  GroupName?: string;
241
- State?: ScheduleState | string;
241
+ State?: ScheduleState;
242
242
  CreationDate?: Date;
243
243
  LastModificationDate?: Date;
244
244
  Target?: TargetSummary;
@@ -255,12 +255,12 @@ export interface UpdateScheduleInput {
255
255
  EndDate?: Date;
256
256
  Description?: string;
257
257
  ScheduleExpressionTimezone?: string;
258
- State?: ScheduleState | string;
258
+ State?: ScheduleState;
259
259
  KmsKeyArn?: string;
260
260
  Target: Target | undefined;
261
261
  FlexibleTimeWindow: FlexibleTimeWindow | undefined;
262
262
  ClientToken?: string;
263
- ActionAfterCompletion?: ActionAfterCompletion | string;
263
+ ActionAfterCompletion?: ActionAfterCompletion;
264
264
  }
265
265
  export interface UpdateScheduleOutput {
266
266
  ScheduleArn: string | undefined;
@@ -290,7 +290,7 @@ export type ScheduleGroupState =
290
290
  export interface GetScheduleGroupOutput {
291
291
  Arn?: string;
292
292
  Name?: string;
293
- State?: ScheduleGroupState | string;
293
+ State?: ScheduleGroupState;
294
294
  CreationDate?: Date;
295
295
  LastModificationDate?: Date;
296
296
  }
@@ -302,7 +302,7 @@ export interface ListScheduleGroupsInput {
302
302
  export interface ScheduleGroupSummary {
303
303
  Arn?: string;
304
304
  Name?: string;
305
- State?: ScheduleGroupState | string;
305
+ State?: ScheduleGroupState;
306
306
  CreationDate?: Date;
307
307
  LastModificationDate?: Date;
308
308
  }
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.427.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,39 +21,39 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0",
59
59
  "uuid": "^8.3.2"