@aws-sdk/client-scheduler 3.312.0 → 3.316.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/Scheduler.js +16 -168
- package/dist-cjs/protocols/Aws_restJson1.js +160 -633
- package/dist-es/Scheduler.js +16 -168
- package/dist-es/protocols/Aws_restJson1.js +137 -610
- package/dist-types/Scheduler.d.ts +23 -49
- package/dist-types/ts3.4/Scheduler.d.ts +2 -1
- package/package.json +6 -6
|
@@ -12,113 +12,87 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
12
12
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
13
13
|
import { UpdateScheduleCommandInput, UpdateScheduleCommandOutput } from "./commands/UpdateScheduleCommand";
|
|
14
14
|
import { SchedulerClient } from "./SchedulerClient";
|
|
15
|
-
|
|
16
|
-
* @public
|
|
17
|
-
* <p>
|
|
18
|
-
* Amazon EventBridge Scheduler is a serverless scheduler that allows you to create, run, and manage tasks from one central, managed service.
|
|
19
|
-
* EventBridge Scheduler delivers your tasks reliably, with built-in mechanisms that adjust your schedules based on the availability of downstream targets.
|
|
20
|
-
* The following reference lists the available API actions, and data types for EventBridge Scheduler.
|
|
21
|
-
* </p>
|
|
22
|
-
*/
|
|
23
|
-
export declare class Scheduler extends SchedulerClient {
|
|
15
|
+
export interface Scheduler {
|
|
24
16
|
/**
|
|
25
|
-
* @
|
|
26
|
-
* <p>Creates the specified schedule.</p>
|
|
17
|
+
* @see {@link CreateScheduleCommand}
|
|
27
18
|
*/
|
|
28
19
|
createSchedule(args: CreateScheduleCommandInput, options?: __HttpHandlerOptions): Promise<CreateScheduleCommandOutput>;
|
|
29
20
|
createSchedule(args: CreateScheduleCommandInput, cb: (err: any, data?: CreateScheduleCommandOutput) => void): void;
|
|
30
21
|
createSchedule(args: CreateScheduleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateScheduleCommandOutput) => void): void;
|
|
31
22
|
/**
|
|
32
|
-
* @
|
|
33
|
-
* <p>Creates the specified schedule group.</p>
|
|
23
|
+
* @see {@link CreateScheduleGroupCommand}
|
|
34
24
|
*/
|
|
35
25
|
createScheduleGroup(args: CreateScheduleGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateScheduleGroupCommandOutput>;
|
|
36
26
|
createScheduleGroup(args: CreateScheduleGroupCommandInput, cb: (err: any, data?: CreateScheduleGroupCommandOutput) => void): void;
|
|
37
27
|
createScheduleGroup(args: CreateScheduleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateScheduleGroupCommandOutput) => void): void;
|
|
38
28
|
/**
|
|
39
|
-
* @
|
|
40
|
-
* <p>Deletes the specified schedule.</p>
|
|
29
|
+
* @see {@link DeleteScheduleCommand}
|
|
41
30
|
*/
|
|
42
31
|
deleteSchedule(args: DeleteScheduleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScheduleCommandOutput>;
|
|
43
32
|
deleteSchedule(args: DeleteScheduleCommandInput, cb: (err: any, data?: DeleteScheduleCommandOutput) => void): void;
|
|
44
33
|
deleteSchedule(args: DeleteScheduleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScheduleCommandOutput) => void): void;
|
|
45
34
|
/**
|
|
46
|
-
* @
|
|
47
|
-
* <p>Deletes the specified schedule group. Deleting a schedule group results in EventBridge Scheduler deleting all schedules associated with the group.
|
|
48
|
-
* When you delete a group, it remains in a <code>DELETING</code> state until all of its associated schedules are deleted.
|
|
49
|
-
* Schedules associated with the group that are set to run while the schedule group is in the process of being deleted might continue to invoke their targets
|
|
50
|
-
* until the schedule group and its associated schedules are deleted.</p>
|
|
51
|
-
* <note>
|
|
52
|
-
* <p>
|
|
53
|
-
* This operation is eventually consistent.
|
|
54
|
-
* </p>
|
|
55
|
-
* </note>
|
|
35
|
+
* @see {@link DeleteScheduleGroupCommand}
|
|
56
36
|
*/
|
|
57
37
|
deleteScheduleGroup(args: DeleteScheduleGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScheduleGroupCommandOutput>;
|
|
58
38
|
deleteScheduleGroup(args: DeleteScheduleGroupCommandInput, cb: (err: any, data?: DeleteScheduleGroupCommandOutput) => void): void;
|
|
59
39
|
deleteScheduleGroup(args: DeleteScheduleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScheduleGroupCommandOutput) => void): void;
|
|
60
40
|
/**
|
|
61
|
-
* @
|
|
62
|
-
* <p>Retrieves the specified schedule.</p>
|
|
41
|
+
* @see {@link GetScheduleCommand}
|
|
63
42
|
*/
|
|
64
43
|
getSchedule(args: GetScheduleCommandInput, options?: __HttpHandlerOptions): Promise<GetScheduleCommandOutput>;
|
|
65
44
|
getSchedule(args: GetScheduleCommandInput, cb: (err: any, data?: GetScheduleCommandOutput) => void): void;
|
|
66
45
|
getSchedule(args: GetScheduleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetScheduleCommandOutput) => void): void;
|
|
67
46
|
/**
|
|
68
|
-
* @
|
|
69
|
-
* <p>Retrieves the specified schedule group.</p>
|
|
47
|
+
* @see {@link GetScheduleGroupCommand}
|
|
70
48
|
*/
|
|
71
49
|
getScheduleGroup(args: GetScheduleGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetScheduleGroupCommandOutput>;
|
|
72
50
|
getScheduleGroup(args: GetScheduleGroupCommandInput, cb: (err: any, data?: GetScheduleGroupCommandOutput) => void): void;
|
|
73
51
|
getScheduleGroup(args: GetScheduleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetScheduleGroupCommandOutput) => void): void;
|
|
74
52
|
/**
|
|
75
|
-
* @
|
|
76
|
-
* <p>Returns a paginated list of your schedule groups.</p>
|
|
53
|
+
* @see {@link ListScheduleGroupsCommand}
|
|
77
54
|
*/
|
|
78
55
|
listScheduleGroups(args: ListScheduleGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListScheduleGroupsCommandOutput>;
|
|
79
56
|
listScheduleGroups(args: ListScheduleGroupsCommandInput, cb: (err: any, data?: ListScheduleGroupsCommandOutput) => void): void;
|
|
80
57
|
listScheduleGroups(args: ListScheduleGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListScheduleGroupsCommandOutput) => void): void;
|
|
81
58
|
/**
|
|
82
|
-
* @
|
|
83
|
-
* <p>Returns a paginated list of your EventBridge Scheduler schedules.</p>
|
|
59
|
+
* @see {@link ListSchedulesCommand}
|
|
84
60
|
*/
|
|
85
61
|
listSchedules(args: ListSchedulesCommandInput, options?: __HttpHandlerOptions): Promise<ListSchedulesCommandOutput>;
|
|
86
62
|
listSchedules(args: ListSchedulesCommandInput, cb: (err: any, data?: ListSchedulesCommandOutput) => void): void;
|
|
87
63
|
listSchedules(args: ListSchedulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSchedulesCommandOutput) => void): void;
|
|
88
64
|
/**
|
|
89
|
-
* @
|
|
90
|
-
* <p>Lists the tags associated with the Scheduler resource.</p>
|
|
65
|
+
* @see {@link ListTagsForResourceCommand}
|
|
91
66
|
*/
|
|
92
67
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
93
68
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
94
69
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
95
70
|
/**
|
|
96
|
-
* @
|
|
97
|
-
* <p>Assigns one or more tags (key-value pairs) to the specified EventBridge Scheduler resource. You can only assign tags to schedule groups.</p>
|
|
71
|
+
* @see {@link TagResourceCommand}
|
|
98
72
|
*/
|
|
99
73
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
100
74
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
101
75
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
102
76
|
/**
|
|
103
|
-
* @
|
|
104
|
-
* <p>Removes one or more tags from the specified EventBridge Scheduler schedule group.</p>
|
|
77
|
+
* @see {@link UntagResourceCommand}
|
|
105
78
|
*/
|
|
106
79
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
107
80
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
108
81
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
109
82
|
/**
|
|
110
|
-
* @
|
|
111
|
-
* <p>
|
|
112
|
-
* Updates the specified schedule. When you call <code>UpdateSchedule</code>, EventBridge Scheduler uses all values, including empty values, specified in the request and
|
|
113
|
-
* overrides the existing schedule. This is by design. This means that if you do not set an optional field in your request, that field will be set to
|
|
114
|
-
* its system-default value after the update.
|
|
115
|
-
* </p>
|
|
116
|
-
* <p>
|
|
117
|
-
* Before calling this operation, we recommend that you call the <code>GetSchedule</code> API operation and make a note of all optional parameters
|
|
118
|
-
* for your <code>UpdateSchedule</code> call.
|
|
119
|
-
* </p>
|
|
83
|
+
* @see {@link UpdateScheduleCommand}
|
|
120
84
|
*/
|
|
121
85
|
updateSchedule(args: UpdateScheduleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateScheduleCommandOutput>;
|
|
122
86
|
updateSchedule(args: UpdateScheduleCommandInput, cb: (err: any, data?: UpdateScheduleCommandOutput) => void): void;
|
|
123
87
|
updateSchedule(args: UpdateScheduleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateScheduleCommandOutput) => void): void;
|
|
124
88
|
}
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
* <p>
|
|
92
|
+
* Amazon EventBridge Scheduler is a serverless scheduler that allows you to create, run, and manage tasks from one central, managed service.
|
|
93
|
+
* EventBridge Scheduler delivers your tasks reliably, with built-in mechanisms that adjust your schedules based on the availability of downstream targets.
|
|
94
|
+
* The following reference lists the available API actions, and data types for EventBridge Scheduler.
|
|
95
|
+
* </p>
|
|
96
|
+
*/
|
|
97
|
+
export declare class Scheduler extends SchedulerClient implements Scheduler {
|
|
98
|
+
}
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
UpdateScheduleCommandOutput,
|
|
49
49
|
} from "./commands/UpdateScheduleCommand";
|
|
50
50
|
import { SchedulerClient } from "./SchedulerClient";
|
|
51
|
-
export
|
|
51
|
+
export interface Scheduler {
|
|
52
52
|
createSchedule(
|
|
53
53
|
args: CreateScheduleCommandInput,
|
|
54
54
|
options?: __HttpHandlerOptions
|
|
@@ -206,3 +206,4 @@ export declare class Scheduler extends SchedulerClient {
|
|
|
206
206
|
cb: (err: any, data?: UpdateScheduleCommandOutput) => void
|
|
207
207
|
): void;
|
|
208
208
|
}
|
|
209
|
+
export declare class Scheduler extends SchedulerClient implements Scheduler {}
|
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.316.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,9 +21,9 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|