Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data IAM
- data RESTError :: *
- ns :: 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 MFADevice
- mfadevice :: Text -> Text -> UTCTime -> MFADevice
- mfadEnableDate :: Lens' MFADevice UTCTime
- mfadSerialNumber :: Lens' MFADevice Text
- mfadUserName :: Lens' MFADevice 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 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 SummaryKeyType
- data ReportStateType
- data User
- user :: Text -> Text -> Text -> Text -> UTCTime -> User
- uArn :: Lens' User Text
- uCreateDate :: Lens' User UTCTime
- uPasswordLastUsed :: Lens' User (Maybe UTCTime)
- uPath :: Lens' User Text
- uUserId :: Lens' User Text
- uUserName :: Lens' User 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 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 AccessKeyMetadata
- accessKeyMetadata :: AccessKeyMetadata
- akmAccessKeyId :: Lens' AccessKeyMetadata (Maybe Text)
- akmCreateDate :: Lens' AccessKeyMetadata (Maybe UTCTime)
- akmStatus :: Lens' AccessKeyMetadata (Maybe StatusType)
- akmUserName :: Lens' AccessKeyMetadata (Maybe Text)
Service
Version 2010-05-08
of the Amazon Identity and Access Management service.
Error
data RESTError :: *
XML
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 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 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.
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.
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.
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.
SummaryKeyType
data SummaryKeyType Source
AccessKeysPerUserQuota | AccessKeysPerUserQuota |
AccountMFAEnabled | AccountMFAEnabled |
GroupPolicySizeQuota | GroupPolicySizeQuota |
Groups | Groups |
GroupsPerUserQuota | GroupsPerUserQuota |
GroupsQuota | GroupsQuota |
MFADevices | MFADevices |
MFADevicesInUse | MFADevicesInUse |
ServerCertificates | ServerCertificates |
ServerCertificatesQuota | ServerCertificatesQuota |
SigningCertificatesPerUserQuota | SigningCertificatesPerUserQuota |
UserPolicySizeQuota | UserPolicySizeQuota |
Users | Users |
UsersQuota | UsersQuota |
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 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.
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.
The returned policy is URL-encoded according to RFC 3986. For more information about RFC 3986, go to http://www.faqs.org/rfcs/rfc3986.html.
rCreateDate :: Lens' Role UTCTime Source
The date 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.
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.
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.