Skip to content

Typed dictionaries

Index > IAM > Typed dictionaries

Auto-generated documentation for IAM type annotations stubs module mypy-boto3-iam.

AccessDetailTypeDef

Usage Example
from mypy_boto3_iam.type_defs import AccessDetailTypeDef

def get_value() -> AccessDetailTypeDef:
    return {
        "ServiceName": ...,
        "ServiceNamespace": ...,
    }
Definition
class AccessDetailTypeDef(TypedDict):
    ServiceName: str,
    ServiceNamespace: str,
    Region: NotRequired[str],
    EntityPath: NotRequired[str],
    LastAuthenticatedTime: NotRequired[datetime],
    TotalAuthenticatedEntities: NotRequired[int],

AccessKeyLastUsedTypeDef

Usage Example
from mypy_boto3_iam.type_defs import AccessKeyLastUsedTypeDef

def get_value() -> AccessKeyLastUsedTypeDef:
    return {
        "LastUsedDate": ...,
        "ServiceName": ...,
        "Region": ...,
    }
Definition
class AccessKeyLastUsedTypeDef(TypedDict):
    LastUsedDate: datetime,
    ServiceName: str,
    Region: str,

AccessKeyMetadataTypeDef

Usage Example
from mypy_boto3_iam.type_defs import AccessKeyMetadataTypeDef

def get_value() -> AccessKeyMetadataTypeDef:
    return {
        "UserName": ...,
    }
Definition
class AccessKeyMetadataTypeDef(TypedDict):
    UserName: NotRequired[str],
    AccessKeyId: NotRequired[str],
    Status: NotRequired[statusTypeType],  # (1)
    CreateDate: NotRequired[datetime],
  1. See statusTypeType

AccessKeyTypeDef

Usage Example
from mypy_boto3_iam.type_defs import AccessKeyTypeDef

def get_value() -> AccessKeyTypeDef:
    return {
        "UserName": ...,
        "AccessKeyId": ...,
        "Status": ...,
        "SecretAccessKey": ...,
    }
Definition
class AccessKeyTypeDef(TypedDict):
    UserName: str,
    AccessKeyId: str,
    Status: statusTypeType,  # (1)
    SecretAccessKey: str,
    CreateDate: NotRequired[datetime],
  1. See statusTypeType

AddClientIDToOpenIDConnectProviderRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import AddClientIDToOpenIDConnectProviderRequestRequestTypeDef

def get_value() -> AddClientIDToOpenIDConnectProviderRequestRequestTypeDef:
    return {
        "OpenIDConnectProviderArn": ...,
        "ClientID": ...,
    }
Definition
class AddClientIDToOpenIDConnectProviderRequestRequestTypeDef(TypedDict):
    OpenIDConnectProviderArn: str,
    ClientID: str,

AddRoleToInstanceProfileRequestInstanceProfileAddRoleTypeDef

Usage Example
from mypy_boto3_iam.type_defs import AddRoleToInstanceProfileRequestInstanceProfileAddRoleTypeDef

def get_value() -> AddRoleToInstanceProfileRequestInstanceProfileAddRoleTypeDef:
    return {
        "RoleName": ...,
    }
Definition
class AddRoleToInstanceProfileRequestInstanceProfileAddRoleTypeDef(TypedDict):
    RoleName: str,

AddRoleToInstanceProfileRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import AddRoleToInstanceProfileRequestRequestTypeDef

def get_value() -> AddRoleToInstanceProfileRequestRequestTypeDef:
    return {
        "InstanceProfileName": ...,
        "RoleName": ...,
    }
Definition
class AddRoleToInstanceProfileRequestRequestTypeDef(TypedDict):
    InstanceProfileName: str,
    RoleName: str,

AddUserToGroupRequestGroupAddUserTypeDef

Usage Example
from mypy_boto3_iam.type_defs import AddUserToGroupRequestGroupAddUserTypeDef

def get_value() -> AddUserToGroupRequestGroupAddUserTypeDef:
    return {
        "UserName": ...,
    }
Definition
class AddUserToGroupRequestGroupAddUserTypeDef(TypedDict):
    UserName: str,

AddUserToGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import AddUserToGroupRequestRequestTypeDef

def get_value() -> AddUserToGroupRequestRequestTypeDef:
    return {
        "GroupName": ...,
        "UserName": ...,
    }
Definition
class AddUserToGroupRequestRequestTypeDef(TypedDict):
    GroupName: str,
    UserName: str,

AddUserToGroupRequestUserAddGroupTypeDef

Usage Example
from mypy_boto3_iam.type_defs import AddUserToGroupRequestUserAddGroupTypeDef

def get_value() -> AddUserToGroupRequestUserAddGroupTypeDef:
    return {
        "GroupName": ...,
    }
Definition
class AddUserToGroupRequestUserAddGroupTypeDef(TypedDict):
    GroupName: str,

AttachGroupPolicyRequestGroupAttachPolicyTypeDef

Usage Example
from mypy_boto3_iam.type_defs import AttachGroupPolicyRequestGroupAttachPolicyTypeDef

def get_value() -> AttachGroupPolicyRequestGroupAttachPolicyTypeDef:
    return {
        "PolicyArn": ...,
    }
Definition
class AttachGroupPolicyRequestGroupAttachPolicyTypeDef(TypedDict):
    PolicyArn: str,

AttachGroupPolicyRequestPolicyAttachGroupTypeDef

Usage Example
from mypy_boto3_iam.type_defs import AttachGroupPolicyRequestPolicyAttachGroupTypeDef

def get_value() -> AttachGroupPolicyRequestPolicyAttachGroupTypeDef:
    return {
        "GroupName": ...,
    }
Definition
class AttachGroupPolicyRequestPolicyAttachGroupTypeDef(TypedDict):
    GroupName: str,

AttachGroupPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import AttachGroupPolicyRequestRequestTypeDef

def get_value() -> AttachGroupPolicyRequestRequestTypeDef:
    return {
        "GroupName": ...,
        "PolicyArn": ...,
    }
Definition
class AttachGroupPolicyRequestRequestTypeDef(TypedDict):
    GroupName: str,
    PolicyArn: str,

AttachRolePolicyRequestPolicyAttachRoleTypeDef

Usage Example
from mypy_boto3_iam.type_defs import AttachRolePolicyRequestPolicyAttachRoleTypeDef

def get_value() -> AttachRolePolicyRequestPolicyAttachRoleTypeDef:
    return {
        "RoleName": ...,
    }
Definition
class AttachRolePolicyRequestPolicyAttachRoleTypeDef(TypedDict):
    RoleName: str,

AttachRolePolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import AttachRolePolicyRequestRequestTypeDef

def get_value() -> AttachRolePolicyRequestRequestTypeDef:
    return {
        "RoleName": ...,
        "PolicyArn": ...,
    }
Definition
class AttachRolePolicyRequestRequestTypeDef(TypedDict):
    RoleName: str,
    PolicyArn: str,

AttachRolePolicyRequestRoleAttachPolicyTypeDef

Usage Example
from mypy_boto3_iam.type_defs import AttachRolePolicyRequestRoleAttachPolicyTypeDef

def get_value() -> AttachRolePolicyRequestRoleAttachPolicyTypeDef:
    return {
        "PolicyArn": ...,
    }
Definition
class AttachRolePolicyRequestRoleAttachPolicyTypeDef(TypedDict):
    PolicyArn: str,

AttachUserPolicyRequestPolicyAttachUserTypeDef

Usage Example
from mypy_boto3_iam.type_defs import AttachUserPolicyRequestPolicyAttachUserTypeDef

def get_value() -> AttachUserPolicyRequestPolicyAttachUserTypeDef:
    return {
        "UserName": ...,
    }
Definition
class AttachUserPolicyRequestPolicyAttachUserTypeDef(TypedDict):
    UserName: str,

AttachUserPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import AttachUserPolicyRequestRequestTypeDef

def get_value() -> AttachUserPolicyRequestRequestTypeDef:
    return {
        "UserName": ...,
        "PolicyArn": ...,
    }
Definition
class AttachUserPolicyRequestRequestTypeDef(TypedDict):
    UserName: str,
    PolicyArn: str,

AttachUserPolicyRequestUserAttachPolicyTypeDef

Usage Example
from mypy_boto3_iam.type_defs import AttachUserPolicyRequestUserAttachPolicyTypeDef

def get_value() -> AttachUserPolicyRequestUserAttachPolicyTypeDef:
    return {
        "PolicyArn": ...,
    }
Definition
class AttachUserPolicyRequestUserAttachPolicyTypeDef(TypedDict):
    PolicyArn: str,

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_iam.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

AttachedPermissionsBoundaryTypeDef

Usage Example
from mypy_boto3_iam.type_defs import AttachedPermissionsBoundaryTypeDef

def get_value() -> AttachedPermissionsBoundaryTypeDef:
    return {
        "PermissionsBoundaryType": ...,
    }
Definition
class AttachedPermissionsBoundaryTypeDef(TypedDict):
    PermissionsBoundaryType: NotRequired[PermissionsBoundaryAttachmentTypeType],  # (1)
    PermissionsBoundaryArn: NotRequired[str],
  1. See PermissionsBoundaryAttachmentTypeType

AttachedPolicyTypeDef

Usage Example
from mypy_boto3_iam.type_defs import AttachedPolicyTypeDef

def get_value() -> AttachedPolicyTypeDef:
    return {
        "PolicyName": ...,
    }
Definition
class AttachedPolicyTypeDef(TypedDict):
    PolicyName: NotRequired[str],
    PolicyArn: NotRequired[str],

ChangePasswordRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import ChangePasswordRequestRequestTypeDef

def get_value() -> ChangePasswordRequestRequestTypeDef:
    return {
        "OldPassword": ...,
        "NewPassword": ...,
    }
Definition
class ChangePasswordRequestRequestTypeDef(TypedDict):
    OldPassword: str,
    NewPassword: str,

ChangePasswordRequestServiceResourceChangePasswordTypeDef

Usage Example
from mypy_boto3_iam.type_defs import ChangePasswordRequestServiceResourceChangePasswordTypeDef

def get_value() -> ChangePasswordRequestServiceResourceChangePasswordTypeDef:
    return {
        "OldPassword": ...,
        "NewPassword": ...,
    }
Definition
class ChangePasswordRequestServiceResourceChangePasswordTypeDef(TypedDict):
    OldPassword: str,
    NewPassword: str,

ContextEntryTypeDef

Usage Example
from mypy_boto3_iam.type_defs import ContextEntryTypeDef

def get_value() -> ContextEntryTypeDef:
    return {
        "ContextKeyName": ...,
    }
Definition
class ContextEntryTypeDef(TypedDict):
    ContextKeyName: NotRequired[str],
    ContextKeyValues: NotRequired[Sequence[str]],
    ContextKeyType: NotRequired[ContextKeyTypeEnumType],  # (1)
  1. See ContextKeyTypeEnumType

CreateAccessKeyRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import CreateAccessKeyRequestRequestTypeDef

def get_value() -> CreateAccessKeyRequestRequestTypeDef:
    return {
        "UserName": ...,
    }
Definition
class CreateAccessKeyRequestRequestTypeDef(TypedDict):
    UserName: NotRequired[str],

CreateAccountAliasRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import CreateAccountAliasRequestRequestTypeDef

def get_value() -> CreateAccountAliasRequestRequestTypeDef:
    return {
        "AccountAlias": ...,
    }
