amazonka-scheduler-2.0: Amazon EventBridge Scheduler SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Scheduler.Lens

Description

 
Synopsis

Operations

CreateSchedule

createSchedule_clientToken :: Lens' CreateSchedule (Maybe Text) Source #

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.

createSchedule_description :: Lens' CreateSchedule (Maybe Text) Source #

The description you specify for the schedule.

createSchedule_endDate :: Lens' CreateSchedule (Maybe UTCTime) Source #

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.

createSchedule_groupName :: Lens' CreateSchedule (Maybe Text) Source #

The name of the schedule group to associate with this schedule. If you omit this, the default schedule group is used.

createSchedule_kmsKeyArn :: Lens' CreateSchedule (Maybe Text) Source #

The Amazon Resource Name (ARN) for the customer managed KMS key that EventBridge Scheduler will use to encrypt and decrypt your data.

createSchedule_scheduleExpressionTimezone :: Lens' CreateSchedule (Maybe Text) Source #

The timezone in which the scheduling expression is evaluated.

createSchedule_startDate :: Lens' CreateSchedule (Maybe UTCTime) Source #

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.

createSchedule_state :: Lens' CreateSchedule (Maybe ScheduleState) Source #

Specifies whether the schedule is enabled or disabled.

createSchedule_flexibleTimeWindow :: Lens' CreateSchedule FlexibleTimeWindow Source #

Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.

createSchedule_name :: Lens' CreateSchedule Text Source #

The name of the schedule that you are creating.

createSchedule_scheduleExpression :: Lens' CreateSchedule Text Source #

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 in the EventBridge Scheduler User Guide.

createScheduleResponse_scheduleArn :: Lens' CreateScheduleResponse Text Source #

The Amazon Resource Name (ARN) of the schedule.

CreateScheduleGroup

createScheduleGroup_clientToken :: Lens' CreateScheduleGroup (Maybe Text) Source #

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.

createScheduleGroup_tags :: Lens' CreateScheduleGroup (Maybe [Tag]) Source #

The list of tags to associate with the schedule group.

createScheduleGroup_name :: Lens' CreateScheduleGroup Text Source #

The name of the schedule group that you are creating.

createScheduleGroupResponse_scheduleGroupArn :: Lens' CreateScheduleGroupResponse Text Source #

The Amazon Resource Name (ARN) of the schedule group.

DeleteSchedule

deleteSchedule_clientToken :: Lens' DeleteSchedule (Maybe Text) Source #

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.

deleteSchedule_groupName :: Lens' DeleteSchedule (Maybe Text) Source #

The name of the schedule group associated with this schedule. If you omit this, the default schedule group is used.

deleteSchedule_name :: Lens' DeleteSchedule Text Source #

The name of the schedule to delete.

DeleteScheduleGroup

deleteScheduleGroup_clientToken :: Lens' DeleteScheduleGroup (Maybe Text) Source #

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.

deleteScheduleGroup_name :: Lens' DeleteScheduleGroup Text Source #

The name of the schedule group to delete.

GetSchedule

getSchedule_groupName :: Lens' GetSchedule (Maybe Text) Source #

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.

getSchedule_name :: Lens' GetSchedule Text Source #

The name of the schedule to retrieve.

getScheduleResponse_arn :: Lens' GetScheduleResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the schedule.

getScheduleResponse_creationDate :: Lens' GetScheduleResponse (Maybe UTCTime) Source #

The time at which the schedule was created.

getScheduleResponse_endDate :: Lens' GetScheduleResponse (Maybe UTCTime) Source #

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.

getScheduleResponse_flexibleTimeWindow :: Lens' GetScheduleResponse (Maybe FlexibleTimeWindow) Source #

Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.

getScheduleResponse_groupName :: Lens' GetScheduleResponse (Maybe Text) Source #

The name of the schedule group associated with this schedule.

getScheduleResponse_kmsKeyArn :: Lens' GetScheduleResponse (Maybe Text) Source #

The ARN for a customer managed KMS Key that is be used to encrypt and decrypt your data.

