Safe Haskell | None |
---|---|
Language | Haskell2010 |
- Service
- ManagedPolicyDetail
- PolicyRole
- AssignmentStatusType
- PasswordPolicy
- Group
- AttachedPolicy
- MFADevice
- PolicyVersion
- InstanceProfile
- RoleDetail
- ReportFormatType
- ServerCertificateMetadata
- OpenIDConnectProviderListEntry
- LoginProfile
- EntityType
- SummaryKeyType
- GroupDetail
- ReportStateType
- User
- PolicyDetail
- StatusType
- SAMLProviderListEntry
- Role
- PolicyGroup
- PolicyScopeType
- UserDetail
- Policy
- ServerCertificate
- AccessKey
- VirtualMFADevice
- SigningCertificate
- AccessKeyLastUsed
- AccessKeyMetadata
- PolicyUser
- data IAM
- data RESTError :: *
- ns :: Text
- data ManagedPolicyDetail
- managedPolicyDetail :: ManagedPolicyDetail
- mpdArn :: Lens' ManagedPolicyDetail (Maybe Text)
- mpdAttachmentCount :: Lens' ManagedPolicyDetail (Maybe Int)
- mpdCreateDate :: Lens' ManagedPolicyDetail (Maybe UTCTime)
- mpdDefaultVersionId :: Lens' ManagedPolicyDetail (Maybe Text)
- mpdDescription :: Lens' ManagedPolicyDetail (Maybe Text)
- mpdIsAttachable :: Lens' ManagedPolicyDetail (Maybe Bool)
- mpdPath :: Lens' ManagedPolicyDetail (Maybe Text)
- mpdPolicyId :: Lens' ManagedPolicyDetail (Maybe Text)
- mpdPolicyName :: Lens' ManagedPolicyDetail (Maybe Text)
- mpdPolicyVersionList :: Lens' ManagedPolicyDetail [PolicyVersion]
- mpdUpdateDate :: Lens' ManagedPolicyDetail (Maybe UTCTime)
- data PolicyRole
- policyRole :: PolicyRole
- prRoleName :: Lens' PolicyRole (Maybe Text)
- data AssignmentStatusType
- = Any
- | Assigned
- | Unassigned
- data PasswordPolicy
- passwordPolicy :: PasswordPolicy
- ppAllowUsersToChangePassword :: Lens' PasswordPolicy (Maybe Bool)
- ppExpirePasswords :: Lens' PasswordPolicy (Maybe Bool)
- ppHardExpiry :: Lens' PasswordPolicy (Maybe Bool)
- ppMaxPasswordAge :: Lens' PasswordPolicy (Maybe Natural)
- ppMinimumPasswordLength :: Lens' PasswordPolicy (Maybe Natural)
- ppPasswordReusePrevention :: Lens' PasswordPolicy (Maybe Natural)
- ppRequireLowercaseCharacters :: Lens' PasswordPolicy (Maybe Bool)
- ppRequireNumbers :: Lens' PasswordPolicy (Maybe Bool)
- ppRequireSymbols :: Lens' PasswordPolicy (Maybe Bool)
- ppRequireUppercaseCharacters :: Lens' PasswordPolicy (Maybe Bool)
- data Group
- group :: Text -> Text -> Text -> Text -> UTCTime -> Group
- gArn :: Lens' Group Text
- gCreateDate :: Lens' Group UTCTime
- gGroupId :: Lens' Group Text
- gGroupName :: Lens' Group Text
- gPath :: Lens' Group Text
- data AttachedPolicy
- attachedPolicy :: AttachedPolicy
- apPolicyArn :: Lens' AttachedPolicy (Maybe Text)
- apPolicyName :: Lens' AttachedPolicy (Maybe Text)
- data MFADevice
- mfadevice :: Text -> Text -> UTCTime -> MFADevice
- mfadEnableDate :: Lens' MFADevice UTCTime
- mfadSerialNumber :: Lens' MFADevice Text
- mfadUserName :: Lens' MFADevice Text
- data PolicyVersion
- policyVersion :: PolicyVersion
- pvCreateDate :: Lens' PolicyVersion (Maybe UTCTime)
- pvDocument :: Lens' PolicyVersion (Maybe Text)
- pvIsDefaultVersion :: Lens' PolicyVersion (Maybe Bool)
- pvVersionId :: Lens' PolicyVersion (Maybe Text)
- data InstanceProfile
- instanceProfile :: Text -> Text -> Text -> Text -> UTCTime -> InstanceProfile
- ipArn :: Lens' InstanceProfile Text
- ipCreateDate :: Lens' InstanceProfile UTCTime
- ipInstanceProfileId :: Lens' InstanceProfile Text
- ipInstanceProfileName :: Lens' InstanceProfile Text
- ipPath :: Lens' InstanceProfile Text
- ipRoles :: Lens' InstanceProfile [Role]
- data RoleDetail
- roleDetail :: RoleDetail
- rdArn :: Lens' RoleDetail (Maybe Text)
- rdAssumeRolePolicyDocument :: Lens' RoleDetail (Maybe Text)
- rdAttachedManagedPolicies :: Lens' RoleDetail [AttachedPolicy]
- rdCreateDate :: Lens' RoleDetail (Maybe UTCTime)
- rdInstanceProfileList :: Lens' RoleDetail [InstanceProfile]
- rdPath :: Lens' RoleDetail (Maybe Text)
- rdRoleId :: Lens' RoleDetail (Maybe Text)
- rdRoleName :: Lens' RoleDetail (Maybe Text)
- rdRolePolicyList :: Lens' RoleDetail [PolicyDetail]
- data ReportFormatType = TextCsv
- data ServerCertificateMetadata
- serverCertificateMetadata :: Text -> Text -> Text -> Text -> ServerCertificateMetadata
- scmArn :: Lens' ServerCertificateMetadata Text
- scmExpiration :: Lens' ServerCertificateMetadata (Maybe UTCTime)
- scmPath :: Lens' ServerCertificateMetadata Text
- scmServerCertificateId :: Lens' ServerCertificateMetadata Text
- scmServerCertificateName :: Lens' ServerCertificateMetadata Text
- scmUploadDate :: Lens' ServerCertificateMetadata (Maybe UTCTime)
- data OpenIDConnectProviderListEntry
- openIDConnectProviderListEntry :: OpenIDConnectProviderListEntry
- oidcpleArn :: Lens' OpenIDConnectProviderListEntry (Maybe Text)
- data LoginProfile
- loginProfile :: Text -> UTCTime -> LoginProfile
- lpCreateDate :: Lens' LoginProfile UTCTime
- lpPasswordResetRequired :: Lens' LoginProfile (Maybe Bool)
- lpUserName :: Lens' LoginProfile Text
- data EntityType
- data SummaryKeyType
- = AccessKeysPerUserQuota
- | AccountAccessKeysPresent
- | AccountMFAEnabled
- | AccountSigningCertificatesPresent
- | AttachedPoliciesPerGroupQuota
- | AttachedPoliciesPerRoleQuota
- | AttachedPoliciesPerUserQuota
- | GroupPolicySizeQuota
- | Groups
- | GroupsPerUserQuota
- | GroupsQuota
- | MFADevices
- | MFADevicesInUse
- | Policies
- | PoliciesQuota
- | PolicySizeQuota
- | PolicyVersionsInUse
- | PolicyVersionsInUseQuota
- | ServerCertificates
- | ServerCertificatesQuota
- | SigningCertificatesPerUserQuota
- | UserPolicySizeQuota
- | Users
- | UsersQuota
- | VersionsPerPolicyQuota
- data GroupDetail
- groupDetail :: GroupDetail
- gdArn :: Lens' GroupDetail (Maybe Text)
- gdAttachedManagedPolicies :: Lens' GroupDetail [AttachedPolicy]
- gdCreateDate :: Lens' GroupDetail (Maybe UTCTime)
- gdGroupId :: Lens' GroupDetail (Maybe Text)
- gdGroupName :: Lens' GroupDetail (Maybe Text)
- gdGroupPolicyList :: Lens' GroupDetail [PolicyDetail]
- gdPath :: Lens' GroupDetail (Maybe Text)
- data ReportStateType
- data User
- user :: Text -> Text -> Text -> UTCTime -> User
- uArn :: Lens' User Text
- uCreateDate :: Lens' User UTCTime
- uPasswordLastUsed :: Lens' User (Maybe UTCTime)
- uPath :: Lens' User (Maybe Text)
- uUserId :: Lens' User Text
- uUserName :: Lens' User Text
- data PolicyDetail
- policyDetail :: PolicyDetail
- pdPolicyDocument :: Lens' PolicyDetail (Maybe Text)
- pdPolicyName :: Lens' PolicyDetail (Maybe Text)
- data StatusType
- data SAMLProviderListEntry
- samlproviderListEntry :: SAMLProviderListEntry
- samlpleArn :: Lens' SAMLProviderListEntry (Maybe Text)
- samlpleCreateDate :: Lens' SAMLProviderListEntry (Maybe UTCTime)
- samlpleValidUntil :: Lens' SAMLProviderListEntry (Maybe UTCTime)
- data Role
- role :: Text -> Text -> Text -> Text -> UTCTime -> Role
- rArn :: Lens' Role Text
- rAssumeRolePolicyDocument :: Lens' Role (Maybe Text)
- rCreateDate :: Lens' Role UTCTime
- rPath :: Lens' Role Text
- rRoleId :: Lens' Role Text
- rRoleName :: Lens' Role Text
- data PolicyGroup
- policyGroup :: PolicyGroup
- pgGroupName :: Lens' PolicyGroup (Maybe Text)
- data PolicyScopeType
- data UserDetail
- userDetail :: UserDetail
- udArn :: Lens' UserDetail (Maybe Text)
- udAttachedManagedPolicies :: Lens' UserDetail [AttachedPolicy]
- udCreateDate :: Lens' UserDetail (Maybe UTCTime)
- udGroupList :: Lens' UserDetail [Text]
- udPath :: Lens' UserDetail (Maybe Text)
- udUserId :: Lens' UserDetail (Maybe Text)
- udUserName :: Lens' UserDetail (Maybe Text)
- udUserPolicyList :: Lens' UserDetail [PolicyDetail]
- data Policy
- policy :: Policy
- pArn :: Lens' Policy (Maybe Text)
- pAttachmentCount :: Lens' Policy (Maybe Int)
- pCreateDate :: Lens' Policy (Maybe UTCTime)
- pDefaultVersionId :: Lens' Policy (Maybe Text)
- pDescription :: Lens' Policy (Maybe Text)
- pIsAttachable :: Lens' Policy (Maybe Bool)
- pPath :: Lens' Policy (Maybe Text)
- pPolicyId :: Lens' Policy (Maybe Text)
- pPolicyName :: Lens' Policy (Maybe Text)
- pUpdateDate :: Lens' Policy (Maybe UTCTime)
- data ServerCertificate
- serverCertificate :: ServerCertificateMetadata -> Text -> ServerCertificate
- scCertificateBody :: Lens' ServerCertificate Text
- scCertificateChain :: Lens' ServerCertificate (Maybe Text)
- scServerCertificateMetadata :: Lens' ServerCertificate ServerCertificateMetadata
- data AccessKey
- accessKey :: Text -> Text -> StatusType -> Text -> AccessKey
- akAccessKeyId :: Lens' AccessKey Text
- akCreateDate :: Lens' AccessKey (Maybe UTCTime)
- akSecretAccessKey :: Lens' AccessKey Text
- akStatus :: Lens' AccessKey StatusType
- akUserName :: Lens' AccessKey Text
- data VirtualMFADevice
- virtualMFADevice :: Text -> VirtualMFADevice
- vmfadBase32StringSeed :: Lens' VirtualMFADevice (Maybe Base64)
- vmfadEnableDate :: Lens' VirtualMFADevice (Maybe UTCTime)
- vmfadQRCodePNG :: Lens' VirtualMFADevice (Maybe Base64)
- vmfadSerialNumber :: Lens' VirtualMFADevice Text
- vmfadUser :: Lens' VirtualMFADevice (Maybe User)
- data SigningCertificate
- signingCertificate :: Text -> Text -> Text -> StatusType -> SigningCertificate
- sc1CertificateBody :: Lens' SigningCertificate Text
- sc1CertificateId :: Lens' SigningCertificate Text
- sc1Status :: Lens' SigningCertificate StatusType
- sc1UploadDate :: Lens' SigningCertificate (Maybe UTCTime)
- sc1UserName :: Lens' SigningCertificate Text
- data AccessKeyLastUsed
- accessKeyLastUsed :: UTCTime -> Text -> Text -> AccessKeyLastUsed
- akluLastUsedDate :: Lens' AccessKeyLastUsed UTCTime
- akluRegion :: Lens' AccessKeyLastUsed Text
- akluServiceName :: Lens' AccessKeyLastUsed Text
- data AccessKeyMetadata
- accessKeyMetadata :: AccessKeyMetadata
- akmAccessKeyId :: Lens' AccessKeyMetadata (Maybe Text)
- akmCreateDate :: Lens' AccessKeyMetadata (Maybe UTCTime)
- akmStatus :: Lens' AccessKeyMetadata (Maybe StatusType)
- akmUserName :: Lens' AccessKeyMetadata (Maybe Text)
- data PolicyUser
- policyUser :: PolicyUser
- puUserName :: Lens' PolicyUser (Maybe Text)
Service
Version 2010-05-08
of the Amazon Identity and Access Management service.
Error
data RESTError :: *
Eq RESTError | |
Show RESTError | |
Generic RESTError | |
AWSErrorCode RESTError | |
FromXML RESTError | |
type Rep RESTError = D1 D1RESTError (C1 C1_0RESTError ((:*:) ((:*:) (S1 S1_0_0RESTError (Rec0 Text)) (S1 S1_0_1RESTError (Rec0 (Maybe ErrorType)))) ((:*:) (S1 S1_0_2RESTError (Rec0 (Maybe ErrorCode))) (S1 S1_0_3RESTError (Rec0 Text))))) |
XML
ManagedPolicyDetail
managedPolicyDetail :: ManagedPolicyDetail Source
ManagedPolicyDetail
constructor.
The fields accessible through corresponding lenses are:
mpdArn
::
Maybe
Text
mpdAttachmentCount
::
Maybe
Int
mpdCreateDate
::
Maybe
UTCTime
mpdDefaultVersionId
::
Maybe
Text
mpdDescription
::
Maybe
Text
mpdIsAttachable
::
Maybe
Bool
mpdPath
::
Maybe
Text
mpdPolicyId
::
Maybe
Text
mpdPolicyName
::
Maybe
Text
mpdPolicyVersionList
::
[PolicyVersion
]mpdUpdateDate
::
Maybe
UTCTime
mpdAttachmentCount :: Lens' ManagedPolicyDetail (Maybe Int) Source
The number of principal entities (users, groups, and roles) that the policy is attached to.
mpdCreateDate :: Lens' ManagedPolicyDetail (Maybe UTCTime) Source
The date and time, in ISO 8601 date-time format, when the policy was created.
mpdDefaultVersionId :: Lens' ManagedPolicyDetail (Maybe Text) Source
The identifier for the version of the policy that is set as the default (operative) version.
For more information about policy versions, see Versioning for ManagedPolicies in the Using IAM guide.
mpdDescription :: Lens' ManagedPolicyDetail (Maybe Text) Source
A friendly description of the policy.
mpdIsAttachable :: Lens' ManagedPolicyDetail (Maybe Bool) Source
Specifies whether the policy can be attached to an IAM user, group, or role.
mpdPath :: Lens' ManagedPolicyDetail (Maybe Text) Source
The path to the policy.
For more information about paths, see IAM Identifiers in the Using IAM guide.
mpdPolicyId :: Lens' ManagedPolicyDetail (Maybe Text) Source
The stable and unique string identifying the policy.
For more information about IDs, see IAM Identifiers in the Using IAM guide.
mpdPolicyName :: Lens' ManagedPolicyDetail (Maybe Text) Source
The friendly name (not ARN) identifying the policy.
mpdPolicyVersionList :: Lens' ManagedPolicyDetail [PolicyVersion] Source
A list containing information about the versions of the policy.
mpdUpdateDate :: Lens' ManagedPolicyDetail (Maybe UTCTime) Source
The date and time, in ISO 8601 date-time format, when the policy was last updated.
When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.
PolicyRole
data PolicyRole Source
policyRole :: PolicyRole Source
PolicyRole
constructor.
The fields accessible through corresponding lenses are:
prRoleName
::
Maybe
Text
prRoleName :: Lens' PolicyRole (Maybe Text) Source
The name (friendly name, not ARN) identifying the role.
AssignmentStatusType
data AssignmentStatusType Source
Any | Any |
Assigned | Assigned |
Unassigned | Unassigned |
PasswordPolicy
data PasswordPolicy Source
passwordPolicy :: PasswordPolicy Source
PasswordPolicy
constructor.
The fields accessible through corresponding lenses are:
ppAllowUsersToChangePassword
::
Maybe
Bool
ppExpirePasswords
::
Maybe
Bool
ppHardExpiry
::
Maybe
Bool
ppMaxPasswordAge
::
Maybe
Natural
ppMinimumPasswordLength
::
Maybe
Natural
ppPasswordReusePrevention
::
Maybe
Natural
ppRequireLowercaseCharacters
::
Maybe
Bool
ppRequireNumbers
::
Maybe
Bool
ppRequireSymbols
::
Maybe
Bool
ppRequireUppercaseCharacters
::
Maybe
Bool
ppAllowUsersToChangePassword :: Lens' PasswordPolicy (Maybe Bool) Source
Specifies whether IAM users are allowed to change their own password.
ppExpirePasswords :: Lens' PasswordPolicy (Maybe Bool) Source
Specifies whether IAM users are required to change their password after a specified number of days.
ppHardExpiry :: Lens' PasswordPolicy (Maybe Bool) Source
Specifies whether IAM users are prevented from setting a new password after their password has expired.
ppMaxPasswordAge :: Lens' PasswordPolicy (Maybe Natural) Source
The number of days that an IAM user password is valid.
ppMinimumPasswordLength :: Lens' PasswordPolicy (Maybe Natural) Source
Minimum length to require for IAM user passwords.
ppPasswordReusePrevention :: Lens' PasswordPolicy (Maybe Natural) Source
Specifies the number of previous passwords that IAM users are prevented from reusing.
ppRequireLowercaseCharacters :: Lens' PasswordPolicy (Maybe Bool) Source
Specifies whether to require lowercase characters for IAM user passwords.
ppRequireNumbers :: Lens' PasswordPolicy (Maybe Bool) Source
Specifies whether to require numbers for IAM user passwords.
ppRequireSymbols :: Lens' PasswordPolicy (Maybe Bool) Source
Specifies whether to require symbols for IAM user passwords.
ppRequireUppercaseCharacters :: Lens' PasswordPolicy (Maybe Bool) Source
Specifies whether to require uppercase characters for IAM user passwords.
Group
gArn :: Lens' Group Text Source
The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them in policies, see IAM Identifiers in the UsingIAM guide.
gCreateDate :: Lens' Group UTCTime Source
The date and time, in ISO 8601 date-time format, when the group was created.
gGroupId :: Lens' Group Text Source
The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the Using IAM guide.
gGroupName :: Lens' Group Text Source
The friendly name that identifies the group.
gPath :: Lens' Group Text Source
The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide.
AttachedPolicy
data AttachedPolicy Source
attachedPolicy :: AttachedPolicy Source
AttachedPolicy
constructor.
The fields accessible through corresponding lenses are:
apPolicyName :: Lens' AttachedPolicy (Maybe Text) Source
The friendly name of the attached policy.
MFADevice
MFADevice
constructor.
The fields accessible through corresponding lenses are:
mfadEnableDate :: Lens' MFADevice UTCTime Source
The date when the MFA device was enabled for the user.
mfadSerialNumber :: Lens' MFADevice Text Source
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.
mfadUserName :: Lens' MFADevice Text Source
The user with whom the MFA device is associated.
PolicyVersion
data PolicyVersion Source
policyVersion :: PolicyVersion Source
PolicyVersion
constructor.
The fields accessible through corresponding lenses are:
pvCreateDate :: Lens' PolicyVersion (Maybe UTCTime) Source
The date and time, in ISO 8601 date-time format, when the policy version was created.
pvDocument :: Lens' PolicyVersion (Maybe Text) Source
The policy document.
The policy document is returned in the response to the GetPolicyVersion
and GetAccountAuthorizationDetails
operations. It is not returned in the response to the CreatePolicyVersion
or ListPolicyVersions
operations.
pvIsDefaultVersion :: Lens' PolicyVersion (Maybe Bool) Source
Specifies whether the policy version is set as the policy's default version.
pvVersionId :: Lens' PolicyVersion (Maybe Text) Source
The identifier for the policy version.
Policy version identifiers always begin with v
(always lowercase). When a
policy is created, the first policy version is v1
.
InstanceProfile
data InstanceProfile Source
InstanceProfile
constructor.
The fields accessible through corresponding lenses are:
ipArn
::
Text
ipCreateDate
::
UTCTime
ipInstanceProfileId
::
Text
ipInstanceProfileName
::
Text
ipPath
::
Text
ipRoles
::
[Role
]
ipArn :: Lens' InstanceProfile Text Source
The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide.
ipCreateDate :: Lens' InstanceProfile UTCTime Source
The date when the instance profile was created.
ipInstanceProfileId :: Lens' InstanceProfile Text Source
The stable and unique string identifying the instance profile. For more information about IDs, see IAM Identifiers in the Using IAM guide.
ipInstanceProfileName :: Lens' InstanceProfile Text Source
The name identifying the instance profile.
ipPath :: Lens' InstanceProfile Text Source
The path to the instance profile. For more information about paths, see IAMIdentifiers in the Using IAM guide.
ipRoles :: Lens' InstanceProfile [Role] Source
The role associated with the instance profile.
RoleDetail
data RoleDetail Source
roleDetail :: RoleDetail Source
RoleDetail
constructor.
The fields accessible through corresponding lenses are:
rdAssumeRolePolicyDocument :: Lens' RoleDetail (Maybe Text) Source
The trust policy that grants permission to assume the role.
rdAttachedManagedPolicies :: Lens' RoleDetail [AttachedPolicy] Source
A list of managed policies attached to the role. These policies are the role's access (permissions) policies.
rdCreateDate :: Lens' RoleDetail (Maybe UTCTime) Source
The date and time, in ISO 8601 date-time format, when the role was created.
rdPath :: Lens' RoleDetail (Maybe Text) Source
The path to the role. For more information about paths, see IAM Identifiers in the Using IAM guide.
rdRoleId :: Lens' RoleDetail (Maybe Text) Source
The stable and unique string identifying the role. For more information about IDs, see IAM Identifiers in the Using IAM guide.
rdRoleName :: Lens' RoleDetail (Maybe Text) Source
The friendly name that identifies the role.
rdRolePolicyList :: Lens' RoleDetail [PolicyDetail] Source
A list of inline policies embedded in the role. These policies are the role's access (permissions) policies.
ReportFormatType
data ReportFormatType Source
TextCsv | text/csv |
ServerCertificateMetadata
serverCertificateMetadata Source
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> ServerCertificateMetadata |
ServerCertificateMetadata
constructor.
The fields accessible through corresponding lenses are:
scmArn :: Lens' ServerCertificateMetadata Text Source
The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide.
scmExpiration :: Lens' ServerCertificateMetadata (Maybe UTCTime) Source
The date on which the certificate is set to expire.
scmPath :: Lens' ServerCertificateMetadata Text Source
The path to the server certificate. For more information about paths, see IAM Identifiers in the Using IAM guide.
scmServerCertificateId :: Lens' ServerCertificateMetadata Text Source
The stable and unique string identifying the server certificate. For more information about IDs, see IAM Identifiers in the Using IAM guide.
scmServerCertificateName :: Lens' ServerCertificateMetadata Text Source
The name that identifies the server certificate.
scmUploadDate :: Lens' ServerCertificateMetadata (Maybe UTCTime) Source
The date when the server certificate was uploaded.
OpenIDConnectProviderListEntry
openIDConnectProviderListEntry :: OpenIDConnectProviderListEntry Source
OpenIDConnectProviderListEntry
constructor.
The fields accessible through corresponding lenses are:
oidcpleArn
::
Maybe
Text
LoginProfile
data LoginProfile Source
LoginProfile
constructor.
The fields accessible through corresponding lenses are:
lpCreateDate :: Lens' LoginProfile UTCTime Source
The date when the password for the user was created.
lpPasswordResetRequired :: Lens' LoginProfile (Maybe Bool) Source
Specifies whether the user is required to set a new password on next sign-in.
lpUserName :: Lens' LoginProfile Text Source
The name of the user, which can be used for signing in to the AWS Management Console.
EntityType
data EntityType Source
ETAWSManagedPolicy | AWSManagedPolicy |
ETGroup | Group |
ETLocalManagedPolicy | LocalManagedPolicy |
ETRole | Role |
ETUser | User |
SummaryKeyType
data SummaryKeyType Source
AccessKeysPerUserQuota | AccessKeysPerUserQuota |
AccountAccessKeysPresent | AccountAccessKeysPresent |
AccountMFAEnabled | AccountMFAEnabled |
AccountSigningCertificatesPresent | AccountSigningCertificatesPresent |
AttachedPoliciesPerGroupQuota | AttachedPoliciesPerGroupQuota |
AttachedPoliciesPerRoleQuota | AttachedPoliciesPerRoleQuota |
AttachedPoliciesPerUserQuota | AttachedPoliciesPerUserQuota |
GroupPolicySizeQuota | GroupPolicySizeQuota |
Groups | Groups |
GroupsPerUserQuota | GroupsPerUserQuota |
GroupsQuota | GroupsQuota |
MFADevices | MFADevices |
MFADevicesInUse | MFADevicesInUse |
Policies | Policies |
PoliciesQuota | PoliciesQuota |
PolicySizeQuota | PolicySizeQuota |
PolicyVersionsInUse | PolicyVersionsInUse |
PolicyVersionsInUseQuota | PolicyVersionsInUseQuota |
ServerCertificates | ServerCertificates |
ServerCertificatesQuota | ServerCertificatesQuota |
SigningCertificatesPerUserQuota | SigningCertificatesPerUserQuota |
UserPolicySizeQuota | UserPolicySizeQuota |
Users | Users |
UsersQuota | UsersQuota |
VersionsPerPolicyQuota | VersionsPerPolicyQuota |
GroupDetail
data GroupDetail Source
groupDetail :: GroupDetail Source
GroupDetail
constructor.
The fields accessible through corresponding lenses are:
gdAttachedManagedPolicies :: Lens' GroupDetail [AttachedPolicy] Source
A list of the managed policies attached to the group.
gdCreateDate :: Lens' GroupDetail (Maybe UTCTime) Source
The date and time, in ISO 8601 date-time format, when the group was created.
gdGroupId :: Lens' GroupDetail (Maybe Text) Source
The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the Using IAM guide.
gdGroupName :: Lens' GroupDetail (Maybe Text) Source
The friendly name that identifies the group.
gdGroupPolicyList :: Lens' GroupDetail [PolicyDetail] Source
A list of the inline policies embedded in the group.
gdPath :: Lens' GroupDetail (Maybe Text) Source
The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide.
ReportStateType
data ReportStateType Source
Complete | COMPLETE |
Inprogress | INPROGRESS |
Started | STARTED |
User
uArn :: Lens' User Text Source
The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use ARNs in policies, see IAM Identifiers in the UsingIAM guide.
uCreateDate :: Lens' User UTCTime Source
The date and time, in ISO 8601 date-time format, when the user was created.
uPasswordLastUsed :: Lens' User (Maybe UTCTime) Source
The date and time, in ISO 8601 date-time format, when the user's password was last used to sign in to an AWS website. For a list of AWS websites that capture a user's last sign-in time, see the Credential Reports topic in the Using IAM guide. If a password is used more than once in a five-minute span, only the first use is returned in this field. When the user does not have a password, this field is null (not present). When a user's password exists but has never been used, or when there is no sign-in data associated with the user, this field is null (not present).
This value is returned only in the GetUser
and ListUsers
actions.
uPath :: Lens' User (Maybe Text) Source
The path to the user. For more information about paths, see IAM Identifiers in the Using IAM guide.
uUserId :: Lens' User Text Source
The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the Using IAM guide.
PolicyDetail
data PolicyDetail Source
policyDetail :: PolicyDetail Source
PolicyDetail
constructor.
The fields accessible through corresponding lenses are:
pdPolicyDocument :: Lens' PolicyDetail (Maybe Text) Source
The policy document.
pdPolicyName :: Lens' PolicyDetail (Maybe Text) Source
The name of the policy.
StatusType
data StatusType Source
SAMLProviderListEntry
samlproviderListEntry :: SAMLProviderListEntry Source
SAMLProviderListEntry
constructor.
The fields accessible through corresponding lenses are:
samlpleArn :: Lens' SAMLProviderListEntry (Maybe Text) Source
The Amazon Resource Name (ARN) of the SAML provider.
samlpleCreateDate :: Lens' SAMLProviderListEntry (Maybe UTCTime) Source
The date and time when the SAML provider was created.
samlpleValidUntil :: Lens' SAMLProviderListEntry (Maybe UTCTime) Source
The expiration date and time for the SAML provider.
Role
rArn :: Lens' Role Text Source
The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see IAM Identifiers in the UsingIAM guide.
rAssumeRolePolicyDocument :: Lens' Role (Maybe Text) Source
The policy that grants an entity permission to assume the role.
rCreateDate :: Lens' Role UTCTime Source
The date and time, in ISO 8601 date-time format, when the role was created.
rPath :: Lens' Role Text Source
The path to the role. For more information about paths, see IAM Identifiers in the Using IAM guide.
rRoleId :: Lens' Role Text Source
The stable and unique string identifying the role. For more information about IDs, see IAM Identifiers in the Using IAM guide.
PolicyGroup
data PolicyGroup Source
policyGroup :: PolicyGroup Source
PolicyGroup
constructor.
The fields accessible through corresponding lenses are:
pgGroupName
::
Maybe
Text
pgGroupName :: Lens' PolicyGroup (Maybe Text) Source
The name (friendly name, not ARN) identifying the group.
PolicyScopeType
data PolicyScopeType Source
UserDetail
data UserDetail Source
userDetail :: UserDetail Source
UserDetail
constructor.
The fields accessible through corresponding lenses are:
udArn
::
Maybe
Text
udAttachedManagedPolicies
::
[AttachedPolicy
]udCreateDate
::
Maybe
UTCTime
udGroupList
::
[Text
]udPath
::
Maybe
Text
udUserId
::
Maybe
Text
udUserName
::
Maybe
Text
udUserPolicyList
::
[PolicyDetail
]
udAttachedManagedPolicies :: Lens' UserDetail [AttachedPolicy] Source
A list of the managed policies attached to the user.
udCreateDate :: Lens' UserDetail (Maybe UTCTime) Source
The date and time, in ISO 8601 date-time format, when the user was created.
udGroupList :: Lens' UserDetail [Text] Source
A list of IAM groups that the user is in.
udPath :: Lens' UserDetail (Maybe Text) Source
The path to the user. For more information about paths, see IAM Identifiers in the Using IAM guide.
udUserId :: Lens' UserDetail (Maybe Text) Source
The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the Using IAM guide.
udUserName :: Lens' UserDetail (Maybe Text) Source
The friendly name identifying the user.
udUserPolicyList :: Lens' UserDetail [PolicyDetail] Source
A list of the inline policies embedded in the user.
Policy
Policy
constructor.
The fields accessible through corresponding lenses are:
pAttachmentCount :: Lens' Policy (Maybe Int) Source
The number of entities (users, groups, and roles) that the policy is attached to.
pCreateDate :: Lens' Policy (Maybe UTCTime) Source
The date and time, in ISO 8601 date-time format, when the policy was created.
pDefaultVersionId :: Lens' Policy (Maybe Text) Source
The identifier for the version of the policy that is set as the default version.
pDescription :: Lens' Policy (Maybe Text) Source
A friendly description of the policy.
This element is included in the response to the GetPolicy
operation. It is
not included in the response to the ListPolicies
operation.
pIsAttachable :: Lens' Policy (Maybe Bool) Source
Specifies whether the policy can be attached to an IAM user, group, or role.
pPath :: Lens' Policy (Maybe Text) Source
The path to the policy.
For more information about paths, see IAM Identifiers in the Using IAM guide.
pPolicyId :: Lens' Policy (Maybe Text) Source
The stable and unique string identifying the policy.
For more information about IDs, see IAM Identifiers in the Using IAM guide.
pUpdateDate :: Lens' Policy (Maybe UTCTime) Source
The date and time, in ISO 8601 date-time format, when the policy was last updated.
When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.
ServerCertificate
data ServerCertificate Source
ServerCertificate
constructor.
The fields accessible through corresponding lenses are:
scCertificateBody :: Lens' ServerCertificate Text Source
The contents of the public key certificate.
scCertificateChain :: Lens' ServerCertificate (Maybe Text) Source
The contents of the public key certificate chain.
scServerCertificateMetadata :: Lens' ServerCertificate ServerCertificateMetadata Source
The meta information of the server certificate, such as its name, path, ID, and ARN.
AccessKey
AccessKey
constructor.
The fields accessible through corresponding lenses are:
akAccessKeyId :: Lens' AccessKey Text Source
The ID for this access key.
akSecretAccessKey :: Lens' AccessKey Text Source
The secret key used to sign requests.
akUserName :: Lens' AccessKey Text Source
The name of the IAM user that the access key is associated with.
VirtualMFADevice
data VirtualMFADevice Source
VirtualMFADevice
constructor.
The fields accessible through corresponding lenses are:
vmfadBase32StringSeed :: Lens' VirtualMFADevice (Maybe Base64) Source
The Base32 seed defined as specified in RFC3548. The Base32StringSeed
is
Base64-encoded.
vmfadEnableDate :: Lens' VirtualMFADevice (Maybe UTCTime) Source
The date and time on which the virtual MFA device was enabled.
vmfadQRCodePNG :: Lens' VirtualMFADevice (Maybe Base64) Source
A QR code PNG image that encodes 'otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String' where '$virtualMFADeviceName' is one of the create call arguments, AccountName
is the user name if set (otherwise, the account ID otherwise), and Base32String
is the seed in Base32 format. The Base32String
value is Base64-encoded.
vmfadSerialNumber :: Lens' VirtualMFADevice Text Source
The serial number associated with VirtualMFADevice
.
SigningCertificate
data SigningCertificate Source
:: Text | |
-> Text | |
-> Text | |
-> StatusType | |
-> SigningCertificate |
SigningCertificate
constructor.
The fields accessible through corresponding lenses are:
sc1CertificateBody :: Lens' SigningCertificate Text Source
The contents of the signing certificate.
sc1CertificateId :: Lens' SigningCertificate Text Source
The ID for the signing certificate.
sc1UploadDate :: Lens' SigningCertificate (Maybe UTCTime) Source
The date when the signing certificate was uploaded.
sc1UserName :: Lens' SigningCertificate Text Source
The name of the user the signing certificate is associated with.
AccessKeyLastUsed
data AccessKeyLastUsed Source
AccessKeyLastUsed
constructor.
The fields accessible through corresponding lenses are:
akluLastUsedDate :: Lens' AccessKeyLastUsed UTCTime Source
The date and time, in ISO 8601 date-time format, when the access key was most recently used.
akluRegion :: Lens' AccessKeyLastUsed Text Source
The AWS region where this access key was most recently used.
For more information about AWS regions, see Regions and Endpoints in the Amazon Web Services General Reference.
akluServiceName :: Lens' AccessKeyLastUsed Text Source
The name of the AWS service with which this access key was most recently used.
AccessKeyMetadata
data AccessKeyMetadata Source
accessKeyMetadata :: AccessKeyMetadata Source
AccessKeyMetadata
constructor.
The fields accessible through corresponding lenses are:
akmAccessKeyId :: Lens' AccessKeyMetadata (Maybe Text) Source
The ID for this access key.
akmCreateDate :: Lens' AccessKeyMetadata (Maybe UTCTime) Source
The date when the access key was created.
akmUserName :: Lens' AccessKeyMetadata (Maybe Text) Source
The name of the IAM user that the key is associated with.
PolicyUser
data PolicyUser Source
policyUser :: PolicyUser Source
PolicyUser
constructor.
The fields accessible through corresponding lenses are:
puUserName
::
Maybe
Text
puUserName :: Lens' PolicyUser (Maybe Text) Source
The name (friendly name, not ARN) identifying the user.