Definition
class CreateAccountAliasRequestRequestTypeDef(TypedDict):
    AccountAlias: str,

CreateAccountAliasRequestServiceResourceCreateAccountAliasTypeDef

Usage Example
from mypy_boto3_iam.type_defs import CreateAccountAliasRequestServiceResourceCreateAccountAliasTypeDef

def get_value() -> CreateAccountAliasRequestServiceResourceCreateAccountAliasTypeDef:
    return {
        "AccountAlias": ...,
    }
Definition
class CreateAccountAliasRequestServiceResourceCreateAccountAliasTypeDef(TypedDict):
    AccountAlias: str,

CreateGroupRequestGroupCreateTypeDef

Usage Example
from mypy_boto3_iam.type_defs import CreateGroupRequestGroupCreateTypeDef

def get_value() -> CreateGroupRequestGroupCreateTypeDef:
    return {
        "Path": ...,
    }
Definition
class CreateGroupRequestGroupCreateTypeDef(TypedDict):
    Path: NotRequired[str],

CreateGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import CreateGroupRequestRequestTypeDef

def get_value() -> CreateGroupRequestRequestTypeDef:
    return {
        "GroupName": ...,
    }
Definition
class CreateGroupRequestRequestTypeDef(TypedDict):
    GroupName: str,
    Path: NotRequired[str],

CreateGroupRequestServiceResourceCreateGroupTypeDef

Usage Example
from mypy_boto3_iam.type_defs import CreateGroupRequestServiceResourceCreateGroupTypeDef

def get_value() -> CreateGroupRequestServiceResourceCreateGroupTypeDef:
    return {
        "GroupName": ...,
    }
Definition
class CreateGroupRequestServiceResourceCreateGroupTypeDef(TypedDict):
    GroupName: str,
    Path: NotRequired[str],

GroupTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GroupTypeDef

def get_value() -> GroupTypeDef:
    return {
        "Path": ...,
        "GroupName": ...,
        "GroupId": ...,
        "Arn": ...,
        "CreateDate": ...,
    }
Definition
class GroupTypeDef(TypedDict):
    Path: str,
    GroupName: str,
    GroupId: str,
    Arn: str,
    CreateDate: datetime,

TagTypeDef

Usage Example
from mypy_boto3_iam.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "Key": ...,
        "Value": ...,
    }
Definition
class TagTypeDef(TypedDict):
    Key: str,
    Value: str,

CreateLoginProfileRequestLoginProfileCreateTypeDef

Usage Example
from mypy_boto3_iam.type_defs import CreateLoginProfileRequestLoginProfileCreateTypeDef

def get_value() -> CreateLoginProfileRequestLoginProfileCreateTypeDef:
    return {
        "Password": ...,
    }
Definition
class CreateLoginProfileRequestLoginProfileCreateTypeDef(TypedDict):
    Password: str,
    PasswordResetRequired: NotRequired[bool],

CreateLoginProfileRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import CreateLoginProfileRequestRequestTypeDef

def get_value() -> CreateLoginProfileRequestRequestTypeDef:
    return {
        "UserName": ...,
        "Password": ...,
    }
Definition
class CreateLoginProfileRequestRequestTypeDef(TypedDict):
    UserName: str,
    Password: str,
    PasswordResetRequired: NotRequired[bool],

CreateLoginProfileRequestUserCreateLoginProfileTypeDef

Usage Example
from mypy_boto3_iam.type_defs import CreateLoginProfileRequestUserCreateLoginProfileTypeDef

def get_value() -> CreateLoginProfileRequestUserCreateLoginProfileTypeDef:
    return {
        "Password": ...,
    }
Definition
class CreateLoginProfileRequestUserCreateLoginProfileTypeDef(TypedDict):
    Password: str,
    PasswordResetRequired: NotRequired[bool],

LoginProfileTypeDef

Usage Example
from mypy_boto3_iam.type_defs import LoginProfileTypeDef

def get_value() -> LoginProfileTypeDef:
    return {
        "UserName": ...,
        "CreateDate": ...,
    }
Definition
class LoginProfileTypeDef(TypedDict):
    UserName: str,
    CreateDate: datetime,
    PasswordResetRequired: NotRequired[bool],

CreatePolicyVersionRequestPolicyCreateVersionTypeDef

Usage Example
from mypy_boto3_iam.type_defs import CreatePolicyVersionRequestPolicyCreateVersionTypeDef

def get_value() -> CreatePolicyVersionRequestPolicyCreateVersionTypeDef:
    return {
        "PolicyDocument": ...,
    }
Definition
class CreatePolicyVersionRequestPolicyCreateVersionTypeDef(TypedDict):
    PolicyDocument: str,
    SetAsDefault: NotRequired[bool],

CreatePolicyVersionRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import CreatePolicyVersionRequestRequestTypeDef

def get_value() -> CreatePolicyVersionRequestRequestTypeDef:
    return {
        "PolicyArn": ...,
        "PolicyDocument": ...,
    }
Definition
class CreatePolicyVersionRequestRequestTypeDef(TypedDict):
    PolicyArn: str,
    PolicyDocument: str,
    SetAsDefault: NotRequired[bool],

PolicyVersionTypeDef

Usage Example
from mypy_boto3_iam.type_defs import PolicyVersionTypeDef

def get_value() -> PolicyVersionTypeDef:
    return {
        "Document": ...,
    }
Definition
class PolicyVersionTypeDef(TypedDict):
    Document: NotRequired[str],
    VersionId: NotRequired[str],
    IsDefaultVersion: NotRequired[bool],
    CreateDate: NotRequired[datetime],

CreateServiceLinkedRoleRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import CreateServiceLinkedRoleRequestRequestTypeDef