getScheduleResponse_lastModificationDate :: Lens' GetScheduleResponse (Maybe UTCTime) Source #

The time at which the schedule was last modified.

getScheduleResponse_scheduleExpression :: Lens' GetScheduleResponse (Maybe Text) Source #

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 in the EventBridge Scheduler User Guide.

getScheduleResponse_scheduleExpressionTimezone :: Lens' GetScheduleResponse (Maybe Text) Source #

The timezone in which the scheduling expression is evaluated.

getScheduleResponse_startDate :: Lens' GetScheduleResponse (Maybe UTCTime) Source #

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.

getScheduleResponse_state :: Lens' GetScheduleResponse (Maybe ScheduleState) Source #

Specifies whether the schedule is enabled or disabled.

GetScheduleGroup

getScheduleGroup_name :: Lens' GetScheduleGroup Text Source #

The name of the schedule group to retrieve.

getScheduleGroupResponse_arn :: Lens' GetScheduleGroupResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the schedule group.

getScheduleGroupResponse_creationDate :: Lens' GetScheduleGroupResponse (Maybe UTCTime) Source #

The time at which the schedule group was created.

getScheduleGroupResponse_lastModificationDate :: Lens' GetScheduleGroupResponse (Maybe UTCTime) Source #

The time at which the schedule group was last modified.

ListScheduleGroups

listScheduleGroups_maxResults :: Lens' ListScheduleGroups (Maybe Natural) Source #

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.

listScheduleGroups_namePrefix :: Lens' ListScheduleGroups (Maybe Text) Source #

The name prefix that you can use to return a filtered list of your schedule groups.

listScheduleGroups_nextToken :: Lens' ListScheduleGroups (Maybe Text) Source #

The token returned by a previous call to retrieve the next set of results.

listScheduleGroupsResponse_nextToken :: Lens' ListScheduleGroupsResponse (Maybe Text) Source #

Indicates whether there are additional results to retrieve. If the value is null, there are no more results.

ListSchedules

listSchedules_groupName :: Lens' ListSchedules (Maybe Text) Source #

If specified, only lists the schedules whose associated schedule group matches the given filter.

listSchedules_maxResults :: Lens' ListSchedules (Maybe Natural) Source #

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.

listSchedules_namePrefix :: Lens' ListSchedules (Maybe Text) Source #

Schedule name prefix to return the filtered list of resources.

listSchedules_nextToken :: Lens' ListSchedules (Maybe Text) Source #

The token returned by a previous call to retrieve the next set of results.

listSchedules_state :: Lens' ListSchedules (Maybe ScheduleState) Source #

If specified, only lists the schedules whose current state matches the given filter.

listSchedulesResponse_nextToken :: Lens' ListSchedulesResponse (Maybe Text) Source #

Indicates whether there are additional results to retrieve. If the value is null, there are no more results.

listSchedulesResponse_schedules :: Lens' ListSchedulesResponse [ScheduleSummary] Source #

The schedules that match the specified criteria.

ListTagsForResource

listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #

The ARN of the EventBridge Scheduler resource for which you want to view tags.

listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag]) Source #

The list of tags associated with the specified resource.

TagResource

tagResource_resourceArn :: Lens' TagResource Text Source #

The Amazon Resource Name (ARN) of the schedule group that you are adding tags to.

tagResource_tags :: Lens' TagResource [Tag] Source #

The list of tags to associate with the schedule group.

UntagResource

untagResource_resourceArn :: Lens' UntagResource Text Source #

The Amazon Resource Name (ARN) of the schedule group from which you are removing tags.

untagResource_tagKeys :: Lens' UntagResource [Text] Source #

The list of tag keys to remove from the resource.

UpdateSchedule

updateSchedule_clientToken :: Lens' UpdateSchedule (Maybe Text) Source #

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.

updateSchedule_description :: Lens' UpdateSchedule (Maybe Text) Source #

The description you specify for the schedule.

updateSchedule_endDate :: Lens' UpdateSchedule (Maybe UTCTime) Source #

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.

