Skip to content

Type definitions#

Index > EKSAuth > Type definitions

Auto-generated documentation for EKSAuth type annotations stubs module mypy-boto3-eks-auth.

AssumeRoleForPodIdentityRequestRequestTypeDef#

# AssumeRoleForPodIdentityRequestRequestTypeDef definition

class AssumeRoleForPodIdentityRequestRequestTypeDef(TypedDict):
    clusterName: str,
    token: str,

AssumedRoleUserTypeDef#

# AssumedRoleUserTypeDef definition

class AssumedRoleUserTypeDef(TypedDict):
    arn: str,
    assumeRoleId: str,

CredentialsTypeDef#

# CredentialsTypeDef definition

class CredentialsTypeDef(TypedDict):
    sessionToken: str,
    secretAccessKey: str,
    accessKeyId: str,
    expiration: datetime,

PodIdentityAssociationTypeDef#

# PodIdentityAssociationTypeDef definition

class PodIdentityAssociationTypeDef(TypedDict):
    associationArn: str,
    associationId: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

SubjectTypeDef#

# SubjectTypeDef definition

class SubjectTypeDef(TypedDict):
    namespace: str,
    serviceAccount: str,

AssumeRoleForPodIdentityResponseTypeDef#

# AssumeRoleForPodIdentityResponseTypeDef definition

class AssumeRoleForPodIdentityResponseTypeDef(TypedDict):
    subject: SubjectTypeDef,  # (1)
    audience: str,
    podIdentityAssociation: PodIdentityAssociationTypeDef,  # (2)
    assumedRoleUser: AssumedRoleUserTypeDef,  # (3)
    credentials: CredentialsTypeDef,  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See SubjectTypeDef
  2. See PodIdentityAssociationTypeDef
  3. See AssumedRoleUserTypeDef
  4. See CredentialsTypeDef
  5. See ResponseMetadataTypeDef