def get_value() -> CreateServiceLinkedRoleRequestRequestTypeDef:
    return {
        "AWSServiceName": ...,
    }
Definition
class CreateServiceLinkedRoleRequestRequestTypeDef(TypedDict):
    AWSServiceName: str,
    Description: NotRequired[str],
    CustomSuffix: NotRequired[str],

CreateServiceSpecificCredentialRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import CreateServiceSpecificCredentialRequestRequestTypeDef

def get_value() -> CreateServiceSpecificCredentialRequestRequestTypeDef:
    return {
        "UserName": ...,
        "ServiceName": ...,
    }
Definition
class CreateServiceSpecificCredentialRequestRequestTypeDef(TypedDict):
    UserName: str,
    ServiceName: str,

ServiceSpecificCredentialTypeDef

Usage Example
from mypy_boto3_iam.type_defs import ServiceSpecificCredentialTypeDef

def get_value() -> ServiceSpecificCredentialTypeDef:
    return {
        "CreateDate": ...,
        "ServiceName": ...,
        "ServiceUserName": ...,
        "ServicePassword": ...,
        "ServiceSpecificCredentialId": ...,
        "UserName": ...,
        "Status": ...,
    }
Definition
class ServiceSpecificCredentialTypeDef(TypedDict):
    CreateDate: datetime,
    ServiceName: str,
    ServiceUserName: str,
    ServicePassword: str,
    ServiceSpecificCredentialId: str,
    UserName: str,
    Status: statusTypeType,  # (1)
  1. See statusTypeType

DeactivateMFADeviceRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeactivateMFADeviceRequestRequestTypeDef

def get_value() -> DeactivateMFADeviceRequestRequestTypeDef:
    return {
        "UserName": ...,
        "SerialNumber": ...,
    }
Definition
class DeactivateMFADeviceRequestRequestTypeDef(TypedDict):
    UserName: str,
    SerialNumber: str,

DeleteAccessKeyRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeleteAccessKeyRequestRequestTypeDef

def get_value() -> DeleteAccessKeyRequestRequestTypeDef:
    return {
        "AccessKeyId": ...,
    }
Definition
class DeleteAccessKeyRequestRequestTypeDef(TypedDict):
    AccessKeyId: str,
    UserName: NotRequired[str],

DeleteAccountAliasRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeleteAccountAliasRequestRequestTypeDef

def get_value() -> DeleteAccountAliasRequestRequestTypeDef:
    return {
        "AccountAlias": ...,
    }
Definition
class DeleteAccountAliasRequestRequestTypeDef(TypedDict):
    AccountAlias: str,

DeleteGroupPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeleteGroupPolicyRequestRequestTypeDef

def get_value() -> DeleteGroupPolicyRequestRequestTypeDef:
    return {
        "GroupName": ...,
        "PolicyName": ...,
    }
Definition
class DeleteGroupPolicyRequestRequestTypeDef(TypedDict):
    GroupName: str,
    PolicyName: str,

DeleteGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeleteGroupRequestRequestTypeDef

def get_value() -> DeleteGroupRequestRequestTypeDef:
    return {
        "GroupName": ...,
    }
Definition
class DeleteGroupRequestRequestTypeDef(TypedDict):
    GroupName: str,

DeleteInstanceProfileRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeleteInstanceProfileRequestRequestTypeDef

def get_value() -> DeleteInstanceProfileRequestRequestTypeDef:
    return {
        "InstanceProfileName": ...,
    }
Definition
class DeleteInstanceProfileRequestRequestTypeDef(TypedDict):
    InstanceProfileName: str,

DeleteLoginProfileRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeleteLoginProfileRequestRequestTypeDef

def get_value() -> DeleteLoginProfileRequestRequestTypeDef:
    return {
        "UserName": ...,
    }
Definition
class DeleteLoginProfileRequestRequestTypeDef(TypedDict):
    UserName: str,

DeleteOpenIDConnectProviderRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeleteOpenIDConnectProviderRequestRequestTypeDef

def get_value() -> DeleteOpenIDConnectProviderRequestRequestTypeDef:
    return {
        "OpenIDConnectProviderArn": ...,
    }
Definition
class DeleteOpenIDConnectProviderRequestRequestTypeDef(TypedDict):
    OpenIDConnectProviderArn: str,

DeletePolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeletePolicyRequestRequestTypeDef

def get_value() -> DeletePolicyRequestRequestTypeDef:
    return {
        "PolicyArn": ...,
    }
Definition
class DeletePolicyRequestRequestTypeDef(TypedDict):
    PolicyArn: str,

DeletePolicyVersionRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeletePolicyVersionRequestRequestTypeDef

def get_value() -> DeletePolicyVersionRequestRequestTypeDef:
    return {
        "PolicyArn": ...,
        "VersionId": ...,
    }
Definition
class DeletePolicyVersionRequestRequestTypeDef(TypedDict):
    PolicyArn: str,
    VersionId: str,

DeleteRolePermissionsBoundaryRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeleteRolePermissionsBoundaryRequestRequestTypeDef

def get_value() -> DeleteRolePermissionsBoundaryRequestRequestTypeDef:
    return {
        "RoleName": ...,
    }
Definition
class DeleteRolePermissionsBoundaryRequestRequestTypeDef(TypedDict):
    RoleName: str,

DeleteRolePolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeleteRolePolicyRequestRequestTypeDef

def get_value() -> DeleteRolePolicyRequestRequestTypeDef:
    return {
        "RoleName": ...,
        "PolicyName": ...,
    }
Definition
class DeleteRolePolicyRequestRequestTypeDef(TypedDict):
    RoleName: str,
    PolicyName: str,

DeleteRoleRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeleteRoleRequestRequestTypeDef

def get_value() -> DeleteRoleRequestRequestTypeDef:
    return {
        "RoleName": ...,
    }
