Skip to content

Type definitions#

Index > IAMRolesAnywhere > Type definitions

Auto-generated documentation for IAMRolesAnywhere type annotations stubs module mypy-boto3-rolesanywhere.

BlobTypeDef#

# BlobTypeDef definition

BlobTypeDef = Union[
    str,
    bytes,
    IO[Any],
    StreamingBody,
]

MappingRuleTypeDef#

# MappingRuleTypeDef definition

class MappingRuleTypeDef(TypedDict):
    specifier: str,

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    key: str,
    value: str,

NotificationSettingTypeDef#

# NotificationSettingTypeDef definition

class NotificationSettingTypeDef(TypedDict):
    enabled: bool,
    event: NotificationEventType,  # (2)
    channel: NotRequired[NotificationChannelType],  # (1)
    threshold: NotRequired[int],
  1. See NotificationChannelType
  2. See NotificationEventType

CredentialSummaryTypeDef#

# CredentialSummaryTypeDef definition

class CredentialSummaryTypeDef(TypedDict):
    enabled: NotRequired[bool],
    failed: NotRequired[bool],
    issuer: NotRequired[str],
    seenAt: NotRequired[datetime],
    serialNumber: NotRequired[str],
    x509CertificateData: NotRequired[str],

CrlDetailTypeDef#

# CrlDetailTypeDef definition

class CrlDetailTypeDef(TypedDict):
    createdAt: NotRequired[datetime],
    crlArn: NotRequired[str],
    crlData: NotRequired[bytes],
    crlId: NotRequired[str],
    enabled: NotRequired[bool],
    name: NotRequired[str],
    trustAnchorArn: NotRequired[str],
    updatedAt: NotRequired[datetime],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

DeleteAttributeMappingRequestRequestTypeDef#

# DeleteAttributeMappingRequestRequestTypeDef definition

class DeleteAttributeMappingRequestRequestTypeDef(TypedDict):
    certificateField: CertificateFieldType,  # (1)
    profileId: str,
    specifiers: NotRequired[Sequence[str]],
  1. See CertificateFieldType

InstancePropertyTypeDef#

# InstancePropertyTypeDef definition

class InstancePropertyTypeDef(TypedDict):
    failed: NotRequired[bool],
    properties: NotRequired[Dict[str, str]],
    seenAt: NotRequired[datetime],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListRequestRequestTypeDef#

# ListRequestRequestTypeDef definition

class ListRequestRequestTypeDef(TypedDict):
    nextToken: NotRequired[str],
    pageSize: NotRequired[int],

SubjectSummaryTypeDef#

# SubjectSummaryTypeDef definition

class SubjectSummaryTypeDef(TypedDict):
    createdAt: NotRequired[datetime],
    enabled: NotRequired[bool],
    lastSeenAt: NotRequired[datetime],
    subjectArn: NotRequired[str],
    subjectId: NotRequired[str],
    updatedAt: NotRequired[datetime],
    x509Subject: NotRequired[str],

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

NotificationSettingDetailTypeDef#

# NotificationSettingDetailTypeDef definition

class NotificationSettingDetailTypeDef(TypedDict):
    enabled: bool,
    event: NotificationEventType,  # (2)
    channel: NotRequired[NotificationChannelType],  # (1)
    configuredBy: NotRequired[str],
    threshold: NotRequired[int],
  1. See NotificationChannelType
  2. See NotificationEventType

NotificationSettingKeyTypeDef#

# NotificationSettingKeyTypeDef definition

class NotificationSettingKeyTypeDef(TypedDict):
    event: NotificationEventType,  # (2)
    channel: NotRequired[NotificationChannelType],  # (1)
  1. See NotificationChannelType
  2. See NotificationEventType

ScalarCrlRequestRequestTypeDef#

# ScalarCrlRequestRequestTypeDef definition

class ScalarCrlRequestRequestTypeDef(TypedDict):
    crlId: str,

ScalarProfileRequestRequestTypeDef#

# ScalarProfileRequestRequestTypeDef definition

class ScalarProfileRequestRequestTypeDef(TypedDict):
    profileId: str,

ScalarSubjectRequestRequestTypeDef#

# ScalarSubjectRequestRequestTypeDef definition

class ScalarSubjectRequestRequestTypeDef(TypedDict):
    subjectId: str,

ScalarTrustAnchorRequestRequestTypeDef#

# ScalarTrustAnchorRequestRequestTypeDef definition

class ScalarTrustAnchorRequestRequestTypeDef(TypedDict):
    trustAnchorId: str,

SourceDataTypeDef#

# SourceDataTypeDef definition

