Type definitions#
Index > IAMRolesAnywhere > Type definitions
Auto-generated documentation for IAMRolesAnywhere type annotations stubs module mypy-boto3-rolesanywhere.
BlobTypeDef#
# BlobTypeDef Union usage example
from mypy_boto3_rolesanywhere.type_defs import BlobTypeDef
def get_value() -> BlobTypeDef:
return ...
# BlobTypeDef definition
BlobTypeDef = Union[
str,
bytes,
IO[Any],
StreamingBody,
]
MappingRuleTypeDef#
# MappingRuleTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import MappingRuleTypeDef
def get_value() -> MappingRuleTypeDef:
return {
"specifier": ...,
}
# MappingRuleTypeDef definition
class MappingRuleTypeDef(TypedDict):
specifier: str,
TagTypeDef#
# TagTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import TagTypeDef
def get_value() -> TagTypeDef:
return {
"key": ...,
}
# TagTypeDef definition
class TagTypeDef(TypedDict):
key: str,
value: str,
NotificationSettingTypeDef#
# NotificationSettingTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import NotificationSettingTypeDef
def get_value() -> NotificationSettingTypeDef:
return {
"channel": ...,
}
# NotificationSettingTypeDef definition
class NotificationSettingTypeDef(TypedDict):
enabled: bool,
event: NotificationEventType, # (2)
channel: NotRequired[NotificationChannelType], # (1)
threshold: NotRequired[int],
CredentialSummaryTypeDef#
# CredentialSummaryTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import CredentialSummaryTypeDef
def get_value() -> CredentialSummaryTypeDef:
return {
"enabled": ...,
}
# 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 TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import CrlDetailTypeDef
def get_value() -> CrlDetailTypeDef:
return {
"createdAt": ...,
}
# 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 TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
DeleteAttributeMappingRequestTypeDef#
# DeleteAttributeMappingRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import DeleteAttributeMappingRequestTypeDef
def get_value() -> DeleteAttributeMappingRequestTypeDef:
return {
"certificateField": ...,
}
# DeleteAttributeMappingRequestTypeDef definition
class DeleteAttributeMappingRequestTypeDef(TypedDict):
certificateField: CertificateFieldType, # (1)
profileId: str,
specifiers: NotRequired[Sequence[str]],
InstancePropertyTypeDef#
# InstancePropertyTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import InstancePropertyTypeDef
def get_value() -> InstancePropertyTypeDef:
return {
"failed": ...,
}
# InstancePropertyTypeDef definition
class InstancePropertyTypeDef(TypedDict):
failed: NotRequired[bool],
properties: NotRequired[Dict[str, str]],
seenAt: NotRequired[datetime],
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListRequestRequestExtraExtraTypeDef#
# ListRequestRequestExtraExtraTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ListRequestRequestExtraExtraTypeDef
def get_value() -> ListRequestRequestExtraExtraTypeDef:
return {
"nextToken": ...,
}
# ListRequestRequestExtraExtraTypeDef definition
class ListRequestRequestExtraExtraTypeDef(TypedDict):
nextToken: NotRequired[str],
pageSize: NotRequired[int],
ListRequestRequestExtraTypeDef#
# ListRequestRequestExtraTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ListRequestRequestExtraTypeDef
def get_value() -> ListRequestRequestExtraTypeDef:
return {
"nextToken": ...,
}
# ListRequestRequestExtraTypeDef definition
class ListRequestRequestExtraTypeDef(TypedDict):
nextToken: NotRequired[str],
pageSize: NotRequired[int],
ListRequestRequestTypeDef#
# ListRequestRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ListRequestRequestTypeDef
def get_value() -> ListRequestRequestTypeDef:
return {
"nextToken": ...,
}
# ListRequestRequestTypeDef definition
class ListRequestRequestTypeDef(TypedDict):
nextToken: NotRequired[str],
pageSize: NotRequired[int],
ListRequestTypeDef#
# ListRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ListRequestTypeDef
def get_value() -> ListRequestTypeDef:
return {
"nextToken": ...,
}
# ListRequestTypeDef definition
class ListRequestTypeDef(TypedDict):
nextToken: NotRequired[str],
pageSize: NotRequired[int],
SubjectSummaryTypeDef#
# SubjectSummaryTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import SubjectSummaryTypeDef
def get_value() -> SubjectSummaryTypeDef:
return {
"createdAt": ...,
}
# 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],
ListTagsForResourceRequestTypeDef#
# ListTagsForResourceRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ListTagsForResourceRequestTypeDef
def get_value() -> ListTagsForResourceRequestTypeDef:
return {
"resourceArn": ...,
}
# ListTagsForResourceRequestTypeDef definition
class ListTagsForResourceRequestTypeDef(TypedDict):
resourceArn: str,
NotificationSettingDetailTypeDef#
# NotificationSettingDetailTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import NotificationSettingDetailTypeDef
def get_value() -> NotificationSettingDetailTypeDef:
return {
"channel": ...,
}
# NotificationSettingDetailTypeDef definition
class NotificationSettingDetailTypeDef(TypedDict):
enabled: bool,
event: NotificationEventType, # (2)
channel: NotRequired[NotificationChannelType], # (1)
configuredBy: NotRequired[str],
threshold: NotRequired[int],
NotificationSettingKeyTypeDef#
# NotificationSettingKeyTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import NotificationSettingKeyTypeDef
def get_value() -> NotificationSettingKeyTypeDef:
return {
"channel": ...,
}
# NotificationSettingKeyTypeDef definition
class NotificationSettingKeyTypeDef(TypedDict):
event: NotificationEventType, # (2)
channel: NotRequired[NotificationChannelType], # (1)
ScalarCrlRequestRequestExtraExtraTypeDef#
# ScalarCrlRequestRequestExtraExtraTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ScalarCrlRequestRequestExtraExtraTypeDef
def get_value() -> ScalarCrlRequestRequestExtraExtraTypeDef:
return {
"crlId": ...,
}
# ScalarCrlRequestRequestExtraExtraTypeDef definition
class ScalarCrlRequestRequestExtraExtraTypeDef(TypedDict):
crlId: str,
ScalarCrlRequestRequestExtraTypeDef#
# ScalarCrlRequestRequestExtraTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ScalarCrlRequestRequestExtraTypeDef
def get_value() -> ScalarCrlRequestRequestExtraTypeDef:
return {
"crlId": ...,
}
# ScalarCrlRequestRequestExtraTypeDef definition
class ScalarCrlRequestRequestExtraTypeDef(TypedDict):
crlId: str,
ScalarCrlRequestRequestTypeDef#
# ScalarCrlRequestRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ScalarCrlRequestRequestTypeDef
def get_value() -> ScalarCrlRequestRequestTypeDef:
return {
"crlId": ...,
}
# ScalarCrlRequestRequestTypeDef definition
class ScalarCrlRequestRequestTypeDef(TypedDict):
crlId: str,
ScalarCrlRequestTypeDef#
# ScalarCrlRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ScalarCrlRequestTypeDef
def get_value() -> ScalarCrlRequestTypeDef:
return {
"crlId": ...,
}
# ScalarCrlRequestTypeDef definition
class ScalarCrlRequestTypeDef(TypedDict):
crlId: str,
ScalarProfileRequestRequestExtraExtraTypeDef#
# ScalarProfileRequestRequestExtraExtraTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ScalarProfileRequestRequestExtraExtraTypeDef
def get_value() -> ScalarProfileRequestRequestExtraExtraTypeDef:
return {
"profileId": ...,
}
# ScalarProfileRequestRequestExtraExtraTypeDef definition
class ScalarProfileRequestRequestExtraExtraTypeDef(TypedDict):
profileId: str,
ScalarProfileRequestRequestExtraTypeDef#
# ScalarProfileRequestRequestExtraTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ScalarProfileRequestRequestExtraTypeDef
def get_value() -> ScalarProfileRequestRequestExtraTypeDef:
return {
"profileId": ...,
}
# ScalarProfileRequestRequestExtraTypeDef definition
class ScalarProfileRequestRequestExtraTypeDef(TypedDict):
profileId: str,
ScalarProfileRequestRequestTypeDef#
# ScalarProfileRequestRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ScalarProfileRequestRequestTypeDef
def get_value() -> ScalarProfileRequestRequestTypeDef:
return {
"profileId": ...,
}
# ScalarProfileRequestRequestTypeDef definition
class ScalarProfileRequestRequestTypeDef(TypedDict):
profileId: str,
ScalarProfileRequestTypeDef#
# ScalarProfileRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ScalarProfileRequestTypeDef
def get_value() -> ScalarProfileRequestTypeDef:
return {
"profileId": ...,
}
# ScalarProfileRequestTypeDef definition
class ScalarProfileRequestTypeDef(TypedDict):
profileId: str,
ScalarSubjectRequestTypeDef#
# ScalarSubjectRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ScalarSubjectRequestTypeDef
def get_value() -> ScalarSubjectRequestTypeDef:
return {
"subjectId": ...,
}
# ScalarSubjectRequestTypeDef definition
class ScalarSubjectRequestTypeDef(TypedDict):
subjectId: str,
ScalarTrustAnchorRequestRequestExtraExtraTypeDef#
# ScalarTrustAnchorRequestRequestExtraExtraTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ScalarTrustAnchorRequestRequestExtraExtraTypeDef
def get_value() -> ScalarTrustAnchorRequestRequestExtraExtraTypeDef:
return {
"trustAnchorId": ...,
}
# ScalarTrustAnchorRequestRequestExtraExtraTypeDef definition
class ScalarTrustAnchorRequestRequestExtraExtraTypeDef(TypedDict):
trustAnchorId: str,
ScalarTrustAnchorRequestRequestExtraTypeDef#
# ScalarTrustAnchorRequestRequestExtraTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ScalarTrustAnchorRequestRequestExtraTypeDef
def get_value() -> ScalarTrustAnchorRequestRequestExtraTypeDef:
return {
"trustAnchorId": ...,
}
# ScalarTrustAnchorRequestRequestExtraTypeDef definition
class ScalarTrustAnchorRequestRequestExtraTypeDef(TypedDict):
trustAnchorId: str,
ScalarTrustAnchorRequestRequestTypeDef#
# ScalarTrustAnchorRequestRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ScalarTrustAnchorRequestRequestTypeDef
def get_value() -> ScalarTrustAnchorRequestRequestTypeDef:
return {
"trustAnchorId": ...,
}
# ScalarTrustAnchorRequestRequestTypeDef definition
class ScalarTrustAnchorRequestRequestTypeDef(TypedDict):
trustAnchorId: str,
ScalarTrustAnchorRequestTypeDef#
# ScalarTrustAnchorRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ScalarTrustAnchorRequestTypeDef
def get_value() -> ScalarTrustAnchorRequestTypeDef:
return {
"trustAnchorId": ...,
}
# ScalarTrustAnchorRequestTypeDef definition
class ScalarTrustAnchorRequestTypeDef(TypedDict):
trustAnchorId: str,
SourceDataTypeDef#
# SourceDataTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import SourceDataTypeDef
def get_value() -> SourceDataTypeDef:
return {
"acmPcaArn": ...,
}
# SourceDataTypeDef definition
class SourceDataTypeDef(TypedDict):
acmPcaArn: NotRequired[str],
x509CertificateData: NotRequired[str],
UntagResourceRequestTypeDef#
# UntagResourceRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import UntagResourceRequestTypeDef
def get_value() -> UntagResourceRequestTypeDef:
return {
"resourceArn": ...,
}
# UntagResourceRequestTypeDef definition
class UntagResourceRequestTypeDef(TypedDict):
resourceArn: str,
tagKeys: Sequence[str],
UpdateProfileRequestTypeDef#
# UpdateProfileRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import UpdateProfileRequestTypeDef
def get_value() -> UpdateProfileRequestTypeDef:
return {
"profileId": ...,
}
# UpdateProfileRequestTypeDef definition
class UpdateProfileRequestTypeDef(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 TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import AttributeMappingTypeDef
def get_value() -> AttributeMappingTypeDef:
return {
"certificateField": ...,
}
# AttributeMappingTypeDef definition
class AttributeMappingTypeDef(TypedDict):
certificateField: NotRequired[CertificateFieldType], # (1)
mappingRules: NotRequired[List[MappingRuleTypeDef]], # (2)
PutAttributeMappingRequestTypeDef#
# PutAttributeMappingRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import PutAttributeMappingRequestTypeDef
def get_value() -> PutAttributeMappingRequestTypeDef:
return {
"certificateField": ...,
}
# PutAttributeMappingRequestTypeDef definition
class PutAttributeMappingRequestTypeDef(TypedDict):
certificateField: CertificateFieldType, # (1)
mappingRules: Sequence[MappingRuleTypeDef], # (2)
profileId: str,
UpdateCrlRequestTypeDef#
# UpdateCrlRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import UpdateCrlRequestTypeDef
def get_value() -> UpdateCrlRequestTypeDef:
return {
"crlId": ...,
}
# UpdateCrlRequestTypeDef definition
class UpdateCrlRequestTypeDef(TypedDict):
crlId: str,
crlData: NotRequired[BlobTypeDef],
name: NotRequired[str],
CreateProfileRequestTypeDef#
# CreateProfileRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import CreateProfileRequestTypeDef
def get_value() -> CreateProfileRequestTypeDef:
return {
"name": ...,
}
# CreateProfileRequestTypeDef definition
class CreateProfileRequestTypeDef(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
ImportCrlRequestTypeDef#
# ImportCrlRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ImportCrlRequestTypeDef
def get_value() -> ImportCrlRequestTypeDef:
return {
"crlData": ...,
}
# ImportCrlRequestTypeDef definition
class ImportCrlRequestTypeDef(TypedDict):
crlData: BlobTypeDef,
name: str,
trustAnchorArn: str,
enabled: NotRequired[bool],
tags: NotRequired[Sequence[TagTypeDef]], # (1)
- See TagTypeDef
TagResourceRequestTypeDef#
# TagResourceRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import TagResourceRequestTypeDef
def get_value() -> TagResourceRequestTypeDef:
return {
"resourceArn": ...,
}
# TagResourceRequestTypeDef definition
class TagResourceRequestTypeDef(TypedDict):
resourceArn: str,
tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
PutNotificationSettingsRequestTypeDef#
# PutNotificationSettingsRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import PutNotificationSettingsRequestTypeDef
def get_value() -> PutNotificationSettingsRequestTypeDef:
return {
"notificationSettings": ...,
}
# PutNotificationSettingsRequestTypeDef definition
class PutNotificationSettingsRequestTypeDef(TypedDict):
notificationSettings: Sequence[NotificationSettingTypeDef], # (1)
trustAnchorId: str,
CrlDetailResponseTypeDef#
# CrlDetailResponseTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import CrlDetailResponseTypeDef
def get_value() -> CrlDetailResponseTypeDef:
return {
"crl": ...,
}
# CrlDetailResponseTypeDef definition
class CrlDetailResponseTypeDef(TypedDict):
crl: CrlDetailTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListCrlsResponseTypeDef#
# ListCrlsResponseTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ListCrlsResponseTypeDef
def get_value() -> ListCrlsResponseTypeDef:
return {
"crls": ...,
}
# ListCrlsResponseTypeDef definition
class ListCrlsResponseTypeDef(TypedDict):
crls: List[CrlDetailTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ListTagsForResourceResponseTypeDef
def get_value() -> ListTagsForResourceResponseTypeDef:
return {
"tags": ...,
}
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
tags: List[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- See ResponseMetadataTypeDef
SubjectDetailTypeDef#
# SubjectDetailTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import SubjectDetailTypeDef
def get_value() -> SubjectDetailTypeDef:
return {
"createdAt": ...,
}
# 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],
ListRequestPaginateExtraExtraExtraTypeDef#
# ListRequestPaginateExtraExtraExtraTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ListRequestPaginateExtraExtraExtraTypeDef
def get_value() -> ListRequestPaginateExtraExtraExtraTypeDef:
return {
"pageSize": ...,
}
# ListRequestPaginateExtraExtraExtraTypeDef definition
class ListRequestPaginateExtraExtraExtraTypeDef(TypedDict):
pageSize: NotRequired[int],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListRequestPaginateExtraExtraTypeDef#
# ListRequestPaginateExtraExtraTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ListRequestPaginateExtraExtraTypeDef
def get_value() -> ListRequestPaginateExtraExtraTypeDef:
return {
"pageSize": ...,
}
# ListRequestPaginateExtraExtraTypeDef definition
class ListRequestPaginateExtraExtraTypeDef(TypedDict):
pageSize: NotRequired[int],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListRequestPaginateExtraTypeDef#
# ListRequestPaginateExtraTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ListRequestPaginateExtraTypeDef
def get_value() -> ListRequestPaginateExtraTypeDef:
return {
"pageSize": ...,
}
# ListRequestPaginateExtraTypeDef definition
class ListRequestPaginateExtraTypeDef(TypedDict):
pageSize: NotRequired[int],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListRequestPaginateTypeDef#
# ListRequestPaginateTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ListRequestPaginateTypeDef
def get_value() -> ListRequestPaginateTypeDef:
return {
"pageSize": ...,
}
# ListRequestPaginateTypeDef definition
class ListRequestPaginateTypeDef(TypedDict):
pageSize: NotRequired[int],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListSubjectsResponseTypeDef#
# ListSubjectsResponseTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ListSubjectsResponseTypeDef
def get_value() -> ListSubjectsResponseTypeDef:
return {
"nextToken": ...,
}
# ListSubjectsResponseTypeDef definition
class ListSubjectsResponseTypeDef(TypedDict):
subjects: List[SubjectSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ResetNotificationSettingsRequestTypeDef#
# ResetNotificationSettingsRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ResetNotificationSettingsRequestTypeDef
def get_value() -> ResetNotificationSettingsRequestTypeDef:
return {
"notificationSettingKeys": ...,
}
# ResetNotificationSettingsRequestTypeDef definition
class ResetNotificationSettingsRequestTypeDef(TypedDict):
notificationSettingKeys: Sequence[NotificationSettingKeyTypeDef], # (1)
trustAnchorId: str,
SourceTypeDef#
# SourceTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import SourceTypeDef
def get_value() -> SourceTypeDef:
return {
"sourceData": ...,
}
# SourceTypeDef definition
class SourceTypeDef(TypedDict):
sourceData: NotRequired[SourceDataTypeDef], # (1)
sourceType: NotRequired[TrustAnchorTypeType], # (2)
- See SourceDataTypeDef
- See TrustAnchorTypeType
ProfileDetailTypeDef#
# ProfileDetailTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ProfileDetailTypeDef
def get_value() -> ProfileDetailTypeDef:
return {
"acceptRoleSessionName": ...,
}
# 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 TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import SubjectDetailResponseTypeDef
def get_value() -> SubjectDetailResponseTypeDef:
return {
"subject": ...,
}
# SubjectDetailResponseTypeDef definition
class SubjectDetailResponseTypeDef(TypedDict):
subject: SubjectDetailTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateTrustAnchorRequestTypeDef#
# CreateTrustAnchorRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import CreateTrustAnchorRequestTypeDef
def get_value() -> CreateTrustAnchorRequestTypeDef:
return {
"name": ...,
}
# CreateTrustAnchorRequestTypeDef definition
class CreateTrustAnchorRequestTypeDef(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 TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import TrustAnchorDetailTypeDef
def get_value() -> TrustAnchorDetailTypeDef:
return {
"createdAt": ...,
}
# 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],
UpdateTrustAnchorRequestTypeDef#
# UpdateTrustAnchorRequestTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import UpdateTrustAnchorRequestTypeDef
def get_value() -> UpdateTrustAnchorRequestTypeDef:
return {
"trustAnchorId": ...,
}
# UpdateTrustAnchorRequestTypeDef definition
class UpdateTrustAnchorRequestTypeDef(TypedDict):
trustAnchorId: str,
name: NotRequired[str],
source: NotRequired[SourceTypeDef], # (1)
- See SourceTypeDef
DeleteAttributeMappingResponseTypeDef#
# DeleteAttributeMappingResponseTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import DeleteAttributeMappingResponseTypeDef
def get_value() -> DeleteAttributeMappingResponseTypeDef:
return {
"profile": ...,
}
# DeleteAttributeMappingResponseTypeDef definition
class DeleteAttributeMappingResponseTypeDef(TypedDict):
profile: ProfileDetailTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListProfilesResponseTypeDef#
# ListProfilesResponseTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ListProfilesResponseTypeDef
def get_value() -> ListProfilesResponseTypeDef:
return {
"nextToken": ...,
}
# ListProfilesResponseTypeDef definition
class ListProfilesResponseTypeDef(TypedDict):
profiles: List[ProfileDetailTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ProfileDetailResponseTypeDef#
# ProfileDetailResponseTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ProfileDetailResponseTypeDef
def get_value() -> ProfileDetailResponseTypeDef:
return {
"profile": ...,
}
# ProfileDetailResponseTypeDef definition
class ProfileDetailResponseTypeDef(TypedDict):
profile: ProfileDetailTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PutAttributeMappingResponseTypeDef#
# PutAttributeMappingResponseTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import PutAttributeMappingResponseTypeDef
def get_value() -> PutAttributeMappingResponseTypeDef:
return {
"profile": ...,
}
# PutAttributeMappingResponseTypeDef definition
class PutAttributeMappingResponseTypeDef(TypedDict):
profile: ProfileDetailTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListTrustAnchorsResponseTypeDef#
# ListTrustAnchorsResponseTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ListTrustAnchorsResponseTypeDef
def get_value() -> ListTrustAnchorsResponseTypeDef:
return {
"nextToken": ...,
}
# ListTrustAnchorsResponseTypeDef definition
class ListTrustAnchorsResponseTypeDef(TypedDict):
trustAnchors: List[TrustAnchorDetailTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
PutNotificationSettingsResponseTypeDef#
# PutNotificationSettingsResponseTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import PutNotificationSettingsResponseTypeDef
def get_value() -> PutNotificationSettingsResponseTypeDef:
return {
"trustAnchor": ...,
}
# PutNotificationSettingsResponseTypeDef definition
class PutNotificationSettingsResponseTypeDef(TypedDict):
trustAnchor: TrustAnchorDetailTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ResetNotificationSettingsResponseTypeDef#
# ResetNotificationSettingsResponseTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import ResetNotificationSettingsResponseTypeDef
def get_value() -> ResetNotificationSettingsResponseTypeDef:
return {
"trustAnchor": ...,
}
# ResetNotificationSettingsResponseTypeDef definition
class ResetNotificationSettingsResponseTypeDef(TypedDict):
trustAnchor: TrustAnchorDetailTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
TrustAnchorDetailResponseTypeDef#
# TrustAnchorDetailResponseTypeDef TypedDict usage example
from mypy_boto3_rolesanywhere.type_defs import TrustAnchorDetailResponseTypeDef
def get_value() -> TrustAnchorDetailResponseTypeDef:
return {
"trustAnchor": ...,
}
# TrustAnchorDetailResponseTypeDef definition
class TrustAnchorDetailResponseTypeDef(TypedDict):
trustAnchor: TrustAnchorDetailTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)