Definition
class DeleteRoleRequestRequestTypeDef(TypedDict):
    RoleName: str,

DeleteSAMLProviderRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeleteSAMLProviderRequestRequestTypeDef

def get_value() -> DeleteSAMLProviderRequestRequestTypeDef:
    return {
        "SAMLProviderArn": ...,
    }
Definition
class DeleteSAMLProviderRequestRequestTypeDef(TypedDict):
    SAMLProviderArn: str,

DeleteSSHPublicKeyRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeleteSSHPublicKeyRequestRequestTypeDef

def get_value() -> DeleteSSHPublicKeyRequestRequestTypeDef:
    return {
        "UserName": ...,
        "SSHPublicKeyId": ...,
    }
Definition
class DeleteSSHPublicKeyRequestRequestTypeDef(TypedDict):
    UserName: str,
    SSHPublicKeyId: str,

DeleteServerCertificateRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeleteServerCertificateRequestRequestTypeDef

def get_value() -> DeleteServerCertificateRequestRequestTypeDef:
    return {
        "ServerCertificateName": ...,
    }
Definition
class DeleteServerCertificateRequestRequestTypeDef(TypedDict):
    ServerCertificateName: str,

DeleteServiceLinkedRoleRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeleteServiceLinkedRoleRequestRequestTypeDef

def get_value() -> DeleteServiceLinkedRoleRequestRequestTypeDef:
    return {
        "RoleName": ...,
    }
Definition
class DeleteServiceLinkedRoleRequestRequestTypeDef(TypedDict):
    RoleName: str,

DeleteServiceSpecificCredentialRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeleteServiceSpecificCredentialRequestRequestTypeDef

def get_value() -> DeleteServiceSpecificCredentialRequestRequestTypeDef:
    return {
        "ServiceSpecificCredentialId": ...,
    }
Definition
class DeleteServiceSpecificCredentialRequestRequestTypeDef(TypedDict):
    ServiceSpecificCredentialId: str,
    UserName: NotRequired[str],

DeleteSigningCertificateRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeleteSigningCertificateRequestRequestTypeDef

def get_value() -> DeleteSigningCertificateRequestRequestTypeDef:
    return {
        "CertificateId": ...,
    }
Definition
class DeleteSigningCertificateRequestRequestTypeDef(TypedDict):
    CertificateId: str,
    UserName: NotRequired[str],

DeleteUserPermissionsBoundaryRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeleteUserPermissionsBoundaryRequestRequestTypeDef

def get_value() -> DeleteUserPermissionsBoundaryRequestRequestTypeDef:
    return {
        "UserName": ...,
    }
Definition
class DeleteUserPermissionsBoundaryRequestRequestTypeDef(TypedDict):
    UserName: str,

DeleteUserPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeleteUserPolicyRequestRequestTypeDef

def get_value() -> DeleteUserPolicyRequestRequestTypeDef:
    return {
        "UserName": ...,
        "PolicyName": ...,
    }
Definition
class DeleteUserPolicyRequestRequestTypeDef(TypedDict):
    UserName: str,
    PolicyName: str,

DeleteUserRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeleteUserRequestRequestTypeDef

def get_value() -> DeleteUserRequestRequestTypeDef:
    return {
        "UserName": ...,
    }
Definition
class DeleteUserRequestRequestTypeDef(TypedDict):
    UserName: str,

DeleteVirtualMFADeviceRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DeleteVirtualMFADeviceRequestRequestTypeDef

def get_value() -> DeleteVirtualMFADeviceRequestRequestTypeDef:
    return {
        "SerialNumber": ...,
    }
Definition
class DeleteVirtualMFADeviceRequestRequestTypeDef(TypedDict):
    SerialNumber: str,

RoleUsageTypeTypeDef

Usage Example
from mypy_boto3_iam.type_defs import RoleUsageTypeTypeDef

def get_value() -> RoleUsageTypeTypeDef:
    return {
        "Region": ...,
    }
Definition
class RoleUsageTypeTypeDef(TypedDict):
    Region: NotRequired[str],
    Resources: NotRequired[List[str]],

DetachGroupPolicyRequestGroupDetachPolicyTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DetachGroupPolicyRequestGroupDetachPolicyTypeDef

def get_value() -> DetachGroupPolicyRequestGroupDetachPolicyTypeDef:
    return {
        "PolicyArn": ...,
    }
Definition
class DetachGroupPolicyRequestGroupDetachPolicyTypeDef(TypedDict):
    PolicyArn: str,

DetachGroupPolicyRequestPolicyDetachGroupTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DetachGroupPolicyRequestPolicyDetachGroupTypeDef

def get_value() -> DetachGroupPolicyRequestPolicyDetachGroupTypeDef:
    return {
        "GroupName": ...,
    }
Definition
class DetachGroupPolicyRequestPolicyDetachGroupTypeDef(TypedDict):
    GroupName: str,

DetachGroupPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DetachGroupPolicyRequestRequestTypeDef

def get_value() -> DetachGroupPolicyRequestRequestTypeDef:
    return {
        "GroupName": ...,
        "PolicyArn": ...,
    }
Definition
class DetachGroupPolicyRequestRequestTypeDef(TypedDict):
    GroupName: str,
    PolicyArn: str,

DetachRolePolicyRequestPolicyDetachRoleTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DetachRolePolicyRequestPolicyDetachRoleTypeDef

def get_value() -> DetachRolePolicyRequestPolicyDetachRoleTypeDef:
    return {
        "RoleName": ...,
    }
Definition
class DetachRolePolicyRequestPolicyDetachRoleTypeDef(TypedDict):
    RoleName: str,

DetachRolePolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DetachRolePolicyRequestRequestTypeDef

