Type definitions#
Index > EventBridgeScheduler > Type definitions
Auto-generated documentation for EventBridgeScheduler type annotations stubs module mypy-boto3-scheduler.
TimestampTypeDef#
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
AwsVpcConfigurationUnionTypeDef#
# AwsVpcConfigurationUnionTypeDef definition
AwsVpcConfigurationUnionTypeDef = Union[
AwsVpcConfigurationTypeDef, # (1)
AwsVpcConfigurationOutputTypeDef, # (2)
]
SageMakerPipelineParametersUnionTypeDef#
# SageMakerPipelineParametersUnionTypeDef definition
SageMakerPipelineParametersUnionTypeDef = Union[
SageMakerPipelineParametersTypeDef, # (1)
SageMakerPipelineParametersOutputTypeDef, # (2)
]
NetworkConfigurationUnionTypeDef#
# NetworkConfigurationUnionTypeDef definition
NetworkConfigurationUnionTypeDef = Union[
NetworkConfigurationTypeDef, # (1)
NetworkConfigurationOutputTypeDef, # (2)
]
EcsParametersUnionTypeDef#
# EcsParametersUnionTypeDef definition
EcsParametersUnionTypeDef = Union[
EcsParametersTypeDef, # (1)
EcsParametersOutputTypeDef, # (2)
]
AwsVpcConfigurationOutputTypeDef#
# AwsVpcConfigurationOutputTypeDef definition
class AwsVpcConfigurationOutputTypeDef(TypedDict):
Subnets: list[str],
AssignPublicIp: NotRequired[AssignPublicIpType], # (1)
SecurityGroups: NotRequired[list[str]],
AwsVpcConfigurationTypeDef#
# AwsVpcConfigurationTypeDef definition
class AwsVpcConfigurationTypeDef(TypedDict):
Subnets: Sequence[str],
AssignPublicIp: NotRequired[AssignPublicIpType], # (1)
SecurityGroups: NotRequired[Sequence[str]],
CapacityProviderStrategyItemTypeDef#
# CapacityProviderStrategyItemTypeDef definition
class CapacityProviderStrategyItemTypeDef(TypedDict):
capacityProvider: str,
base: NotRequired[int],
weight: NotRequired[int],
TagTypeDef#
# TagTypeDef definition
class TagTypeDef(TypedDict):
Key: str,
Value: str,
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
FlexibleTimeWindowTypeDef#
# FlexibleTimeWindowTypeDef definition
class FlexibleTimeWindowTypeDef(TypedDict):
Mode: FlexibleTimeWindowModeType, # (1)
MaximumWindowInMinutes: NotRequired[int],
DeadLetterConfigTypeDef#
# DeadLetterConfigTypeDef definition
class DeadLetterConfigTypeDef(TypedDict):
Arn: NotRequired[str],
DeleteScheduleGroupInputRequestTypeDef#
# DeleteScheduleGroupInputRequestTypeDef definition
class DeleteScheduleGroupInputRequestTypeDef(TypedDict):
Name: str,
ClientToken: NotRequired[str],
DeleteScheduleInputRequestTypeDef#
# DeleteScheduleInputRequestTypeDef definition
class DeleteScheduleInputRequestTypeDef(TypedDict):
Name: str,
ClientToken: NotRequired[str],
GroupName: NotRequired[str],
PlacementConstraintTypeDef#
# PlacementConstraintTypeDef definition
class PlacementConstraintTypeDef(TypedDict):
expression: NotRequired[str],
type: NotRequired[PlacementConstraintTypeType], # (1)
PlacementStrategyTypeDef#
# PlacementStrategyTypeDef definition
class PlacementStrategyTypeDef(TypedDict):
field: NotRequired[str],
type: NotRequired[PlacementStrategyTypeType], # (1)
EventBridgeParametersTypeDef#
# EventBridgeParametersTypeDef definition
class EventBridgeParametersTypeDef(TypedDict):
DetailType: str,
Source: str,
GetScheduleGroupInputRequestTypeDef#
# GetScheduleGroupInputRequestTypeDef definition
class GetScheduleGroupInputRequestTypeDef(TypedDict):
Name: str,
GetScheduleInputRequestTypeDef#
# GetScheduleInputRequestTypeDef definition
class GetScheduleInputRequestTypeDef(TypedDict):
Name: str,
GroupName: NotRequired[str],
KinesisParametersTypeDef#
# KinesisParametersTypeDef definition
class KinesisParametersTypeDef(TypedDict):
PartitionKey: str,
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListScheduleGroupsInputRequestTypeDef#
# ListScheduleGroupsInputRequestTypeDef definition
class ListScheduleGroupsInputRequestTypeDef(TypedDict):
MaxResults: NotRequired[int],
NamePrefix: NotRequired[str],
NextToken: NotRequired[str],
ScheduleGroupSummaryTypeDef#
# ScheduleGroupSummaryTypeDef definition
class ScheduleGroupSummaryTypeDef(TypedDict):
Arn: NotRequired[str],
CreationDate: NotRequired[datetime],
LastModificationDate: NotRequired[datetime],
Name: NotRequired[str],
State: NotRequired[ScheduleGroupStateType], # (1)
ListSchedulesInputRequestTypeDef#
# ListSchedulesInputRequestTypeDef definition
class ListSchedulesInputRequestTypeDef(TypedDict):
GroupName: NotRequired[str],
MaxResults: NotRequired[int],
NamePrefix: NotRequired[str],
NextToken: NotRequired[str],
State: NotRequired[ScheduleStateType], # (1)
ListTagsForResourceInputRequestTypeDef#
# ListTagsForResourceInputRequestTypeDef definition
class ListTagsForResourceInputRequestTypeDef(TypedDict):
ResourceArn: str,
RetryPolicyTypeDef#
# RetryPolicyTypeDef definition
class RetryPolicyTypeDef(TypedDict):
MaximumEventAgeInSeconds: NotRequired[int],
MaximumRetryAttempts: NotRequired[int],
SageMakerPipelineParameterTypeDef#
# SageMakerPipelineParameterTypeDef definition
class SageMakerPipelineParameterTypeDef(TypedDict):
Name: str,
Value: str,
TargetSummaryTypeDef#
# TargetSummaryTypeDef definition
class TargetSummaryTypeDef(TypedDict):
Arn: str,
SqsParametersTypeDef#
# SqsParametersTypeDef definition
class SqsParametersTypeDef(TypedDict):
MessageGroupId: NotRequired[str],
UntagResourceInputRequestTypeDef#
# UntagResourceInputRequestTypeDef definition
class UntagResourceInputRequestTypeDef(TypedDict):
ResourceArn: str,
TagKeys: Sequence[str],
NetworkConfigurationOutputTypeDef#
# NetworkConfigurationOutputTypeDef definition
class NetworkConfigurationOutputTypeDef(TypedDict):
awsvpcConfiguration: NotRequired[AwsVpcConfigurationOutputTypeDef], # (1)
CreateScheduleGroupInputRequestTypeDef#
# CreateScheduleGroupInputRequestTypeDef definition
class CreateScheduleGroupInputRequestTypeDef(TypedDict):
Name: str,
ClientToken: NotRequired[str],
Tags: NotRequired[Sequence[TagTypeDef]], # (1)
- See TagTypeDef
TagResourceInputRequestTypeDef#
# TagResourceInputRequestTypeDef definition
class TagResourceInputRequestTypeDef(TypedDict):
ResourceArn: str,
Tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
CreateScheduleGroupOutputTypeDef#
# CreateScheduleGroupOutputTypeDef definition
class CreateScheduleGroupOutputTypeDef(TypedDict):
ScheduleGroupArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateScheduleOutputTypeDef#
# CreateScheduleOutputTypeDef definition
class CreateScheduleOutputTypeDef(TypedDict):
ScheduleArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetScheduleGroupOutputTypeDef#
# GetScheduleGroupOutputTypeDef definition
class GetScheduleGroupOutputTypeDef(TypedDict):
Arn: str,
CreationDate: datetime,
LastModificationDate: datetime,
Name: str,
State: ScheduleGroupStateType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListTagsForResourceOutputTypeDef#
# ListTagsForResourceOutputTypeDef definition
class ListTagsForResourceOutputTypeDef(TypedDict):
Tags: list[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- See ResponseMetadataTypeDef
UpdateScheduleOutputTypeDef#
# UpdateScheduleOutputTypeDef definition
class UpdateScheduleOutputTypeDef(TypedDict):
ScheduleArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListScheduleGroupsInputPaginateTypeDef#
# ListScheduleGroupsInputPaginateTypeDef definition
class ListScheduleGroupsInputPaginateTypeDef(TypedDict):
NamePrefix: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListSchedulesInputPaginateTypeDef#
# ListSchedulesInputPaginateTypeDef definition
class ListSchedulesInputPaginateTypeDef(TypedDict):
GroupName: NotRequired[str],
NamePrefix: NotRequired[str],
State: NotRequired[ScheduleStateType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListScheduleGroupsOutputTypeDef#
# ListScheduleGroupsOutputTypeDef definition
class ListScheduleGroupsOutputTypeDef(TypedDict):
ScheduleGroups: list[ScheduleGroupSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
SageMakerPipelineParametersOutputTypeDef#
# SageMakerPipelineParametersOutputTypeDef definition
class SageMakerPipelineParametersOutputTypeDef(TypedDict):
PipelineParameterList: NotRequired[list[SageMakerPipelineParameterTypeDef]], # (1)
SageMakerPipelineParametersTypeDef#
# SageMakerPipelineParametersTypeDef definition
class SageMakerPipelineParametersTypeDef(TypedDict):
PipelineParameterList: NotRequired[Sequence[SageMakerPipelineParameterTypeDef]], # (1)
ScheduleSummaryTypeDef#
# ScheduleSummaryTypeDef definition
class ScheduleSummaryTypeDef(TypedDict):
Arn: NotRequired[str],
CreationDate: NotRequired[datetime],
GroupName: NotRequired[str],
LastModificationDate: NotRequired[datetime],
Name: NotRequired[str],
State: NotRequired[ScheduleStateType], # (1)
Target: NotRequired[TargetSummaryTypeDef], # (2)
EcsParametersOutputTypeDef#
# EcsParametersOutputTypeDef definition
class EcsParametersOutputTypeDef(TypedDict):
TaskDefinitionArn: str,
CapacityProviderStrategy: NotRequired[list[CapacityProviderStrategyItemTypeDef]], # (1)
EnableECSManagedTags: NotRequired[bool],
EnableExecuteCommand: NotRequired[bool],
Group: NotRequired[str],
LaunchType: NotRequired[LaunchTypeType], # (2)
NetworkConfiguration: NotRequired[NetworkConfigurationOutputTypeDef], # (3)
PlacementConstraints: NotRequired[list[PlacementConstraintTypeDef]], # (4)
PlacementStrategy: NotRequired[list[PlacementStrategyTypeDef]], # (5)
PlatformVersion: NotRequired[str],
PropagateTags: NotRequired[PropagateTagsType], # (6)
ReferenceId: NotRequired[str],
Tags: NotRequired[list[dict[str, str]]],
TaskCount: NotRequired[int],
- See CapacityProviderStrategyItemTypeDef
- See LaunchTypeType
- See NetworkConfigurationOutputTypeDef
- See PlacementConstraintTypeDef
- See PlacementStrategyTypeDef
- See PropagateTagsType
NetworkConfigurationTypeDef#
# NetworkConfigurationTypeDef definition
class NetworkConfigurationTypeDef(TypedDict):
awsvpcConfiguration: NotRequired[AwsVpcConfigurationUnionTypeDef], # (1)
ListSchedulesOutputTypeDef#
# ListSchedulesOutputTypeDef definition
class ListSchedulesOutputTypeDef(TypedDict):
Schedules: list[ScheduleSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
TargetOutputTypeDef#
# TargetOutputTypeDef definition
class TargetOutputTypeDef(TypedDict):
Arn: str,
RoleArn: str,
DeadLetterConfig: NotRequired[DeadLetterConfigTypeDef], # (1)
EcsParameters: NotRequired[EcsParametersOutputTypeDef], # (2)
EventBridgeParameters: NotRequired[EventBridgeParametersTypeDef], # (3)
Input: NotRequired[str],
KinesisParameters: NotRequired[KinesisParametersTypeDef], # (4)
RetryPolicy: NotRequired[RetryPolicyTypeDef], # (5)
SageMakerPipelineParameters: NotRequired[SageMakerPipelineParametersOutputTypeDef], # (6)
SqsParameters: NotRequired[SqsParametersTypeDef], # (7)
- See DeadLetterConfigTypeDef
- See EcsParametersOutputTypeDef
- See EventBridgeParametersTypeDef
- See KinesisParametersTypeDef
- See RetryPolicyTypeDef
- See SageMakerPipelineParametersOutputTypeDef
- See SqsParametersTypeDef
GetScheduleOutputTypeDef#
# GetScheduleOutputTypeDef definition
class GetScheduleOutputTypeDef(TypedDict):
ActionAfterCompletion: ActionAfterCompletionType, # (1)
Arn: str,
CreationDate: datetime,
Description: str,
EndDate: datetime,
FlexibleTimeWindow: FlexibleTimeWindowTypeDef, # (2)
GroupName: str,
KmsKeyArn: str,
LastModificationDate: datetime,
Name: str,
ScheduleExpression: str,
ScheduleExpressionTimezone: str,
StartDate: datetime,
State: ScheduleStateType, # (3)
Target: TargetOutputTypeDef, # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See ActionAfterCompletionType
- See FlexibleTimeWindowTypeDef
- See ScheduleStateType
- See TargetOutputTypeDef
- See ResponseMetadataTypeDef
EcsParametersTypeDef#
# EcsParametersTypeDef definition
class EcsParametersTypeDef(TypedDict):
TaskDefinitionArn: str,
CapacityProviderStrategy: NotRequired[Sequence[CapacityProviderStrategyItemTypeDef]], # (1)
EnableECSManagedTags: NotRequired[bool],
EnableExecuteCommand: NotRequired[bool],
Group: NotRequired[str],
LaunchType: NotRequired[LaunchTypeType], # (2)
NetworkConfiguration: NotRequired[NetworkConfigurationUnionTypeDef], # (3)
PlacementConstraints: NotRequired[Sequence[PlacementConstraintTypeDef]], # (4)
PlacementStrategy: NotRequired[Sequence[PlacementStrategyTypeDef]], # (5)
PlatformVersion: NotRequired[str],
PropagateTags: NotRequired[PropagateTagsType], # (6)
ReferenceId: NotRequired[str],
Tags: NotRequired[Sequence[Mapping[str, str]]],
TaskCount: NotRequired[int],
- See CapacityProviderStrategyItemTypeDef
- See LaunchTypeType
- See NetworkConfigurationTypeDef NetworkConfigurationOutputTypeDef
- See PlacementConstraintTypeDef
- See PlacementStrategyTypeDef
- See PropagateTagsType
TargetTypeDef#
# TargetTypeDef definition
class TargetTypeDef(TypedDict):
Arn: str,
RoleArn: str,
DeadLetterConfig: NotRequired[DeadLetterConfigTypeDef], # (1)
EcsParameters: NotRequired[EcsParametersUnionTypeDef], # (2)
EventBridgeParameters: NotRequired[EventBridgeParametersTypeDef], # (3)
Input: NotRequired[str],
KinesisParameters: NotRequired[KinesisParametersTypeDef], # (4)
RetryPolicy: NotRequired[RetryPolicyTypeDef], # (5)
SageMakerPipelineParameters: NotRequired[SageMakerPipelineParametersUnionTypeDef], # (6)
SqsParameters: NotRequired[SqsParametersTypeDef], # (7)
- See DeadLetterConfigTypeDef
- See EcsParametersTypeDef EcsParametersOutputTypeDef
- See EventBridgeParametersTypeDef
- See KinesisParametersTypeDef
- See RetryPolicyTypeDef
- See SageMakerPipelineParametersTypeDef SageMakerPipelineParametersOutputTypeDef
- See SqsParametersTypeDef
CreateScheduleInputRequestTypeDef#
# CreateScheduleInputRequestTypeDef definition
class CreateScheduleInputRequestTypeDef(TypedDict):
FlexibleTimeWindow: FlexibleTimeWindowTypeDef, # (1)
Name: str,
ScheduleExpression: str,
Target: TargetTypeDef, # (2)
ActionAfterCompletion: NotRequired[ActionAfterCompletionType], # (3)
ClientToken: NotRequired[str],
Description: NotRequired[str],
EndDate: NotRequired[TimestampTypeDef],
GroupName: NotRequired[str],
KmsKeyArn: NotRequired[str],
ScheduleExpressionTimezone: NotRequired[str],
StartDate: NotRequired[TimestampTypeDef],
State: NotRequired[ScheduleStateType], # (4)
UpdateScheduleInputRequestTypeDef#
# UpdateScheduleInputRequestTypeDef definition
class UpdateScheduleInputRequestTypeDef(TypedDict):
FlexibleTimeWindow: FlexibleTimeWindowTypeDef, # (1)
Name: str,
ScheduleExpression: str,
Target: TargetTypeDef, # (2)
ActionAfterCompletion: NotRequired[ActionAfterCompletionType], # (3)
ClientToken: NotRequired[str],
Description: NotRequired[str],
EndDate: NotRequired[TimestampTypeDef],
GroupName: NotRequired[str],
KmsKeyArn: NotRequired[str],
ScheduleExpressionTimezone: NotRequired[str],
StartDate: NotRequired[TimestampTypeDef],
State: NotRequired[ScheduleStateType], # (4)