Type annotations for boto3.IAM 1.18.32 service, generated by mypy-boto3-builder 5.2.0
Project description
mypy-boto3-iam
Type annotations for boto3.IAM 1.18.32 service compatible with VSCode, PyCharm, Emacs, Sublime Text, mypy, pyright and other tools.
Generated by mypy-boto3-builder 5.2.0.
More information can be found on boto3-stubs page and in mypy-boto3-iam docs
See how it helps to find and fix potential bugs:
- mypy-boto3-iam
How to install
Install boto3-stubs
for IAM
service.
python -m pip install boto3-stubs[iam]
Usage
VSCode
- Install Python extension
- Install Pylance extension
- Set
Pylance
as your Python Language Server - Install
boto-stubs[iam]
in your environment:python -m pip install 'boto3-stubs[iam]'
Both type checking and auto-complete should work for IAM
service. No explicit
type annotations required, write your boto3
code as usual.
PyCharm
- Install
boto-stubs[iam]
in your environment:python -m pip install 'boto3-stubs[iam]'
Both type checking and auto-complete should work for IAM
service. No explicit
type annotations required, write your boto3
code as usual. Auto-complete can
be slow on big projects or if you have a lot of installed boto3-stubs
submodules.
Other IDEs
Not tested, but as long as your IDE supports mypy
or pyright
, everything
should work.
mypy
- Install
mypy
:python -m pip install mypy
- Install
boto-stubs[iam]
in your environment:python -m pip install 'boto3-stubs[iam]'
- Run
mypy
as usual
Type checking should work for IAM
service. No explicit type annotations
required, write your boto3
code as usual.
pyright
- Install
pyright
:yarn global add pyright
- Install
boto-stubs[iam]
in your environment:python -m pip install 'boto3-stubs[iam]'
- Optionally, you can install
boto3-stubs
totypings
folder.
Type checking should work for IAM
service. No explicit type annotations
required, write your boto3
code as usual.
Explicit type annotations
Client annotations
IAMClient
provides annotations for boto3.client("iam")
.
import boto3
from mypy_boto3_iam import IAMClient
client: IAMClient = boto3.client("iam")
# now client usage is checked by mypy and IDE should provide code auto-complete
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: IAMClient = session.client("iam")
Paginators annotations
mypy_boto3_iam.paginator
module contains type annotations for all paginators.
from mypy_boto3_iam import IAMClient
from mypy_boto3_iam.paginator import (
GetAccountAuthorizationDetailsPaginator,
GetGroupPaginator,
ListAccessKeysPaginator,
ListAccountAliasesPaginator,
ListAttachedGroupPoliciesPaginator,
ListAttachedRolePoliciesPaginator,
ListAttachedUserPoliciesPaginator,
ListEntitiesForPolicyPaginator,
ListGroupPoliciesPaginator,
ListGroupsPaginator,
ListGroupsForUserPaginator,
ListInstanceProfilesPaginator,
ListInstanceProfilesForRolePaginator,
ListMFADevicesPaginator,
ListPoliciesPaginator,
ListPolicyVersionsPaginator,
ListRolePoliciesPaginator,
ListRolesPaginator,
ListSSHPublicKeysPaginator,
ListServerCertificatesPaginator,
ListSigningCertificatesPaginator,
ListUserPoliciesPaginator,
ListUserTagsPaginator,
ListUsersPaginator,
ListVirtualMFADevicesPaginator,
SimulateCustomPolicyPaginator,
SimulatePrincipalPolicyPaginator,
)
client: IAMClient = boto3.client("iam")
# Explicit type annotations are optional here
# Type should be correctly discovered by mypy and IDEs
# VSCode requires explicit type annotations
get_account_authorization_details_paginator: GetAccountAuthorizationDetailsPaginator = client.get_paginator("get_account_authorization_details")
get_group_paginator: GetGroupPaginator = client.get_paginator("get_group")
list_access_keys_paginator: ListAccessKeysPaginator = client.get_paginator("list_access_keys")
list_account_aliases_paginator: ListAccountAliasesPaginator = client.get_paginator("list_account_aliases")
list_attached_group_policies_paginator: ListAttachedGroupPoliciesPaginator = client.get_paginator("list_attached_group_policies")
list_attached_role_policies_paginator: ListAttachedRolePoliciesPaginator = client.get_paginator("list_attached_role_policies")
list_attached_user_policies_paginator: ListAttachedUserPoliciesPaginator = client.get_paginator("list_attached_user_policies")
list_entities_for_policy_paginator: ListEntitiesForPolicyPaginator = client.get_paginator("list_entities_for_policy")
list_group_policies_paginator: ListGroupPoliciesPaginator = client.get_paginator("list_group_policies")
list_groups_paginator: ListGroupsPaginator = client.get_paginator("list_groups")
list_groups_for_user_paginator: ListGroupsForUserPaginator = client.get_paginator("list_groups_for_user")
list_instance_profiles_paginator: ListInstanceProfilesPaginator = client.get_paginator("list_instance_profiles")
list_instance_profiles_for_role_paginator: ListInstanceProfilesForRolePaginator = client.get_paginator("list_instance_profiles_for_role")
list_mfa_devices_paginator: ListMFADevicesPaginator = client.get_paginator("list_mfa_devices")
list_policies_paginator: ListPoliciesPaginator = client.get_paginator("list_policies")
list_policy_versions_paginator: ListPolicyVersionsPaginator = client.get_paginator("list_policy_versions")
list_role_policies_paginator: ListRolePoliciesPaginator = client.get_paginator("list_role_policies")
list_roles_paginator: ListRolesPaginator = client.get_paginator("list_roles")
list_ssh_public_keys_paginator: ListSSHPublicKeysPaginator = client.get_paginator("list_ssh_public_keys")
list_server_certificates_paginator: ListServerCertificatesPaginator = client.get_paginator("list_server_certificates")
list_signing_certificates_paginator: ListSigningCertificatesPaginator = client.get_paginator("list_signing_certificates")
list_user_policies_paginator: ListUserPoliciesPaginator = client.get_paginator("list_user_policies")
list_user_tags_paginator: ListUserTagsPaginator = client.get_paginator("list_user_tags")
list_users_paginator: ListUsersPaginator = client.get_paginator("list_users")
list_virtual_mfa_devices_paginator: ListVirtualMFADevicesPaginator = client.get_paginator("list_virtual_mfa_devices")
simulate_custom_policy_paginator: SimulateCustomPolicyPaginator = client.get_paginator("simulate_custom_policy")
simulate_principal_policy_paginator: SimulatePrincipalPolicyPaginator = client.get_paginator("simulate_principal_policy")
Waiters annotations
mypy_boto3_iam.waiter
module contains type annotations for all waiters.
from mypy_boto3_iam import IAMClient
from mypy_boto3_iam.waiter import (
InstanceProfileExistsWaiter,
PolicyExistsWaiter,
RoleExistsWaiter,
UserExistsWaiter,
)
client: IAMClient = boto3.client("iam")
# Explicit type annotations are optional here
# Type should be correctly discovered by mypy and IDEs
# VSCode requires explicit type annotations
instance_profile_exists_waiter: InstanceProfileExistsWaiter = client.get_waiter("instance_profile_exists")
policy_exists_waiter: PolicyExistsWaiter = client.get_waiter("policy_exists")
role_exists_waiter: RoleExistsWaiter = client.get_waiter("role_exists")
user_exists_waiter: UserExistsWaiter = client.get_waiter("user_exists")
Service Resource annotations
IAMServiceResource
provides annotations for boto3.resource("iam")
.
from mypy_boto3_iam import IAMServiceResource
resource: IAMServiceResource = boto3.resource("iam")
# now resource usage is checked by mypy and IDE should provide code auto-complete
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_resource: IAMServiceResource = session.resource("iam")
Other resources annotations
mypy_boto3_iam.service_resource
module contains type annotations for all
resources.
from mypy_boto3_iam import IAMServiceResource
from mypy_boto3_iam.service_resource import (
AccessKey,
AccessKeyPair,
AccountPasswordPolicy,
AccountSummary,
AssumeRolePolicy,
CurrentUser,
Group,
GroupPolicy,
InstanceProfile,
LoginProfile,
MfaDevice,
Policy,
PolicyVersion,
Role,
RolePolicy,
SamlProvider,
ServerCertificate,
SigningCertificate,
User,
UserPolicy,
VirtualMfaDevice,
)
resource: IAMServiceResource = boto3.resource("iam")
# Explicit type annotations are optional here
# Type should be correctly discovered by mypy and IDEs
my_access_key: AccessKey = resource.AccessKey(...)
my_access_key_pair: AccessKeyPair = resource.AccessKeyPair(...)
my_account_password_policy: AccountPasswordPolicy = resource.AccountPasswordPolicy(...)
my_account_summary: AccountSummary = resource.AccountSummary(...)
my_assume_role_policy: AssumeRolePolicy = resource.AssumeRolePolicy(...)
my_current_user: CurrentUser = resource.CurrentUser(...)
my_group: Group = resource.Group(...)
my_group_policy: GroupPolicy = resource.GroupPolicy(...)
my_instance_profile: InstanceProfile = resource.InstanceProfile(...)
my_login_profile: LoginProfile = resource.LoginProfile(...)
my_mfa_device: MfaDevice = resource.MfaDevice(...)
my_policy: Policy = resource.Policy(...)
my_policy_version: PolicyVersion = resource.PolicyVersion(...)
my_role: Role = resource.Role(...)
my_role_policy: RolePolicy = resource.RolePolicy(...)
my_saml_provider: SamlProvider = resource.SamlProvider(...)
my_server_certificate: ServerCertificate = resource.ServerCertificate(...)
my_signing_certificate: SigningCertificate = resource.SigningCertificate(...)
my_user: User = resource.User(...)
my_user_policy: UserPolicy = resource.UserPolicy(...)
my_virtual_mfa_device: VirtualMfaDevice = resource.VirtualMfaDevice(...)
Collections annotations
mypy_boto3_iam.service_resource
module contains type annotations for all
IAMServiceResource
collections.
from mypy_boto3_iam import IAMServiceResource
from mypy_boto3_iam.service_resource import (
ServiceResourceGroupsCollection,
ServiceResourceInstanceProfilesCollection,
ServiceResourcePoliciesCollection,
ServiceResourceRolesCollection,
ServiceResourceSamlProvidersCollection,
ServiceResourceServerCertificatesCollection,
ServiceResourceUsersCollection,
ServiceResourceVirtualMfaDevicesCollection,
)
resource: IAMServiceResource = boto3.resource("iam")
# Explicit type annotations are optional here
# Type should be correctly discovered by mypy and IDEs
groups: iam_resources.ServiceResourceGroupsCollection = resource.groups
instance_profiles: iam_resources.ServiceResourceInstanceProfilesCollection = resource.instance_profiles
policies: iam_resources.ServiceResourcePoliciesCollection = resource.policies
roles: iam_resources.ServiceResourceRolesCollection = resource.roles
saml_providers: iam_resources.ServiceResourceSamlProvidersCollection = resource.saml_providers
server_certificates: iam_resources.ServiceResourceServerCertificatesCollection = resource.server_certificates
users: iam_resources.ServiceResourceUsersCollection = resource.users
virtual_mfa_devices: iam_resources.ServiceResourceVirtualMfaDevicesCollection = resource.virtual_mfa_devices
Literals
mypy_boto3_iam.literals
module contains literals extracted from shapes that
can be used in user code for type checking.
from mypy_boto3_iam.literals import (
AccessAdvisorUsageGranularityTypeType,
ContextKeyTypeEnumType,
DeletionTaskStatusTypeType,
EntityTypeType,
GetAccountAuthorizationDetailsPaginatorName,
GetGroupPaginatorName,
InstanceProfileExistsWaiterName,
ListAccessKeysPaginatorName,
ListAccountAliasesPaginatorName,
ListAttachedGroupPoliciesPaginatorName,
ListAttachedRolePoliciesPaginatorName,
ListAttachedUserPoliciesPaginatorName,
ListEntitiesForPolicyPaginatorName,
ListGroupPoliciesPaginatorName,
ListGroupsForUserPaginatorName,
ListGroupsPaginatorName,
ListInstanceProfilesForRolePaginatorName,
ListInstanceProfilesPaginatorName,
ListMFADevicesPaginatorName,
ListPoliciesPaginatorName,
ListPolicyVersionsPaginatorName,
ListRolePoliciesPaginatorName,
ListRolesPaginatorName,
ListSSHPublicKeysPaginatorName,
ListServerCertificatesPaginatorName,
ListSigningCertificatesPaginatorName,
ListUserPoliciesPaginatorName,
ListUserTagsPaginatorName,
ListUsersPaginatorName,
ListVirtualMFADevicesPaginatorName,
PermissionsBoundaryAttachmentTypeType,
PolicyEvaluationDecisionTypeType,
PolicyExistsWaiterName,
PolicySourceTypeType,
PolicyUsageTypeType,
ReportFormatTypeType,
ReportStateTypeType,
RoleExistsWaiterName,
SimulateCustomPolicyPaginatorName,
SimulatePrincipalPolicyPaginatorName,
UserExistsWaiterName,
assignmentStatusTypeType,
encodingTypeType,
globalEndpointTokenVersionType,
jobStatusTypeType,
policyOwnerEntityTypeType,
policyScopeTypeType,
policyTypeType,
sortKeyTypeType,
statusTypeType,
summaryKeyTypeType,
)
def check_value(value: AccessAdvisorUsageGranularityTypeType) -> bool:
...
Typed dictionaries
mypy_boto3_iam.type_defs
module contains structures and shapes assembled to
typed dictionaries for additional type checking.
from mypy_boto3_iam.type_defs import (
AccessDetailTypeDef,
AccessKeyLastUsedTypeDef,
AccessKeyMetadataTypeDef,
AccessKeyTypeDef,
AddClientIDToOpenIDConnectProviderRequestRequestTypeDef,
AddRoleToInstanceProfileRequestInstanceProfileTypeDef,
AddRoleToInstanceProfileRequestRequestTypeDef,
AddUserToGroupRequestGroupTypeDef,
AddUserToGroupRequestRequestTypeDef,
AddUserToGroupRequestUserTypeDef,
AttachGroupPolicyRequestGroupTypeDef,
AttachGroupPolicyRequestPolicyTypeDef,
AttachGroupPolicyRequestRequestTypeDef,
AttachRolePolicyRequestPolicyTypeDef,
AttachRolePolicyRequestRequestTypeDef,
AttachRolePolicyRequestRoleTypeDef,
AttachUserPolicyRequestPolicyTypeDef,
AttachUserPolicyRequestRequestTypeDef,
AttachUserPolicyRequestUserTypeDef,
AttachedPermissionsBoundaryTypeDef,
AttachedPolicyTypeDef,
ChangePasswordRequestRequestTypeDef,
ChangePasswordRequestServiceResourceTypeDef,
ContextEntryTypeDef,
CreateAccessKeyRequestRequestTypeDef,
CreateAccessKeyResponseTypeDef,
CreateAccountAliasRequestRequestTypeDef,
CreateAccountAliasRequestServiceResourceTypeDef,
CreateGroupRequestGroupTypeDef,
CreateGroupRequestRequestTypeDef,
CreateGroupRequestServiceResourceTypeDef,
CreateGroupResponseTypeDef,
CreateInstanceProfileRequestRequestTypeDef,
CreateInstanceProfileRequestServiceResourceTypeDef,
CreateInstanceProfileResponseTypeDef,
CreateLoginProfileRequestLoginProfileTypeDef,
CreateLoginProfileRequestRequestTypeDef,
CreateLoginProfileRequestUserTypeDef,
CreateLoginProfileResponseTypeDef,
CreateOpenIDConnectProviderRequestRequestTypeDef,
CreateOpenIDConnectProviderResponseTypeDef,
CreatePolicyRequestRequestTypeDef,
CreatePolicyRequestServiceResourceTypeDef,
CreatePolicyResponseTypeDef,
CreatePolicyVersionRequestPolicyTypeDef,
CreatePolicyVersionRequestRequestTypeDef,
CreatePolicyVersionResponseTypeDef,
CreateRoleRequestRequestTypeDef,
CreateRoleRequestServiceResourceTypeDef,
CreateRoleResponseTypeDef,
CreateSAMLProviderRequestRequestTypeDef,
CreateSAMLProviderRequestServiceResourceTypeDef,
CreateSAMLProviderResponseTypeDef,
CreateServiceLinkedRoleRequestRequestTypeDef,
CreateServiceLinkedRoleResponseTypeDef,
CreateServiceSpecificCredentialRequestRequestTypeDef,
CreateServiceSpecificCredentialResponseTypeDef,
CreateUserRequestRequestTypeDef,
CreateUserRequestServiceResourceTypeDef,
CreateUserRequestUserTypeDef,
CreateUserResponseTypeDef,
CreateVirtualMFADeviceRequestRequestTypeDef,
CreateVirtualMFADeviceRequestServiceResourceTypeDef,
CreateVirtualMFADeviceResponseTypeDef,
DeactivateMFADeviceRequestRequestTypeDef,
DeleteAccessKeyRequestRequestTypeDef,
DeleteAccountAliasRequestRequestTypeDef,
DeleteGroupPolicyRequestRequestTypeDef,
DeleteGroupRequestRequestTypeDef,
DeleteInstanceProfileRequestRequestTypeDef,
DeleteLoginProfileRequestRequestTypeDef,
DeleteOpenIDConnectProviderRequestRequestTypeDef,
DeletePolicyRequestRequestTypeDef,
DeletePolicyVersionRequestRequestTypeDef,
DeleteRolePermissionsBoundaryRequestRequestTypeDef,
DeleteRolePolicyRequestRequestTypeDef,
DeleteRoleRequestRequestTypeDef,
DeleteSAMLProviderRequestRequestTypeDef,
DeleteSSHPublicKeyRequestRequestTypeDef,
DeleteServerCertificateRequestRequestTypeDef,
DeleteServiceLinkedRoleRequestRequestTypeDef,
DeleteServiceLinkedRoleResponseTypeDef,
DeleteServiceSpecificCredentialRequestRequestTypeDef,
DeleteSigningCertificateRequestRequestTypeDef,
DeleteUserPermissionsBoundaryRequestRequestTypeDef,
DeleteUserPolicyRequestRequestTypeDef,
DeleteUserRequestRequestTypeDef,
DeleteVirtualMFADeviceRequestRequestTypeDef,
DeletionTaskFailureReasonTypeTypeDef,
DetachGroupPolicyRequestGroupTypeDef,
DetachGroupPolicyRequestPolicyTypeDef,
DetachGroupPolicyRequestRequestTypeDef,
DetachRolePolicyRequestPolicyTypeDef,
DetachRolePolicyRequestRequestTypeDef,
DetachRolePolicyRequestRoleTypeDef,
DetachUserPolicyRequestPolicyTypeDef,
DetachUserPolicyRequestRequestTypeDef,
DetachUserPolicyRequestUserTypeDef,
EnableMFADeviceRequestMfaDeviceTypeDef,
EnableMFADeviceRequestRequestTypeDef,
EnableMFADeviceRequestUserTypeDef,
EntityDetailsTypeDef,
EntityInfoTypeDef,
ErrorDetailsTypeDef,
EvaluationResultTypeDef,
GenerateCredentialReportResponseTypeDef,
GenerateOrganizationsAccessReportRequestRequestTypeDef,
GenerateOrganizationsAccessReportResponseTypeDef,
GenerateServiceLastAccessedDetailsRequestRequestTypeDef,
GenerateServiceLastAccessedDetailsResponseTypeDef,
GetAccessKeyLastUsedRequestRequestTypeDef,
GetAccessKeyLastUsedResponseTypeDef,
GetAccountAuthorizationDetailsRequestRequestTypeDef,
GetAccountAuthorizationDetailsResponseTypeDef,
GetAccountPasswordPolicyResponseTypeDef,
GetAccountSummaryResponseTypeDef,
GetContextKeysForCustomPolicyRequestRequestTypeDef,
GetContextKeysForPolicyResponseTypeDef,
GetContextKeysForPrincipalPolicyRequestRequestTypeDef,
GetCredentialReportResponseTypeDef,
GetGroupPolicyRequestRequestTypeDef,
GetGroupPolicyResponseTypeDef,
GetGroupRequestRequestTypeDef,
GetGroupResponseTypeDef,
GetInstanceProfileRequestRequestTypeDef,
GetInstanceProfileResponseTypeDef,
GetLoginProfileRequestRequestTypeDef,
GetLoginProfileResponseTypeDef,
GetOpenIDConnectProviderRequestRequestTypeDef,
GetOpenIDConnectProviderResponseTypeDef,
GetOrganizationsAccessReportRequestRequestTypeDef,
GetOrganizationsAccessReportResponseTypeDef,
GetPolicyRequestRequestTypeDef,
GetPolicyResponseTypeDef,
GetPolicyVersionRequestRequestTypeDef,
GetPolicyVersionResponseTypeDef,
GetRolePolicyRequestRequestTypeDef,
GetRolePolicyResponseTypeDef,
GetRoleRequestRequestTypeDef,
GetRoleResponseTypeDef,
GetSAMLProviderRequestRequestTypeDef,
GetSAMLProviderResponseTypeDef,
GetSSHPublicKeyRequestRequestTypeDef,
GetSSHPublicKeyResponseTypeDef,
GetServerCertificateRequestRequestTypeDef,
GetServerCertificateResponseTypeDef,
GetServiceLastAccessedDetailsRequestRequestTypeDef,
GetServiceLastAccessedDetailsResponseTypeDef,
GetServiceLastAccessedDetailsWithEntitiesRequestRequestTypeDef,
GetServiceLastAccessedDetailsWithEntitiesResponseTypeDef,
GetServiceLinkedRoleDeletionStatusRequestRequestTypeDef,
GetServiceLinkedRoleDeletionStatusResponseTypeDef,
GetUserPolicyRequestRequestTypeDef,
GetUserPolicyResponseTypeDef,
GetUserRequestRequestTypeDef,
GetUserResponseTypeDef,
GroupDetailTypeDef,
GroupPolicyRequestTypeDef,
GroupTypeDef,
InstanceProfileTypeDef,
ListAccessKeysRequestRequestTypeDef,
ListAccessKeysResponseTypeDef,
ListAccountAliasesRequestRequestTypeDef,
ListAccountAliasesResponseTypeDef,
ListAttachedGroupPoliciesRequestRequestTypeDef,
ListAttachedGroupPoliciesResponseTypeDef,
ListAttachedRolePoliciesRequestRequestTypeDef,
ListAttachedRolePoliciesResponseTypeDef,
ListAttachedUserPoliciesRequestRequestTypeDef,
ListAttachedUserPoliciesResponseTypeDef,
ListEntitiesForPolicyRequestRequestTypeDef,
ListEntitiesForPolicyResponseTypeDef,
ListGroupPoliciesRequestRequestTypeDef,
ListGroupPoliciesResponseTypeDef,
ListGroupsForUserRequestRequestTypeDef,
ListGroupsForUserResponseTypeDef,
ListGroupsRequestRequestTypeDef,
ListGroupsResponseTypeDef,
ListInstanceProfileTagsRequestRequestTypeDef,
ListInstanceProfileTagsResponseTypeDef,
ListInstanceProfilesForRoleRequestRequestTypeDef,
ListInstanceProfilesForRoleResponseTypeDef,
ListInstanceProfilesRequestRequestTypeDef,
ListInstanceProfilesResponseTypeDef,
ListMFADeviceTagsRequestRequestTypeDef,
ListMFADeviceTagsResponseTypeDef,
ListMFADevicesRequestRequestTypeDef,
ListMFADevicesResponseTypeDef,
ListOpenIDConnectProviderTagsRequestRequestTypeDef,
ListOpenIDConnectProviderTagsResponseTypeDef,
ListOpenIDConnectProvidersResponseTypeDef,
ListPoliciesGrantingServiceAccessEntryTypeDef,
ListPoliciesGrantingServiceAccessRequestRequestTypeDef,
ListPoliciesGrantingServiceAccessResponseTypeDef,
ListPoliciesRequestRequestTypeDef,
ListPoliciesResponseTypeDef,
ListPolicyTagsRequestRequestTypeDef,
ListPolicyTagsResponseTypeDef,
ListPolicyVersionsRequestRequestTypeDef,
ListPolicyVersionsResponseTypeDef,
ListRolePoliciesRequestRequestTypeDef,
ListRolePoliciesResponseTypeDef,
ListRoleTagsRequestRequestTypeDef,
ListRoleTagsResponseTypeDef,
ListRolesRequestRequestTypeDef,
ListRolesResponseTypeDef,
ListSAMLProviderTagsRequestRequestTypeDef,
ListSAMLProviderTagsResponseTypeDef,
ListSAMLProvidersResponseTypeDef,
ListSSHPublicKeysRequestRequestTypeDef,
ListSSHPublicKeysResponseTypeDef,
ListServerCertificateTagsRequestRequestTypeDef,
ListServerCertificateTagsResponseTypeDef,
ListServerCertificatesRequestRequestTypeDef,
ListServerCertificatesResponseTypeDef,
ListServiceSpecificCredentialsRequestRequestTypeDef,
ListServiceSpecificCredentialsResponseTypeDef,
ListSigningCertificatesRequestRequestTypeDef,
ListSigningCertificatesResponseTypeDef,
ListUserPoliciesRequestRequestTypeDef,
ListUserPoliciesResponseTypeDef,
ListUserTagsRequestRequestTypeDef,
ListUserTagsResponseTypeDef,
ListUsersRequestRequestTypeDef,
ListUsersResponseTypeDef,
ListVirtualMFADevicesRequestRequestTypeDef,
ListVirtualMFADevicesResponseTypeDef,
LoginProfileTypeDef,
MFADeviceTypeDef,
ManagedPolicyDetailTypeDef,
OpenIDConnectProviderListEntryTypeDef,
OrganizationsDecisionDetailTypeDef,
PaginatorConfigTypeDef,
PasswordPolicyTypeDef,
PermissionsBoundaryDecisionDetailTypeDef,
PolicyDetailTypeDef,
PolicyGrantingServiceAccessTypeDef,
PolicyGroupTypeDef,
PolicyRoleTypeDef,
PolicyTypeDef,
PolicyUserTypeDef,
PolicyVersionTypeDef,
PositionTypeDef,
PutGroupPolicyRequestGroupPolicyTypeDef,
PutGroupPolicyRequestGroupTypeDef,
PutGroupPolicyRequestRequestTypeDef,
PutRolePermissionsBoundaryRequestRequestTypeDef,
PutRolePolicyRequestRequestTypeDef,
PutRolePolicyRequestRolePolicyTypeDef,
PutUserPermissionsBoundaryRequestRequestTypeDef,
PutUserPolicyRequestRequestTypeDef,
PutUserPolicyRequestUserPolicyTypeDef,
PutUserPolicyRequestUserTypeDef,
RemoveClientIDFromOpenIDConnectProviderRequestRequestTypeDef,
RemoveRoleFromInstanceProfileRequestInstanceProfileTypeDef,
RemoveRoleFromInstanceProfileRequestRequestTypeDef,
RemoveUserFromGroupRequestGroupTypeDef,
RemoveUserFromGroupRequestRequestTypeDef,
RemoveUserFromGroupRequestUserTypeDef,
ResetServiceSpecificCredentialRequestRequestTypeDef,
ResetServiceSpecificCredentialResponseTypeDef,
ResourceSpecificResultTypeDef,
ResponseMetadataTypeDef,
ResyncMFADeviceRequestMfaDeviceTypeDef,
ResyncMFADeviceRequestRequestTypeDef,
RoleDetailTypeDef,
RoleLastUsedTypeDef,
RolePolicyRequestTypeDef,
RoleTypeDef,
RoleUsageTypeTypeDef,
SAMLProviderListEntryTypeDef,
SSHPublicKeyMetadataTypeDef,
SSHPublicKeyTypeDef,
ServerCertificateMetadataTypeDef,
ServerCertificateTypeDef,
ServiceLastAccessedTypeDef,
ServiceResourceAccessKeyPairRequestTypeDef,
ServiceResourceAccessKeyRequestTypeDef,
ServiceResourceAssumeRolePolicyRequestTypeDef,
ServiceResourceGroupPolicyRequestTypeDef,
ServiceResourceGroupRequestTypeDef,
ServiceResourceInstanceProfileRequestTypeDef,
ServiceResourceLoginProfileRequestTypeDef,
ServiceResourceMfaDeviceRequestTypeDef,
ServiceResourcePolicyRequestTypeDef,
ServiceResourcePolicyVersionRequestTypeDef,
ServiceResourceRolePolicyRequestTypeDef,
ServiceResourceRoleRequestTypeDef,
ServiceResourceSamlProviderRequestTypeDef,
ServiceResourceServerCertificateRequestTypeDef,
ServiceResourceSigningCertificateRequestTypeDef,
ServiceResourceUserPolicyRequestTypeDef,
ServiceResourceUserRequestTypeDef,
ServiceResourceVirtualMfaDeviceRequestTypeDef,
ServiceSpecificCredentialMetadataTypeDef,
ServiceSpecificCredentialTypeDef,
SetDefaultPolicyVersionRequestRequestTypeDef,
SetSecurityTokenServicePreferencesRequestRequestTypeDef,
SigningCertificateTypeDef,
SimulateCustomPolicyRequestRequestTypeDef,
SimulatePolicyResponseTypeDef,
SimulatePrincipalPolicyRequestRequestTypeDef,
StatementTypeDef,
TagInstanceProfileRequestRequestTypeDef,
TagMFADeviceRequestRequestTypeDef,
TagOpenIDConnectProviderRequestRequestTypeDef,
TagPolicyRequestRequestTypeDef,
TagRoleRequestRequestTypeDef,
TagSAMLProviderRequestRequestTypeDef,
TagServerCertificateRequestRequestTypeDef,
TagTypeDef,
TagUserRequestRequestTypeDef,
TrackedActionLastAccessedTypeDef,
UntagInstanceProfileRequestRequestTypeDef,
UntagMFADeviceRequestRequestTypeDef,
UntagOpenIDConnectProviderRequestRequestTypeDef,
UntagPolicyRequestRequestTypeDef,
UntagRoleRequestRequestTypeDef,
UntagSAMLProviderRequestRequestTypeDef,
UntagServerCertificateRequestRequestTypeDef,
UntagUserRequestRequestTypeDef,
UpdateAccessKeyRequestAccessKeyPairTypeDef,
UpdateAccessKeyRequestAccessKeyTypeDef,
UpdateAccessKeyRequestRequestTypeDef,
UpdateAccountPasswordPolicyRequestAccountPasswordPolicyTypeDef,
UpdateAccountPasswordPolicyRequestRequestTypeDef,
UpdateAccountPasswordPolicyRequestServiceResourceTypeDef,
UpdateAssumeRolePolicyRequestAssumeRolePolicyTypeDef,
UpdateAssumeRolePolicyRequestRequestTypeDef,
UpdateGroupRequestGroupTypeDef,
UpdateGroupRequestRequestTypeDef,
UpdateLoginProfileRequestLoginProfileTypeDef,
UpdateLoginProfileRequestRequestTypeDef,
UpdateOpenIDConnectProviderThumbprintRequestRequestTypeDef,
UpdateRoleDescriptionRequestRequestTypeDef,
UpdateRoleDescriptionResponseTypeDef,
UpdateRoleRequestRequestTypeDef,
UpdateSAMLProviderRequestRequestTypeDef,
UpdateSAMLProviderRequestSamlProviderTypeDef,
UpdateSAMLProviderResponseTypeDef,
UpdateSSHPublicKeyRequestRequestTypeDef,
UpdateServerCertificateRequestRequestTypeDef,
UpdateServerCertificateRequestServerCertificateTypeDef,
UpdateServiceSpecificCredentialRequestRequestTypeDef,
UpdateSigningCertificateRequestRequestTypeDef,
UpdateSigningCertificateRequestSigningCertificateTypeDef,
UpdateUserRequestRequestTypeDef,
UpdateUserRequestUserTypeDef,
UploadSSHPublicKeyRequestRequestTypeDef,
UploadSSHPublicKeyResponseTypeDef,
UploadServerCertificateRequestRequestTypeDef,
UploadServerCertificateRequestServiceResourceTypeDef,
UploadServerCertificateResponseTypeDef,
UploadSigningCertificateRequestRequestTypeDef,
UploadSigningCertificateRequestServiceResourceTypeDef,
UploadSigningCertificateResponseTypeDef,
UserAccessKeyRequestTypeDef,
UserDetailTypeDef,
UserMfaDeviceRequestTypeDef,
UserPolicyRequestTypeDef,
UserSigningCertificateRequestTypeDef,
UserTypeDef,
VirtualMFADeviceTypeDef,
WaiterConfigTypeDef,
)
def get_structure() -> AccessDetailTypeDef:
return {
...
}
Versioning
mypy-boto3-iam
version is the same as related boto3
version and follows
PEP 440 format.
Documentation
All type annotations can be found in mypy-boto3-iam docs
Support and contributing
This package is auto-generated. Please reports any bugs or request new features in mypy-boto3-builder repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mypy_boto3_iam-1.18.32-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 869ea31730aa8adec61760cb3101d7b7420a67d6b79615ed84414a5dd186d5e3 |
|
MD5 | f67795ae617ccfbd574e5e302eb3581e |
|
BLAKE2b-256 | d242e29ea2a435a9295b97670d421fde0b69169118cdc8d8d8b42150ca164902 |