def get_value() -> DetachRolePolicyRequestRequestTypeDef:
    return {
        "RoleName": ...,
        "PolicyArn": ...,
    }
Definition
class DetachRolePolicyRequestRequestTypeDef(TypedDict):
    RoleName: str,
    PolicyArn: str,

DetachRolePolicyRequestRoleDetachPolicyTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DetachRolePolicyRequestRoleDetachPolicyTypeDef

def get_value() -> DetachRolePolicyRequestRoleDetachPolicyTypeDef:
    return {
        "PolicyArn": ...,
    }
Definition
class DetachRolePolicyRequestRoleDetachPolicyTypeDef(TypedDict):
    PolicyArn: str,

DetachUserPolicyRequestPolicyDetachUserTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DetachUserPolicyRequestPolicyDetachUserTypeDef

def get_value() -> DetachUserPolicyRequestPolicyDetachUserTypeDef:
    return {
        "UserName": ...,
    }
Definition
class DetachUserPolicyRequestPolicyDetachUserTypeDef(TypedDict):
    UserName: str,

DetachUserPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DetachUserPolicyRequestRequestTypeDef

def get_value() -> DetachUserPolicyRequestRequestTypeDef:
    return {
        "UserName": ...,
        "PolicyArn": ...,
    }
Definition
class DetachUserPolicyRequestRequestTypeDef(TypedDict):
    UserName: str,
    PolicyArn: str,

DetachUserPolicyRequestUserDetachPolicyTypeDef

Usage Example
from mypy_boto3_iam.type_defs import DetachUserPolicyRequestUserDetachPolicyTypeDef

def get_value() -> DetachUserPolicyRequestUserDetachPolicyTypeDef:
    return {
        "PolicyArn": ...,
    }
Definition
class DetachUserPolicyRequestUserDetachPolicyTypeDef(TypedDict):
    PolicyArn: str,

EnableMFADeviceRequestMfaDeviceAssociateTypeDef

Usage Example
from mypy_boto3_iam.type_defs import EnableMFADeviceRequestMfaDeviceAssociateTypeDef

def get_value() -> EnableMFADeviceRequestMfaDeviceAssociateTypeDef:
    return {
        "AuthenticationCode1": ...,
        "AuthenticationCode2": ...,
    }
Definition
class EnableMFADeviceRequestMfaDeviceAssociateTypeDef(TypedDict):
    AuthenticationCode1: str,
    AuthenticationCode2: str,

EnableMFADeviceRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import EnableMFADeviceRequestRequestTypeDef

def get_value() -> EnableMFADeviceRequestRequestTypeDef:
    return {
        "UserName": ...,
        "SerialNumber": ...,
        "AuthenticationCode1": ...,
        "AuthenticationCode2": ...,
    }
Definition
class EnableMFADeviceRequestRequestTypeDef(TypedDict):
    UserName: str,
    SerialNumber: str,
    AuthenticationCode1: str,
    AuthenticationCode2: str,

EnableMFADeviceRequestUserEnableMfaTypeDef

Usage Example
from mypy_boto3_iam.type_defs import EnableMFADeviceRequestUserEnableMfaTypeDef

def get_value() -> EnableMFADeviceRequestUserEnableMfaTypeDef:
    return {
        "SerialNumber": ...,
        "AuthenticationCode1": ...,
        "AuthenticationCode2": ...,
    }
Definition
class EnableMFADeviceRequestUserEnableMfaTypeDef(TypedDict):
    SerialNumber: str,
    AuthenticationCode1: str,
    AuthenticationCode2: str,

EntityInfoTypeDef

Usage Example
from mypy_boto3_iam.type_defs import EntityInfoTypeDef

def get_value() -> EntityInfoTypeDef:
    return {
        "Arn": ...,
        "Name": ...,
        "Type": ...,
        "Id": ...,
    }
Definition
class EntityInfoTypeDef(TypedDict):
    Arn: str,
    Name: str,
    Type: policyOwnerEntityTypeType,  # (1)
    Id: str,
    Path: NotRequired[str],
  1. See policyOwnerEntityTypeType

ErrorDetailsTypeDef

Usage Example
from mypy_boto3_iam.type_defs import ErrorDetailsTypeDef

def get_value() -> ErrorDetailsTypeDef:
    return {
        "Message": ...,
        "Code": ...,
    }
Definition
class ErrorDetailsTypeDef(TypedDict):
    Message: str,
    Code: str,

OrganizationsDecisionDetailTypeDef

Usage Example
from mypy_boto3_iam.type_defs import OrganizationsDecisionDetailTypeDef

def get_value() -> OrganizationsDecisionDetailTypeDef:
    return {
        "AllowedByOrganizations": ...,
    }
Definition
class OrganizationsDecisionDetailTypeDef(TypedDict):
    AllowedByOrganizations: NotRequired[bool],

PermissionsBoundaryDecisionDetailTypeDef

Usage Example
from mypy_boto3_iam.type_defs import PermissionsBoundaryDecisionDetailTypeDef

def get_value() -> PermissionsBoundaryDecisionDetailTypeDef:
    return {
        "AllowedByPermissionsBoundary": ...,
    }
Definition
class PermissionsBoundaryDecisionDetailTypeDef(TypedDict):
    AllowedByPermissionsBoundary: NotRequired[bool],

GenerateOrganizationsAccessReportRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GenerateOrganizationsAccessReportRequestRequestTypeDef

def get_value() -> GenerateOrganizationsAccessReportRequestRequestTypeDef:
    return {
        "EntityPath": ...,
    }
Definition
class GenerateOrganizationsAccessReportRequestRequestTypeDef(TypedDict):
    EntityPath: str,
    OrganizationsPolicyId: NotRequired[str],

GenerateServiceLastAccessedDetailsRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GenerateServiceLastAccessedDetailsRequestRequestTypeDef

