Skip to content

Type definitions#

Index > STS > Type definitions

Auto-generated documentation for STS type annotations stubs module mypy-boto3-sts.

PolicyDescriptorTypeTypeDef#

# PolicyDescriptorTypeTypeDef definition

class PolicyDescriptorTypeTypeDef(TypedDict):
    arn: NotRequired[str],

ProvidedContextTypeDef#

# ProvidedContextTypeDef definition

class ProvidedContextTypeDef(TypedDict):
    ProviderArn: NotRequired[str],
    ContextAssertion: NotRequired[str],

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: str,
    Value: str,

AssumedRoleUserTypeDef#

# AssumedRoleUserTypeDef definition

class AssumedRoleUserTypeDef(TypedDict):
    AssumedRoleId: str,
    Arn: str,

CredentialsTypeDef#

# CredentialsTypeDef definition

class CredentialsTypeDef(TypedDict):
    AccessKeyId: str,
    SecretAccessKey: str,
    SessionToken: str,
    Expiration: datetime,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

DecodeAuthorizationMessageRequestRequestTypeDef#

# DecodeAuthorizationMessageRequestRequestTypeDef definition

class DecodeAuthorizationMessageRequestRequestTypeDef(TypedDict):
    EncodedMessage: str,

FederatedUserTypeDef#

# FederatedUserTypeDef definition

class FederatedUserTypeDef(TypedDict):
    FederatedUserId: str,
    Arn: str,