@aws-sdk/client-scheduler 3.208.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/LICENSE +201 -0
- package/README.md +209 -0
- package/dist-cjs/Scheduler.js +187 -0
- package/dist-cjs/SchedulerClient.js +40 -0
- package/dist-cjs/commands/CreateScheduleCommand.js +46 -0
- package/dist-cjs/commands/CreateScheduleGroupCommand.js +46 -0
- package/dist-cjs/commands/DeleteScheduleCommand.js +46 -0
- package/dist-cjs/commands/DeleteScheduleGroupCommand.js +46 -0
- package/dist-cjs/commands/GetScheduleCommand.js +46 -0
- package/dist-cjs/commands/GetScheduleGroupCommand.js +46 -0
- package/dist-cjs/commands/ListScheduleGroupsCommand.js +46 -0
- package/dist-cjs/commands/ListSchedulesCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/UpdateScheduleCommand.js +46 -0
- package/dist-cjs/commands/index.js +15 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +312 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/SchedulerServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +302 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListScheduleGroupsPaginator.js +36 -0
- package/dist-cjs/pagination/ListSchedulesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1494 -0
- package/dist-cjs/runtimeConfig.browser.js +42 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/Scheduler.js +183 -0
- package/dist-es/SchedulerClient.js +36 -0
- package/dist-es/commands/CreateScheduleCommand.js +42 -0
- package/dist-es/commands/CreateScheduleGroupCommand.js +42 -0
- package/dist-es/commands/DeleteScheduleCommand.js +42 -0
- package/dist-es/commands/DeleteScheduleGroupCommand.js +42 -0
- package/dist-es/commands/GetScheduleCommand.js +42 -0
- package/dist-es/commands/GetScheduleGroupCommand.js +42 -0
- package/dist-es/commands/ListScheduleGroupsCommand.js +42 -0
- package/dist-es/commands/ListSchedulesCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/UpdateScheduleCommand.js +42 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +309 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/SchedulerServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +249 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListScheduleGroupsPaginator.js +32 -0
- package/dist-es/pagination/ListSchedulesPaginator.js +32 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +1467 -0
- package/dist-es/runtimeConfig.browser.js +37 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/Scheduler.d.ts +111 -0
- package/dist-types/SchedulerClient.d.ts +157 -0
- package/dist-types/commands/CreateScheduleCommand.d.ts +37 -0
- package/dist-types/commands/CreateScheduleGroupCommand.d.ts +37 -0
- package/dist-types/commands/DeleteScheduleCommand.d.ts +37 -0
- package/dist-types/commands/DeleteScheduleGroupCommand.d.ts +45 -0
- package/dist-types/commands/GetScheduleCommand.d.ts +37 -0
- package/dist-types/commands/GetScheduleGroupCommand.d.ts +37 -0
- package/dist-types/commands/ListScheduleGroupsCommand.d.ts +37 -0
- package/dist-types/commands/ListSchedulesCommand.d.ts +37 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
- package/dist-types/commands/TagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UpdateScheduleCommand.d.ts +45 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/SchedulerServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1148 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListScheduleGroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSchedulesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +38 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +17 -0
- package/dist-types/ts3.4/Scheduler.d.ts +208 -0
- package/dist-types/ts3.4/SchedulerClient.d.ts +183 -0
- package/dist-types/ts3.4/commands/CreateScheduleCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/CreateScheduleGroupCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteScheduleCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteScheduleGroupCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetScheduleCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetScheduleGroupCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListScheduleGroupsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListSchedulesCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UpdateScheduleCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/SchedulerServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +423 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
- package/dist-types/ts3.4/pagination/ListScheduleGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSchedulesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +149 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +86 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +86 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +75 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +17 -0
- package/package.json +105 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ListScheduleGroupsInput, ListScheduleGroupsOutput } from "../models/models_0";
|
|
5
|
+
import { SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchedulerClient";
|
|
6
|
+
export interface ListScheduleGroupsCommandInput extends ListScheduleGroupsInput {
|
|
7
|
+
}
|
|
8
|
+
export interface ListScheduleGroupsCommandOutput extends ListScheduleGroupsOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns a paginated list of your schedule groups.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { SchedulerClient, ListScheduleGroupsCommand } from "@aws-sdk/client-scheduler"; // ES Modules import
|
|
16
|
+
* // const { SchedulerClient, ListScheduleGroupsCommand } = require("@aws-sdk/client-scheduler"); // CommonJS import
|
|
17
|
+
* const client = new SchedulerClient(config);
|
|
18
|
+
* const command = new ListScheduleGroupsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListScheduleGroupsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListScheduleGroupsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SchedulerClientResolvedConfig | config} for SchedulerClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListScheduleGroupsCommand extends $Command<ListScheduleGroupsCommandInput, ListScheduleGroupsCommandOutput, SchedulerClientResolvedConfig> {
|
|
28
|
+
readonly input: ListScheduleGroupsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListScheduleGroupsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SchedulerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListScheduleGroupsCommandInput, ListScheduleGroupsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ListSchedulesInput, ListSchedulesOutput } from "../models/models_0";
|
|
5
|
+
import { SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchedulerClient";
|
|
6
|
+
export interface ListSchedulesCommandInput extends ListSchedulesInput {
|
|
7
|
+
}
|
|
8
|
+
export interface ListSchedulesCommandOutput extends ListSchedulesOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns a paginated list of your EventBridge Scheduler schedules.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { SchedulerClient, ListSchedulesCommand } from "@aws-sdk/client-scheduler"; // ES Modules import
|
|
16
|
+
* // const { SchedulerClient, ListSchedulesCommand } = require("@aws-sdk/client-scheduler"); // CommonJS import
|
|
17
|
+
* const client = new SchedulerClient(config);
|
|
18
|
+
* const command = new ListSchedulesCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListSchedulesCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListSchedulesCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SchedulerClientResolvedConfig | config} for SchedulerClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListSchedulesCommand extends $Command<ListSchedulesCommandInput, ListSchedulesCommandOutput, SchedulerClientResolvedConfig> {
|
|
28
|
+
readonly input: ListSchedulesCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListSchedulesCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SchedulerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSchedulesCommandInput, ListSchedulesCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
|
|
5
|
+
import { SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchedulerClient";
|
|
6
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceInput {
|
|
7
|
+
}
|
|
8
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Lists the tags associated with the Scheduler resource.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { SchedulerClient, ListTagsForResourceCommand } from "@aws-sdk/client-scheduler"; // ES Modules import
|
|
16
|
+
* // const { SchedulerClient, ListTagsForResourceCommand } = require("@aws-sdk/client-scheduler"); // CommonJS import
|
|
17
|
+
* const client = new SchedulerClient(config);
|
|
18
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SchedulerClientResolvedConfig | config} for SchedulerClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SchedulerClientResolvedConfig> {
|
|
28
|
+
readonly input: ListTagsForResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListTagsForResourceCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SchedulerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { TagResourceInput, TagResourceOutput } from "../models/models_0";
|
|
5
|
+
import { SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchedulerClient";
|
|
6
|
+
export interface TagResourceCommandInput extends TagResourceInput {
|
|
7
|
+
}
|
|
8
|
+
export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Assigns one or more tags (key-value pairs) to the specified EventBridge Scheduler resource. You can only assign tags to schedule groups.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { SchedulerClient, TagResourceCommand } from "@aws-sdk/client-scheduler"; // ES Modules import
|
|
16
|
+
* // const { SchedulerClient, TagResourceCommand } = require("@aws-sdk/client-scheduler"); // CommonJS import
|
|
17
|
+
* const client = new SchedulerClient(config);
|
|
18
|
+
* const command = new TagResourceCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SchedulerClientResolvedConfig | config} for SchedulerClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, SchedulerClientResolvedConfig> {
|
|
28
|
+
readonly input: TagResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: TagResourceCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SchedulerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
|
|
5
|
+
import { SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchedulerClient";
|
|
6
|
+
export interface UntagResourceCommandInput extends UntagResourceInput {
|
|
7
|
+
}
|
|
8
|
+
export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Removes one or more tags from the specified EventBridge Scheduler schedule group.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { SchedulerClient, UntagResourceCommand } from "@aws-sdk/client-scheduler"; // ES Modules import
|
|
16
|
+
* // const { SchedulerClient, UntagResourceCommand } = require("@aws-sdk/client-scheduler"); // CommonJS import
|
|
17
|
+
* const client = new SchedulerClient(config);
|
|
18
|
+
* const command = new UntagResourceCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SchedulerClientResolvedConfig | config} for SchedulerClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, SchedulerClientResolvedConfig> {
|
|
28
|
+
readonly input: UntagResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UntagResourceCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SchedulerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { UpdateScheduleInput, UpdateScheduleOutput } from "../models/models_0";
|
|
5
|
+
import { SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchedulerClient";
|
|
6
|
+
export interface UpdateScheduleCommandInput extends UpdateScheduleInput {
|
|
7
|
+
}
|
|
8
|
+
export interface UpdateScheduleCommandOutput extends UpdateScheduleOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>
|
|
12
|
+
* Updates the specified schedule. When you call <code>UpdateSchedule</code>, EventBridge Scheduler uses all values, including empty values, specified in the request and
|
|
13
|
+
* 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
|
|
14
|
+
* its system-default value after the update.
|
|
15
|
+
* </p>
|
|
16
|
+
* <p>
|
|
17
|
+
* Before calling this operation, we recommend that you call the <code>GetSchedule</code> API operation and make a note of all optional parameters
|
|
18
|
+
* for your <code>UpdateSchedule</code> call.
|
|
19
|
+
* </p>
|
|
20
|
+
* @example
|
|
21
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
+
* ```javascript
|
|
23
|
+
* import { SchedulerClient, UpdateScheduleCommand } from "@aws-sdk/client-scheduler"; // ES Modules import
|
|
24
|
+
* // const { SchedulerClient, UpdateScheduleCommand } = require("@aws-sdk/client-scheduler"); // CommonJS import
|
|
25
|
+
* const client = new SchedulerClient(config);
|
|
26
|
+
* const command = new UpdateScheduleCommand(input);
|
|
27
|
+
* const response = await client.send(command);
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* @see {@link UpdateScheduleCommandInput} for command's `input` shape.
|
|
31
|
+
* @see {@link UpdateScheduleCommandOutput} for command's `response` shape.
|
|
32
|
+
* @see {@link SchedulerClientResolvedConfig | config} for SchedulerClient's `config` shape.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
export declare class UpdateScheduleCommand extends $Command<UpdateScheduleCommandInput, UpdateScheduleCommandOutput, SchedulerClientResolvedConfig> {
|
|
36
|
+
readonly input: UpdateScheduleCommandInput;
|
|
37
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
38
|
+
constructor(input: UpdateScheduleCommandInput);
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SchedulerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateScheduleCommandInput, UpdateScheduleCommandOutput>;
|
|
43
|
+
private serialize;
|
|
44
|
+
private deserialize;
|
|
45
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from "./CreateScheduleCommand";
|
|
2
|
+
export * from "./CreateScheduleGroupCommand";
|
|
3
|
+
export * from "./DeleteScheduleCommand";
|
|
4
|
+
export * from "./DeleteScheduleGroupCommand";
|
|
5
|
+
export * from "./GetScheduleCommand";
|
|
6
|
+
export * from "./GetScheduleGroupCommand";
|
|
7
|
+
export * from "./ListScheduleGroupsCommand";
|
|
8
|
+
export * from "./ListSchedulesCommand";
|
|
9
|
+
export * from "./ListTagsForResourceCommand";
|
|
10
|
+
export * from "./TagResourceCommand";
|
|
11
|
+
export * from "./UntagResourceCommand";
|
|
12
|
+
export * from "./UpdateScheduleCommand";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@aws-sdk/types";
|
|
2
|
+
export interface ClientInputEndpointParameters {
|
|
3
|
+
region?: string | Provider<string>;
|
|
4
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
5
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
6
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
7
|
+
}
|
|
8
|
+
export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
9
|
+
defaultSigningName: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
+
Region?: string;
|
|
16
|
+
UseDualStack?: boolean;
|
|
17
|
+
UseFIPS?: boolean;
|
|
18
|
+
Endpoint?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Scheduler service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class SchedulerServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|