def get_value() -> GenerateServiceLastAccessedDetailsRequestRequestTypeDef:
    return {
        "Arn": ...,
    }
Definition
class GenerateServiceLastAccessedDetailsRequestRequestTypeDef(TypedDict):
    Arn: str,
    Granularity: NotRequired[AccessAdvisorUsageGranularityTypeType],  # (1)
  1. See AccessAdvisorUsageGranularityTypeType

GetAccessKeyLastUsedRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetAccessKeyLastUsedRequestRequestTypeDef

def get_value() -> GetAccessKeyLastUsedRequestRequestTypeDef:
    return {
        "AccessKeyId": ...,
    }
Definition
class GetAccessKeyLastUsedRequestRequestTypeDef(TypedDict):
    AccessKeyId: str,

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_iam.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

GetAccountAuthorizationDetailsRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetAccountAuthorizationDetailsRequestRequestTypeDef

def get_value() -> GetAccountAuthorizationDetailsRequestRequestTypeDef:
    return {
        "Filter": ...,
    }
Definition
class GetAccountAuthorizationDetailsRequestRequestTypeDef(TypedDict):
    Filter: NotRequired[Sequence[EntityTypeType]],  # (1)
    MaxItems: NotRequired[int],
    Marker: NotRequired[str],
  1. See EntityTypeType

PasswordPolicyTypeDef

Usage Example
from mypy_boto3_iam.type_defs import PasswordPolicyTypeDef

def get_value() -> PasswordPolicyTypeDef:
    return {
        "MinimumPasswordLength": ...,
    }
Definition
class PasswordPolicyTypeDef(TypedDict):
    MinimumPasswordLength: NotRequired[int],
    RequireSymbols: NotRequired[bool],
    RequireNumbers: NotRequired[bool],
    RequireUppercaseCharacters: NotRequired[bool],
    RequireLowercaseCharacters: NotRequired[bool],
    AllowUsersToChangePassword: NotRequired[bool],
    ExpirePasswords: NotRequired[bool],
    MaxPasswordAge: NotRequired[int],
    PasswordReusePrevention: NotRequired[int],
    HardExpiry: NotRequired[bool],

GetContextKeysForCustomPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetContextKeysForCustomPolicyRequestRequestTypeDef

def get_value() -> GetContextKeysForCustomPolicyRequestRequestTypeDef:
    return {
        "PolicyInputList": ...,
    }
Definition
class GetContextKeysForCustomPolicyRequestRequestTypeDef(TypedDict):
    PolicyInputList: Sequence[str],

GetContextKeysForPrincipalPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetContextKeysForPrincipalPolicyRequestRequestTypeDef

def get_value() -> GetContextKeysForPrincipalPolicyRequestRequestTypeDef:
    return {
        "PolicySourceArn": ...,
    }
Definition
class GetContextKeysForPrincipalPolicyRequestRequestTypeDef(TypedDict):
    PolicySourceArn: str,
    PolicyInputList: NotRequired[Sequence[str]],

GetGroupPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetGroupPolicyRequestRequestTypeDef

def get_value() -> GetGroupPolicyRequestRequestTypeDef:
    return {
        "GroupName": ...,
        "PolicyName": ...,
    }
Definition
class GetGroupPolicyRequestRequestTypeDef(TypedDict):
    GroupName: str,
    PolicyName: str,

GetGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetGroupRequestRequestTypeDef

def get_value() -> GetGroupRequestRequestTypeDef:
    return {
        "GroupName": ...,
    }
Definition
class GetGroupRequestRequestTypeDef(TypedDict):
    GroupName: str,
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],

WaiterConfigTypeDef

Usage Example
from mypy_boto3_iam.type_defs import WaiterConfigTypeDef

def get_value() -> WaiterConfigTypeDef:
    return {
        "Delay": ...,
    }
Definition
class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

GetInstanceProfileRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetInstanceProfileRequestRequestTypeDef

def get_value() -> GetInstanceProfileRequestRequestTypeDef:
    return {
        "InstanceProfileName": ...,
    }
Definition
class GetInstanceProfileRequestRequestTypeDef(TypedDict):
    InstanceProfileName: str,

GetLoginProfileRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetLoginProfileRequestRequestTypeDef

def get_value() -> GetLoginProfileRequestRequestTypeDef:
    return {
        "UserName": ...,
    }
Definition
class GetLoginProfileRequestRequestTypeDef(TypedDict):
    UserName: str,

GetOpenIDConnectProviderRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetOpenIDConnectProviderRequestRequestTypeDef

def get_value() -> GetOpenIDConnectProviderRequestRequestTypeDef:
    return {
        "OpenIDConnectProviderArn": ...,
    }
Definition
class GetOpenIDConnectProviderRequestRequestTypeDef(TypedDict):
    OpenIDConnectProviderArn: str,

GetOrganizationsAccessReportRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetOrganizationsAccessReportRequestRequestTypeDef

def get_value() -> GetOrganizationsAccessReportRequestRequestTypeDef:
    return {
        "JobId": ...,
    }
Definition
class GetOrganizationsAccessReportRequestRequestTypeDef(TypedDict):
    JobId: str,
    MaxItems: NotRequired[int],
    Marker: NotRequired[str],
    SortKey: NotRequired[sortKeyTypeType],  # (1)
  1. See sortKeyTypeType

GetPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetPolicyRequestRequestTypeDef

def get_value() -> GetPolicyRequestRequestTypeDef:
    return {
        "PolicyArn": ...,
    }
Definition
class GetPolicyRequestRequestTypeDef(TypedDict):
    PolicyArn: str,

GetPolicyVersionRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetPolicyVersionRequestRequestTypeDef

def get_value() -> GetPolicyVersionRequestRequestTypeDef:
    return {
        "PolicyArn": ...,
        "VersionId": ...,
    }