updateSchedule_groupName :: Lens' UpdateSchedule (Maybe Text) Source #

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.

updateSchedule_kmsKeyArn :: Lens' UpdateSchedule (Maybe Text) Source #

The ARN for the customer managed KMS key that that you want EventBridge Scheduler to use to encrypt and decrypt your data.

updateSchedule_scheduleExpressionTimezone :: Lens' UpdateSchedule (Maybe Text) Source #

The timezone in which the scheduling expression is evaluated.

updateSchedule_startDate :: Lens' UpdateSchedule (Maybe UTCTime) Source #

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.

updateSchedule_state :: Lens' UpdateSchedule (Maybe ScheduleState) Source #

Specifies whether the schedule is enabled or disabled.

updateSchedule_flexibleTimeWindow :: Lens' UpdateSchedule FlexibleTimeWindow Source #

Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.

updateSchedule_name :: Lens' UpdateSchedule Text Source #

The name of the schedule that you are updating.

updateSchedule_scheduleExpression :: Lens' UpdateSchedule Text Source #

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 in the EventBridge Scheduler User Guide.

updateSchedule_target :: Lens' UpdateSchedule Target Source #

The schedule target. You can use this operation to change the target that your schedule invokes.

updateScheduleResponse_scheduleArn :: Lens' UpdateScheduleResponse Text Source #

The Amazon Resource Name (ARN) of the schedule that you updated.

Types

AwsVpcConfiguration

awsVpcConfiguration_assignPublicIp :: Lens' AwsVpcConfiguration (Maybe AssignPublicIp) Source #

Specifies whether the task's elastic network interface receives a public IP address. You can specify ENABLED only when LaunchType in EcsParameters is set to FARGATE.

awsVpcConfiguration_securityGroups :: Lens' AwsVpcConfiguration (Maybe (NonEmpty Text)) Source #

Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.

awsVpcConfiguration_subnets :: Lens' AwsVpcConfiguration (NonEmpty Text) Source #

Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.

CapacityProviderStrategyItem

capacityProviderStrategyItem_base :: Lens' CapacityProviderStrategyItem (Maybe Natural) Source #

The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. If no value is specified, the default value of 0 is used.

capacityProviderStrategyItem_weight :: Lens' CapacityProviderStrategyItem (Maybe Natural) Source #

The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The weight value is taken into consideration after the base value, if defined, is satisfied.

DeadLetterConfig

deadLetterConfig_arn :: Lens' DeadLetterConfig (Maybe Text) Source #

The Amazon Resource Name (ARN) of the SQS queue specified as the destination for the dead-letter queue.

EcsParameters

ecsParameters_capacityProviderStrategy :: Lens' EcsParameters (Maybe [CapacityProviderStrategyItem]) Source #

The capacity provider strategy to use for the task.

ecsParameters_enableECSManagedTags :: Lens' EcsParameters (Maybe Bool) Source #

Specifies whether to enable Amazon ECS managed tags for the task. For more information, see Tagging Your Amazon ECS Resources in the Amazon ECS Developer Guide.

ecsParameters_enableExecuteCommand :: Lens' EcsParameters (Maybe Bool) Source #

Whether or not to enable the execute command functionality for the containers in this task. If true, this enables execute command functionality on all containers in the task.

ecsParameters_group :: Lens' EcsParameters (Maybe Text) Source #

Specifies an ECS task group for the task. The maximum length is 255 characters.

ecsParameters_launchType :: Lens' EcsParameters (Maybe LaunchType) Source #

Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. The FARGATE value is supported only in the Regions where Fargate with Amazon ECS is supported. For more information, see AWS Fargate on Amazon ECS in the Amazon ECS Developer Guide.

ecsParameters_networkConfiguration :: Lens' EcsParameters (Maybe NetworkConfiguration) Source #

This structure specifies the network configuration for an ECS task.

ecsParameters_placementConstraints :: Lens' EcsParameters (Maybe [PlacementConstraint]) Source #

An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at runtime).

ecsParameters_placementStrategy :: Lens' EcsParameters (Maybe [PlacementStrategy]) Source #

