Type definitions#
Auto-generated documentation for MWAA type annotations stubs module types-boto3-mwaa.
TimestampTypeDef#
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
CreateCliTokenRequestRequestTypeDef#
# CreateCliTokenRequestRequestTypeDef definition
class CreateCliTokenRequestRequestTypeDef(TypedDict):
Name: str,
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
NetworkConfigurationTypeDef#
# NetworkConfigurationTypeDef definition
class NetworkConfigurationTypeDef(TypedDict):
SubnetIds: NotRequired[Sequence[str]],
SecurityGroupIds: NotRequired[Sequence[str]],
CreateWebLoginTokenRequestRequestTypeDef#
# CreateWebLoginTokenRequestRequestTypeDef definition
class CreateWebLoginTokenRequestRequestTypeDef(TypedDict):
Name: str,
DeleteEnvironmentInputRequestTypeDef#
# DeleteEnvironmentInputRequestTypeDef definition
class DeleteEnvironmentInputRequestTypeDef(TypedDict):
Name: str,
DimensionTypeDef#
# DimensionTypeDef definition
class DimensionTypeDef(TypedDict):
Name: str,
Value: str,
NetworkConfigurationOutputTypeDef#
# NetworkConfigurationOutputTypeDef definition
class NetworkConfigurationOutputTypeDef(TypedDict):
SubnetIds: NotRequired[list[str]],
SecurityGroupIds: NotRequired[list[str]],
GetEnvironmentInputRequestTypeDef#
# GetEnvironmentInputRequestTypeDef definition
class GetEnvironmentInputRequestTypeDef(TypedDict):
Name: str,
InvokeRestApiRequestRequestTypeDef#
# InvokeRestApiRequestRequestTypeDef definition
class InvokeRestApiRequestRequestTypeDef(TypedDict):
Name: str,
Path: str,
Method: RestApiMethodType, # (1)
QueryParameters: NotRequired[Mapping[str, Any]],
Body: NotRequired[Mapping[str, Any]],
UpdateErrorTypeDef#
# UpdateErrorTypeDef definition
class UpdateErrorTypeDef(TypedDict):
ErrorCode: NotRequired[str],
ErrorMessage: NotRequired[str],
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListEnvironmentsInputRequestTypeDef#
# ListEnvironmentsInputRequestTypeDef definition
class ListEnvironmentsInputRequestTypeDef(TypedDict):
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ListTagsForResourceInputRequestTypeDef#
# ListTagsForResourceInputRequestTypeDef definition
class ListTagsForResourceInputRequestTypeDef(TypedDict):
ResourceArn: str,
ModuleLoggingConfigurationInputTypeDef#
# ModuleLoggingConfigurationInputTypeDef definition
class ModuleLoggingConfigurationInputTypeDef(TypedDict):
Enabled: bool,
LogLevel: LoggingLevelType, # (1)
- See LoggingLevelType
ModuleLoggingConfigurationTypeDef#
# ModuleLoggingConfigurationTypeDef definition
class ModuleLoggingConfigurationTypeDef(TypedDict):
Enabled: NotRequired[bool],
LogLevel: NotRequired[LoggingLevelType], # (1)
CloudWatchLogGroupArn: NotRequired[str],
- See LoggingLevelType
StatisticSetTypeDef#
# StatisticSetTypeDef definition
class StatisticSetTypeDef(TypedDict):
SampleCount: NotRequired[int],
Sum: NotRequired[float],
Minimum: NotRequired[float],
Maximum: NotRequired[float],
TagResourceInputRequestTypeDef#
# TagResourceInputRequestTypeDef definition
class TagResourceInputRequestTypeDef(TypedDict):
ResourceArn: str,
Tags: Mapping[str, str],
UntagResourceInputRequestTypeDef#
# UntagResourceInputRequestTypeDef definition
class UntagResourceInputRequestTypeDef(TypedDict):
ResourceArn: str,
tagKeys: Sequence[str],
UpdateNetworkConfigurationInputTypeDef#
# UpdateNetworkConfigurationInputTypeDef definition
class UpdateNetworkConfigurationInputTypeDef(TypedDict):
SecurityGroupIds: Sequence[str],
CreateCliTokenResponseTypeDef#
# CreateCliTokenResponseTypeDef definition
class CreateCliTokenResponseTypeDef(TypedDict):
CliToken: str,
WebServerHostname: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateEnvironmentOutputTypeDef#
# CreateEnvironmentOutputTypeDef definition
class CreateEnvironmentOutputTypeDef(TypedDict):
Arn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateWebLoginTokenResponseTypeDef#
# CreateWebLoginTokenResponseTypeDef definition
class CreateWebLoginTokenResponseTypeDef(TypedDict):
WebToken: str,
WebServerHostname: str,
IamIdentity: str,
AirflowIdentity: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
InvokeRestApiResponseTypeDef#
# InvokeRestApiResponseTypeDef definition
class InvokeRestApiResponseTypeDef(TypedDict):
RestApiStatusCode: int,
RestApiResponse: dict[str, Any],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListEnvironmentsOutputTypeDef#
# ListEnvironmentsOutputTypeDef definition
class ListEnvironmentsOutputTypeDef(TypedDict):
Environments: list[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
NextToken: NotRequired[str],
ListTagsForResourceOutputTypeDef#
# ListTagsForResourceOutputTypeDef definition
class ListTagsForResourceOutputTypeDef(TypedDict):
Tags: dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateEnvironmentOutputTypeDef#
# UpdateEnvironmentOutputTypeDef definition
class UpdateEnvironmentOutputTypeDef(TypedDict):
Arn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
LastUpdateTypeDef#
# LastUpdateTypeDef definition
class LastUpdateTypeDef(TypedDict):
Status: NotRequired[UpdateStatusType], # (1)
CreatedAt: NotRequired[datetime],
Error: NotRequired[UpdateErrorTypeDef], # (2)
Source: NotRequired[str],
- See UpdateStatusType
- See UpdateErrorTypeDef
ListEnvironmentsInputPaginateTypeDef#
# ListEnvironmentsInputPaginateTypeDef definition
class ListEnvironmentsInputPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
LoggingConfigurationInputTypeDef#
# LoggingConfigurationInputTypeDef definition
class LoggingConfigurationInputTypeDef(TypedDict):
DagProcessingLogs: NotRequired[ModuleLoggingConfigurationInputTypeDef], # (1)
SchedulerLogs: NotRequired[ModuleLoggingConfigurationInputTypeDef], # (1)
WebserverLogs: NotRequired[ModuleLoggingConfigurationInputTypeDef], # (1)
WorkerLogs: NotRequired[ModuleLoggingConfigurationInputTypeDef], # (1)
TaskLogs: NotRequired[ModuleLoggingConfigurationInputTypeDef], # (1)
- See ModuleLoggingConfigurationInputTypeDef
- See ModuleLoggingConfigurationInputTypeDef
- See ModuleLoggingConfigurationInputTypeDef
- See ModuleLoggingConfigurationInputTypeDef
- See ModuleLoggingConfigurationInputTypeDef
LoggingConfigurationTypeDef#
# LoggingConfigurationTypeDef definition
class LoggingConfigurationTypeDef(TypedDict):
DagProcessingLogs: NotRequired[ModuleLoggingConfigurationTypeDef], # (1)
SchedulerLogs: NotRequired[ModuleLoggingConfigurationTypeDef], # (1)
WebserverLogs: NotRequired[ModuleLoggingConfigurationTypeDef], # (1)
WorkerLogs: NotRequired[ModuleLoggingConfigurationTypeDef], # (1)
TaskLogs: NotRequired[ModuleLoggingConfigurationTypeDef], # (1)
- See ModuleLoggingConfigurationTypeDef
- See ModuleLoggingConfigurationTypeDef
- See ModuleLoggingConfigurationTypeDef
- See ModuleLoggingConfigurationTypeDef
- See ModuleLoggingConfigurationTypeDef
MetricDatumTypeDef#
# MetricDatumTypeDef definition
class MetricDatumTypeDef(TypedDict):
MetricName: str,
Timestamp: TimestampTypeDef,
Dimensions: NotRequired[Sequence[DimensionTypeDef]], # (1)
Value: NotRequired[float],
Unit: NotRequired[UnitType], # (2)
StatisticValues: NotRequired[StatisticSetTypeDef], # (3)
- See DimensionTypeDef
- See UnitType
- See StatisticSetTypeDef
CreateEnvironmentInputRequestTypeDef#
# CreateEnvironmentInputRequestTypeDef definition
class CreateEnvironmentInputRequestTypeDef(TypedDict):
Name: str,
ExecutionRoleArn: str,
SourceBucketArn: str,
DagS3Path: str,
NetworkConfiguration: NetworkConfigurationTypeDef, # (1)
PluginsS3Path: NotRequired[str],
PluginsS3ObjectVersion: NotRequired[str],
RequirementsS3Path: NotRequired[str],
RequirementsS3ObjectVersion: NotRequired[str],
StartupScriptS3Path: NotRequired[str],
StartupScriptS3ObjectVersion: NotRequired[str],
AirflowConfigurationOptions: NotRequired[Mapping[str, str]],
EnvironmentClass: NotRequired[str],
MaxWorkers: NotRequired[int],
KmsKey: NotRequired[str],
AirflowVersion: NotRequired[str],
LoggingConfiguration: NotRequired[LoggingConfigurationInputTypeDef], # (2)
WeeklyMaintenanceWindowStart: NotRequired[str],
Tags: NotRequired[Mapping[str, str]],
WebserverAccessMode: NotRequired[WebserverAccessModeType], # (3)
MinWorkers: NotRequired[int],
Schedulers: NotRequired[int],
EndpointManagement: NotRequired[EndpointManagementType], # (4)
MinWebservers: NotRequired[int],
MaxWebservers: NotRequired[int],
- See NetworkConfigurationTypeDef
- See LoggingConfigurationInputTypeDef
- See WebserverAccessModeType
- See EndpointManagementType
UpdateEnvironmentInputRequestTypeDef#
# UpdateEnvironmentInputRequestTypeDef definition
class UpdateEnvironmentInputRequestTypeDef(TypedDict):
Name: str,
ExecutionRoleArn: NotRequired[str],
AirflowVersion: NotRequired[str],
SourceBucketArn: NotRequired[str],
DagS3Path: NotRequired[str],
PluginsS3Path: NotRequired[str],
PluginsS3ObjectVersion: NotRequired[str],
RequirementsS3Path: NotRequired[str],
RequirementsS3ObjectVersion: NotRequired[str],
StartupScriptS3Path: NotRequired[str],
StartupScriptS3ObjectVersion: NotRequired[str],
AirflowConfigurationOptions: NotRequired[Mapping[str, str]],
EnvironmentClass: NotRequired[str],
MaxWorkers: NotRequired[int],
NetworkConfiguration: NotRequired[UpdateNetworkConfigurationInputTypeDef], # (1)
LoggingConfiguration: NotRequired[LoggingConfigurationInputTypeDef], # (2)
WeeklyMaintenanceWindowStart: NotRequired[str],
WebserverAccessMode: NotRequired[WebserverAccessModeType], # (3)
MinWorkers: NotRequired[int],
Schedulers: NotRequired[int],
MinWebservers: NotRequired[int],
MaxWebservers: NotRequired[int],
- See UpdateNetworkConfigurationInputTypeDef
- See LoggingConfigurationInputTypeDef
- See WebserverAccessModeType
EnvironmentTypeDef#
# EnvironmentTypeDef definition
class EnvironmentTypeDef(TypedDict):
Name: NotRequired[str],
Status: NotRequired[EnvironmentStatusType], # (1)
Arn: NotRequired[str],
CreatedAt: NotRequired[datetime],
WebserverUrl: NotRequired[str],
ExecutionRoleArn: NotRequired[str],
ServiceRoleArn: NotRequired[str],
KmsKey: NotRequired[str],
AirflowVersion: NotRequired[str],
SourceBucketArn: NotRequired[str],
DagS3Path: NotRequired[str],
PluginsS3Path: NotRequired[str],
PluginsS3ObjectVersion: NotRequired[str],
RequirementsS3Path: NotRequired[str],
RequirementsS3ObjectVersion: NotRequired[str],
StartupScriptS3Path: NotRequired[str],
StartupScriptS3ObjectVersion: NotRequired[str],
AirflowConfigurationOptions: NotRequired[dict[str, str]],
EnvironmentClass: NotRequired[str],
MaxWorkers: NotRequired[int],
NetworkConfiguration: NotRequired[NetworkConfigurationOutputTypeDef], # (2)
LoggingConfiguration: NotRequired[LoggingConfigurationTypeDef], # (3)
LastUpdate: NotRequired[LastUpdateTypeDef], # (4)
WeeklyMaintenanceWindowStart: NotRequired[str],
Tags: NotRequired[dict[str, str]],
WebserverAccessMode: NotRequired[WebserverAccessModeType], # (5)
MinWorkers: NotRequired[int],
Schedulers: NotRequired[int],
WebserverVpcEndpointService: NotRequired[str],
DatabaseVpcEndpointService: NotRequired[str],
CeleryExecutorQueue: NotRequired[str],
EndpointManagement: NotRequired[EndpointManagementType], # (6)
MinWebservers: NotRequired[int],
MaxWebservers: NotRequired[int],
- See EnvironmentStatusType
- See NetworkConfigurationOutputTypeDef
- See LoggingConfigurationTypeDef
- See LastUpdateTypeDef
- See WebserverAccessModeType
- See EndpointManagementType
PublishMetricsInputRequestTypeDef#
# PublishMetricsInputRequestTypeDef definition
class PublishMetricsInputRequestTypeDef(TypedDict):
EnvironmentName: str,
MetricData: Sequence[MetricDatumTypeDef], # (1)
GetEnvironmentOutputTypeDef#
# GetEnvironmentOutputTypeDef definition
class GetEnvironmentOutputTypeDef(TypedDict):
Environment: EnvironmentTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)