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],
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]],
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],
NotificationSettingKeyTypeDef#
# NotificationSettingKeyTypeDef definition
class NotificationSettingKeyTypeDef(TypedDict):
event: NotificationEventType, # (2)
channel: NotRequired[NotificationChannelType], # (1)
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)
PutAttributeMappingRequestRequestTypeDef#
# PutAttributeMappingRequestRequestTypeDef definition
class PutAttributeMappingRequestRequestTypeDef(TypedDict):
certificateField: CertificateFieldType, # (1)
mappingRules: Sequence[MappingRuleTypeDef], # (2)
profileId: str,
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)
- See TagTypeDef
ImportCrlRequestRequestTypeDef#
# ImportCrlRequestRequestTypeDef definition
class ImportCrlRequestRequestTypeDef(TypedDict):
crlData: BlobTypeDef,
name: str,
trustAnchorArn: str,
enabled: NotRequired[bool],
tags: NotRequired[Sequence[TagTypeDef]], # (1)
- See TagTypeDef
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
PutNotificationSettingsRequestRequestTypeDef#
# PutNotificationSettingsRequestRequestTypeDef definition
class PutNotificationSettingsRequestRequestTypeDef(TypedDict):
notificationSettings: Sequence[NotificationSettingTypeDef], # (1)
trustAnchorId: str,
CrlDetailResponseTypeDef#
# CrlDetailResponseTypeDef definition
class CrlDetailResponseTypeDef(TypedDict):
crl: CrlDetailTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListCrlsResponseTypeDef#
# ListCrlsResponseTypeDef definition
class ListCrlsResponseTypeDef(TypedDict):
crls: List[CrlDetailTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
tags: List[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- 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],
ListRequestListCrlsPaginateTypeDef#
# ListRequestListCrlsPaginateTypeDef definition
class ListRequestListCrlsPaginateTypeDef(TypedDict):
pageSize: NotRequired[int],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListRequestListProfilesPaginateTypeDef#
# ListRequestListProfilesPaginateTypeDef definition
class ListRequestListProfilesPaginateTypeDef(TypedDict):
pageSize: NotRequired[int],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListRequestListSubjectsPaginateTypeDef#
# ListRequestListSubjectsPaginateTypeDef definition
class ListRequestListSubjectsPaginateTypeDef(TypedDict):
pageSize: NotRequired[int],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListRequestListTrustAnchorsPaginateTypeDef#
# ListRequestListTrustAnchorsPaginateTypeDef definition
class ListRequestListTrustAnchorsPaginateTypeDef(TypedDict):
pageSize: NotRequired[int],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListSubjectsResponseTypeDef#
# ListSubjectsResponseTypeDef definition
class ListSubjectsResponseTypeDef(TypedDict):
subjects: List[SubjectSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ResetNotificationSettingsRequestRequestTypeDef#
# ResetNotificationSettingsRequestRequestTypeDef definition
class ResetNotificationSettingsRequestRequestTypeDef(TypedDict):
notificationSettingKeys: Sequence[NotificationSettingKeyTypeDef], # (1)
trustAnchorId: str,
SourceTypeDef#
# SourceTypeDef definition
class SourceTypeDef(TypedDict):
sourceData: NotRequired[SourceDataTypeDef], # (1)
sourceType: NotRequired[TrustAnchorTypeType], # (2)
- See SourceDataTypeDef
- 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],
SubjectDetailResponseTypeDef#
# SubjectDetailResponseTypeDef definition
class SubjectDetailResponseTypeDef(TypedDict):
subject: SubjectDetailTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateTrustAnchorRequestRequestTypeDef#
# CreateTrustAnchorRequestRequestTypeDef definition
class CreateTrustAnchorRequestRequestTypeDef(TypedDict):
name: str,
source: SourceTypeDef, # (1)
enabled: NotRequired[bool],
notificationSettings: NotRequired[Sequence[NotificationSettingTypeDef]], # (2)
tags: NotRequired[Sequence[TagTypeDef]], # (3)
- See SourceTypeDef
- See NotificationSettingTypeDef
- 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],
UpdateTrustAnchorRequestRequestTypeDef#
# UpdateTrustAnchorRequestRequestTypeDef definition
class UpdateTrustAnchorRequestRequestTypeDef(TypedDict):
trustAnchorId: str,
name: NotRequired[str],
source: NotRequired[SourceTypeDef], # (1)
- See SourceTypeDef
DeleteAttributeMappingResponseTypeDef#
# DeleteAttributeMappingResponseTypeDef definition
class DeleteAttributeMappingResponseTypeDef(TypedDict):
profile: ProfileDetailTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListProfilesResponseTypeDef#
# ListProfilesResponseTypeDef definition
class ListProfilesResponseTypeDef(TypedDict):
profiles: List[ProfileDetailTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ProfileDetailResponseTypeDef#
# ProfileDetailResponseTypeDef definition
class ProfileDetailResponseTypeDef(TypedDict):
profile: ProfileDetailTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PutAttributeMappingResponseTypeDef#
# PutAttributeMappingResponseTypeDef definition
class PutAttributeMappingResponseTypeDef(TypedDict):
profile: ProfileDetailTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListTrustAnchorsResponseTypeDef#
# ListTrustAnchorsResponseTypeDef definition
class ListTrustAnchorsResponseTypeDef(TypedDict):
trustAnchors: List[TrustAnchorDetailTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
PutNotificationSettingsResponseTypeDef#
# PutNotificationSettingsResponseTypeDef definition
class PutNotificationSettingsResponseTypeDef(TypedDict):
trustAnchor: TrustAnchorDetailTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ResetNotificationSettingsResponseTypeDef#
# ResetNotificationSettingsResponseTypeDef definition
class ResetNotificationSettingsResponseTypeDef(TypedDict):
trustAnchor: TrustAnchorDetailTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
TrustAnchorDetailResponseTypeDef#
# TrustAnchorDetailResponseTypeDef definition
class TrustAnchorDetailResponseTypeDef(TypedDict):
trustAnchor: TrustAnchorDetailTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)