The task placement strategy for a task or service.

ecsParameters_platformVersion :: Lens' EcsParameters (Maybe Text) Source #

Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as 1.1.0.

ecsParameters_propagateTags :: Lens' EcsParameters (Maybe PropagateTags) Source #

Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags are not propagated. Tags can only be propagated to the task during task creation. To add tags to a task after task creation, use Amazon ECS's TagResource API action.

ecsParameters_referenceId :: Lens' EcsParameters (Maybe Text) Source #

The reference ID to use for the task.

ecsParameters_tags :: Lens' EcsParameters (Maybe [HashMap Text Text]) Source #

The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. For more information, see RunTask in the Amazon ECS API Reference.

ecsParameters_taskCount :: Lens' EcsParameters (Maybe Natural) Source #

The number of tasks to create based on TaskDefinition. The default is 1.

ecsParameters_taskDefinitionArn :: Lens' EcsParameters Text Source #

The Amazon Resource Name (ARN) of the task definition to use if the event target is an Amazon ECS task.

EventBridgeParameters

eventBridgeParameters_detailType :: Lens' EventBridgeParameters Text Source #

A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.

FlexibleTimeWindow

flexibleTimeWindow_maximumWindowInMinutes :: Lens' FlexibleTimeWindow (Maybe Natural) Source #

The maximum time window during which a schedule can be invoked.

flexibleTimeWindow_mode :: Lens' FlexibleTimeWindow FlexibleTimeWindowMode Source #

Determines whether the schedule is invoked within a flexible time window.

KinesisParameters

kinesisParameters_partitionKey :: Lens' KinesisParameters Text Source #

Specifies the shard to which EventBridge Scheduler sends the event. For more information, see Amazon Kinesis Data Streams terminology and concepts in the Amazon Kinesis Streams Developer Guide.

NetworkConfiguration

networkConfiguration_awsvpcConfiguration :: Lens' NetworkConfiguration (Maybe AwsVpcConfiguration) Source #

Specifies the Amazon VPC subnets and security groups for the task, and whether a public IP address is to be used. This structure is relevant only for ECS tasks that use the awsvpc network mode.

PlacementConstraint

placementConstraint_expression :: Lens' PlacementConstraint (Maybe Text) Source #

A cluster query language expression to apply to the constraint. You cannot specify an expression if the constraint type is distinctInstance. For more information, see Cluster query language in the Amazon ECS Developer Guide.

placementConstraint_type :: Lens' PlacementConstraint (Maybe PlacementConstraintType) Source #

The type of constraint. Use distinctInstance to ensure that each task in a particular group is running on a different container instance. Use memberOf to restrict the selection to a group of valid candidates.

PlacementStrategy

placementStrategy_field :: Lens' PlacementStrategy (Maybe Text) Source #

The field to apply the placement strategy against. For the spread placement strategy, valid values are instanceId (or instanceId, which has the same effect), or any platform or custom attribute that is applied to a container instance, such as attribute:ecs.availability-zone. For the binpack placement strategy, valid values are cpu and memory. For the random placement strategy, this field is not used.

placementStrategy_type :: Lens' PlacementStrategy (Maybe PlacementStrategyType) Source #

The type of placement strategy. The random placement strategy randomly places tasks on available candidates. The spread placement strategy spreads placement across available candidates 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. 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).

RetryPolicy

retryPolicy_maximumEventAgeInSeconds :: Lens' RetryPolicy (Maybe Natural) Source #

The maximum amount of time, in seconds, to continue to make retry attempts.

retryPolicy_maximumRetryAttempts :: Lens' RetryPolicy (Maybe Natural) Source #

The maximum number of retry attempts to make before the request fails. Retry attempts with exponential backoff continue until either the maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds is reached.

SageMakerPipelineParameter

sageMakerPipelineParameter_name :: Lens' SageMakerPipelineParameter Text Source #

Name of parameter to start execution of a SageMaker Model Building Pipeline.

sageMakerPipelineParameter_value :: Lens' SageMakerPipelineParameter Text Source #

