Documentation ¶
Overview ¶
Package scheduler provides the API client, operations, and parameter types for Amazon EventBridge Scheduler.
Amazon EventBridge Scheduler is a serverless scheduler that allows you to create, run, and manage tasks from one central, managed service. EventBridge Scheduler delivers your tasks reliably, with built-in mechanisms that adjust your schedules based on the availability of downstream targets. The following reference lists the available API actions, and data types for EventBridge Scheduler.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)
- type Client
- func (c *Client) CreateSchedule(ctx context.Context, params *CreateScheduleInput, optFns ...func(*Options)) (*CreateScheduleOutput, error)
- func (c *Client) CreateScheduleGroup(ctx context.Context, params *CreateScheduleGroupInput, ...) (*CreateScheduleGroupOutput, error)
- func (c *Client) DeleteSchedule(ctx context.Context, params *DeleteScheduleInput, optFns ...func(*Options)) (*DeleteScheduleOutput, error)
- func (c *Client) DeleteScheduleGroup(ctx context.Context, params *DeleteScheduleGroupInput, ...) (*DeleteScheduleGroupOutput, error)
- func (c *Client) GetSchedule(ctx context.Context, params *GetScheduleInput, optFns ...func(*Options)) (*GetScheduleOutput, error)
- func (c *Client) GetScheduleGroup(ctx context.Context, params *GetScheduleGroupInput, optFns ...func(*Options)) (*GetScheduleGroupOutput, error)
- func (c *Client) ListScheduleGroups(ctx context.Context, params *ListScheduleGroupsInput, optFns ...func(*Options)) (*ListScheduleGroupsOutput, error)
- func (c *Client) ListSchedules(ctx context.Context, params *ListSchedulesInput, optFns ...func(*Options)) (*ListSchedulesOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateSchedule(ctx context.Context, params *UpdateScheduleInput, optFns ...func(*Options)) (*UpdateScheduleOutput, error)
- type CreateScheduleGroupInput
- type CreateScheduleGroupOutput
- type CreateScheduleInput
- type CreateScheduleOutput
- type DeleteScheduleGroupInput
- type DeleteScheduleGroupOutput
- type DeleteScheduleInput
- type DeleteScheduleOutput
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type GetScheduleGroupInput
- type GetScheduleGroupOutput
- type GetScheduleInput
- type GetScheduleOutput
- type HTTPClient
- type HTTPSignerV4
- type IdempotencyTokenProvider
- type ListScheduleGroupsAPIClient
- type ListScheduleGroupsInput
- type ListScheduleGroupsOutput
- type ListScheduleGroupsPaginator
- type ListScheduleGroupsPaginatorOptions
- type ListSchedulesAPIClient
- type ListSchedulesInput
- type ListSchedulesOutput
- type ListSchedulesPaginator
- type ListSchedulesPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- type ResolveEndpoint
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateScheduleInput
- type UpdateScheduleOutput
Constants ¶
const ServiceAPIVersion = "2021-06-30"
const ServiceID = "Scheduler"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver ¶
func WithEndpointResolver(v EndpointResolver) func(*Options)
WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for Amazon EventBridge Scheduler.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) CreateSchedule ¶
func (c *Client) CreateSchedule(ctx context.Context, params *CreateScheduleInput, optFns ...func(*Options)) (*CreateScheduleOutput, error)
Creates the specified schedule.
func (*Client) CreateScheduleGroup ¶
func (c *Client) CreateScheduleGroup(ctx context.Context, params *CreateScheduleGroupInput, optFns ...func(*Options)) (*CreateScheduleGroupOutput, error)
Creates the specified schedule group.
func (*Client) DeleteSchedule ¶
func (c *Client) DeleteSchedule(ctx context.Context, params *DeleteScheduleInput, optFns ...func(*Options)) (*DeleteScheduleOutput, error)
Deletes the specified schedule.
func (*Client) DeleteScheduleGroup ¶
func (c *Client) DeleteScheduleGroup(ctx context.Context, params *DeleteScheduleGroupInput, optFns ...func(*Options)) (*DeleteScheduleGroupOutput, error)
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.
func (*Client) GetSchedule ¶
func (c *Client) GetSchedule(ctx context.Context, params *GetScheduleInput, optFns ...func(*Options)) (*GetScheduleOutput, error)
Retrieves the specified schedule.
func (*Client) GetScheduleGroup ¶
func (c *Client) GetScheduleGroup(ctx context.Context, params *GetScheduleGroupInput, optFns ...func(*Options)) (*GetScheduleGroupOutput, error)
Retrieves the specified schedule group.
func (*Client) ListScheduleGroups ¶
func (c *Client) ListScheduleGroups(ctx context.Context, params *ListScheduleGroupsInput, optFns ...func(*Options)) (*ListScheduleGroupsOutput, error)
Returns a paginated list of your schedule groups.
func (*Client) ListSchedules ¶
func (c *Client) ListSchedules(ctx context.Context, params *ListSchedulesInput, optFns ...func(*Options)) (*ListSchedulesOutput, error)
Returns a paginated list of your EventBridge Scheduler schedules.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Lists the tags associated with the Scheduler resource.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Assigns one or more tags (key-value pairs) to the specified EventBridge Scheduler resource. You can only assign tags to schedule groups.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes one or more tags from the specified EventBridge Scheduler schedule group.
func (*Client) UpdateSchedule ¶
func (c *Client) UpdateSchedule(ctx context.Context, params *UpdateScheduleInput, optFns ...func(*Options)) (*UpdateScheduleOutput, error)
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.
type CreateScheduleGroupInput ¶
type CreateScheduleGroupInput struct { // The name of the schedule group that you are creating. // // This member is required. Name *string // Unique, case-sensitive identifier you provide to ensure the idempotency of the // request. If you do not specify a client token, EventBridge Scheduler uses a // randomly generated token for the request to ensure idempotency. ClientToken *string // The list of tags to associate with the schedule group. Tags []types.Tag // contains filtered or unexported fields }
type CreateScheduleGroupOutput ¶
type CreateScheduleGroupOutput struct { // The Amazon Resource Name (ARN) of the schedule group. // // This member is required. ScheduleGroupArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateScheduleInput ¶
type CreateScheduleInput struct { // Allows you to configure a time window during which EventBridge Scheduler // invokes the schedule. // // This member is required. FlexibleTimeWindow *types.FlexibleTimeWindow // The name of the schedule that you are creating. // // This member is required. Name *string // The expression that defines when the schedule runs. The following formats are // supported. // - at expression - at(yyyy-mm-ddThh:mm:ss) // - rate expression - rate(unit value) // - cron expression - cron(fields) // You can use at expressions to create one-time schedules that invoke a target // once, at the time and in the time zone, that you specify. You can use rate and // cron expressions to create recurring schedules. Rate-based schedules are useful // when you want to invoke a target at regular intervals, such as every 15 minutes // or every five days. Cron-based schedules are useful when you want to invoke a // target periodically at a specific time, such as at 8:00 am (UTC+0) every 1st day // of the month. A cron expression consists of six fields separated by white // spaces: (minutes hours day_of_month month day_of_week year) . A rate expression // consists of a value as a positive integer, and a unit with the following // options: minute | minutes | hour | hours | day | days For more information and // examples, see Schedule types on EventBridge Scheduler (https://docs.aws.amazon.com/scheduler/latest/UserGuide/schedule-types.html) // in the EventBridge Scheduler User Guide. // // This member is required. ScheduleExpression *string // The schedule's target. // // This member is required. Target *types.Target // Unique, case-sensitive identifier you provide to ensure the idempotency of the // request. If you do not specify a client token, EventBridge Scheduler uses a // randomly generated token for the request to ensure idempotency. ClientToken *string // The description you specify for the schedule. Description *string // The date, in UTC, before which the schedule can invoke its target. Depending on // the schedule's recurrence expression, invocations might stop on, or before, the // EndDate you specify. EventBridge Scheduler ignores EndDate for one-time // schedules. EndDate *time.Time // The name of the schedule group to associate with this schedule. If you omit // this, the default schedule group is used. GroupName *string // The Amazon Resource Name (ARN) for the customer managed KMS key that // EventBridge Scheduler will use to encrypt and decrypt your data. KmsKeyArn *string // The timezone in which the scheduling expression is evaluated. ScheduleExpressionTimezone *string // The date, in UTC, after which the schedule can begin invoking its target. // Depending on the schedule's recurrence expression, invocations might occur on, // or after, the StartDate you specify. EventBridge Scheduler ignores StartDate // for one-time schedules. StartDate *time.Time // Specifies whether the schedule is enabled or disabled. State types.ScheduleState // contains filtered or unexported fields }
type CreateScheduleOutput ¶
type CreateScheduleOutput struct { // The Amazon Resource Name (ARN) of the schedule. // // This member is required. ScheduleArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteScheduleGroupInput ¶
type DeleteScheduleGroupInput struct { // The name of the schedule group to delete. // // This member is required. Name *string // Unique, case-sensitive identifier you provide to ensure the idempotency of the // request. If you do not specify a client token, EventBridge Scheduler uses a // randomly generated token for the request to ensure idempotency. ClientToken *string // contains filtered or unexported fields }
type DeleteScheduleGroupOutput ¶
type DeleteScheduleGroupOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteScheduleInput ¶
type DeleteScheduleInput struct { // The name of the schedule to delete. // // This member is required. Name *string // Unique, case-sensitive identifier you provide to ensure the idempotency of the // request. If you do not specify a client token, EventBridge Scheduler uses a // randomly generated token for the request to ensure idempotency. ClientToken *string // The name of the schedule group associated with this schedule. If you omit this, // the default schedule group is used. GroupName *string // contains filtered or unexported fields }
type DeleteScheduleOutput ¶
type DeleteScheduleOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type GetScheduleGroupInput ¶
type GetScheduleGroupInput struct { // The name of the schedule group to retrieve. // // This member is required. Name *string // contains filtered or unexported fields }
type GetScheduleGroupOutput ¶
type GetScheduleGroupOutput struct { // The Amazon Resource Name (ARN) of the schedule group. Arn *string // The time at which the schedule group was created. CreationDate *time.Time // The time at which the schedule group was last modified. LastModificationDate *time.Time // The name of the schedule group. Name *string // Specifies the state of the schedule group. State types.ScheduleGroupState // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetScheduleInput ¶
type GetScheduleInput struct { // The name of the schedule to retrieve. // // This member is required. Name *string // The name of the schedule group associated with this schedule. If you omit this, // EventBridge Scheduler assumes that the schedule is associated with the default // group. GroupName *string // contains filtered or unexported fields }
type GetScheduleOutput ¶
type GetScheduleOutput struct { // The Amazon Resource Name (ARN) of the schedule. Arn *string // The time at which the schedule was created. CreationDate *time.Time // The description of the schedule. Description *string // The date, in UTC, before which the schedule can invoke its target. Depending on // the schedule's recurrence expression, invocations might stop on, or before, the // EndDate you specify. EventBridge Scheduler ignores EndDate for one-time // schedules. EndDate *time.Time // Allows you to configure a time window during which EventBridge Scheduler // invokes the schedule. FlexibleTimeWindow *types.FlexibleTimeWindow // The name of the schedule group associated with this schedule. GroupName *string // The ARN for a customer managed KMS Key that is be used to encrypt and decrypt // your data. KmsKeyArn *string // The time at which the schedule was last modified. LastModificationDate *time.Time // The name of the schedule. Name *string // The expression that defines when the schedule runs. The following formats are // supported. // - at expression - at(yyyy-mm-ddThh:mm:ss) // - rate expression - rate(unit value) // - cron expression - cron(fields) // You can use at expressions to create one-time schedules that invoke a target // once, at the time and in the time zone, that you specify. You can use rate and // cron expressions to create recurring schedules. Rate-based schedules are useful // when you want to invoke a target at regular intervals, such as every 15 minutes // or every five days. Cron-based schedules are useful when you want to invoke a // target periodically at a specific time, such as at 8:00 am (UTC+0) every 1st day // of the month. A cron expression consists of six fields separated by white // spaces: (minutes hours day_of_month month day_of_week year) . A rate expression // consists of a value as a positive integer, and a unit with the following // options: minute | minutes | hour | hours | day | days For more information and // examples, see Schedule types on EventBridge Scheduler (https://docs.aws.amazon.com/scheduler/latest/UserGuide/schedule-types.html) // in the EventBridge Scheduler User Guide. ScheduleExpression *string // The timezone in which the scheduling expression is evaluated. ScheduleExpressionTimezone *string // The date, in UTC, after which the schedule can begin invoking its target. // Depending on the schedule's recurrence expression, invocations might occur on, // or after, the StartDate you specify. EventBridge Scheduler ignores StartDate // for one-time schedules. StartDate *time.Time // Specifies whether the schedule is enabled or disabled. State types.ScheduleState // The schedule target. Target *types.Target // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type IdempotencyTokenProvider ¶
IdempotencyTokenProvider interface for providing idempotency token
type ListScheduleGroupsAPIClient ¶
type ListScheduleGroupsAPIClient interface {
ListScheduleGroups(context.Context, *ListScheduleGroupsInput, ...func(*Options)) (*ListScheduleGroupsOutput, error)
}
ListScheduleGroupsAPIClient is a client that implements the ListScheduleGroups operation.
type ListScheduleGroupsInput ¶
type ListScheduleGroupsInput struct { // If specified, limits the number of results returned by this operation. The // operation also returns a NextToken which you can use in a subsequent operation // to retrieve the next set of results. MaxResults *int32 // The name prefix that you can use to return a filtered list of your schedule // groups. NamePrefix *string // The token returned by a previous call to retrieve the next set of results. NextToken *string // contains filtered or unexported fields }
type ListScheduleGroupsOutput ¶
type ListScheduleGroupsOutput struct { // The schedule groups that match the specified criteria. // // This member is required. ScheduleGroups []types.ScheduleGroupSummary // Indicates whether there are additional results to retrieve. If the value is // null, there are no more results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListScheduleGroupsPaginator ¶
type ListScheduleGroupsPaginator struct {
// contains filtered or unexported fields
}
ListScheduleGroupsPaginator is a paginator for ListScheduleGroups
func NewListScheduleGroupsPaginator ¶
func NewListScheduleGroupsPaginator(client ListScheduleGroupsAPIClient, params *ListScheduleGroupsInput, optFns ...func(*ListScheduleGroupsPaginatorOptions)) *ListScheduleGroupsPaginator
NewListScheduleGroupsPaginator returns a new ListScheduleGroupsPaginator
func (*ListScheduleGroupsPaginator) HasMorePages ¶
func (p *ListScheduleGroupsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListScheduleGroupsPaginator) NextPage ¶
func (p *ListScheduleGroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListScheduleGroupsOutput, error)
NextPage retrieves the next ListScheduleGroups page.
type ListScheduleGroupsPaginatorOptions ¶
type ListScheduleGroupsPaginatorOptions struct { // If specified, limits the number of results returned by this operation. The // operation also returns a NextToken which you can use in a subsequent operation // to retrieve the next set of results. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListScheduleGroupsPaginatorOptions is the paginator options for ListScheduleGroups
type ListSchedulesAPIClient ¶
type ListSchedulesAPIClient interface {
ListSchedules(context.Context, *ListSchedulesInput, ...func(*Options)) (*ListSchedulesOutput, error)
}
ListSchedulesAPIClient is a client that implements the ListSchedules operation.
type ListSchedulesInput ¶
type ListSchedulesInput struct { // If specified, only lists the schedules whose associated schedule group matches // the given filter. GroupName *string // If specified, limits the number of results returned by this operation. The // operation also returns a NextToken which you can use in a subsequent operation // to retrieve the next set of results. MaxResults *int32 // Schedule name prefix to return the filtered list of resources. NamePrefix *string // The token returned by a previous call to retrieve the next set of results. NextToken *string // If specified, only lists the schedules whose current state matches the given // filter. State types.ScheduleState // contains filtered or unexported fields }
type ListSchedulesOutput ¶
type ListSchedulesOutput struct { // The schedules that match the specified criteria. // // This member is required. Schedules []types.ScheduleSummary // Indicates whether there are additional results to retrieve. If the value is // null, there are no more results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListSchedulesPaginator ¶
type ListSchedulesPaginator struct {
// contains filtered or unexported fields
}
ListSchedulesPaginator is a paginator for ListSchedules
func NewListSchedulesPaginator ¶
func NewListSchedulesPaginator(client ListSchedulesAPIClient, params *ListSchedulesInput, optFns ...func(*ListSchedulesPaginatorOptions)) *ListSchedulesPaginator
NewListSchedulesPaginator returns a new ListSchedulesPaginator
func (*ListSchedulesPaginator) HasMorePages ¶
func (p *ListSchedulesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListSchedulesPaginator) NextPage ¶
func (p *ListSchedulesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListSchedulesOutput, error)
NextPage retrieves the next ListSchedules page.
type ListSchedulesPaginatorOptions ¶
type ListSchedulesPaginatorOptions struct { // If specified, limits the number of results returned by this operation. The // operation also returns a NextToken which you can use in a subsequent operation // to retrieve the next set of results. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListSchedulesPaginatorOptions is the paginator options for ListSchedules
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The ARN of the EventBridge Scheduler resource for which you want to view tags. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // The list of tags associated with the specified resource. Tags []types.Tag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The optional application specific identifier appended to the User-Agent header. AppID string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // Provides idempotency tokens values that will be automatically populated into // idempotent API operations. IdempotencyTokenProvider IdempotencyTokenProvider // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. When creating a new API Clients this // member will only be used if the Retryer Options member is nil. This value will // be ignored if Retryer is not nil. If specified in an operation call's functional // options with a value that is different than the constructed client's Options, // the Client's Retryer will be wrapped to use the operation's specific // RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. When creating a new API Clients this // member will only be used if the Retryer Options member is nil. This value will // be ignored if Retryer is not nil. Currently does not support per operation call // overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // contains filtered or unexported fields }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the schedule group that you are adding tags // to. // // This member is required. ResourceArn *string // The list of tags to associate with the schedule group. // // This member is required. Tags []types.Tag // contains filtered or unexported fields }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the schedule group from which you are // removing tags. // // This member is required. ResourceArn *string // The list of tag keys to remove from the resource. // // This member is required. TagKeys []string // contains filtered or unexported fields }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateScheduleInput ¶
type UpdateScheduleInput struct { // Allows you to configure a time window during which EventBridge Scheduler // invokes the schedule. // // This member is required. FlexibleTimeWindow *types.FlexibleTimeWindow // The name of the schedule that you are updating. // // This member is required. Name *string // The expression that defines when the schedule runs. The following formats are // supported. // - at expression - at(yyyy-mm-ddThh:mm:ss) // - rate expression - rate(unit value) // - cron expression - cron(fields) // You can use at expressions to create one-time schedules that invoke a target // once, at the time and in the time zone, that you specify. You can use rate and // cron expressions to create recurring schedules. Rate-based schedules are useful // when you want to invoke a target at regular intervals, such as every 15 minutes // or every five days. Cron-based schedules are useful when you want to invoke a // target periodically at a specific time, such as at 8:00 am (UTC+0) every 1st day // of the month. A cron expression consists of six fields separated by white // spaces: (minutes hours day_of_month month day_of_week year) . A rate expression // consists of a value as a positive integer, and a unit with the following // options: minute | minutes | hour | hours | day | days For more information and // examples, see Schedule types on EventBridge Scheduler (https://docs.aws.amazon.com/scheduler/latest/UserGuide/schedule-types.html) // in the EventBridge Scheduler User Guide. // // This member is required. ScheduleExpression *string // The schedule target. You can use this operation to change the target that your // schedule invokes. // // This member is required. Target *types.Target // Unique, case-sensitive identifier you provide to ensure the idempotency of the // request. If you do not specify a client token, EventBridge Scheduler uses a // randomly generated token for the request to ensure idempotency. ClientToken *string // The description you specify for the schedule. Description *string // The date, in UTC, before which the schedule can invoke its target. Depending on // the schedule's recurrence expression, invocations might stop on, or before, the // EndDate you specify. EventBridge Scheduler ignores EndDate for one-time // schedules. EndDate *time.Time // The name of the schedule group with which the schedule is associated. You must // provide this value in order for EventBridge Scheduler to find the schedule you // want to update. If you omit this value, EventBridge Scheduler assumes the group // is associated to the default group. GroupName *string // The ARN for the customer managed KMS key that that you want EventBridge // Scheduler to use to encrypt and decrypt your data. KmsKeyArn *string // The timezone in which the scheduling expression is evaluated. ScheduleExpressionTimezone *string // The date, in UTC, after which the schedule can begin invoking its target. // Depending on the schedule's recurrence expression, invocations might occur on, // or after, the StartDate you specify. EventBridge Scheduler ignores StartDate // for one-time schedules. StartDate *time.Time // Specifies whether the schedule is enabled or disabled. State types.ScheduleState // contains filtered or unexported fields }
type UpdateScheduleOutput ¶
type UpdateScheduleOutput struct { // The Amazon Resource Name (ARN) of the schedule that you updated. // // This member is required. ScheduleArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_CreateSchedule.go
- api_op_CreateScheduleGroup.go
- api_op_DeleteSchedule.go
- api_op_DeleteScheduleGroup.go
- api_op_GetSchedule.go
- api_op_GetScheduleGroup.go
- api_op_ListScheduleGroups.go
- api_op_ListSchedules.go
- api_op_ListTagsForResource.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateSchedule.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- serializers.go
- validators.go