Definition
class GetPolicyVersionRequestRequestTypeDef(TypedDict):
    PolicyArn: str,
    VersionId: str,

GetRolePolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetRolePolicyRequestRequestTypeDef

def get_value() -> GetRolePolicyRequestRequestTypeDef:
    return {
        "RoleName": ...,
        "PolicyName": ...,
    }
Definition
class GetRolePolicyRequestRequestTypeDef(TypedDict):
    RoleName: str,
    PolicyName: str,

GetRoleRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetRoleRequestRequestTypeDef

def get_value() -> GetRoleRequestRequestTypeDef:
    return {
        "RoleName": ...,
    }
Definition
class GetRoleRequestRequestTypeDef(TypedDict):
    RoleName: str,

GetSAMLProviderRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetSAMLProviderRequestRequestTypeDef

def get_value() -> GetSAMLProviderRequestRequestTypeDef:
    return {
        "SAMLProviderArn": ...,
    }
Definition
class GetSAMLProviderRequestRequestTypeDef(TypedDict):
    SAMLProviderArn: str,

GetSSHPublicKeyRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetSSHPublicKeyRequestRequestTypeDef

def get_value() -> GetSSHPublicKeyRequestRequestTypeDef:
    return {
        "UserName": ...,
        "SSHPublicKeyId": ...,
        "Encoding": ...,
    }
Definition
class GetSSHPublicKeyRequestRequestTypeDef(TypedDict):
    UserName: str,
    SSHPublicKeyId: str,
    Encoding: encodingTypeType,  # (1)
  1. See encodingTypeType

SSHPublicKeyTypeDef

Usage Example
from mypy_boto3_iam.type_defs import SSHPublicKeyTypeDef

def get_value() -> SSHPublicKeyTypeDef:
    return {
        "UserName": ...,
        "SSHPublicKeyId": ...,
        "Fingerprint": ...,
        "SSHPublicKeyBody": ...,
        "Status": ...,
    }
Definition
class SSHPublicKeyTypeDef(TypedDict):
    UserName: str,
    SSHPublicKeyId: str,
    Fingerprint: str,
    SSHPublicKeyBody: str,
    Status: statusTypeType,  # (1)
    UploadDate: NotRequired[datetime],
  1. See statusTypeType

GetServerCertificateRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetServerCertificateRequestRequestTypeDef

def get_value() -> GetServerCertificateRequestRequestTypeDef:
    return {
        "ServerCertificateName": ...,
    }
Definition
class GetServerCertificateRequestRequestTypeDef(TypedDict):
    ServerCertificateName: str,

GetServiceLastAccessedDetailsRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetServiceLastAccessedDetailsRequestRequestTypeDef

def get_value() -> GetServiceLastAccessedDetailsRequestRequestTypeDef:
    return {
        "JobId": ...,
    }
Definition
class GetServiceLastAccessedDetailsRequestRequestTypeDef(TypedDict):
    JobId: str,
    MaxItems: NotRequired[int],
    Marker: NotRequired[str],

GetServiceLastAccessedDetailsWithEntitiesRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetServiceLastAccessedDetailsWithEntitiesRequestRequestTypeDef

def get_value() -> GetServiceLastAccessedDetailsWithEntitiesRequestRequestTypeDef:
    return {
        "JobId": ...,
        "ServiceNamespace": ...,
    }
Definition
class GetServiceLastAccessedDetailsWithEntitiesRequestRequestTypeDef(TypedDict):
    JobId: str,
    ServiceNamespace: str,
    MaxItems: NotRequired[int],
    Marker: NotRequired[str],

GetServiceLinkedRoleDeletionStatusRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetServiceLinkedRoleDeletionStatusRequestRequestTypeDef

def get_value() -> GetServiceLinkedRoleDeletionStatusRequestRequestTypeDef:
    return {
        "DeletionTaskId": ...,
    }
Definition
class GetServiceLinkedRoleDeletionStatusRequestRequestTypeDef(TypedDict):
    DeletionTaskId: str,

GetUserPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetUserPolicyRequestRequestTypeDef

def get_value() -> GetUserPolicyRequestRequestTypeDef:
    return {
        "UserName": ...,
        "PolicyName": ...,
    }
Definition
class GetUserPolicyRequestRequestTypeDef(TypedDict):
    UserName: str,
    PolicyName: str,

GetUserRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GetUserRequestRequestTypeDef

def get_value() -> GetUserRequestRequestTypeDef:
    return {
        "UserName": ...,
    }
Definition
class GetUserRequestRequestTypeDef(TypedDict):
    UserName: NotRequired[str],

PolicyDetailTypeDef

Usage Example
from mypy_boto3_iam.type_defs import PolicyDetailTypeDef

def get_value() -> PolicyDetailTypeDef:
    return {
        "PolicyName": ...,
    }
Definition
class PolicyDetailTypeDef(TypedDict):
    PolicyName: NotRequired[str],
    PolicyDocument: NotRequired[str],

GroupPolicyRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import GroupPolicyRequestTypeDef

def get_value() -> GroupPolicyRequestTypeDef:
    return {
        "name": ...,
    }
Definition
class GroupPolicyRequestTypeDef(TypedDict):
    name: str,

ListAccessKeysRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import ListAccessKeysRequestRequestTypeDef

def get_value() -> ListAccessKeysRequestRequestTypeDef:
    return {
        "UserName": ...,
    }
Definition
class ListAccessKeysRequestRequestTypeDef(TypedDict):
    UserName: NotRequired[str],
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],

ListAccountAliasesRequestRequestTypeDef

Usage Example
from mypy_boto3_iam.type_defs import ListAccountAliasesRequestRequestTypeDef

def get_value() -> ListAccountAliasesRequestRequestTypeDef