Value of parameter to start execution of a SageMaker Model Building Pipeline.

SageMakerPipelineParameters

sageMakerPipelineParameters_pipelineParameterList :: Lens' SageMakerPipelineParameters (Maybe [SageMakerPipelineParameter]) Source #

List of parameter names and values to use when executing the SageMaker Model Building Pipeline.

ScheduleGroupSummary

scheduleGroupSummary_arn :: Lens' ScheduleGroupSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the schedule group.

scheduleGroupSummary_creationDate :: Lens' ScheduleGroupSummary (Maybe UTCTime) Source #

The time at which the schedule group was created.

scheduleGroupSummary_lastModificationDate :: Lens' ScheduleGroupSummary (Maybe UTCTime) Source #

The time at which the schedule group was last modified.

ScheduleSummary

scheduleSummary_arn :: Lens' ScheduleSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the schedule.

scheduleSummary_creationDate :: Lens' ScheduleSummary (Maybe UTCTime) Source #

The time at which the schedule was created.

scheduleSummary_groupName :: Lens' ScheduleSummary (Maybe Text) Source #

The name of the schedule group associated with this schedule.

scheduleSummary_lastModificationDate :: Lens' ScheduleSummary (Maybe UTCTime) Source #

The time at which the schedule was last modified.

scheduleSummary_state :: Lens' ScheduleSummary (Maybe ScheduleState) Source #

Specifies whether the schedule is enabled or disabled.

SqsParameters

sqsParameters_messageGroupId :: Lens' SqsParameters (Maybe Text) Source #

The FIFO message group ID to use as the target.

Tag

tag_key :: Lens' Tag Text Source #

The key for the tag.

tag_value :: Lens' Tag Text Source #

The value for the tag.

Target

target_deadLetterConfig :: Lens' Target (Maybe DeadLetterConfig) Source #

An object that contains information about an Amazon SQS queue that EventBridge Scheduler uses as a dead-letter queue for your schedule. If specified, EventBridge Scheduler delivers failed events that could not be successfully delivered to a target to the queue.

target_ecsParameters :: Lens' Target (Maybe EcsParameters) Source #

The templated target type for the Amazon ECS RunTask API operation.

target_eventBridgeParameters :: Lens' Target (Maybe EventBridgeParameters) Source #

The templated target type for the EventBridge PutEvents API operation.

target_input :: Lens' Target (Maybe Text) Source #

The text, or well-formed JSON, passed to the target. If you are configuring a templated Lambda, AWS Step Functions, or Amazon EventBridge target, the input must be a well-formed JSON. For all other target types, a JSON is not required. If you do not specify anything for this field, EventBridge Scheduler delivers a default notification to the target.

target_kinesisParameters :: Lens' Target (Maybe KinesisParameters) Source #

The templated target type for the Amazon Kinesis PutRecord API operation.

target_retryPolicy :: Lens' Target (Maybe RetryPolicy) Source #

A RetryPolicy object that includes information about the retry policy settings, including the maximum age of an event, and the maximum number of times EventBridge Scheduler will try to deliver the event to a target.

target_sageMakerPipelineParameters :: Lens' Target (Maybe SageMakerPipelineParameters) Source #

The templated target type for the Amazon SageMaker StartPipelineExecution API operation.

target_sqsParameters :: Lens' Target (Maybe SqsParameters) Source #

The templated target type for the Amazon SQS SendMessage API operation. Contains the message group ID to use when the target is a FIFO queue. If you specify an Amazon SQS FIFO queue as a target, the queue must have content-based deduplication enabled. For more information, see Using the Amazon SQS message deduplication ID in the Amazon SQS Developer Guide.

target_arn :: Lens' Target Text Source #

The Amazon Resource Name (ARN) of the target.

target_roleArn :: Lens' Target Text Source #

The Amazon Resource Name (ARN) of the IAM role that EventBridge Scheduler will use for this target when the schedule is invoked.

TargetSummary

targetSummary_arn :: Lens' TargetSummary Text Source #

The Amazon Resource Name (ARN) of the target.