class SourceDataTypeDef(TypedDict):
    acmPcaArn: NotRequired[str],
    x509CertificateData: NotRequired[str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

UpdateProfileRequestRequestTypeDef#

# UpdateProfileRequestRequestTypeDef definition

class UpdateProfileRequestRequestTypeDef(TypedDict):
    profileId: str,
    acceptRoleSessionName: NotRequired[bool],
    durationSeconds: NotRequired[int],
    managedPolicyArns: NotRequired[Sequence[str]],
    name: NotRequired[str],
    roleArns: NotRequired[Sequence[str]],
    sessionPolicy: NotRequired[str],

AttributeMappingTypeDef#

# AttributeMappingTypeDef definition

class AttributeMappingTypeDef(TypedDict):
    certificateField: NotRequired[CertificateFieldType],  # (1)
    mappingRules: NotRequired[List[MappingRuleTypeDef]],  # (2)
  1. See CertificateFieldType
  2. See MappingRuleTypeDef

PutAttributeMappingRequestRequestTypeDef#

# PutAttributeMappingRequestRequestTypeDef definition

class PutAttributeMappingRequestRequestTypeDef(TypedDict):
    certificateField: CertificateFieldType,  # (1)
    mappingRules: Sequence[MappingRuleTypeDef],  # (2)
    profileId: str,
  1. See CertificateFieldType
  2. See MappingRuleTypeDef

UpdateCrlRequestRequestTypeDef#

# UpdateCrlRequestRequestTypeDef definition

class UpdateCrlRequestRequestTypeDef(TypedDict):
    crlId: str,
    crlData: NotRequired[BlobTypeDef],
    name: NotRequired[str],

CreateProfileRequestRequestTypeDef#

# CreateProfileRequestRequestTypeDef definition

class CreateProfileRequestRequestTypeDef(TypedDict):
    name: str,
    roleArns: Sequence[str],
    acceptRoleSessionName: NotRequired[bool],
    durationSeconds: NotRequired[int],
    enabled: NotRequired[bool],
    managedPolicyArns: NotRequired[Sequence[str]],
    requireInstanceProperties: NotRequired[bool],
    sessionPolicy: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

ImportCrlRequestRequestTypeDef#

# ImportCrlRequestRequestTypeDef definition

class ImportCrlRequestRequestTypeDef(TypedDict):
    crlData: BlobTypeDef,
    name: str,
    trustAnchorArn: str,
    enabled: NotRequired[bool],
    tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

PutNotificationSettingsRequestRequestTypeDef#

# PutNotificationSettingsRequestRequestTypeDef definition

class PutNotificationSettingsRequestRequestTypeDef(TypedDict):
    notificationSettings: Sequence[NotificationSettingTypeDef],  # (1)
    trustAnchorId: str,
  1. See NotificationSettingTypeDef

CrlDetailResponseTypeDef#

# CrlDetailResponseTypeDef definition

class CrlDetailResponseTypeDef(TypedDict):
    crl: CrlDetailTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CrlDetailTypeDef
  2. See ResponseMetadataTypeDef

ListCrlsResponseTypeDef#

# ListCrlsResponseTypeDef definition

class ListCrlsResponseTypeDef(TypedDict):
    crls: List[CrlDetailTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See CrlDetailTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    tags: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

SubjectDetailTypeDef#

# SubjectDetailTypeDef definition

class SubjectDetailTypeDef(TypedDict):
    createdAt: NotRequired[datetime],
    credentials: NotRequired[List[CredentialSummaryTypeDef]],  # (1)
    enabled: NotRequired[bool],
    instanceProperties: NotRequired[List[InstancePropertyTypeDef]],  # (2)
    lastSeenAt: NotRequired[datetime],
    subjectArn: NotRequired[str],
    subjectId: NotRequired[str],
    updatedAt: NotRequired[datetime],
    x509Subject: NotRequired[str],
  1. See CredentialSummaryTypeDef
  2. See InstancePropertyTypeDef

ListRequestListCrlsPaginateTypeDef#

# ListRequestListCrlsPaginateTypeDef definition

class ListRequestListCrlsPaginateTypeDef(TypedDict):
    pageSize: NotRequired[int],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListRequestListProfilesPaginateTypeDef#

# ListRequestListProfilesPaginateTypeDef definition

class ListRequestListProfilesPaginateTypeDef(TypedDict):
    pageSize: NotRequired[int],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListRequestListSubjectsPaginateTypeDef#

# ListRequestListSubjectsPaginateTypeDef definition

class ListRequestListSubjectsPaginateTypeDef(TypedDict):
    pageSize: NotRequired[int],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListRequestListTrustAnchorsPaginateTypeDef#

# ListRequestListTrustAnchorsPaginateTypeDef definition

class ListRequestListTrustAnchorsPaginateTypeDef(TypedDict):
    pageSize: NotRequired[int],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListSubjectsResponseTypeDef#

# ListSubjectsResponseTypeDef definition

class ListSubjectsResponseTypeDef(TypedDict):
    subjects: List[SubjectSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See SubjectSummaryTypeDef
  2. See ResponseMetadataTypeDef

ResetNotificationSettingsRequestRequestTypeDef#

# ResetNotificationSettingsRequestRequestTypeDef definition

class ResetNotificationSettingsRequestRequestTypeDef(TypedDict):
    notificationSettingKeys: Sequence[NotificationSettingKeyTypeDef],  # (1)
    trustAnchorId: str,
  1. See NotificationSettingKeyTypeDef

SourceTypeDef#

# SourceTypeDef definition

class SourceTypeDef(TypedDict):
    sourceData: NotRequired[SourceDataTypeDef],  # (1)
    sourceType: NotRequired[TrustAnchorTypeType],  # (2)
  1. See SourceDataTypeDef
  2. See TrustAnchorTypeType

ProfileDetailTypeDef#

# ProfileDetailTypeDef definition

class ProfileDetailTypeDef(TypedDict):
    acceptRoleSessionName: NotRequired[bool],
    attributeMappings: NotRequired[List[AttributeMappingTypeDef]],  # (1)
    createdAt: NotRequired[datetime],
    createdBy: NotRequired[str],
    durationSeconds: NotRequired[int],
    enabled: NotRequired[bool],
    managedPolicyArns: NotRequired[List[str]],
    name: NotRequired[str],
    profileArn: NotRequired[str],
    profileId: NotRequired[str],
    requireInstanceProperties: NotRequired[bool],
    roleArns: NotRequired[List[str]],
    sessionPolicy: NotRequired[str],
    updatedAt: NotRequired[datetime],
  1. See AttributeMappingTypeDef

SubjectDetailResponseTypeDef#

# SubjectDetailResponseTypeDef definition

class SubjectDetailResponseTypeDef(TypedDict):
    subject: SubjectDetailTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SubjectDetailTypeDef
  2. See ResponseMetadataTypeDef

CreateTrustAnchorRequestRequestTypeDef#

# CreateTrustAnchorRequestRequestTypeDef definition

class CreateTrustAnchorRequestRequestTypeDef(TypedDict):
    name: str,
    source: SourceTypeDef,  # (1)
    enabled: NotRequired[bool],
    notificationSettings: NotRequired[Sequence[NotificationSettingTypeDef]],  # (2)
    tags: NotRequired[Sequence[TagTypeDef]],  # (3)
  1. See SourceTypeDef
  2. See NotificationSettingTypeDef
  3. See TagTypeDef

TrustAnchorDetailTypeDef#

# TrustAnchorDetailTypeDef definition

class TrustAnchorDetailTypeDef(TypedDict):
    createdAt: NotRequired[datetime],
    enabled: NotRequired[bool],
    name: NotRequired[str],
    notificationSettings: NotRequired[List[NotificationSettingDetailTypeDef]],  # (1)
    source: NotRequired[SourceTypeDef],  # (2)
    trustAnchorArn: NotRequired[str],
    trustAnchorId: NotRequired[str],
    updatedAt: NotRequired[datetime],
  1. See NotificationSettingDetailTypeDef
  2. See SourceTypeDef

UpdateTrustAnchorRequestRequestTypeDef#

# UpdateTrustAnchorRequestRequestTypeDef definition

class UpdateTrustAnchorRequestRequestTypeDef(TypedDict):
    trustAnchorId: str,
    name: NotRequired[str],
    source: NotRequired[SourceTypeDef],  # (1)
  1. See SourceTypeDef

DeleteAttributeMappingResponseTypeDef#

# DeleteAttributeMappingResponseTypeDef definition

class DeleteAttributeMappingResponseTypeDef(TypedDict):
    profile: ProfileDetailTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProfileDetailTypeDef
  2. See ResponseMetadataTypeDef

ListProfilesResponseTypeDef#

# ListProfilesResponseTypeDef definition

class ListProfilesResponseTypeDef(TypedDict):
    profiles: List[ProfileDetailTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See ProfileDetailTypeDef
  2. See ResponseMetadataTypeDef

ProfileDetailResponseTypeDef#

# ProfileDetailResponseTypeDef definition

class ProfileDetailResponseTypeDef(TypedDict):
    profile: ProfileDetailTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProfileDetailTypeDef
  2. See ResponseMetadataTypeDef

PutAttributeMappingResponseTypeDef#

# PutAttributeMappingResponseTypeDef definition

class PutAttributeMappingResponseTypeDef(TypedDict):
    profile: ProfileDetailTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProfileDetailTypeDef
  2. See ResponseMetadataTypeDef

ListTrustAnchorsResponseTypeDef#

# ListTrustAnchorsResponseTypeDef definition

class ListTrustAnchorsResponseTypeDef(TypedDict):
    trustAnchors: List[TrustAnchorDetailTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See TrustAnchorDetailTypeDef
  2. See ResponseMetadataTypeDef

PutNotificationSettingsResponseTypeDef#

# PutNotificationSettingsResponseTypeDef definition

class PutNotificationSettingsResponseTypeDef(TypedDict):
    trustAnchor: TrustAnchorDetailTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrustAnchorDetailTypeDef
  2. See ResponseMetadataTypeDef

ResetNotificationSettingsResponseTypeDef#

# ResetNotificationSettingsResponseTypeDef definition

class ResetNotificationSettingsResponseTypeDef(TypedDict):
    trustAnchor: TrustAnchorDetailTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrustAnchorDetailTypeDef
  2. See ResponseMetadataTypeDef

TrustAnchorDetailResponseTypeDef#

# TrustAnchorDetailResponseTypeDef definition

class TrustAnchorDetailResponseTypeDef(TypedDict):
    trustAnchor: TrustAnchorDetailTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrustAnchorDetailTypeDef
  2. See ResponseMetadataTypeDef