IdentityContextStatus
¶
Source code in docs_src/capo_mwaa_serverless/types/identity_context_status.py
expires_at
instance-attribute
¶
expires_at: NotRequired[TimestampValue]
This value is the latest time that scheduled runs can carry the identity context, in ISO 8601 date-time format. Amazon Managed Workflows for Apache Airflow Serverless can't renew the identity context past this time. For IAM Identity Center users, the background session duration that you configure sets this limit. To extend it, update the workflow with OnBehalfOf set to ORIGIN_IDENTITY again.
reason
instance-attribute
¶
reason: NotRequired[str]
This message explains why Status is EXPIRED, for example because the identity context reached its maximum lifetime or was revoked. Amazon Managed Workflows for Apache Airflow Serverless returns this field only when Status is EXPIRED.
status
instance-attribute
¶
status: NotRequired[IdentityContextStatusValue]
The identity context has one of the following statuses:
-
ACTIVE– Scheduled runs can carry the identity context. -
EXPIRED– Scheduled runs can't carry the identity context, and they fail until you update the workflow withOnBehalfOfset toORIGIN_IDENTITYagain. Sign the update request with credentials that include the identity context that you want scheduled runs to carry.