@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonScheduler extends Object implements AmazonScheduler
AmazonScheduler
. Convenient method forms pass through to the corresponding
overload that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
CreateScheduleResult |
createSchedule(CreateScheduleRequest request)
Creates the specified schedule.
|
CreateScheduleGroupResult |
createScheduleGroup(CreateScheduleGroupRequest request)
Creates the specified schedule group.
|
DeleteScheduleResult |
deleteSchedule(DeleteScheduleRequest request)
Deletes the specified schedule.
|
DeleteScheduleGroupResult |
deleteScheduleGroup(DeleteScheduleGroupRequest request)
Deletes the specified schedule group.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetScheduleResult |
getSchedule(GetScheduleRequest request)
Retrieves the specified schedule.
|
GetScheduleGroupResult |
getScheduleGroup(GetScheduleGroupRequest request)
Retrieves the specified schedule group.
|
ListScheduleGroupsResult |
listScheduleGroups(ListScheduleGroupsRequest request)
Returns a paginated list of your schedule groups.
|
ListSchedulesResult |
listSchedules(ListSchedulesRequest request)
Returns a paginated list of your EventBridge Scheduler schedules.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists the tags associated with the Scheduler resource.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Assigns one or more tags (key-value pairs) to the specified EventBridge Scheduler resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes one or more tags from the specified EventBridge Scheduler schedule group.
|
UpdateScheduleResult |
updateSchedule(UpdateScheduleRequest request)
Updates the specified schedule.
|
public CreateScheduleResult createSchedule(CreateScheduleRequest request)
AmazonScheduler
Creates the specified schedule.
createSchedule
in interface AmazonScheduler
public CreateScheduleGroupResult createScheduleGroup(CreateScheduleGroupRequest request)
AmazonScheduler
Creates the specified schedule group.
createScheduleGroup
in interface AmazonScheduler
public DeleteScheduleResult deleteSchedule(DeleteScheduleRequest request)
AmazonScheduler
Deletes the specified schedule.
deleteSchedule
in interface AmazonScheduler
public DeleteScheduleGroupResult deleteScheduleGroup(DeleteScheduleGroupRequest request)
AmazonScheduler
Deletes the specified schedule group. Deleting a schedule group results in EventBridge Scheduler deleting all
schedules associated with the group. When you delete a group, it remains in a DELETING
state until
all of its associated schedules are deleted. 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 until the schedule group
and its associated schedules are deleted.
This operation is eventually consistent.
deleteScheduleGroup
in interface AmazonScheduler
public GetScheduleResult getSchedule(GetScheduleRequest request)
AmazonScheduler
Retrieves the specified schedule.
getSchedule
in interface AmazonScheduler
public GetScheduleGroupResult getScheduleGroup(GetScheduleGroupRequest request)
AmazonScheduler
Retrieves the specified schedule group.
getScheduleGroup
in interface AmazonScheduler
public ListScheduleGroupsResult listScheduleGroups(ListScheduleGroupsRequest request)
AmazonScheduler
Returns a paginated list of your schedule groups.
listScheduleGroups
in interface AmazonScheduler
public ListSchedulesResult listSchedules(ListSchedulesRequest request)
AmazonScheduler
Returns a paginated list of your EventBridge Scheduler schedules.
listSchedules
in interface AmazonScheduler
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonScheduler
Lists the tags associated with the Scheduler resource.
listTagsForResource
in interface AmazonScheduler
public TagResourceResult tagResource(TagResourceRequest request)
AmazonScheduler
Assigns one or more tags (key-value pairs) to the specified EventBridge Scheduler resource. You can only assign tags to schedule groups.
tagResource
in interface AmazonScheduler
public UntagResourceResult untagResource(UntagResourceRequest request)
AmazonScheduler
Removes one or more tags from the specified EventBridge Scheduler schedule group.
untagResource
in interface AmazonScheduler
public UpdateScheduleResult updateSchedule(UpdateScheduleRequest request)
AmazonScheduler
Updates the specified schedule. When you call UpdateSchedule
, EventBridge Scheduler uses all values,
including empty values, specified in the request and 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 its system-default
value after the update.
Before calling this operation, we recommend that you call the GetSchedule
API operation and make a
note of all optional parameters for your UpdateSchedule
call.
updateSchedule
in interface AmazonScheduler
public void shutdown()
AmazonScheduler
shutdown
in interface AmazonScheduler
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonScheduler
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata
in interface AmazonScheduler
request
- The originally executed request.