amazonka-iam 0.0.1 → 0.0.2
raw patch · 78 files changed
+843/−753 lines, 78 filesdep ~amazonka-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-core
API changes (from Hackage documentation)
Files
- README.md +4/−1
- amazonka-iam.cabal +6/−6
- gen/Network/AWS/IAM.hs +2/−2
- gen/Network/AWS/IAM/AddClientIDToOpenIDConnectProvider.hs +5/−5
- gen/Network/AWS/IAM/AddRoleToInstanceProfile.hs +2/−2
- gen/Network/AWS/IAM/ChangePassword.hs +6/−5
- gen/Network/AWS/IAM/CreateAccessKey.hs +14/−11
- gen/Network/AWS/IAM/CreateAccountAlias.hs +1/−1
- gen/Network/AWS/IAM/CreateGroup.hs +8/−5
- gen/Network/AWS/IAM/CreateInstanceProfile.hs +7/−6
- gen/Network/AWS/IAM/CreateLoginProfile.hs +2/−3
- gen/Network/AWS/IAM/CreateOpenIDConnectProvider.hs +42/−36
- gen/Network/AWS/IAM/CreateRole.hs +11/−9
- gen/Network/AWS/IAM/CreateSAMLProvider.hs +24/−21
- gen/Network/AWS/IAM/CreateUser.hs +8/−6
- gen/Network/AWS/IAM/CreateVirtualMFADevice.hs +14/−12
- gen/Network/AWS/IAM/DeactivateMFADevice.hs +7/−6
- gen/Network/AWS/IAM/DeleteAccessKey.hs +5/−4
- gen/Network/AWS/IAM/DeleteAccountAlias.hs +1/−1
- gen/Network/AWS/IAM/DeleteInstanceProfile.hs +7/−5
- gen/Network/AWS/IAM/DeleteLoginProfile.hs +7/−6
- gen/Network/AWS/IAM/DeleteOpenIDConnectProvider.hs +10/−9
- gen/Network/AWS/IAM/DeleteRole.hs +6/−4
- gen/Network/AWS/IAM/DeleteSAMLProvider.hs +5/−4
- gen/Network/AWS/IAM/DeleteServerCertificate.hs +10/−9
- gen/Network/AWS/IAM/DeleteSigningCertificate.hs +6/−5
- gen/Network/AWS/IAM/DeleteUser.hs +2/−2
- gen/Network/AWS/IAM/DeleteVirtualMFADevice.hs +2/−2
- gen/Network/AWS/IAM/EnableMFADevice.hs +4/−4
- gen/Network/AWS/IAM/GenerateCredentialReport.hs +2/−2
- gen/Network/AWS/IAM/GetAccountPasswordPolicy.hs +1/−1
- gen/Network/AWS/IAM/GetAccountSummary.hs +55/−25
- gen/Network/AWS/IAM/GetCredentialReport.hs +4/−5
- gen/Network/AWS/IAM/GetGroup.hs +10/−11
- gen/Network/AWS/IAM/GetGroupPolicy.hs +1/−1
- gen/Network/AWS/IAM/GetInstanceProfile.hs +2/−2
- gen/Network/AWS/IAM/GetLoginProfile.hs +1/−2
- gen/Network/AWS/IAM/GetOpenIDConnectProvider.hs +11/−13
- gen/Network/AWS/IAM/GetRole.hs +4/−4
- gen/Network/AWS/IAM/GetRolePolicy.hs +4/−3
- gen/Network/AWS/IAM/GetSAMLProvider.hs +3/−4
- gen/Network/AWS/IAM/GetServerCertificate.hs +1/−2
- gen/Network/AWS/IAM/GetUser.hs +9/−7
- gen/Network/AWS/IAM/GetUserPolicy.hs +3/−3
- gen/Network/AWS/IAM/ListAccessKeys.hs +20/−18
- gen/Network/AWS/IAM/ListAccountAliases.hs +11/−13
- gen/Network/AWS/IAM/ListGroupPolicies.hs +13/−14
- gen/Network/AWS/IAM/ListGroups.hs +17/−16
- gen/Network/AWS/IAM/ListGroupsForUser.hs +13/−12
- gen/Network/AWS/IAM/ListInstanceProfiles.hs +19/−20
- gen/Network/AWS/IAM/ListInstanceProfilesForRole.hs +16/−16
- gen/Network/AWS/IAM/ListMFADevices.hs +15/−15
- gen/Network/AWS/IAM/ListRolePolicies.hs +13/−14
- gen/Network/AWS/IAM/ListRoles.hs +18/−18
- gen/Network/AWS/IAM/ListServerCertificates.hs +20/−19
- gen/Network/AWS/IAM/ListSigningCertificates.hs +16/−16
- gen/Network/AWS/IAM/ListUserPolicies.hs +14/−15
- gen/Network/AWS/IAM/ListUsers.hs +18/−20
- gen/Network/AWS/IAM/ListVirtualMFADevices.hs +16/−19
- gen/Network/AWS/IAM/PutGroupPolicy.hs +5/−4
- gen/Network/AWS/IAM/PutRolePolicy.hs +5/−3
- gen/Network/AWS/IAM/PutUserPolicy.hs +4/−3
- gen/Network/AWS/IAM/RemoveClientIDFromOpenIDConnectProvider.hs +8/−8
- gen/Network/AWS/IAM/RemoveRoleFromInstanceProfile.hs +7/−7
- gen/Network/AWS/IAM/ResyncMFADevice.hs +4/−3
- gen/Network/AWS/IAM/Types.hs +110/−111
- gen/Network/AWS/IAM/UpdateAccessKey.hs +14/−10
- gen/Network/AWS/IAM/UpdateAccountPasswordPolicy.hs +35/−20
- gen/Network/AWS/IAM/UpdateAssumeRolePolicy.hs +1/−1
- gen/Network/AWS/IAM/UpdateGroup.hs +6/−5
- gen/Network/AWS/IAM/UpdateLoginProfile.hs +5/−3
- gen/Network/AWS/IAM/UpdateOpenIDConnectProviderThumbprint.hs +16/−13
- gen/Network/AWS/IAM/UpdateSAMLProvider.hs +6/−6
- gen/Network/AWS/IAM/UpdateServerCertificate.hs +4/−4
- gen/Network/AWS/IAM/UpdateSigningCertificate.hs +12/−10
- gen/Network/AWS/IAM/UpdateUser.hs +6/−5
- gen/Network/AWS/IAM/UploadServerCertificate.hs +10/−10
- gen/Network/AWS/IAM/UploadSigningCertificate.hs +7/−5
README.md view
@@ -8,7 +8,10 @@ ## Description -AWS Identity and Access Management (IAM) enables you to securely control access to AWS services and resources for your users. Using IAM, you can create and manage AWS users and groups and use permissions to allow and deny their access to AWS resources.+ AWS Identity and Access Management (IAM) enables you to securely control+ access to AWS services and resources for your users. Using IAM, you can+ create and manage AWS users and groups and use permissions to allow and deny+ their access to AWS resources. Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-iam) and [AWS API Reference](http://docs.aws.amazon.com/IAM/latest/APIReference/Welcome.html).
amazonka-iam.cabal view
@@ -1,5 +1,5 @@ name: amazonka-iam-version: 0.0.1+version: 0.0.2 synopsis: Amazon Identity and Access Management SDK. homepage: https://github.com/brendanhay/amazonka license: OtherLicense@@ -13,10 +13,10 @@ cabal-version: >= 1.10 description:- AWS Identity and Access Management (IAM) enables you to securely- control access to AWS services and resources for your users. Using IAM,- you can create and manage AWS users and groups and use permissions to- allow and deny their access to AWS resources.+ AWS Identity and Access Management (IAM) enables you to securely control+ access to AWS services and resources for your users. Using IAM, you can+ create and manage AWS users and groups and use permissions to allow and deny+ their access to AWS resources. . /See:/ <http://docs.aws.amazon.com/IAM/latest/APIReference/Welcome.html AWS API Reference> .@@ -123,5 +123,5 @@ other-modules: build-depends:- amazonka-core == 0.0.1.*+ amazonka-core == 0.0.2.* , base >= 4.7 && < 5
gen/Network/AWS/IAM.hs view
@@ -10,8 +10,8 @@ -- | AWS Identity and Access Management (IAM) enables you to securely control -- access to AWS services and resources for your users. Using IAM, you can--- create and manage AWS users and groups and use permissions to allow and--- deny their access to AWS resources.+-- create and manage AWS users and groups and use permissions to allow and deny+-- their access to AWS resources. module Network.AWS.IAM ( module Network.AWS.IAM.AddClientIDToOpenIDConnectProvider , module Network.AWS.IAM.AddRoleToInstanceProfile
gen/Network/AWS/IAM/AddClientIDToOpenIDConnectProvider.hs view
@@ -21,8 +21,9 @@ -- Portability : non-portable (GHC extensions) -- | Adds a new client ID (also known as audience) to the list of client IDs--- already registered for the specified IAM OpenID Connect provider. This--- action is idempotent; it does not fail or return an error if you add an+-- already registered for the specified IAM OpenID Connect provider.+--+-- This action is idempotent; it does not fail or return an error if you add an -- existing client ID to the provider. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_AddClientIDToOpenIDConnectProvider.html>@@ -74,9 +75,8 @@ acidtoidcpClientID = lens _acidtoidcpClientID (\s a -> s { _acidtoidcpClientID = a }) --- | The Amazon Resource Name (ARN) of the IAM OpenID Connect (OIDC) provider--- to add the client ID to. You can get a list of OIDC provider ARNs by--- using the ListOpenIDConnectProviders action.+-- | The Amazon Resource Name (ARN) of the IAM OpenID Connect (OIDC) provider to+-- add the client ID to. You can get a list of OIDC provider ARNs by using the 'ListOpenIDConnectProviders' action. acidtoidcpOpenIDConnectProviderArn :: Lens' AddClientIDToOpenIDConnectProvider Text acidtoidcpOpenIDConnectProviderArn = lens _acidtoidcpOpenIDConnectProviderArn
gen/Network/AWS/IAM/AddRoleToInstanceProfile.hs view
@@ -21,8 +21,8 @@ -- Portability : non-portable (GHC extensions) -- | Adds the specified role to the specified instance profile. For more--- information about roles, go to Working with Roles. For more information--- about instance profiles, go to About Instance Profiles.+-- information about roles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html Working with Roles>. For more information about+-- instance profiles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html About Instance Profiles>. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_AddRoleToInstanceProfile.html> module Network.AWS.IAM.AddRoleToInstanceProfile
gen/Network/AWS/IAM/ChangePassword.hs view
@@ -21,10 +21,11 @@ -- Portability : non-portable (GHC extensions) -- | Changes the password of the IAM user who is calling this action. The root--- account password is not affected by this action. To change the password for--- a different user, see UpdateLoginProfile. For more information about--- modifying passwords, see Managing Passwords in the Using IAM guide.+-- account password is not affected by this action. --+-- To change the password for a different user, see 'UpdateLoginProfile'. For+-- more information about modifying passwords, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html Managing Passwords> in the /Using IAM/ guide.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_ChangePassword.html> module Network.AWS.IAM.ChangePassword (@@ -68,8 +69,8 @@ , _cpNewPassword = withIso _Sensitive (const id) p2 } --- | The new password. The new password must conform to the AWS account's--- password policy, if one exists.+-- | The new password. The new password must conform to the AWS account's password+-- policy, if one exists. cpNewPassword :: Lens' ChangePassword Text cpNewPassword = lens _cpNewPassword (\s a -> s { _cpNewPassword = a }) . _Sensitive
gen/Network/AWS/IAM/CreateAccessKey.hs view
@@ -21,17 +21,20 @@ -- Portability : non-portable (GHC extensions) -- | Creates a new AWS secret access key and corresponding AWS access key ID for--- the specified user. The default status for new keys is Active. If you do--- not specify a user name, IAM determines the user name implicitly based on--- the AWS access key ID signing the request. Because this action works for--- access keys under the AWS account, you can use this action to manage root--- credentials even if the AWS account has no associated users. For--- information about limits on the number of keys you can create, see--- Limitations on IAM Entities in the Using IAM guide. To ensure the security--- of your AWS account, the secret access key is accessible only during key--- and user creation. You must save the key (for example, in a text file) if--- you want to be able to access it again. If a secret key is lost, you can--- delete the access keys for the associated user and then create new keys.+-- the specified user. The default status for new keys is 'Active'.+--+-- If you do not specify a user name, IAM determines the user name implicitly+-- based on the AWS access key ID signing the request. Because this action works+-- for access keys under the AWS account, you can use this action to manage root+-- credentials even if the AWS account has no associated users.+--+-- For information about limits on the number of keys you can create, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on IAM Entities> in the /Using IAM/ guide.+--+-- To ensure the security of your AWS account, the secret access key is+-- accessible only during key and user creation. You must save the key (for+-- example, in a text file) if you want to be able to access it again. If a+-- secret key is lost, you can delete the access keys for the associated user+-- and then create new keys. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateAccessKey.html> module Network.AWS.IAM.CreateAccessKey
gen/Network/AWS/IAM/CreateAccountAlias.hs view
@@ -21,7 +21,7 @@ -- Portability : non-portable (GHC extensions) -- | Creates an alias for your AWS account. For information about using an AWS--- account alias, see Using an Alias for Your AWS Account ID in the Using IAM+-- account alias, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/AccountAlias.html Using an Alias for Your AWS Account ID> in the /Using IAM/ -- guide. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateAccountAlias.html>
gen/Network/AWS/IAM/CreateGroup.hs view
@@ -20,9 +20,10 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Creates a new group. For information about the number of groups you can--- create, see Limitations on IAM Entities in the Using IAM guide.+-- | Creates a new group. --+-- For information about the number of groups you can create, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitationson IAM Entities> in the /Using IAM/ guide.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateGroup.html> module Network.AWS.IAM.CreateGroup (@@ -71,9 +72,11 @@ cgGroupName :: Lens' CreateGroup Text cgGroupName = lens _cgGroupName (\s a -> s { _cgGroupName = a }) --- | The path to the group. For more information about paths, see IAM--- Identifiers in the Using IAM guide. This parameter is optional. If it is--- not included, it defaults to a slash (/).+-- | The path to the group. For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers>+-- in the /Using IAM/ guide.+--+-- This parameter is optional. If it is not included, it defaults to a slash+-- (/). cgPath :: Lens' CreateGroup (Maybe Text) cgPath = lens _cgPath (\s a -> s { _cgPath = a })
gen/Network/AWS/IAM/CreateInstanceProfile.hs view
@@ -21,10 +21,10 @@ -- Portability : non-portable (GHC extensions) -- | Creates a new instance profile. For information about instance profiles, go--- to About Instance Profiles. For information about the number of instance--- profiles you can create, see Limitations on IAM Entities in the Using IAM--- guide.+-- to <http://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html About Instance Profiles>. --+-- For information about the number of instance profiles you can create, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on IAM Entities> in the /Using IAM/ guide.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateInstanceProfile.html> module Network.AWS.IAM.CreateInstanceProfile (@@ -74,9 +74,10 @@ cipInstanceProfileName = lens _cipInstanceProfileName (\s a -> s { _cipInstanceProfileName = a }) --- | The path to the instance profile. For more information about paths, see--- IAM Identifiers in the Using IAM guide. This parameter is optional. If it--- is not included, it defaults to a slash (/).+-- | The path to the instance profile. For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAMIdentifiers> in the /Using IAM/ guide.+--+-- This parameter is optional. If it is not included, it defaults to a slash+-- (/). cipPath :: Lens' CreateInstanceProfile (Maybe Text) cipPath = lens _cipPath (\s a -> s { _cipPath = a })
gen/Network/AWS/IAM/CreateLoginProfile.hs view
@@ -21,9 +21,8 @@ -- Portability : non-portable (GHC extensions) -- | Creates a password for the specified user, giving the user the ability to--- access AWS services through the AWS Management Console. For more--- information about managing passwords, see Managing Passwords in the Using--- IAM guide.+-- access AWS services through the AWS Management Console. For more information+-- about managing passwords, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html Managing Passwords> in the /Using IAM/ guide. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateLoginProfile.html> module Network.AWS.IAM.CreateLoginProfile
gen/Network/AWS/IAM/CreateOpenIDConnectProvider.hs view
@@ -20,17 +20,19 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Creates an IAM entity to describe an identity provider (IdP) that supports--- OpenID Connect (OIDC). The OIDC provider that you create with this--- operation can be used as a principal in a role's trust policy to establish--- a trust relationship between AWS and the OIDC provider. When you create the--- IAM OIDC provider, you specify the URL of the OIDC identity provider (IdP)--- to trust, a list of client IDs (also known as audiences) that identify the--- application or applications that are allowed to authenticate using the OIDC--- provider, and a list of thumbprints of the server certificate(s) that the--- IdP uses. You get all of this information from the OIDC IdP that you want--- to use for access to AWS.+-- | Creates an IAM entity to describe an identity provider (IdP) that supports <http://openid.net/connect/ OpenID Connect (OIDC)>. --+-- The OIDC provider that you create with this operation can be used as a+-- principal in a role's trust policy to establish a trust relationship between+-- AWS and the OIDC provider.+--+-- When you create the IAM OIDC provider, you specify the URL of the OIDC+-- identity provider (IdP) to trust, a list of client IDs (also known as+-- audiences) that identify the application or applications that are allowed to+-- authenticate using the OIDC provider, and a list of thumbprints of the server+-- certificate(s) that the IdP uses. You get all of this information from the+-- OIDC IdP that you want to use for access to AWS.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html> module Network.AWS.IAM.CreateOpenIDConnectProvider (@@ -82,44 +84,48 @@ -- | A list of client IDs (also known as audiences). When a mobile or web app -- registers with an OpenID Connect provider, they establish a value that--- identifies the application. (This is the value that's sent as the--- client_id parameter on OAuth requests.) You can register multiple client--- IDs with the same provider. For example, you might have multiple--- applications that use the same OIDC provider. You cannot register more--- than 100 client IDs with a single IAM OIDC provider. There is no defined--- format for a client ID. The CreateOpenIDConnectProviderRequest action--- accepts client IDs up to 255 characters long.+-- identifies the application. (This is the value that's sent as the 'client_id'+-- parameter on OAuth requests.)+--+-- You can register multiple client IDs with the same provider. For example,+-- you might have multiple applications that use the same OIDC provider. You+-- cannot register more than 100 client IDs with a single IAM OIDC provider.+--+-- There is no defined format for a client ID. The 'CreateOpenIDConnectProviderRequest' action accepts client IDs up to 255 characters long. coidcpClientIDList :: Lens' CreateOpenIDConnectProvider [Text] coidcpClientIDList = lens _coidcpClientIDList (\s a -> s { _coidcpClientIDList = a }) . _List -- | A list of server certificate thumbprints for the OpenID Connect (OIDC)--- identity provider's server certificate(s). Typically this list includes--- only one entry. However, IAM lets you have up to five thumbprints for an--- OIDC provider. This lets you maintain multiple thumbprints if the--- identity provider is rotating certificates. The server certificate--- thumbprint is the hex-encoded SHA-1 hash value of the X.509 certificate--- used by the domain where the OpenID Connect provider makes its keys--- available. It is always a 40-character string. You must provide at least--- one thumbprint when creating an IAM OIDC provider. For example, if the--- OIDC provider is server.example.com and the provider stores its keys at--- "https://keys.server.example.com/openid-connect", the thumbprint string--- would be the hex-encoded SHA-1 hash value of the certificate used by--- https://keys.server.example.com.+-- identity provider's server certificate(s). Typically this list includes only+-- one entry. However, IAM lets you have up to five thumbprints for an OIDC+-- provider. This lets you maintain multiple thumbprints if the identity+-- provider is rotating certificates.+--+-- The server certificate thumbprint is the hex-encoded SHA-1 hash value of the+-- X.509 certificate used by the domain where the OpenID Connect provider makes+-- its keys available. It is always a 40-character string.+--+-- You must provide at least one thumbprint when creating an IAM OIDC provider.+-- For example, if the OIDC provider is 'server.example.com' and the provider+-- stores its keys at "https://keys.server.example.com/openid-connect", the+-- thumbprint string would be the hex-encoded SHA-1 hash value of the+-- certificate used by https://keys.server.example.com. coidcpThumbprintList :: Lens' CreateOpenIDConnectProvider [Text] coidcpThumbprintList = lens _coidcpThumbprintList (\s a -> s { _coidcpThumbprintList = a }) . _List -- | The URL of the identity provider. The URL must begin with "https://" and--- should correspond to the iss claim in the provider's OpenID Connect ID+-- should correspond to the 'iss' claim in the provider's OpenID Connect ID -- tokens. Per the OIDC standard, path components are allowed but query -- parameters are not. Typically the URL consists of only a host name, like--- "https://server.example.org" or "https://example.com". You cannot--- register the same provider multiple times in a single AWS account. If you--- try to submit a URL that has already been used for an OpenID Connect--- provider in the AWS account, you will get an error.+-- "https://server.example.org" or "https://example.com".+--+-- You cannot register the same provider multiple times in a single AWS+-- account. If you try to submit a URL that has already been used for an OpenID+-- Connect provider in the AWS account, you will get an error. coidcpUrl :: Lens' CreateOpenIDConnectProvider Text coidcpUrl = lens _coidcpUrl (\s a -> s { _coidcpUrl = a }) @@ -138,8 +144,8 @@ { _coidcprOpenIDConnectProviderArn = Nothing } --- | The Amazon Resource Name (ARN) of the IAM OpenID Connect provider that--- was created. For more information, see OpenIDConnectProviderListEntry.+-- | The Amazon Resource Name (ARN) of the IAM OpenID Connect provider that was+-- created. For more information, see 'OpenIDConnectProviderListEntry'. coidcprOpenIDConnectProviderArn :: Lens' CreateOpenIDConnectProviderResponse (Maybe Text) coidcprOpenIDConnectProviderArn = lens _coidcprOpenIDConnectProviderArn
gen/Network/AWS/IAM/CreateRole.hs view
@@ -21,13 +21,13 @@ -- Portability : non-portable (GHC extensions) -- | Creates a new role for your AWS account. For more information about roles,--- go to Working with Roles. For information about limitations on role names--- and the number of roles you can create, go to Limitations on IAM Entities--- in the Using IAM guide. The example policy grants permission to an EC2--- instance to assume the role. The policy is URL-encoded according to RFC--- 3986. For more information about RFC 3986, go to--- http://www.faqs.org/rfcs/rfc3986.html.+-- go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html Working with Roles>. For information about limitations on role names and+-- the number of roles you can create, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on IAM Entities> in the /Using IAM/ guide. --+-- The example policy grants permission to an EC2 instance to assume the role.+-- The policy is URL-encoded according to RFC 3986. For more information about+-- RFC 3986, go to <http://www.faqs.org/rfcs/rfc3986.html http://www.faqs.org/rfcs/rfc3986.html>.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html> module Network.AWS.IAM.CreateRole (@@ -84,9 +84,11 @@ lens _crAssumeRolePolicyDocument (\s a -> s { _crAssumeRolePolicyDocument = a }) --- | The path to the role. For more information about paths, see IAM--- Identifiers in the Using IAM guide. This parameter is optional. If it is--- not included, it defaults to a slash (/).+-- | The path to the role. For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers>+-- in the /Using IAM/ guide.+--+-- This parameter is optional. If it is not included, it defaults to a slash+-- (/). crPath :: Lens' CreateRole (Maybe Text) crPath = lens _crPath (\s a -> s { _crPath = a })
gen/Network/AWS/IAM/CreateSAMLProvider.hs view
@@ -21,20 +21,23 @@ -- Portability : non-portable (GHC extensions) -- | Creates an IAM entity to describe an identity provider (IdP) that supports--- SAML 2.0. The SAML provider that you create with this operation can be used--- as a principal in a role's trust policy to establish a trust relationship--- between AWS and a SAML identity provider. You can create an IAM role that--- supports Web-based single sign-on (SSO) to the AWS Management Console or--- one that supports API access to AWS. When you create the SAML provider, you--- upload an a SAML metadata document that you get from your IdP and that--- includes the issuer's name, expiration information, and keys that can be--- used to validate the SAML authentication response (assertions) that are--- received from the IdP. You must generate the metadata document using the--- identity management software that is used as your organization's IdP. For--- more information, see Giving Console Access Using SAML and Creating--- Temporary Security Credentials for SAML Federation in the Using Temporary--- Credentials guide.+-- SAML 2.0. --+-- The SAML provider that you create with this operation can be used as a+-- principal in a role's trust policy to establish a trust relationship between+-- AWS and a SAML identity provider. You can create an IAM role that supports+-- Web-based single sign-on (SSO) to the AWS Management Console or one that+-- supports API access to AWS.+--+-- When you create the SAML provider, you upload an a SAML metadata document+-- that you get from your IdP and that includes the issuer's name, expiration+-- information, and keys that can be used to validate the SAML authentication+-- response (assertions) that are received from the IdP. You must generate the+-- metadata document using the identity management software that is used as your+-- organization's IdP.+--+-- For more information, see <http://docs.aws.amazon.com/STS/latest/UsingSTS/STSMgmtConsole-SAML.html Giving Console Access Using SAML> and <http://docs.aws.amazon.com/STS/latest/UsingSTS/CreatingSAML.html CreatingTemporary Security Credentials for SAML Federation> in the /Using TemporaryCredentials/ guide.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateSAMLProvider.html> module Network.AWS.IAM.CreateSAMLProvider (@@ -84,14 +87,14 @@ csamlpName :: Lens' CreateSAMLProvider Text csamlpName = lens _csamlpName (\s a -> s { _csamlpName = a }) --- | An XML document generated by an identity provider (IdP) that supports--- SAML 2.0. The document includes the issuer's name, expiration--- information, and keys that can be used to validate the SAML--- authentication response (assertions) that are received from the IdP. You--- must generate the metadata document using the identity management--- software that is used as your organization's IdP. For more information,--- see Creating Temporary Security Credentials for SAML Federation in the--- Using Temporary Security Credentials guide.+-- | An XML document generated by an identity provider (IdP) that supports SAML+-- 2.0. The document includes the issuer's name, expiration information, and+-- keys that can be used to validate the SAML authentication response+-- (assertions) that are received from the IdP. You must generate the metadata+-- document using the identity management software that is used as your+-- organization's IdP.+--+-- For more information, see <http://docs.aws.amazon.com/STS/latest/UsingSTS/CreatingSAML.html Creating Temporary Security Credentials for SAMLFederation> in the /Using Temporary Security Credentials/ guide. csamlpSAMLMetadataDocument :: Lens' CreateSAMLProvider Text csamlpSAMLMetadataDocument = lens _csamlpSAMLMetadataDocument
gen/Network/AWS/IAM/CreateUser.hs view
@@ -20,10 +20,11 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Creates a new user for your AWS account. For information about limitations--- on the number of users you can create, see Limitations on IAM Entities in--- the Using IAM guide.+-- | Creates a new user for your AWS account. --+-- For information about limitations on the number of users you can create,+-- see <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on IAM Entities> in the /Using IAM/ guide.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateUser.html> module Network.AWS.IAM.CreateUser (@@ -68,9 +69,10 @@ , _cuPath = Nothing } --- | The path for the user name. For more information about paths, see IAM--- Identifiers in the Using IAM guide. This parameter is optional. If it is--- not included, it defaults to a slash (/).+-- | The path for the user name. For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAMIdentifiers> in the /Using IAM/ guide.+--+-- This parameter is optional. If it is not included, it defaults to a slash+-- (/). cuPath :: Lens' CreateUser (Maybe Text) cuPath = lens _cuPath (\s a -> s { _cuPath = a })
gen/Network/AWS/IAM/CreateVirtualMFADevice.hs view
@@ -21,16 +21,17 @@ -- Portability : non-portable (GHC extensions) -- | Creates a new virtual MFA device for the AWS account. After creating the--- virtual MFA, use EnableMFADevice to attach the MFA device to an IAM user.--- For more information about creating and working with virtual MFA devices,--- go to Using a Virtual MFA Device in the Using IAM guide. For information--- about limits on the number of MFA devices you can create, see Limitations--- on Entities in the Using IAM guide. The seed information contained in the--- QR code and the Base32 string should be treated like any other secret--- access information, such as your AWS access keys or your passwords. After--- you provision your virtual device, you should ensure that the information--- is destroyed following secure procedures.+-- virtual MFA, use <http://docs.aws.amazon.com/IAM/latest/APIReference/API_EnableMFADevice.html EnableMFADevice> to attach the MFA device to an IAM user. For+-- more information about creating and working with virtual MFA devices, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_VirtualMFA.html Using a Virtual MFA Device> in the /Using IAM/ guide. --+-- For information about limits on the number of MFA devices you can create,+-- see <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on Entities> in the /Using IAM/ guide.+--+-- The seed information contained in the QR code and the Base32 string should+-- be treated like any other secret access information, such as your AWS access+-- keys or your passwords. After you provision your virtual device, you should+-- ensure that the information is destroyed following secure procedures.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateVirtualMFADevice.html> module Network.AWS.IAM.CreateVirtualMFADevice (@@ -75,9 +76,10 @@ , _cvmfadPath = Nothing } --- | The path for the virtual MFA device. For more information about paths,--- see IAM Identifiers in the Using IAM guide. This parameter is optional.--- If it is not included, it defaults to a slash (/).+-- | The path for the virtual MFA device. For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide.+--+-- This parameter is optional. If it is not included, it defaults to a slash+-- (/). cvmfadPath :: Lens' CreateVirtualMFADevice (Maybe Text) cvmfadPath = lens _cvmfadPath (\s a -> s { _cvmfadPath = a })
gen/Network/AWS/IAM/DeactivateMFADevice.hs view
@@ -20,11 +20,12 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Deactivates the specified MFA device and removes it from association with--- the user name for which it was originally enabled. For more information--- about creating and working with virtual MFA devices, go to Using a Virtual--- MFA Device in the Using IAM guide.+-- | Deactivates the specified MFA device and removes it from association with the+-- user name for which it was originally enabled. --+-- For more information about creating and working with virtual MFA devices, go+-- to <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_VirtualMFA.html Using a Virtual MFA Device> in the /Using IAM/ guide.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_DeactivateMFADevice.html> module Network.AWS.IAM.DeactivateMFADevice (@@ -68,8 +69,8 @@ , _dmfadSerialNumber = p2 } --- | The serial number that uniquely identifies the MFA device. For virtual--- MFA devices, the serial number is the device ARN.+-- | The serial number that uniquely identifies the MFA device. For virtual MFA+-- devices, the serial number is the device ARN. dmfadSerialNumber :: Lens' DeactivateMFADevice Text dmfadSerialNumber = lens _dmfadSerialNumber (\s a -> s { _dmfadSerialNumber = a })
gen/Network/AWS/IAM/DeleteAccessKey.hs view
@@ -20,10 +20,11 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Deletes the access key associated with the specified user. If you do not--- specify a user name, IAM determines the user name implicitly based on the--- AWS access key ID signing the request. Because this action works for access--- keys under the AWS account, you can use this action to manage root+-- | Deletes the access key associated with the specified user.+--+-- If you do not specify a user name, IAM determines the user name implicitly+-- based on the AWS access key ID signing the request. Because this action works+-- for access keys under the AWS account, you can use this action to manage root -- credentials even if the AWS account has no associated users. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteAccessKey.html>
gen/Network/AWS/IAM/DeleteAccountAlias.hs view
@@ -21,7 +21,7 @@ -- Portability : non-portable (GHC extensions) -- | Deletes the specified AWS account alias. For information about using an AWS--- account alias, see Using an Alias for Your AWS Account ID in the Using IAM+-- account alias, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/AccountAlias.html Using an Alias for Your AWS Account ID> in the /Using IAM/ -- guide. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteAccountAlias.html>
gen/Network/AWS/IAM/DeleteInstanceProfile.hs view
@@ -21,11 +21,13 @@ -- Portability : non-portable (GHC extensions) -- | Deletes the specified instance profile. The instance profile must not have--- an associated role. Make sure you do not have any Amazon EC2 instances--- running with the instance profile you are about to delete. Deleting a role--- or instance profile that is associated with a running instance will break--- any applications running on the instance. For more information about--- instance profiles, go to About Instance Profiles.+-- an associated role.+--+-- Make sure you do not have any Amazon EC2 instances running with the+-- instance profile you are about to delete. Deleting a role or instance profile+-- that is associated with a running instance will break any applications+-- running on the instance. For more information about instance profiles, go+-- to <http://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html About Instance Profiles>. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteInstanceProfile.html> module Network.AWS.IAM.DeleteInstanceProfile
gen/Network/AWS/IAM/DeleteLoginProfile.hs view
@@ -21,12 +21,13 @@ -- Portability : non-portable (GHC extensions) -- | Deletes the password for the specified user, which terminates the user's--- ability to access AWS services through the AWS Management Console. Deleting--- a user's password does not prevent a user from accessing IAM through the--- command line interface or the API. To prevent all user access you must also--- either make the access key inactive or delete it. For more information--- about making keys inactive or deleting them, see UpdateAccessKey and--- DeleteAccessKey.+-- ability to access AWS services through the AWS Management Console.+--+-- Deleting a user's password does not prevent a user from accessing IAM+-- through the command line interface or the API. To prevent all user access you+-- must also either make the access key inactive or delete it. For more+-- information about making keys inactive or deleting them, see 'UpdateAccessKey'+-- and 'DeleteAccessKey'. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteLoginProfile.html> module Network.AWS.IAM.DeleteLoginProfile
gen/Network/AWS/IAM/DeleteOpenIDConnectProvider.hs view
@@ -20,13 +20,15 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Deletes an IAM OpenID Connect identity provider. Deleting an OIDC provider--- does not update any roles that reference the provider as a principal in--- their trust policies. Any attempt to assume a role that references a--- provider that has been deleted will fail. This action is idempotent; it--- does not fail or return an error if you call the action for a provider that--- was already deleted.+-- | Deletes an IAM OpenID Connect identity provider. --+-- Deleting an OIDC provider does not update any roles that reference the+-- provider as a principal in their trust policies. Any attempt to assume a role+-- that references a provider that has been deleted will fail.+--+-- This action is idempotent; it does not fail or return an error if you call+-- the action for a provider that was already deleted.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteOpenIDConnectProvider.html> module Network.AWS.IAM.DeleteOpenIDConnectProvider (@@ -64,9 +66,8 @@ { _doidcpOpenIDConnectProviderArn = p1 } --- | The Amazon Resource Name (ARN) of the IAM OpenID Connect provider to--- delete. You can get a list of OpenID Connect provider ARNs by using the--- ListOpenIDConnectProviders action.+-- | The Amazon Resource Name (ARN) of the IAM OpenID Connect provider to delete.+-- You can get a list of OpenID Connect provider ARNs by using the 'ListOpenIDConnectProviders' action. doidcpOpenIDConnectProviderArn :: Lens' DeleteOpenIDConnectProvider Text doidcpOpenIDConnectProviderArn = lens _doidcpOpenIDConnectProviderArn
gen/Network/AWS/IAM/DeleteRole.hs view
@@ -21,10 +21,12 @@ -- Portability : non-portable (GHC extensions) -- | Deletes the specified role. The role must not have any policies attached.--- For more information about roles, go to Working with Roles. Make sure you--- do not have any Amazon EC2 instances running with the role you are about to--- delete. Deleting a role or instance profile that is associated with a--- running instance will break any applications running on the instance.+-- For more information about roles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html Working with Roles>.+--+-- Make sure you do not have any Amazon EC2 instances running with the role+-- you are about to delete. Deleting a role or instance profile that is+-- associated with a running instance will break any applications running on the+-- instance. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteRole.html> module Network.AWS.IAM.DeleteRole
gen/Network/AWS/IAM/DeleteSAMLProvider.hs view
@@ -20,10 +20,11 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Deletes a SAML provider. Deleting the provider does not update any roles--- that reference the SAML provider as a principal in their trust policies.--- Any attempt to assume a role that references a SAML provider that has been--- deleted will fail.+-- | Deletes a SAML provider.+--+-- Deleting the provider does not update any roles that reference the SAML+-- provider as a principal in their trust policies. Any attempt to assume a role+-- that references a SAML provider that has been deleted will fail. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteSAMLProvider.html> module Network.AWS.IAM.DeleteSAMLProvider
gen/Network/AWS/IAM/DeleteServerCertificate.hs view
@@ -20,15 +20,16 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Deletes the specified server certificate. If you are using a server--- certificate with Elastic Load Balancing, deleting the certificate could--- have implications for your application. If Elastic Load Balancing doesn't--- detect the deletion of bound certificates, it may continue to use the--- certificates. This could cause Elastic Load Balancing to stop accepting--- traffic. We recommend that you remove the reference to the certificate from--- Elastic Load Balancing before using this command to delete the certificate.--- For more information, go to DeleteLoadBalancerListeners in the Elastic Load--- Balancing API Reference.+-- | Deletes the specified server certificate.+--+-- If you are using a server certificate with Elastic Load Balancing, deleting+-- the certificate could have implications for your application. If Elastic Load+-- Balancing doesn't detect the deletion of bound certificates, it may continue+-- to use the certificates. This could cause Elastic Load Balancing to stop+-- accepting traffic. We recommend that you remove the reference to the+-- certificate from Elastic Load Balancing before using this command to delete+-- the certificate. For more information, go to DeleteLoadBalancerListeners in+-- the /Elastic Load Balancing API Reference/. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteServerCertificate.html> module Network.AWS.IAM.DeleteServerCertificate
gen/Network/AWS/IAM/DeleteSigningCertificate.hs view
@@ -20,11 +20,12 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Deletes the specified signing certificate associated with the specified--- user. If you do not specify a user name, IAM determines the user name--- implicitly based on the AWS access key ID signing the request. Because this--- action works for access keys under the AWS account, you can use this action--- to manage root credentials even if the AWS account has no associated users.+-- | Deletes the specified signing certificate associated with the specified user.+--+-- If you do not specify a user name, IAM determines the user name implicitly+-- based on the AWS access key ID signing the request. Because this action works+-- for access keys under the AWS account, you can use this action to manage root+-- credentials even if the AWS account has no associated users. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteSigningCertificate.html> module Network.AWS.IAM.DeleteSigningCertificate
gen/Network/AWS/IAM/DeleteUser.hs view
@@ -20,8 +20,8 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Deletes the specified user. The user must not belong to any groups, have--- any keys or signing certificates, or have any attached policies.+-- | Deletes the specified user. The user must not belong to any groups, have any+-- keys or signing certificates, or have any attached policies. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteUser.html> module Network.AWS.IAM.DeleteUser
gen/Network/AWS/IAM/DeleteVirtualMFADevice.hs view
@@ -59,8 +59,8 @@ { _dvmfadSerialNumber = p1 } --- | The serial number that uniquely identifies the MFA device. For virtual--- MFA devices, the serial number is the same as the ARN.+-- | The serial number that uniquely identifies the MFA device. For virtual MFA+-- devices, the serial number is the same as the ARN. dvmfadSerialNumber :: Lens' DeleteVirtualMFADevice Text dvmfadSerialNumber = lens _dvmfadSerialNumber (\s a -> s { _dvmfadSerialNumber = a })
gen/Network/AWS/IAM/EnableMFADevice.hs view
@@ -21,8 +21,8 @@ -- Portability : non-portable (GHC extensions) -- | Enables the specified MFA device and associates it with the specified user--- name. When enabled, the MFA device is required for every subsequent login--- by the user name associated with the device.+-- name. When enabled, the MFA device is required for every subsequent login by+-- the user name associated with the device. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_EnableMFADevice.html> module Network.AWS.IAM.EnableMFADevice@@ -91,8 +91,8 @@ lens _emfadAuthenticationCode2 (\s a -> s { _emfadAuthenticationCode2 = a }) --- | The serial number that uniquely identifies the MFA device. For virtual--- MFA devices, the serial number is the device ARN.+-- | The serial number that uniquely identifies the MFA device. For virtual MFA+-- devices, the serial number is the device ARN. emfadSerialNumber :: Lens' EnableMFADevice Text emfadSerialNumber = lens _emfadSerialNumber (\s a -> s { _emfadSerialNumber = a })
gen/Network/AWS/IAM/GenerateCredentialReport.hs view
@@ -21,8 +21,8 @@ -- Portability : non-portable (GHC extensions) -- | Generates a credential report for the AWS account. For more information--- about the credential report, see Getting Credential Reports in the Using--- IAM guide.+-- about the credential report, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html Getting Credential Reports> in the /Using IAM/+-- guide. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_GenerateCredentialReport.html> module Network.AWS.IAM.GenerateCredentialReport
gen/Network/AWS/IAM/GetAccountPasswordPolicy.hs view
@@ -21,7 +21,7 @@ -- Portability : non-portable (GHC extensions) -- | Retrieves the password policy for the AWS account. For more information--- about using a password policy, go to Managing an IAM Password Policy.+-- about using a password policy, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingPasswordPolicies.html Managing an IAM Password Policy>. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountPasswordPolicy.html> module Network.AWS.IAM.GetAccountPasswordPolicy
gen/Network/AWS/IAM/GetAccountSummary.hs view
@@ -20,10 +20,10 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Retrieves account level information about account entity usage and IAM--- quotas. For information about limitations on IAM entities, see Limitations--- on IAM Entities in the Using IAM guide.+-- | Retrieves account level information about account entity usage and IAM quotas. --+-- For information about limitations on IAM entities, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on IAMEntities> in the /Using IAM/ guide.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountSummary.html> module Network.AWS.IAM.GetAccountSummary (@@ -67,28 +67,58 @@ { _gasrSummaryMap = mempty } --- | A set of key value pairs containing account-level information. SummaryMap--- contains the following keys: AccessKeysPerUserQuota - Maximum number of--- access keys that can be created per user AccountMFAEnabled - 1 if the--- root account has an MFA device assigned to it, 0 otherwise--- AssumeRolePolicySizeQuota - Maximum allowed size for assume role policy--- documents (in kilobytes) GroupPolicySizeQuota - Maximum allowed size for--- Group policy documents (in kilobytes) Groups - Number of Groups for the--- AWS account GroupsPerUserQuota - Maximum number of groups an IAM user can--- belong to GroupsQuota - Maximum groups allowed for the AWS account--- InstanceProfiles - Number of instance profiles for the AWS account--- InstanceProfilesQuota - Maximum instance profiles allowed for the AWS--- account MFADevices - Number of MFA devices, either assigned or unassigned--- MFADevicesInUse - Number of MFA devices that have been assigned to an IAM--- user or to the root account RolePolicySizeQuota - Maximum allowed size--- for role policy documents (in kilobytes) Roles - Number of roles for the--- AWS account RolesQuota - Maximum roles allowed for the AWS account--- ServerCertificates - Number of server certificates for the AWS account--- ServerCertificatesQuota - Maximum server certificates allowed for the AWS--- account SigningCertificatesPerUserQuota - Maximum number of X509--- certificates allowed for a user UserPolicySizeQuota - Maximum allowed--- size for user policy documents (in kilobytes) Users - Number of users for--- the AWS account UsersQuota - Maximum users allowed for the AWS account.+-- | A set of key value pairs containing account-level information.+--+-- 'SummaryMap' contains the following keys: 'AccessKeysPerUserQuota' - Maximum+-- number of access keys that can be created per user+--+-- 'AccountMFAEnabled' - 1 if the root account has an MFA device assigned to it,+-- 0 otherwise+--+-- 'AssumeRolePolicySizeQuota' - Maximum allowed size for assume role policy+-- documents (in kilobytes)+--+-- 'GroupPolicySizeQuota' - Maximum allowed size for Group policy documents (in+-- kilobytes)+--+-- 'Groups' - Number of Groups for the AWS account+--+-- 'GroupsPerUserQuota' - Maximum number of groups an IAM user can belong to+--+-- 'GroupsQuota' - Maximum groups allowed for the AWS account+--+-- 'InstanceProfiles' - Number of instance profiles for the AWS account+--+-- 'InstanceProfilesQuota' - Maximum instance profiles allowed for the AWS account+--+-- 'MFADevices' - Number of MFA devices, either assigned or unassigned+--+-- 'MFADevicesInUse' - Number of MFA devices that have been assigned to an IAM+-- user or to the root account+--+-- 'RolePolicySizeQuota' - Maximum allowed size for role policy documents (in+-- kilobytes)+--+-- 'Roles' - Number of roles for the AWS account+--+-- 'RolesQuota' - Maximum roles allowed for the AWS account+--+-- 'ServerCertificates' - Number of server certificates for the AWS account+--+-- 'ServerCertificatesQuota' - Maximum server certificates allowed for the AWS+-- account+--+-- 'SigningCertificatesPerUserQuota' - Maximum number of X509 certificates+-- allowed for a user+--+-- 'UserPolicySizeQuota' - Maximum allowed size for user policy documents (in+-- kilobytes)+--+-- 'Users' - Number of users for the AWS account+--+-- 'UsersQuota' - Maximum users allowed for the AWS account+--+-- gasrSummaryMap :: Lens' GetAccountSummaryResponse (HashMap SummaryKeyType Int) gasrSummaryMap = lens _gasrSummaryMap (\s a -> s { _gasrSummaryMap = a }) . _EMap
gen/Network/AWS/IAM/GetCredentialReport.hs view
@@ -21,8 +21,8 @@ -- Portability : non-portable (GHC extensions) -- | Retrieves a credential report for the AWS account. For more information--- about the credential report, see Getting Credential Reports in the Using--- IAM guide.+-- about the credential report, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html Getting Credential Reports> in the /Using IAM/+-- guide. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_GetCredentialReport.html> module Network.AWS.IAM.GetCredentialReport@@ -56,7 +56,7 @@ data GetCredentialReportResponse = GetCredentialReportResponse { _gcrrContent :: Maybe Base64- , _gcrrGeneratedTime :: Maybe RFC822+ , _gcrrGeneratedTime :: Maybe ISO8601 , _gcrrReportFormat :: Maybe ReportFormatType } deriving (Eq, Show) @@ -81,8 +81,7 @@ gcrrContent :: Lens' GetCredentialReportResponse (Maybe Base64) gcrrContent = lens _gcrrContent (\s a -> s { _gcrrContent = a }) --- | The time and date when the credential report was created, in ISO 8601--- date-time format.+-- | The time and date when the credential report was created, in <http://www.iso.org/iso/iso8601 ISO 8601date-time format>. gcrrGeneratedTime :: Lens' GetCredentialReportResponse (Maybe UTCTime) gcrrGeneratedTime = lens _gcrrGeneratedTime (\s a -> s { _gcrrGeneratedTime = a })
gen/Network/AWS/IAM/GetGroup.hs view
@@ -21,7 +21,7 @@ -- Portability : non-portable (GHC extensions) -- | Returns a list of users that are in the specified group. You can paginate--- the results using the MaxItems and Marker parameters.+-- the results using the 'MaxItems' and 'Marker' parameters. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_GetGroup.html> module Network.AWS.IAM.GetGroup@@ -80,15 +80,15 @@ ggGroupName = lens _ggGroupName (\s a -> s { _ggGroupName = a }) -- | Use this only when paginating results, and only in a subsequent request--- after you've received a response where the results are truncated. Set it--- to the value of the Marker element in the response you just received.+-- after you've received a response where the results are truncated. Set it to+-- the value of the 'Marker' element in the response you just received. ggMarker :: Lens' GetGroup (Maybe Text) ggMarker = lens _ggMarker (\s a -> s { _ggMarker = a }) -- | Use this only when paginating results to indicate the maximum number of--- groups you want in the response. If there are additional groups beyond--- the maximum you specify, the IsTruncated response element is true. This--- parameter is optional. If you do not include it, it defaults to 100.+-- groups you want in the response. If there are additional groups beyond the+-- maximum you specify, the 'IsTruncated' response element is 'true'. This parameter+-- is optional. If you do not include it, it defaults to 100. ggMaxItems :: Lens' GetGroup (Maybe Natural) ggMaxItems = lens _ggMaxItems (\s a -> s { _ggMaxItems = a }) . mapping _Nat @@ -125,14 +125,13 @@ ggrGroup = lens _ggrGroup (\s a -> s { _ggrGroup = a }) -- | A flag that indicates whether there are more user names to list. If your--- results were truncated, you can make a subsequent pagination request--- using the Marker request parameter to retrieve more user names in the--- list.+-- results were truncated, you can make a subsequent pagination request using+-- the 'Marker' request parameter to retrieve more user names in the list. ggrIsTruncated :: Lens' GetGroupResponse (Maybe Bool) ggrIsTruncated = lens _ggrIsTruncated (\s a -> s { _ggrIsTruncated = a }) --- | If IsTruncated is true, then this element is present and contains the--- value to use for the Marker parameter in a subsequent pagination request.+-- | If IsTruncated is 'true', then this element is present and contains the value+-- to use for the 'Marker' parameter in a subsequent pagination request. ggrMarker :: Lens' GetGroupResponse (Maybe Text) ggrMarker = lens _ggrMarker (\s a -> s { _ggrMarker = a })
gen/Network/AWS/IAM/GetGroupPolicy.hs view
@@ -22,7 +22,7 @@ -- | Retrieves the specified policy document for the specified group. 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.+-- about RFC 3986, go to <http://www.faqs.org/rfcs/rfc3986.html http://www.faqs.org/rfcs/rfc3986.html>. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_GetGroupPolicy.html> module Network.AWS.IAM.GetGroupPolicy
gen/Network/AWS/IAM/GetInstanceProfile.hs view
@@ -22,8 +22,8 @@ -- | Retrieves information about the specified instance profile, including the -- instance profile's path, GUID, ARN, and role. For more information about--- instance profiles, go to About Instance Profiles. For more information--- about ARNs, go to ARNs.+-- instance profiles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html About Instance Profiles>. For more information about+-- ARNs, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html#Identifiers_ARNs ARNs>. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_GetInstanceProfile.html> module Network.AWS.IAM.GetInstanceProfile
gen/Network/AWS/IAM/GetLoginProfile.hs view
@@ -21,8 +21,7 @@ -- Portability : non-portable (GHC extensions) -- | Retrieves the user name and password-creation date for the specified user.--- If the user has not been assigned a password, the action returns a 404--- (NoSuchEntity) error.+-- If the user has not been assigned a password, the action returns a 404 ('NoSuchEntity') error. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_GetLoginProfile.html> module Network.AWS.IAM.GetLoginProfile
gen/Network/AWS/IAM/GetOpenIDConnectProvider.hs view
@@ -64,9 +64,8 @@ { _goidcpOpenIDConnectProviderArn = p1 } --- | The Amazon Resource Name (ARN) of the IAM OpenID Connect (OIDC) provider--- to get information for. You can get a list of OIDC provider ARNs by using--- the ListOpenIDConnectProviders action.+-- | The Amazon Resource Name (ARN) of the IAM OpenID Connect (OIDC) provider to+-- get information for. You can get a list of OIDC provider ARNs by using the 'ListOpenIDConnectProviders' action. goidcpOpenIDConnectProviderArn :: Lens' GetOpenIDConnectProvider Text goidcpOpenIDConnectProviderArn = lens _goidcpOpenIDConnectProviderArn@@ -74,7 +73,7 @@ data GetOpenIDConnectProviderResponse = GetOpenIDConnectProviderResponse { _goidcprClientIDList :: List "ClientIDList" Text- , _goidcprCreateDate :: Maybe RFC822+ , _goidcprCreateDate :: Maybe ISO8601 , _goidcprThumbprintList :: List "ThumbprintList" Text , _goidcprUrl :: Maybe Text } deriving (Eq, Ord, Show)@@ -99,31 +98,30 @@ , _goidcprCreateDate = Nothing } --- | A list of client IDs (also known as audiences) that are associated with--- the specified IAM OpenID Connect provider. For more information, see--- CreateOpenIDConnectProvider.+-- | A list of client IDs (also known as audiences) that are associated with the+-- specified IAM OpenID Connect provider. For more information, see 'CreateOpenIDConnectProvider'. goidcprClientIDList :: Lens' GetOpenIDConnectProviderResponse [Text] goidcprClientIDList = lens _goidcprClientIDList (\s a -> s { _goidcprClientIDList = a }) . _List --- | The date and time when the IAM OpenID Connect provider entity was created--- in the AWS account.+-- | The date and time when the IAM OpenID Connect provider entity was created in+-- the AWS account. goidcprCreateDate :: Lens' GetOpenIDConnectProviderResponse (Maybe UTCTime) goidcprCreateDate = lens _goidcprCreateDate (\s a -> s { _goidcprCreateDate = a }) . mapping _Time --- | A list of certificate thumbprints that are associated with the specified--- IAM OpenID Connect provider. For more information, see--- CreateOpenIDConnectProvider.+-- | A list of certificate thumbprints that are associated with the specified IAM+-- OpenID Connect provider. For more information, see 'CreateOpenIDConnectProvider'+-- . goidcprThumbprintList :: Lens' GetOpenIDConnectProviderResponse [Text] goidcprThumbprintList = lens _goidcprThumbprintList (\s a -> s { _goidcprThumbprintList = a }) . _List -- | The URL that the IAM OpenID Connect provider is associated with. For more--- information, see CreateOpenIDConnectProvider.+-- information, see 'CreateOpenIDConnectProvider'. goidcprUrl :: Lens' GetOpenIDConnectProviderResponse (Maybe Text) goidcprUrl = lens _goidcprUrl (\s a -> s { _goidcprUrl = a })
gen/Network/AWS/IAM/GetRole.hs view
@@ -22,10 +22,10 @@ -- | Retrieves information about the specified role, including the role's path, -- GUID, ARN, and the policy granting permission to assume the role. For more--- information about ARNs, go to ARNs. For more information about roles, go to--- Working with Roles. 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.+-- information about ARNs, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html#Identifiers_ARNs ARNs>. For more information about roles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html Working with Roles>.+--+-- 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 http://www.faqs.org/rfcs/rfc3986.html>. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_GetRole.html> module Network.AWS.IAM.GetRole
gen/Network/AWS/IAM/GetRolePolicy.hs view
@@ -21,9 +21,10 @@ -- Portability : non-portable (GHC extensions) -- | Retrieves the specified policy document for the specified role. For more--- information about roles, go to Working with Roles. 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.+-- information about roles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html Working with Roles>.+--+-- 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 http://www.faqs.org/rfcs/rfc3986.html>. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_GetRolePolicy.html> module Network.AWS.IAM.GetRolePolicy
gen/Network/AWS/IAM/GetSAMLProvider.hs view
@@ -64,16 +64,15 @@ { _gsamlpSAMLProviderArn = p1 } --- | The Amazon Resource Name (ARN) of the SAML provider to get information--- about.+-- | The Amazon Resource Name (ARN) of the SAML provider to get information about. gsamlpSAMLProviderArn :: Lens' GetSAMLProvider Text gsamlpSAMLProviderArn = lens _gsamlpSAMLProviderArn (\s a -> s { _gsamlpSAMLProviderArn = a }) data GetSAMLProviderResponse = GetSAMLProviderResponse- { _gsamlprCreateDate :: Maybe RFC822+ { _gsamlprCreateDate :: Maybe ISO8601 , _gsamlprSAMLMetadataDocument :: Maybe Text- , _gsamlprValidUntil :: Maybe RFC822+ , _gsamlprValidUntil :: Maybe ISO8601 } deriving (Eq, Ord, Show) -- | 'GetSAMLProviderResponse' constructor.
gen/Network/AWS/IAM/GetServerCertificate.hs view
@@ -61,8 +61,7 @@ { _gscServerCertificateName = p1 } --- | The name of the server certificate you want to retrieve information--- about.+-- | The name of the server certificate you want to retrieve information about. gscServerCertificateName :: Lens' GetServerCertificate Text gscServerCertificateName = lens _gscServerCertificateName
gen/Network/AWS/IAM/GetUser.hs view
@@ -20,11 +20,12 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Retrieves information about the specified user, including the user's--- creation date, path, unique ID, and ARN. If you do not specify a user name,--- IAM determines the user name implicitly based on the AWS access key ID used--- to sign the request.+-- | Retrieves information about the specified user, including the user's creation+-- date, path, unique ID, and ARN. --+-- If you do not specify a user name, IAM determines the user name implicitly+-- based on the AWS access key ID used to sign the request.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_GetUser.html> module Network.AWS.IAM.GetUser (@@ -63,9 +64,10 @@ { _guUserName = Nothing } --- | The name of the user to get information about. This parameter is--- optional. If it is not included, it defaults to the user making the--- request.+-- | The name of the user to get information about.+--+-- This parameter is optional. If it is not included, it defaults to the user+-- making the request. guUserName :: Lens' GetUser (Maybe Text) guUserName = lens _guUserName (\s a -> s { _guUserName = a })
gen/Network/AWS/IAM/GetUserPolicy.hs view
@@ -20,9 +20,9 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Retrieves the specified policy document for the specified user. 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.+-- | Retrieves the specified policy document for the specified user. 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 http://www.faqs.org/rfcs/rfc3986.html>. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_GetUserPolicy.html> module Network.AWS.IAM.GetUserPolicy
gen/Network/AWS/IAM/ListAccessKeys.hs view
@@ -21,14 +21,17 @@ -- Portability : non-portable (GHC extensions) -- | Returns information about the access key IDs associated with the specified--- user. If there are none, the action returns an empty list. Although each--- user is limited to a small number of keys, you can still paginate the--- results using the MaxItems and Marker parameters. If the UserName field is--- not specified, the UserName is determined implicitly based on the AWS--- access key ID used to sign the request. Because this action works for--- access keys under the AWS account, you can use this action to manage root--- credentials even if the AWS account has no associated users.+-- user. If there are none, the action returns an empty list. --+-- Although each user is limited to a small number of keys, you can still+-- paginate the results using the 'MaxItems' and 'Marker' parameters.+--+-- If the 'UserName' field is not specified, the UserName is determined+-- implicitly based on the AWS access key ID used to sign the request. Because+-- this action works for access keys under the AWS account, you can use this+-- action to manage root credentials even if the AWS account has no associated+-- users.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAccessKeys.html> module Network.AWS.IAM.ListAccessKeys (@@ -80,16 +83,15 @@ } -- | Use this parameter only when paginating results, and only in a subsequent--- request after you've received a response where the results are truncated.--- Set it to the value of the Marker element in the response you just--- received.+-- request after you've received a response where the results are truncated. Set+-- it to the value of the 'Marker' element in the response you just received. lakMarker :: Lens' ListAccessKeys (Maybe Text) lakMarker = lens _lakMarker (\s a -> s { _lakMarker = a }) -- | Use this parameter only when paginating results to indicate the maximum--- number of keys you want in the response. If there are additional keys--- beyond the maximum you specify, the IsTruncated response element is true.--- This parameter is optional. If you do not include it, it defaults to 100.+-- number of keys you want in the response. If there are additional keys beyond+-- the maximum you specify, the 'IsTruncated' response element is 'true'. This+-- parameter is optional. If you do not include it, it defaults to 100. lakMaxItems :: Lens' ListAccessKeys (Maybe Natural) lakMaxItems = lens _lakMaxItems (\s a -> s { _lakMaxItems = a }) . mapping _Nat @@ -126,14 +128,14 @@ lens _lakrAccessKeyMetadata (\s a -> s { _lakrAccessKeyMetadata = a }) . _List --- | A flag that indicates whether there are more keys to list. If your--- results were truncated, you can make a subsequent pagination request--- using the Marker request parameter to retrieve more keys in the list.+-- | A flag that indicates whether there are more keys to list. If your results+-- were truncated, you can make a subsequent pagination request using the 'Marker'+-- request parameter to retrieve more keys in the list. lakrIsTruncated :: Lens' ListAccessKeysResponse (Maybe Bool) lakrIsTruncated = lens _lakrIsTruncated (\s a -> s { _lakrIsTruncated = a }) --- | If IsTruncated is true, this element is present and contains the value to--- use for the Marker parameter in a subsequent pagination request.+-- | If 'IsTruncated' is 'true', this element is present and contains the value to+-- use for the 'Marker' parameter in a subsequent pagination request. lakrMarker :: Lens' ListAccessKeysResponse (Maybe Text) lakrMarker = lens _lakrMarker (\s a -> s { _lakrMarker = a })
gen/Network/AWS/IAM/ListAccountAliases.hs view
@@ -20,11 +20,11 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Lists the account aliases associated with the account. For information--- about using an AWS account alias, see Using an Alias for Your AWS Account--- ID in the Using IAM guide. You can paginate the results using the MaxItems--- and Marker parameters.+-- | Lists the account aliases associated with the account. For information about+-- using an AWS account alias, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/AccountAlias.html Using an Alias for Your AWS Account ID> in the /Using IAM/ guide. --+-- You can paginate the results using the 'MaxItems' and 'Marker' parameters.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAccountAliases.html> module Network.AWS.IAM.ListAccountAliases (@@ -71,16 +71,14 @@ } -- | Use this only when paginating results, and only in a subsequent request--- after you've received a response where the results are truncated. Set it--- to the value of the Marker element in the response you just received.+-- after you've received a response where the results are truncated. Set it to+-- the value of the 'Marker' element in the response you just received. laaMarker :: Lens' ListAccountAliases (Maybe Text) laaMarker = lens _laaMarker (\s a -> s { _laaMarker = a }) -- | Use this only when paginating results to indicate the maximum number of -- account aliases you want in the response. If there are additional account--- aliases beyond the maximum you specify, the IsTruncated response element--- is true. This parameter is optional. If you do not include it, it--- defaults to 100.+-- aliases beyond the maximum you specify, the 'IsTruncated' response element is 'true'. This parameter is optional. If you do not include it, it defaults to 100. laaMaxItems :: Lens' ListAccountAliases (Maybe Natural) laaMaxItems = lens _laaMaxItems (\s a -> s { _laaMaxItems = a }) . mapping _Nat @@ -115,14 +113,14 @@ -- | A flag that indicates whether there are more account aliases to list. If -- your results were truncated, you can make a subsequent pagination request--- using the Marker request parameter to retrieve more account aliases in--- the list.+-- using the 'Marker' request parameter to retrieve more account aliases in the+-- list. laarIsTruncated :: Lens' ListAccountAliasesResponse (Maybe Bool) laarIsTruncated = lens _laarIsTruncated (\s a -> s { _laarIsTruncated = a }) -- | Use this only when paginating results, and only in a subsequent request--- after you've received a response where the results are truncated. Set it--- to the value of the Marker element in the response you just received.+-- after you've received a response where the results are truncated. Set it to+-- the value of the 'Marker' element in the response you just received. laarMarker :: Lens' ListAccountAliasesResponse (Maybe Text) laarMarker = lens _laarMarker (\s a -> s { _laarMarker = a })
gen/Network/AWS/IAM/ListGroupPolicies.hs view
@@ -21,9 +21,10 @@ -- Portability : non-portable (GHC extensions) -- | Lists the names of the policies associated with the specified group. If--- there are none, the action returns an empty list. You can paginate the--- results using the MaxItems and Marker parameters.+-- there are none, the action returns an empty list. --+-- You can paginate the results using the 'MaxItems' and 'Marker' parameters.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_ListGroupPolicies.html> module Network.AWS.IAM.ListGroupPolicies (@@ -80,16 +81,15 @@ lgpGroupName = lens _lgpGroupName (\s a -> s { _lgpGroupName = a }) -- | Use this only when paginating results, and only in a subsequent request--- after you've received a response where the results are truncated. Set it--- to the value of the Marker element in the response you just received.+-- after you've received a response where the results are truncated. Set it to+-- the value of the 'Marker' element in the response you just received. lgpMarker :: Lens' ListGroupPolicies (Maybe Text) lgpMarker = lens _lgpMarker (\s a -> s { _lgpMarker = a }) -- | Use this only when paginating results to indicate the maximum number of--- policy names you want in the response. If there are additional policy--- names beyond the maximum you specify, the IsTruncated response element is--- true. This parameter is optional. If you do not include it, it defaults--- to 100.+-- policy names you want in the response. If there are additional policy names+-- beyond the maximum you specify, the 'IsTruncated' response element is 'true'.+-- This parameter is optional. If you do not include it, it defaults to 100. lgpMaxItems :: Lens' ListGroupPolicies (Maybe Natural) lgpMaxItems = lens _lgpMaxItems (\s a -> s { _lgpMaxItems = a }) . mapping _Nat @@ -116,15 +116,14 @@ , _lgprMarker = Nothing } --- | A flag that indicates whether there are more policy names to list. If--- your results were truncated, you can make a subsequent pagination request--- using the Marker request parameter to retrieve more policy names in the--- list.+-- | A flag that indicates whether there are more policy names to list. If your+-- results were truncated, you can make a subsequent pagination request using+-- the 'Marker' request parameter to retrieve more policy names in the list. lgprIsTruncated :: Lens' ListGroupPoliciesResponse (Maybe Bool) lgprIsTruncated = lens _lgprIsTruncated (\s a -> s { _lgprIsTruncated = a }) --- | If IsTruncated is true, this element is present and contains the value to--- use for the Marker parameter in a subsequent pagination request.+-- | If 'IsTruncated' is 'true', this element is present and contains the value to+-- use for the 'Marker' parameter in a subsequent pagination request. lgprMarker :: Lens' ListGroupPoliciesResponse (Maybe Text) lgprMarker = lens _lgprMarker (\s a -> s { _lgprMarker = a })
gen/Network/AWS/IAM/ListGroups.hs view
@@ -20,9 +20,10 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Lists the groups that have the specified path prefix. You can paginate the--- results using the MaxItems and Marker parameters.+-- | Lists the groups that have the specified path prefix. --+-- You can paginate the results using the 'MaxItems' and 'Marker' parameters.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_ListGroups.html> module Network.AWS.IAM.ListGroups (@@ -74,22 +75,22 @@ } -- | Use this only when paginating results, and only in a subsequent request--- after you've received a response where the results are truncated. Set it--- to the value of the Marker element in the response you just received.+-- after you've received a response where the results are truncated. Set it to+-- the value of the 'Marker' element in the response you just received. lgMarker :: Lens' ListGroups (Maybe Text) lgMarker = lens _lgMarker (\s a -> s { _lgMarker = a }) -- | Use this only when paginating results to indicate the maximum number of--- groups you want in the response. If there are additional groups beyond--- the maximum you specify, the IsTruncated response element is true. This--- parameter is optional. If you do not include it, it defaults to 100.+-- groups you want in the response. If there are additional groups beyond the+-- maximum you specify, the 'IsTruncated' response element is 'true'. This parameter+-- is optional. If you do not include it, it defaults to 100. lgMaxItems :: Lens' ListGroups (Maybe Natural) lgMaxItems = lens _lgMaxItems (\s a -> s { _lgMaxItems = a }) . mapping _Nat --- | The path prefix for filtering the results. For example, the prefix--- /division_abc/subdivision_xyz/ gets all groups whose path starts with--- /division_abc/subdivision_xyz/. This parameter is optional. If it is not--- included, it defaults to a slash (/), listing all groups.+-- | The path prefix for filtering the results. For example, the prefix '/division_abc/subdivision_xyz/' gets all groups whose path starts with '/division_abc/subdivision_xyz/'.+--+-- This parameter is optional. If it is not included, it defaults to a slash+-- (/), listing all groups. lgPathPrefix :: Lens' ListGroups (Maybe Text) lgPathPrefix = lens _lgPathPrefix (\s a -> s { _lgPathPrefix = a }) @@ -120,14 +121,14 @@ lgrGroups :: Lens' ListGroupsResponse [Group] lgrGroups = lens _lgrGroups (\s a -> s { _lgrGroups = a }) . _List --- | A flag that indicates whether there are more groups to list. If your--- results were truncated, you can make a subsequent pagination request--- using the Marker request parameter to retrieve more groups in the list.+-- | A flag that indicates whether there are more groups to list. If your results+-- were truncated, you can make a subsequent pagination request using the 'Marker'+-- request parameter to retrieve more groups in the list. lgrIsTruncated :: Lens' ListGroupsResponse (Maybe Bool) lgrIsTruncated = lens _lgrIsTruncated (\s a -> s { _lgrIsTruncated = a }) --- | If IsTruncated is true, this element is present and contains the value to--- use for the Marker parameter in a subsequent pagination request.+-- | If 'IsTruncated' is 'true', this element is present and contains the value to+-- use for the 'Marker' parameter in a subsequent pagination request. lgrMarker :: Lens' ListGroupsResponse (Maybe Text) lgrMarker = lens _lgrMarker (\s a -> s { _lgrMarker = a })
gen/Network/AWS/IAM/ListGroupsForUser.hs view
@@ -20,9 +20,10 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Lists the groups the specified user belongs to. You can paginate the--- results using the MaxItems and Marker parameters.+-- | Lists the groups the specified user belongs to. --+-- You can paginate the results using the 'MaxItems' and 'Marker' parameters.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_ListGroupsForUser.html> module Network.AWS.IAM.ListGroupsForUser (@@ -75,15 +76,15 @@ } -- | Use this only when paginating results, and only in a subsequent request--- after you've received a response where the results are truncated. Set it--- to the value of the Marker element in the response you just received.+-- after you've received a response where the results are truncated. Set it to+-- the value of the 'Marker' element in the response you just received. lgfuMarker :: Lens' ListGroupsForUser (Maybe Text) lgfuMarker = lens _lgfuMarker (\s a -> s { _lgfuMarker = a }) -- | Use this only when paginating results to indicate the maximum number of--- groups you want in the response. If there are additional groups beyond--- the maximum you specify, the IsTruncated response element is true. This--- parameter is optional. If you do not include it, it defaults to 100.+-- groups you want in the response. If there are additional groups beyond the+-- maximum you specify, the 'IsTruncated' response element is 'true'. This parameter+-- is optional. If you do not include it, it defaults to 100. lgfuMaxItems :: Lens' ListGroupsForUser (Maybe Natural) lgfuMaxItems = lens _lgfuMaxItems (\s a -> s { _lgfuMaxItems = a }) . mapping _Nat @@ -118,14 +119,14 @@ lgfurGroups :: Lens' ListGroupsForUserResponse [Group] lgfurGroups = lens _lgfurGroups (\s a -> s { _lgfurGroups = a }) . _List --- | A flag that indicates whether there are more groups to list. If your--- results were truncated, you can make a subsequent pagination request--- using the Marker request parameter to retrieve more groups in the list.+-- | A flag that indicates whether there are more groups to list. If your results+-- were truncated, you can make a subsequent pagination request using the 'Marker'+-- request parameter to retrieve more groups in the list. lgfurIsTruncated :: Lens' ListGroupsForUserResponse (Maybe Bool) lgfurIsTruncated = lens _lgfurIsTruncated (\s a -> s { _lgfurIsTruncated = a }) --- | If IsTruncated is true, this element is present and contains the value to--- use for the Marker parameter in a subsequent pagination request.+-- | If 'IsTruncated' is 'true', this element is present and contains the value to+-- use for the 'Marker' parameter in a subsequent pagination request. lgfurMarker :: Lens' ListGroupsForUserResponse (Maybe Text) lgfurMarker = lens _lgfurMarker (\s a -> s { _lgfurMarker = a })
gen/Network/AWS/IAM/ListInstanceProfiles.hs view
@@ -22,9 +22,10 @@ -- | Lists the instance profiles that have the specified path prefix. If there -- are none, the action returns an empty list. For more information about--- instance profiles, go to About Instance Profiles. You can paginate the--- results using the MaxItems and Marker parameters.+-- instance profiles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html About Instance Profiles>. --+-- You can paginate the results using the 'MaxItems' and 'Marker' parameters.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_ListInstanceProfiles.html> module Network.AWS.IAM.ListInstanceProfiles (@@ -76,25 +77,23 @@ } -- | Use this parameter only when paginating results, and only in a subsequent--- request after you've received a response where the results are truncated.--- Set it to the value of the Marker element in the response you just--- received.+-- request after you've received a response where the results are truncated. Set+-- it to the value of the 'Marker' element in the response you just received. lipMarker :: Lens' ListInstanceProfiles (Maybe Text) lipMarker = lens _lipMarker (\s a -> s { _lipMarker = a }) -- | Use this parameter only when paginating results to indicate the maximum--- number of instance profiles you want in the response. If there are--- additional instance profiles beyond the maximum you specify, the--- IsTruncated response element is true. This parameter is optional. If you--- do not include it, it defaults to 100.+-- number of instance profiles you want in the response. If there are additional+-- instance profiles beyond the maximum you specify, the 'IsTruncated' response+-- element is 'true'. This parameter is optional. If you do not include it, it+-- defaults to 100. lipMaxItems :: Lens' ListInstanceProfiles (Maybe Natural) lipMaxItems = lens _lipMaxItems (\s a -> s { _lipMaxItems = a }) . mapping _Nat --- | The path prefix for filtering the results. For example, the prefix--- /application_abc/component_xyz/ gets all instance profiles whose path--- starts with /application_abc/component_xyz/. This parameter is optional.--- If it is not included, it defaults to a slash (/), listing all instance--- profiles.+-- | The path prefix for filtering the results. For example, the prefix '/application_abc/component_xyz/' gets all instance profiles whose path starts with '/application_abc/component_xyz/'.+--+-- This parameter is optional. If it is not included, it defaults to a slash+-- (/), listing all instance profiles. lipPathPrefix :: Lens' ListInstanceProfiles (Maybe Text) lipPathPrefix = lens _lipPathPrefix (\s a -> s { _lipPathPrefix = a }) @@ -127,15 +126,15 @@ lens _liprInstanceProfiles (\s a -> s { _liprInstanceProfiles = a }) . _List --- | A flag that indicates whether there are more instance profiles to list.--- If your results were truncated, you can make a subsequent pagination--- request using the Marker request parameter to retrieve more instance--- profiles in the list.+-- | A flag that indicates whether there are more instance profiles to list. If+-- your results were truncated, you can make a subsequent pagination request+-- using the 'Marker' request parameter to retrieve more instance profiles in the+-- list. liprIsTruncated :: Lens' ListInstanceProfilesResponse (Maybe Bool) liprIsTruncated = lens _liprIsTruncated (\s a -> s { _liprIsTruncated = a }) --- | If IsTruncated is true, this element is present and contains the value to--- use for the Marker parameter in a subsequent pagination request.+-- | If 'IsTruncated' is 'true', this element is present and contains the value to+-- use for the 'Marker' parameter in a subsequent pagination request. liprMarker :: Lens' ListInstanceProfilesResponse (Maybe Text) liprMarker = lens _liprMarker (\s a -> s { _liprMarker = a })
gen/Network/AWS/IAM/ListInstanceProfilesForRole.hs view
@@ -21,10 +21,11 @@ -- Portability : non-portable (GHC extensions) -- | Lists the instance profiles that have the specified associated role. If--- there are none, the action returns an empty list. For more information--- about instance profiles, go to About Instance Profiles. You can paginate--- the results using the MaxItems and Marker parameters.+-- there are none, the action returns an empty list. For more information about+-- instance profiles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html About Instance Profiles>. --+-- You can paginate the results using the 'MaxItems' and 'Marker' parameters.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_ListInstanceProfilesForRole.html> module Network.AWS.IAM.ListInstanceProfilesForRole (@@ -77,17 +78,16 @@ } -- | Use this parameter only when paginating results, and only in a subsequent--- request after you've received a response where the results are truncated.--- Set it to the value of the Marker element in the response you just--- received.+-- request after you've received a response where the results are truncated. Set+-- it to the value of the 'Marker' element in the response you just received. lipfrMarker :: Lens' ListInstanceProfilesForRole (Maybe Text) lipfrMarker = lens _lipfrMarker (\s a -> s { _lipfrMarker = a }) -- | Use this parameter only when paginating results to indicate the maximum--- number of instance profiles you want in the response. If there are--- additional instance profiles beyond the maximum you specify, the--- IsTruncated response element is true. This parameter is optional. If you--- do not include it, it defaults to 100.+-- number of instance profiles you want in the response. If there are additional+-- instance profiles beyond the maximum you specify, the 'IsTruncated' response+-- element is 'true'. This parameter is optional. If you do not include it, it+-- defaults to 100. lipfrMaxItems :: Lens' ListInstanceProfilesForRole (Maybe Natural) lipfrMaxItems = lens _lipfrMaxItems (\s a -> s { _lipfrMaxItems = a }) . mapping _Nat @@ -124,16 +124,16 @@ lens _lipfrrInstanceProfiles (\s a -> s { _lipfrrInstanceProfiles = a }) . _List --- | A flag that indicates whether there are more instance profiles to list.--- If your results were truncated, you can make a subsequent pagination--- request using the Marker request parameter to retrieve more instance--- profiles in the list.+-- | A flag that indicates whether there are more instance profiles to list. If+-- your results were truncated, you can make a subsequent pagination request+-- using the 'Marker' request parameter to retrieve more instance profiles in the+-- list. lipfrrIsTruncated :: Lens' ListInstanceProfilesForRoleResponse (Maybe Bool) lipfrrIsTruncated = lens _lipfrrIsTruncated (\s a -> s { _lipfrrIsTruncated = a }) --- | If IsTruncated is true, this element is present and contains the value to--- use for the Marker parameter in a subsequent pagination request.+-- | If 'IsTruncated' is 'true', this element is present and contains the value to+-- use for the 'Marker' parameter in a subsequent pagination request. lipfrrMarker :: Lens' ListInstanceProfilesForRoleResponse (Maybe Text) lipfrrMarker = lens _lipfrrMarker (\s a -> s { _lipfrrMarker = a })
gen/Network/AWS/IAM/ListMFADevices.hs view
@@ -21,11 +21,12 @@ -- Portability : non-portable (GHC extensions) -- | Lists the MFA devices. If the request includes the user name, then this--- action lists all the MFA devices associated with the specified user name.--- If you do not specify a user name, IAM determines the user name implicitly--- based on the AWS access key ID signing the request. You can paginate the--- results using the MaxItems and Marker parameters.+-- action lists all the MFA devices associated with the specified user name. If+-- you do not specify a user name, IAM determines the user name implicitly based+-- on the AWS access key ID signing the request. --+-- You can paginate the results using the 'MaxItems' and 'Marker' parameters.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_ListMFADevices.html> module Network.AWS.IAM.ListMFADevices (@@ -77,15 +78,15 @@ } -- | Use this only when paginating results, and only in a subsequent request--- after you've received a response where the results are truncated. Set it--- to the value of the Marker element in the response you just received.+-- after you've received a response where the results are truncated. Set it to+-- the value of the 'Marker' element in the response you just received. lmfadMarker :: Lens' ListMFADevices (Maybe Text) lmfadMarker = lens _lmfadMarker (\s a -> s { _lmfadMarker = a }) --- | Use this only when paginating results to indicate the maximum number of--- MFA devices you want in the response. If there are additional MFA devices--- beyond the maximum you specify, the IsTruncated response element is true.--- This parameter is optional. If you do not include it, it defaults to 100.+-- | Use this only when paginating results to indicate the maximum number of MFA+-- devices you want in the response. If there are additional MFA devices beyond+-- the maximum you specify, the 'IsTruncated' response element is 'true'. This+-- parameter is optional. If you do not include it, it defaults to 100. lmfadMaxItems :: Lens' ListMFADevices (Maybe Natural) lmfadMaxItems = lens _lmfadMaxItems (\s a -> s { _lmfadMaxItems = a }) . mapping _Nat @@ -117,9 +118,8 @@ } -- | A flag that indicates whether there are more MFA devices to list. If your--- results were truncated, you can make a subsequent pagination request--- using the Marker request parameter to retrieve more MFA devices in the--- list.+-- results were truncated, you can make a subsequent pagination request using+-- the 'Marker' request parameter to retrieve more MFA devices in the list. lmfadrIsTruncated :: Lens' ListMFADevicesResponse (Maybe Bool) lmfadrIsTruncated = lens _lmfadrIsTruncated (\s a -> s { _lmfadrIsTruncated = a })@@ -128,8 +128,8 @@ lmfadrMFADevices :: Lens' ListMFADevicesResponse [MFADevice] lmfadrMFADevices = lens _lmfadrMFADevices (\s a -> s { _lmfadrMFADevices = a }) . _List --- | If IsTruncated is true, this element is present and contains the value to--- use for the Marker parameter in a subsequent pagination request.+-- | If 'IsTruncated' is 'true', this element is present and contains the value to+-- use for the 'Marker' parameter in a subsequent pagination request. lmfadrMarker :: Lens' ListMFADevicesResponse (Maybe Text) lmfadrMarker = lens _lmfadrMarker (\s a -> s { _lmfadrMarker = a })
gen/Network/AWS/IAM/ListRolePolicies.hs view
@@ -20,10 +20,11 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Lists the names of the policies associated with the specified role. If--- there are none, the action returns an empty list. You can paginate the--- results using the MaxItems and Marker parameters.+-- | Lists the names of the policies associated with the specified role. If there+-- are none, the action returns an empty list. --+-- You can paginate the results using the 'MaxItems' and 'Marker' parameters.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_ListRolePolicies.html> module Network.AWS.IAM.ListRolePolicies (@@ -76,16 +77,15 @@ } -- | Use this parameter only when paginating results, and only in a subsequent--- request after you've received a response where the results are truncated.--- Set it to the value of the Marker element in the response you just--- received.+-- request after you've received a response where the results are truncated. Set+-- it to the value of the 'Marker' element in the response you just received. lrpMarker :: Lens' ListRolePolicies (Maybe Text) lrpMarker = lens _lrpMarker (\s a -> s { _lrpMarker = a }) -- | Use this parameter only when paginating results to indicate the maximum -- number of role policies you want in the response. If there are additional--- role policies beyond the maximum you specify, the IsTruncated response--- element is true. This parameter is optional. If you do not include it, it+-- role policies beyond the maximum you specify, the 'IsTruncated' response+-- element is 'true'. This parameter is optional. If you do not include it, it -- defaults to 100. lrpMaxItems :: Lens' ListRolePolicies (Maybe Natural) lrpMaxItems = lens _lrpMaxItems (\s a -> s { _lrpMaxItems = a }) . mapping _Nat@@ -117,15 +117,14 @@ , _lrprMarker = Nothing } --- | A flag that indicates whether there are more policy names to list. If--- your results were truncated, you can make a subsequent pagination request--- using the Marker request parameter to retrieve more policy names in the--- list.+-- | A flag that indicates whether there are more policy names to list. If your+-- results were truncated, you can make a subsequent pagination request using+-- the 'Marker' request parameter to retrieve more policy names in the list. lrprIsTruncated :: Lens' ListRolePoliciesResponse (Maybe Bool) lrprIsTruncated = lens _lrprIsTruncated (\s a -> s { _lrprIsTruncated = a }) --- | If IsTruncated is true, this element is present and contains the value to--- use for the Marker parameter in a subsequent pagination request.+-- | If 'IsTruncated' is 'true', this element is present and contains the value to+-- use for the 'Marker' parameter in a subsequent pagination request. lrprMarker :: Lens' ListRolePoliciesResponse (Maybe Text) lrprMarker = lens _lrprMarker (\s a -> s { _lrprMarker = a })
gen/Network/AWS/IAM/ListRoles.hs view
@@ -21,12 +21,13 @@ -- Portability : non-portable (GHC extensions) -- | Lists the roles that have the specified path prefix. If there are none, the--- action returns an empty list. For more information about roles, go to--- Working with Roles. You can paginate the results using the MaxItems and--- Marker parameters. 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.+-- action returns an empty list. For more information about roles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html Workingwith Roles>. --+-- You can paginate the results using the 'MaxItems' and 'Marker' parameters.+--+-- 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 http://www.faqs.org/rfcs/rfc3986.html>.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_ListRoles.html> module Network.AWS.IAM.ListRoles (@@ -78,23 +79,22 @@ } -- | Use this parameter only when paginating results, and only in a subsequent--- request after you've received a response where the results are truncated.--- Set it to the value of the Marker element in the response you just--- received.+-- request after you've received a response where the results are truncated. Set+-- it to the value of the 'Marker' element in the response you just received. lrMarker :: Lens' ListRoles (Maybe Text) lrMarker = lens _lrMarker (\s a -> s { _lrMarker = a }) -- | Use this parameter only when paginating results to indicate the maximum -- number of roles you want in the response. If there are additional roles--- beyond the maximum you specify, the IsTruncated response element is true.+-- beyond the maximum you specify, the 'IsTruncated' response element is 'true'. -- This parameter is optional. If you do not include it, it defaults to 100. lrMaxItems :: Lens' ListRoles (Maybe Natural) lrMaxItems = lens _lrMaxItems (\s a -> s { _lrMaxItems = a }) . mapping _Nat --- | The path prefix for filtering the results. For example, the prefix--- /application_abc/component_xyz/ gets all roles whose path starts with--- /application_abc/component_xyz/. This parameter is optional. If it is not--- included, it defaults to a slash (/), listing all roles.+-- | The path prefix for filtering the results. For example, the prefix '/application_abc/component_xyz/' gets all roles whose path starts with '/application_abc/component_xyz/'.+--+-- This parameter is optional. If it is not included, it defaults to a slash+-- (/), listing all roles. lrPathPrefix :: Lens' ListRoles (Maybe Text) lrPathPrefix = lens _lrPathPrefix (\s a -> s { _lrPathPrefix = a }) @@ -121,14 +121,14 @@ , _lrrMarker = Nothing } --- | A flag that indicates whether there are more roles to list. If your--- results were truncated, you can make a subsequent pagination request--- using the Marker request parameter to retrieve more roles in the list.+-- | A flag that indicates whether there are more roles to list. If your results+-- were truncated, you can make a subsequent pagination request using the 'Marker'+-- request parameter to retrieve more roles in the list. lrrIsTruncated :: Lens' ListRolesResponse (Maybe Bool) lrrIsTruncated = lens _lrrIsTruncated (\s a -> s { _lrrIsTruncated = a }) --- | If IsTruncated is true, this element is present and contains the value to--- use for the Marker parameter in a subsequent pagination request.+-- | If 'IsTruncated' is 'true', this element is present and contains the value to+-- use for the 'Marker' parameter in a subsequent pagination request. lrrMarker :: Lens' ListRolesResponse (Maybe Text) lrrMarker = lens _lrrMarker (\s a -> s { _lrrMarker = a })
gen/Network/AWS/IAM/ListServerCertificates.hs view
@@ -21,9 +21,10 @@ -- Portability : non-portable (GHC extensions) -- | Lists the server certificates that have the specified path prefix. If none--- exist, the action returns an empty list. You can paginate the results using--- the MaxItems and Marker parameters.+-- exist, the action returns an empty list. --+-- You can paginate the results using the 'MaxItems' and 'Marker' parameters.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_ListServerCertificates.html> module Network.AWS.IAM.ListServerCertificates (@@ -75,24 +76,24 @@ } -- | Use this only when paginating results, and only in a subsequent request--- after you've received a response where the results are truncated. Set it--- to the value of the Marker element in the response you just received.+-- after you've received a response where the results are truncated. Set it to+-- the value of the 'Marker' element in the response you just received. lscMarker :: Lens' ListServerCertificates (Maybe Text) lscMarker = lens _lscMarker (\s a -> s { _lscMarker = a }) -- | Use this only when paginating results to indicate the maximum number of--- server certificates you want in the response. If there are additional--- server certificates beyond the maximum you specify, the IsTruncated--- response element will be set to true. This parameter is optional. If you--- do not include it, it defaults to 100.+-- server certificates you want in the response. If there are additional server+-- certificates beyond the maximum you specify, the 'IsTruncated' response element+-- will be set to 'true'. This parameter is optional. If you do not include it, it+-- defaults to 100. lscMaxItems :: Lens' ListServerCertificates (Maybe Natural) lscMaxItems = lens _lscMaxItems (\s a -> s { _lscMaxItems = a }) . mapping _Nat --- | The path prefix for filtering the results. For example:--- /company/servercerts would get all server certificates for which the path--- starts with /company/servercerts. This parameter is optional. If it is--- not included, it defaults to a slash (/), listing all server--- certificates.+-- | The path prefix for filtering the results. For example: '/company/servercerts'+-- would get all server certificates for which the path starts with '/company/servercerts'.+--+-- This parameter is optional. If it is not included, it defaults to a slash+-- (/), listing all server certificates. lscPathPrefix :: Lens' ListServerCertificates (Maybe Text) lscPathPrefix = lens _lscPathPrefix (\s a -> s { _lscPathPrefix = a }) @@ -119,15 +120,15 @@ , _lscrMarker = Nothing } --- | A flag that indicates whether there are more server certificates to list.--- If your results were truncated, you can make a subsequent pagination--- request using the Marker request parameter to retrieve more server--- certificates in the list.+-- | A flag that indicates whether there are more server certificates to list. If+-- your results were truncated, you can make a subsequent pagination request+-- using the 'Marker' request parameter to retrieve more server certificates in+-- the list. lscrIsTruncated :: Lens' ListServerCertificatesResponse (Maybe Bool) lscrIsTruncated = lens _lscrIsTruncated (\s a -> s { _lscrIsTruncated = a }) --- | If IsTruncated is true, this element is present and contains the value to--- use for the Marker parameter in a subsequent pagination request.+-- | If 'IsTruncated' is 'true', this element is present and contains the value to+-- use for the 'Marker' parameter in a subsequent pagination request. lscrMarker :: Lens' ListServerCertificatesResponse (Maybe Text) lscrMarker = lens _lscrMarker (\s a -> s { _lscrMarker = a })
gen/Network/AWS/IAM/ListSigningCertificates.hs view
@@ -22,14 +22,16 @@ -- | Returns information about the signing certificates associated with the -- specified user. If there are none, the action returns an empty list.+-- -- Although each user is limited to a small number of signing certificates,--- you can still paginate the results using the MaxItems and Marker--- parameters. If the UserName field is not specified, the user name is--- determined implicitly based on the AWS access key ID used to sign the--- request. Because this action works for access keys under the AWS account,--- you can use this action to manage root credentials even if the AWS account--- has no associated users.+-- you can still paginate the results using the 'MaxItems' and 'Marker' parameters. --+-- If the 'UserName' field is not specified, the user name is determined+-- implicitly based on the AWS access key ID used to sign the request. Because+-- this action works for access keys under the AWS account, you can use this+-- action to manage root credentials even if the AWS account has no associated+-- users.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_ListSigningCertificates.html> module Network.AWS.IAM.ListSigningCertificates (@@ -81,16 +83,15 @@ } -- | Use this only when paginating results, and only in a subsequent request--- after you've received a response where the results are truncated. Set it--- to the value of the Marker element in the response you just received.+-- after you've received a response where the results are truncated. Set it to+-- the value of the 'Marker' element in the response you just received. lsc1Marker :: Lens' ListSigningCertificates (Maybe Text) lsc1Marker = lens _lsc1Marker (\s a -> s { _lsc1Marker = a }) -- | Use this only when paginating results to indicate the maximum number of--- certificate IDs you want in the response. If there are additional--- certificate IDs beyond the maximum you specify, the IsTruncated response--- element is true. This parameter is optional. If you do not include it, it--- defaults to 100.+-- certificate IDs you want in the response. If there are additional certificate+-- IDs beyond the maximum you specify, the 'IsTruncated' response element is 'true'.+-- This parameter is optional. If you do not include it, it defaults to 100. lsc1MaxItems :: Lens' ListSigningCertificates (Maybe Natural) lsc1MaxItems = lens _lsc1MaxItems (\s a -> s { _lsc1MaxItems = a }) . mapping _Nat @@ -129,13 +130,12 @@ -- | A flag that indicates whether there are more certificate IDs to list. If -- your results were truncated, you can make a subsequent pagination request--- using the Marker request parameter to retrieve more certificates in the--- list.+-- using the 'Marker' request parameter to retrieve more certificates in the list. lscr1IsTruncated :: Lens' ListSigningCertificatesResponse (Maybe Bool) lscr1IsTruncated = lens _lscr1IsTruncated (\s a -> s { _lscr1IsTruncated = a }) --- | If IsTruncated is true, this element is present and contains the value to--- use for the Marker parameter in a subsequent pagination request.+-- | If 'IsTruncated' is 'true', this element is present and contains the value to+-- use for the 'Marker' parameter in a subsequent pagination request. lscr1Marker :: Lens' ListSigningCertificatesResponse (Maybe Text) lscr1Marker = lens _lscr1Marker (\s a -> s { _lscr1Marker = a })
gen/Network/AWS/IAM/ListUserPolicies.hs view
@@ -20,10 +20,11 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Lists the names of the policies associated with the specified user. If--- there are none, the action returns an empty list. You can paginate the--- results using the MaxItems and Marker parameters.+-- | Lists the names of the policies associated with the specified user. If there+-- are none, the action returns an empty list. --+-- You can paginate the results using the 'MaxItems' and 'Marker' parameters.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_ListUserPolicies.html> module Network.AWS.IAM.ListUserPolicies (@@ -76,16 +77,15 @@ } -- | Use this only when paginating results, and only in a subsequent request--- after you've received a response where the results are truncated. Set it--- to the value of the Marker element in the response you just received.+-- after you've received a response where the results are truncated. Set it to+-- the value of the 'Marker' element in the response you just received. lupMarker :: Lens' ListUserPolicies (Maybe Text) lupMarker = lens _lupMarker (\s a -> s { _lupMarker = a }) -- | Use this only when paginating results to indicate the maximum number of--- policy names you want in the response. If there are additional policy--- names beyond the maximum you specify, the IsTruncated response element is--- true. This parameter is optional. If you do not include it, it defaults--- to 100.+-- policy names you want in the response. If there are additional policy names+-- beyond the maximum you specify, the 'IsTruncated' response element is 'true'.+-- This parameter is optional. If you do not include it, it defaults to 100. lupMaxItems :: Lens' ListUserPolicies (Maybe Natural) lupMaxItems = lens _lupMaxItems (\s a -> s { _lupMaxItems = a }) . mapping _Nat @@ -116,15 +116,14 @@ , _luprMarker = Nothing } --- | A flag that indicates whether there are more policy names to list. If--- your results were truncated, you can make a subsequent pagination request--- using the Marker request parameter to retrieve more policy names in the--- list.+-- | A flag that indicates whether there are more policy names to list. If your+-- results were truncated, you can make a subsequent pagination request using+-- the 'Marker' request parameter to retrieve more policy names in the list. luprIsTruncated :: Lens' ListUserPoliciesResponse (Maybe Bool) luprIsTruncated = lens _luprIsTruncated (\s a -> s { _luprIsTruncated = a }) --- | If IsTruncated is true, this element is present and contains the value to--- use for the Marker parameter in a subsequent pagination request.+-- | If 'IsTruncated' is 'true', this element is present and contains the value to+-- use for the 'Marker' parameter in a subsequent pagination request. luprMarker :: Lens' ListUserPoliciesResponse (Maybe Text) luprMarker = lens _luprMarker (\s a -> s { _luprMarker = a })
gen/Network/AWS/IAM/ListUsers.hs view
@@ -20,11 +20,12 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Lists the IAM users that have the specified path prefix. If no path prefix--- is specified, the action returns all users in the AWS account. If there are--- none, the action returns an empty list. You can paginate the results using--- the MaxItems and Marker parameters.+-- | Lists the IAM users that have the specified path prefix. If no path prefix is+-- specified, the action returns all users in the AWS account. If there are+-- none, the action returns an empty list. --+-- You can paginate the results using the 'MaxItems' and 'Marker' parameters.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_ListUsers.html> module Network.AWS.IAM.ListUsers (@@ -76,25 +77,22 @@ } -- | Use this parameter only when paginating results, and only in a subsequent--- request after you've received a response where the results are truncated.--- Set it to the value of the Marker element in the response you just--- received.+-- request after you've received a response where the results are truncated. Set+-- it to the value of the 'Marker' element in the response you just received. luMarker :: Lens' ListUsers (Maybe Text) luMarker = lens _luMarker (\s a -> s { _luMarker = a }) -- | Use this parameter only when paginating results to indicate the maximum--- number of user names you want in the response. If there are additional--- user names beyond the maximum you specify, the IsTruncated response--- element is true. This parameter is optional. If you do not include it, it--- defaults to 100.+-- number of user names you want in the response. If there are additional user+-- names beyond the maximum you specify, the 'IsTruncated' response element is 'true'+-- . This parameter is optional. If you do not include it, it defaults to 100. luMaxItems :: Lens' ListUsers (Maybe Natural) luMaxItems = lens _luMaxItems (\s a -> s { _luMaxItems = a }) . mapping _Nat --- | The path prefix for filtering the results. For example:--- /division_abc/subdivision_xyz/, which would get all user names whose path--- starts with /division_abc/subdivision_xyz/. This parameter is optional.--- If it is not included, it defaults to a slash (/), listing all user--- names.+-- | The path prefix for filtering the results. For example: '/division_abc/subdivision_xyz/', which would get all user names whose path starts with '/division_abc/subdivision_xyz/'.+--+-- This parameter is optional. If it is not included, it defaults to a slash+-- (/), listing all user names. luPathPrefix :: Lens' ListUsers (Maybe Text) luPathPrefix = lens _luPathPrefix (\s a -> s { _luPathPrefix = a }) @@ -122,13 +120,13 @@ } -- | A flag that indicates whether there are more user names to list. If your--- results were truncated, you can make a subsequent pagination request--- using the Marker request parameter to retrieve more users in the list.+-- results were truncated, you can make a subsequent pagination request using+-- the 'Marker' request parameter to retrieve more users in the list. lurIsTruncated :: Lens' ListUsersResponse (Maybe Bool) lurIsTruncated = lens _lurIsTruncated (\s a -> s { _lurIsTruncated = a }) --- | If IsTruncated is true, this element is present and contains the value to--- use for the Marker parameter in a subsequent pagination request.+-- | If 'IsTruncated' is 'true', this element is present and contains the value to+-- use for the 'Marker' parameter in a subsequent pagination request. lurMarker :: Lens' ListUsersResponse (Maybe Text) lurMarker = lens _lurMarker (\s a -> s { _lurMarker = a })
gen/Network/AWS/IAM/ListVirtualMFADevices.hs view
@@ -20,11 +20,12 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Lists the virtual MFA devices under the AWS account by assignment status.--- If you do not specify an assignment status, the action returns a list of--- all virtual MFA devices. Assignment status can be Assigned, Unassigned, or--- Any. You can paginate the results using the MaxItems and Marker parameters.+-- | Lists the virtual MFA devices under the AWS account by assignment status. If+-- you do not specify an assignment status, the action returns a list of all+-- virtual MFA devices. Assignment status can be 'Assigned', 'Unassigned', or 'Any'. --+-- You can paginate the results using the 'MaxItems' and 'Marker' parameters.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_ListVirtualMFADevices.html> module Network.AWS.IAM.ListVirtualMFADevices (@@ -76,24 +77,21 @@ } -- | The status (unassigned or assigned) of the devices to list. If you do not--- specify an AssignmentStatus, the action defaults to Any which lists both+-- specify an 'AssignmentStatus', the action defaults to 'Any' which lists both -- assigned and unassigned virtual MFA devices. lvmfadAssignmentStatus :: Lens' ListVirtualMFADevices (Maybe AssignmentStatusType) lvmfadAssignmentStatus = lens _lvmfadAssignmentStatus (\s a -> s { _lvmfadAssignmentStatus = a }) -- | Use this parameter only when paginating results, and only in a subsequent--- request after you've received a response where the results are truncated.--- Set it to the value of the Marker element in the response you just--- received.+-- request after you've received a response where the results are truncated. Set+-- it to the value of the 'Marker' element in the response you just received. lvmfadMarker :: Lens' ListVirtualMFADevices (Maybe Text) lvmfadMarker = lens _lvmfadMarker (\s a -> s { _lvmfadMarker = a }) -- | Use this parameter only when paginating results to indicate the maximum--- number of MFA devices you want in the response. If there are additional--- MFA devices beyond the maximum you specify, the IsTruncated response--- element is true. This parameter is optional. If you do not include it, it--- defaults to 100.+-- number of MFA devices you want in the response. If there are additional MFA+-- devices beyond the maximum you specify, the 'IsTruncated' response element is 'true'. This parameter is optional. If you do not include it, it defaults to 100. lvmfadMaxItems :: Lens' ListVirtualMFADevices (Maybe Natural) lvmfadMaxItems = lens _lvmfadMaxItems (\s a -> s { _lvmfadMaxItems = a }) . mapping _Nat @@ -120,20 +118,19 @@ , _lvmfadrMarker = Nothing } --- | A flag that indicates whether there are more items to list. If your--- results were truncated, you can make a subsequent pagination request--- using the Marker request parameter to retrieve more items the list.+-- | A flag that indicates whether there are more items to list. If your results+-- were truncated, you can make a subsequent pagination request using the 'Marker'+-- request parameter to retrieve more items the list. lvmfadrIsTruncated :: Lens' ListVirtualMFADevicesResponse (Maybe Bool) lvmfadrIsTruncated = lens _lvmfadrIsTruncated (\s a -> s { _lvmfadrIsTruncated = a }) --- | If IsTruncated is true, this element is present and contains the value to--- use for the Marker parameter in a subsequent pagination request.+-- | If 'IsTruncated' is 'true', this element is present and contains the value to+-- use for the 'Marker' parameter in a subsequent pagination request. lvmfadrMarker :: Lens' ListVirtualMFADevicesResponse (Maybe Text) lvmfadrMarker = lens _lvmfadrMarker (\s a -> s { _lvmfadrMarker = a }) --- | The list of virtual MFA devices in the current account that match the--- AssignmentStatus value that was passed in the request.+-- | The list of virtual MFA devices in the current account that match the 'AssignmentStatus' value that was passed in the request. lvmfadrVirtualMFADevices :: Lens' ListVirtualMFADevicesResponse [VirtualMFADevice] lvmfadrVirtualMFADevices = lens _lvmfadrVirtualMFADevices
gen/Network/AWS/IAM/PutGroupPolicy.hs view
@@ -20,11 +20,12 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Adds (or updates) a policy document associated with the specified group.--- For information about policies, refer to Overview of Policies in the Using--- IAM guide. For information about limits on the number of policies you can--- associate with a group, see Limitations on IAM Entities in the Using IAM+-- | Adds (or updates) a policy document associated with the specified group. For+-- information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html Overview of Policies> in the /Using IAM/ -- guide.+--+-- For information about limits on the number of policies you can associate+-- with a group, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on IAM Entities> in the /Using IAM/ guide. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_PutGroupPolicy.html> module Network.AWS.IAM.PutGroupPolicy
gen/Network/AWS/IAM/PutRolePolicy.hs view
@@ -21,9 +21,11 @@ -- Portability : non-portable (GHC extensions) -- | Adds (or updates) a policy document associated with the specified role. For--- information about policies, go to Overview of Policies in the Using IAM--- guide. For information about limits on the policies you can associate with--- a role, see Limitations on IAM Entities in the Using IAM guide.+-- information about policies, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html Overview of Policies> in the /Using IAM/+-- guide.+--+-- For information about limits on the policies you can associate with a role,+-- see <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on IAM Entities> in the /Using IAM/ guide. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_PutRolePolicy.html> module Network.AWS.IAM.PutRolePolicy
gen/Network/AWS/IAM/PutUserPolicy.hs view
@@ -21,10 +21,11 @@ -- Portability : non-portable (GHC extensions) -- | Adds (or updates) a policy document associated with the specified user. For--- information about policies, refer to Overview of Policies in the Using IAM--- guide. For information about limits on the number of policies you can--- associate with a user, see Limitations on IAM Entities in the Using IAM+-- information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html Overview of Policies> in the /Using IAM/ -- guide.+--+-- For information about limits on the number of policies you can associate+-- with a user, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on IAM Entities> in the /Using IAM/ guide. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_PutUserPolicy.html> module Network.AWS.IAM.PutUserPolicy
gen/Network/AWS/IAM/RemoveClientIDFromOpenIDConnectProvider.hs view
@@ -21,8 +21,9 @@ -- Portability : non-portable (GHC extensions) -- | Removes the specified client ID (also known as audience) from the list of--- client IDs registered for the specified IAM OpenID Connect provider. This--- action is idempotent; it does not fail or return an error if you try to+-- client IDs registered for the specified IAM OpenID Connect provider.+--+-- This action is idempotent; it does not fail or return an error if you try to -- remove a client ID that was removed previously. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_RemoveClientIDFromOpenIDConnectProvider.html>@@ -68,16 +69,15 @@ , _rcidfoidcpClientID = p2 } --- | The client ID (also known as audience) to remove from the IAM OpenID--- Connect provider. For more information about client IDs, see--- CreateOpenIDConnectProvider.+-- | The client ID (also known as audience) to remove from the IAM OpenID Connect+-- provider. For more information about client IDs, see 'CreateOpenIDConnectProvider'. rcidfoidcpClientID :: Lens' RemoveClientIDFromOpenIDConnectProvider Text rcidfoidcpClientID = lens _rcidfoidcpClientID (\s a -> s { _rcidfoidcpClientID = a }) --- | The Amazon Resource Name (ARN) of the IAM OpenID Connect (OIDC) provider--- to remove the client ID from. You can get a list of OIDC provider ARNs by--- using the ListOpenIDConnectProviders action.+-- | The Amazon Resource Name (ARN) of the IAM OpenID Connect (OIDC) provider to+-- remove the client ID from. You can get a list of OIDC provider ARNs by using+-- the 'ListOpenIDConnectProviders' action. rcidfoidcpOpenIDConnectProviderArn :: Lens' RemoveClientIDFromOpenIDConnectProvider Text rcidfoidcpOpenIDConnectProviderArn = lens _rcidfoidcpOpenIDConnectProviderArn
gen/Network/AWS/IAM/RemoveRoleFromInstanceProfile.hs view
@@ -20,13 +20,13 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Removes the specified role from the specified instance profile. Make sure--- you do not have any Amazon EC2 instances running with the role you are--- about to remove from the instance profile. Removing a role from an instance--- profile that is associated with a running instance will break any--- applications running on the instance. For more information about roles, go--- to Working with Roles. For more information about instance profiles, go to--- About Instance Profiles.+-- | Removes the specified role from the specified instance profile.+--+-- Make sure you do not have any Amazon EC2 instances running with the role+-- you are about to remove from the instance profile. Removing a role from an+-- instance profile that is associated with a running instance will break any+-- applications running on the instance. For more information about roles, go+-- to <http://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html Working with Roles>. For more information about instance profiles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html About Instance Profiles>. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_RemoveRoleFromInstanceProfile.html> module Network.AWS.IAM.RemoveRoleFromInstanceProfile
gen/Network/AWS/IAM/ResyncMFADevice.hs view
@@ -20,9 +20,10 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Synchronizes the specified MFA device with AWS servers. For more--- information about creating and working with virtual MFA devices, go to--- Using a Virtual MFA Device in the Using IAM guide.+-- | Synchronizes the specified MFA device with AWS servers.+--+-- For more information about creating and working with virtual MFA devices, go+-- to <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_VirtualMFA.html Using a Virtual MFA Device> in the /Using IAM/ guide. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_ResyncMFADevice.html> module Network.AWS.IAM.ResyncMFADevice
gen/Network/AWS/IAM/Types.hs view
@@ -211,9 +211,12 @@ instance Hashable AssignmentStatusType instance FromText AssignmentStatusType where- parser = match "Any" Any- <|> match "Assigned" Assigned- <|> match "Unassigned" Unassigned+ parser = takeText >>= \case+ "Any" -> pure Any+ "Assigned" -> pure Assigned+ "Unassigned" -> pure Unassigned+ e -> fail $+ "Failure parsing AssignmentStatusType from " ++ show e instance ToText AssignmentStatusType where toText = \case@@ -228,7 +231,6 @@ instance FromXML AssignmentStatusType where parseXML = parseXMLText "AssignmentStatusType" - data PasswordPolicy = PasswordPolicy { _ppAllowUsersToChangePassword :: Maybe Bool , _ppExpirePasswords :: Maybe Bool@@ -292,8 +294,8 @@ ppExpirePasswords = lens _ppExpirePasswords (\s a -> s { _ppExpirePasswords = a }) --- | Specifies whether IAM users are prevented from setting a new password--- after their password has expired.+-- | Specifies whether IAM users are prevented from setting a new password after+-- their password has expired. ppHardExpiry :: Lens' PasswordPolicy (Maybe Bool) ppHardExpiry = lens _ppHardExpiry (\s a -> s { _ppHardExpiry = a }) @@ -307,8 +309,8 @@ lens _ppMinimumPasswordLength (\s a -> s { _ppMinimumPasswordLength = a }) . mapping _Nat --- | Specifies the number of previous passwords that IAM users are prevented--- from reusing.+-- | Specifies the number of previous passwords that IAM users are prevented from+-- reusing. ppPasswordReusePrevention :: Lens' PasswordPolicy (Maybe Natural) ppPasswordReusePrevention = lens _ppPasswordReusePrevention@@ -364,7 +366,7 @@ data Group = Group { _gArn :: Text- , _gCreateDate :: RFC822+ , _gCreateDate :: ISO8601 , _gGroupId :: Text , _gGroupName :: Text , _gPath :: Text@@ -399,8 +401,7 @@ } -- | 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--- Using IAM guide.+-- about ARNs and how to use them in policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /UsingIAM/ guide. gArn :: Lens' Group Text gArn = lens _gArn (\s a -> s { _gArn = a }) @@ -409,7 +410,7 @@ gCreateDate = lens _gCreateDate (\s a -> s { _gCreateDate = a }) . _Time -- | The stable and unique string identifying the group. For more information--- about IDs, see IAM Identifiers in the Using IAM guide.+-- about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. gGroupId :: Lens' Group Text gGroupId = lens _gGroupId (\s a -> s { _gGroupId = a }) @@ -417,8 +418,8 @@ gGroupName :: Lens' Group Text gGroupName = lens _gGroupName (\s a -> s { _gGroupName = a }) --- | The path to the group. For more information about paths, see IAM--- Identifiers in the Using IAM guide.+-- | The path to the group. For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers>+-- in the /Using IAM/ guide. gPath :: Lens' Group Text gPath = lens _gPath (\s a -> s { _gPath = a }) @@ -440,7 +441,7 @@ ] data MFADevice = MFADevice- { _mfadEnableDate :: RFC822+ { _mfadEnableDate :: ISO8601 , _mfadSerialNumber :: Text , _mfadUserName :: Text } deriving (Eq, Ord, Show)@@ -469,8 +470,8 @@ mfadEnableDate :: Lens' MFADevice UTCTime mfadEnableDate = lens _mfadEnableDate (\s a -> s { _mfadEnableDate = a }) . _Time --- | The serial number that uniquely identifies the MFA device. For virtual--- MFA devices, the serial number is the device ARN.+-- | The serial number that uniquely identifies the MFA device. For virtual MFA+-- devices, the serial number is the device ARN. mfadSerialNumber :: Lens' MFADevice Text mfadSerialNumber = lens _mfadSerialNumber (\s a -> s { _mfadSerialNumber = a }) @@ -493,7 +494,7 @@ data InstanceProfile = InstanceProfile { _ipArn :: Text- , _ipCreateDate :: RFC822+ , _ipCreateDate :: ISO8601 , _ipInstanceProfileId :: Text , _ipInstanceProfileName :: Text , _ipPath :: Text@@ -532,8 +533,8 @@ } -- | 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.+-- information about ARNs and how to use them in policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers>+-- in the /Using IAM/ guide. ipArn :: Lens' InstanceProfile Text ipArn = lens _ipArn (\s a -> s { _ipArn = a }) @@ -542,7 +543,7 @@ ipCreateDate = lens _ipCreateDate (\s a -> s { _ipCreateDate = a }) . _Time -- | The stable and unique string identifying the instance profile. For more--- information about IDs, see IAM Identifiers in the Using IAM guide.+-- information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. ipInstanceProfileId :: Lens' InstanceProfile Text ipInstanceProfileId = lens _ipInstanceProfileId (\s a -> s { _ipInstanceProfileId = a })@@ -552,8 +553,7 @@ ipInstanceProfileName = lens _ipInstanceProfileName (\s a -> s { _ipInstanceProfileName = a }) --- | The path to the instance profile. For more information about paths, see--- IAM Identifiers in the Using IAM guide.+-- | The path to the instance profile. For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAMIdentifiers> in the /Using IAM/ guide. ipPath :: Lens' InstanceProfile Text ipPath = lens _ipPath (\s a -> s { _ipPath = a }) @@ -587,7 +587,10 @@ instance Hashable ReportFormatType instance FromText ReportFormatType where- parser = match "text/csv" TextCsv+ parser = takeText >>= \case+ "text/csv" -> pure TextCsv+ e -> fail $+ "Failure parsing ReportFormatType from " ++ show e instance ToText ReportFormatType where toText TextCsv = "text/csv"@@ -599,14 +602,13 @@ instance FromXML ReportFormatType where parseXML = parseXMLText "ReportFormatType" - data ServerCertificateMetadata = ServerCertificateMetadata { _scmArn :: Text- , _scmExpiration :: Maybe RFC822+ , _scmExpiration :: Maybe ISO8601 , _scmPath :: Text , _scmServerCertificateId :: Text , _scmServerCertificateName :: Text- , _scmUploadDate :: Maybe RFC822+ , _scmUploadDate :: Maybe ISO8601 } deriving (Eq, Ord, Show) -- | 'ServerCertificateMetadata' constructor.@@ -639,9 +641,9 @@ , _scmExpiration = Nothing } --- | 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.+-- | The Amazon Resource Name (ARN) specifying the server certificate. For more+-- information about ARNs and how to use them in policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers>+-- in the /Using IAM/ guide. scmArn :: Lens' ServerCertificateMetadata Text scmArn = lens _scmArn (\s a -> s { _scmArn = a }) @@ -649,13 +651,12 @@ scmExpiration :: Lens' ServerCertificateMetadata (Maybe UTCTime) scmExpiration = lens _scmExpiration (\s a -> s { _scmExpiration = a }) . mapping _Time --- | The path to the server certificate. For more information about paths, see--- IAM Identifiers in the Using IAM guide.+-- | The path to the server certificate. For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. scmPath :: Lens' ServerCertificateMetadata Text scmPath = lens _scmPath (\s a -> s { _scmPath = a }) -- | The stable and unique string identifying the server certificate. For more--- information about IDs, see IAM Identifiers in the Using IAM guide.+-- information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. scmServerCertificateId :: Lens' ServerCertificateMetadata Text scmServerCertificateId = lens _scmServerCertificateId (\s a -> s { _scmServerCertificateId = a })@@ -717,7 +718,7 @@ ] data LoginProfile = LoginProfile- { _lpCreateDate :: RFC822+ { _lpCreateDate :: ISO8601 , _lpPasswordResetRequired :: Maybe Bool , _lpUserName :: Text } deriving (Eq, Ord, Show)@@ -745,14 +746,13 @@ lpCreateDate :: Lens' LoginProfile UTCTime lpCreateDate = lens _lpCreateDate (\s a -> s { _lpCreateDate = a }) . _Time --- | Specifies whether the user is required to set a new password on next--- sign-in.+-- | Specifies whether the user is required to set a new password on next sign-in. lpPasswordResetRequired :: Lens' LoginProfile (Maybe Bool) lpPasswordResetRequired = lens _lpPasswordResetRequired (\s a -> s { _lpPasswordResetRequired = a }) --- | The name of the user, which can be used for signing in to the AWS--- Management Console.+-- | The name of the user, which can be used for signing in to the AWS Management+-- Console. lpUserName :: Lens' LoginProfile Text lpUserName = lens _lpUserName (\s a -> s { _lpUserName = a }) @@ -789,20 +789,23 @@ instance Hashable SummaryKeyType instance FromText SummaryKeyType where- parser = match "AccessKeysPerUserQuota" AccessKeysPerUserQuota- <|> match "AccountMFAEnabled" AccountMFAEnabled- <|> match "GroupPolicySizeQuota" GroupPolicySizeQuota- <|> match "Groups" Groups- <|> match "GroupsPerUserQuota" GroupsPerUserQuota- <|> match "GroupsQuota" GroupsQuota- <|> match "MFADevices" MFADevices- <|> match "MFADevicesInUse" MFADevicesInUse- <|> match "ServerCertificates" ServerCertificates- <|> match "ServerCertificatesQuota" ServerCertificatesQuota- <|> match "SigningCertificatesPerUserQuota" SigningCertificatesPerUserQuota- <|> match "UserPolicySizeQuota" UserPolicySizeQuota- <|> match "Users" Users- <|> match "UsersQuota" UsersQuota+ parser = takeText >>= \case+ "AccessKeysPerUserQuota" -> pure AccessKeysPerUserQuota+ "AccountMFAEnabled" -> pure AccountMFAEnabled+ "GroupPolicySizeQuota" -> pure GroupPolicySizeQuota+ "Groups" -> pure Groups+ "GroupsPerUserQuota" -> pure GroupsPerUserQuota+ "GroupsQuota" -> pure GroupsQuota+ "MFADevices" -> pure MFADevices+ "MFADevicesInUse" -> pure MFADevicesInUse+ "ServerCertificates" -> pure ServerCertificates+ "ServerCertificatesQuota" -> pure ServerCertificatesQuota+ "SigningCertificatesPerUserQuota" -> pure SigningCertificatesPerUserQuota+ "UserPolicySizeQuota" -> pure UserPolicySizeQuota+ "Users" -> pure Users+ "UsersQuota" -> pure UsersQuota+ e -> fail $+ "Failure parsing SummaryKeyType from " ++ show e instance ToText SummaryKeyType where toText = \case@@ -828,7 +831,6 @@ instance FromXML SummaryKeyType where parseXML = parseXMLText "SummaryKeyType" - data ReportStateType = Complete -- ^ COMPLETE | Inprogress -- ^ INPROGRESS@@ -838,9 +840,12 @@ instance Hashable ReportStateType instance FromText ReportStateType where- parser = match "COMPLETE" Complete- <|> match "INPROGRESS" Inprogress- <|> match "STARTED" Started+ parser = takeText >>= \case+ "COMPLETE" -> pure Complete+ "INPROGRESS" -> pure Inprogress+ "STARTED" -> pure Started+ e -> fail $+ "Failure parsing ReportStateType from " ++ show e instance ToText ReportStateType where toText = \case@@ -855,11 +860,10 @@ instance FromXML ReportStateType where parseXML = parseXMLText "ReportStateType" - data User = User { _uArn :: Text- , _uCreateDate :: RFC822- , _uPasswordLastUsed :: Maybe RFC822+ , _uCreateDate :: ISO8601+ , _uPasswordLastUsed :: Maybe ISO8601 , _uPath :: Text , _uUserId :: Text , _uUserName :: Text@@ -896,38 +900,36 @@ , _uPasswordLastUsed = Nothing } --- | 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 Using IAM guide.+-- | The Amazon Resource Name (ARN) that identifies the user. For more information+-- about ARNs and how to use ARNs in policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /UsingIAM/ guide. uArn :: Lens' User Text uArn = lens _uArn (\s a -> s { _uArn = a }) --- | The date and time, in ISO 8601 date-time format, when the user was--- created.+-- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format>, when the user was created. uCreateDate :: Lens' User UTCTime uCreateDate = lens _uCreateDate (\s a -> s { _uCreateDate = a }) . _Time --- | 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.+-- | The date and time, in <http://www.iso.org/iso/iso8601 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 <http://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html 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. uPasswordLastUsed :: Lens' User (Maybe UTCTime) uPasswordLastUsed = lens _uPasswordLastUsed (\s a -> s { _uPasswordLastUsed = a }) . mapping _Time --- | The path to the user. For more information about paths, see IAM--- Identifiers in the Using IAM guide.+-- | The path to the user. For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers>+-- in the /Using IAM/ guide. uPath :: Lens' User Text uPath = lens _uPath (\s a -> s { _uPath = a }) --- | The stable and unique string identifying the user. For more information--- about IDs, see IAM Identifiers in the Using IAM guide.+-- | The stable and unique string identifying the user. For more information about+-- IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. uUserId :: Lens' User Text uUserId = lens _uUserId (\s a -> s { _uUserId = a }) @@ -962,8 +964,11 @@ instance Hashable StatusType instance FromText StatusType where- parser = match "Active" Active- <|> match "Inactive" Inactive+ parser = takeText >>= \case+ "Active" -> pure Active+ "Inactive" -> pure Inactive+ e -> fail $+ "Failure parsing StatusType from " ++ show e instance ToText StatusType where toText = \case@@ -977,11 +982,10 @@ instance FromXML StatusType where parseXML = parseXMLText "StatusType" - data SAMLProviderListEntry = SAMLProviderListEntry { _samlpleArn :: Maybe Text- , _samlpleCreateDate :: Maybe RFC822- , _samlpleValidUntil :: Maybe RFC822+ , _samlpleCreateDate :: Maybe ISO8601+ , _samlpleValidUntil :: Maybe ISO8601 } deriving (Eq, Ord, Show) -- | 'SAMLProviderListEntry' constructor.@@ -1033,7 +1037,7 @@ data Role = Role { _rArn :: Text , _rAssumeRolePolicyDocument :: Maybe Text- , _rCreateDate :: RFC822+ , _rCreateDate :: ISO8601 , _rPath :: Text , _rRoleId :: Text , _rRoleName :: Text@@ -1071,14 +1075,14 @@ } -- | 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--- Using IAM guide.+-- about ARNs and how to use them in policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /UsingIAM/ guide. rArn :: Lens' Role Text rArn = lens _rArn (\s a -> s { _rArn = a }) --- | 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.+-- | 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 http://www.faqs.org/rfcs/rfc3986.html>. rAssumeRolePolicyDocument :: Lens' Role (Maybe Text) rAssumeRolePolicyDocument = lens _rAssumeRolePolicyDocument@@ -1088,13 +1092,13 @@ rCreateDate :: Lens' Role UTCTime rCreateDate = lens _rCreateDate (\s a -> s { _rCreateDate = a }) . _Time --- | The path to the role. For more information about paths, see IAM--- Identifiers in the Using IAM guide.+-- | The path to the role. For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers>+-- in the /Using IAM/ guide. rPath :: Lens' Role Text rPath = lens _rPath (\s a -> s { _rPath = a }) -- | The stable and unique string identifying the role. For more information--- about IDs, see IAM Identifiers in the Using IAM guide.+-- about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. rRoleId :: Lens' Role Text rRoleId = lens _rRoleId (\s a -> s { _rRoleId = a }) @@ -1156,8 +1160,8 @@ scCertificateChain = lens _scCertificateChain (\s a -> s { _scCertificateChain = a }) --- | The meta information of the server certificate, such as its name, path,--- ID, and ARN.+-- | The meta information of the server certificate, such as its name, path, ID,+-- and ARN. scServerCertificateMetadata :: Lens' ServerCertificate ServerCertificateMetadata scServerCertificateMetadata = lens _scServerCertificateMetadata@@ -1178,7 +1182,7 @@ data AccessKey = AccessKey { _akAccessKeyId :: Text- , _akCreateDate :: Maybe RFC822+ , _akCreateDate :: Maybe ISO8601 , _akSecretAccessKey :: Sensitive Text , _akStatus :: StatusType , _akUserName :: Text@@ -1225,8 +1229,8 @@ lens _akSecretAccessKey (\s a -> s { _akSecretAccessKey = a }) . _Sensitive --- | The status of the access key. Active means the key is valid for API--- calls, while Inactive means it is not.+-- | The status of the access key. 'Active' means the key is valid for API calls,+-- while 'Inactive' means it is not. akStatus :: Lens' AccessKey StatusType akStatus = lens _akStatus (\s a -> s { _akStatus = a }) @@ -1253,7 +1257,7 @@ data VirtualMFADevice = VirtualMFADevice { _vmfadBase32StringSeed :: Maybe Base64- , _vmfadEnableDate :: Maybe RFC822+ , _vmfadEnableDate :: Maybe ISO8601 , _vmfadQRCodePNG :: Maybe Base64 , _vmfadSerialNumber :: Text , _vmfadUser :: Maybe User@@ -1283,7 +1287,7 @@ , _vmfadEnableDate = Nothing } --- | The Base32 seed defined as specified in RFC3548. The Base32StringSeed is+-- | The Base32 seed defined as specified in <http://www.ietf.org/rfc/rfc3548.txt RFC3548>. The 'Base32StringSeed' is -- Base64-encoded. vmfadBase32StringSeed :: Lens' VirtualMFADevice (Maybe Base64) vmfadBase32StringSeed =@@ -1293,16 +1297,12 @@ vmfadEnableDate :: Lens' VirtualMFADevice (Maybe UTCTime) vmfadEnableDate = lens _vmfadEnableDate (\s a -> s { _vmfadEnableDate = a }) . mapping _Time --- | 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.+-- | 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. vmfadQRCodePNG :: Lens' VirtualMFADevice (Maybe Base64) vmfadQRCodePNG = lens _vmfadQRCodePNG (\s a -> s { _vmfadQRCodePNG = a }) --- | The serial number associated with VirtualMFADevice.+-- | The serial number associated with 'VirtualMFADevice'. vmfadSerialNumber :: Lens' VirtualMFADevice Text vmfadSerialNumber = lens _vmfadSerialNumber (\s a -> s { _vmfadSerialNumber = a })@@ -1331,7 +1331,7 @@ { _sc1CertificateBody :: Text , _sc1CertificateId :: Text , _sc1Status :: StatusType- , _sc1UploadDate :: Maybe RFC822+ , _sc1UploadDate :: Maybe ISO8601 , _sc1UserName :: Text } deriving (Eq, Show) @@ -1371,8 +1371,8 @@ sc1CertificateId :: Lens' SigningCertificate Text sc1CertificateId = lens _sc1CertificateId (\s a -> s { _sc1CertificateId = a }) --- | The status of the signing certificate. Active means the key is valid for--- API calls, while Inactive means it is not.+-- | The status of the signing certificate. 'Active' means the key is valid for API+-- calls, while 'Inactive' means it is not. sc1Status :: Lens' SigningCertificate StatusType sc1Status = lens _sc1Status (\s a -> s { _sc1Status = a }) @@ -1403,7 +1403,7 @@ data AccessKeyMetadata = AccessKeyMetadata { _akmAccessKeyId :: Maybe Text- , _akmCreateDate :: Maybe RFC822+ , _akmCreateDate :: Maybe ISO8601 , _akmStatus :: Maybe StatusType , _akmUserName :: Maybe Text } deriving (Eq, Show)@@ -1436,8 +1436,7 @@ akmCreateDate :: Lens' AccessKeyMetadata (Maybe UTCTime) akmCreateDate = lens _akmCreateDate (\s a -> s { _akmCreateDate = a }) . mapping _Time --- | The status of the access key. Active means the key is valid for API--- calls; Inactive means it is not.+-- | The status of the access key. 'Active' means the key is valid for API calls; 'Inactive' means it is not. akmStatus :: Lens' AccessKeyMetadata (Maybe StatusType) akmStatus = lens _akmStatus (\s a -> s { _akmStatus = a })
gen/Network/AWS/IAM/UpdateAccessKey.hs view
@@ -21,14 +21,18 @@ -- Portability : non-portable (GHC extensions) -- | Changes the status of the specified access key from Active to Inactive, or--- vice versa. This action can be used to disable a user's key as part of a--- key rotation work flow. If the UserName field is not specified, the--- UserName is determined implicitly based on the AWS access key ID used to--- sign the request. Because this action works for access keys under the AWS--- account, you can use this action to manage root credentials even if the AWS--- account has no associated users. For information about rotating keys, see--- Managing Keys and Certificates in the Using IAM guide.+-- vice versa. This action can be used to disable a user's key as part of a key+-- rotation work flow. --+-- If the 'UserName' field is not specified, the UserName is determined+-- implicitly based on the AWS access key ID used to sign the request. Because+-- this action works for access keys under the AWS account, you can use this+-- action to manage root credentials even if the AWS account has no associated+-- users.+--+-- For information about rotating keys, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/ManagingCredentials.html Managing Keys and Certificates> in+-- the /Using IAM/ guide.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateAccessKey.html> module Network.AWS.IAM.UpdateAccessKey (@@ -81,9 +85,9 @@ uakAccessKeyId :: Lens' UpdateAccessKey Text uakAccessKeyId = lens _uakAccessKeyId (\s a -> s { _uakAccessKeyId = a }) --- | The status you want to assign to the secret access key. Active means the--- key can be used for API calls to AWS, while Inactive means the key cannot--- be used.+-- | The status you want to assign to the secret access key. 'Active' means the key+-- can be used for API calls to AWS, while 'Inactive' means the key cannot be+-- used. uakStatus :: Lens' UpdateAccessKey StatusType uakStatus = lens _uakStatus (\s a -> s { _uakStatus = a })
gen/Network/AWS/IAM/UpdateAccountPasswordPolicy.hs view
@@ -20,10 +20,10 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Updates the password policy settings for the AWS account. For more--- information about using a password policy, see Managing an IAM Password--- Policy in the Using IAM guide.+-- | Updates the password policy settings for the AWS account. --+-- For more information about using a password policy, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingPasswordPolicies.html Managing an IAMPassword Policy> in the /Using IAM/ guide.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateAccountPasswordPolicy.html> module Network.AWS.IAM.UpdateAccountPasswordPolicy (@@ -101,36 +101,44 @@ } -- | Allows all IAM users in your account to use the AWS Management Console to--- change their own passwords. For more information, see Letting IAM Users--- Change Their Own Passwords in the Using IAM guide. Default value: false.+-- change their own passwords. For more information, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/HowToPwdIAMUser.html Letting IAM UsersChange Their Own Passwords> in the /Using IAM/ guide.+--+-- Default value: false uappAllowUsersToChangePassword :: Lens' UpdateAccountPasswordPolicy (Maybe Bool) uappAllowUsersToChangePassword = lens _uappAllowUsersToChangePassword (\s a -> s { _uappAllowUsersToChangePassword = a }) -- | Prevents IAM users from setting a new password after their password has--- expired. Default value: false.+-- expired.+--+-- Default value: false uappHardExpiry :: Lens' UpdateAccountPasswordPolicy (Maybe Bool) uappHardExpiry = lens _uappHardExpiry (\s a -> s { _uappHardExpiry = a }) --- | The number of days that an IAM user password is valid. The default value--- of 0 means IAM user passwords never expire. Default value: 0.+-- | The number of days that an IAM user password is valid. The default value of 0+-- means IAM user passwords never expire.+--+-- Default value: 0 uappMaxPasswordAge :: Lens' UpdateAccountPasswordPolicy (Maybe Natural) uappMaxPasswordAge = lens _uappMaxPasswordAge (\s a -> s { _uappMaxPasswordAge = a }) . mapping _Nat --- | The minimum number of characters allowed in an IAM user password. Default--- value: 6.+-- | The minimum number of characters allowed in an IAM user password.+--+-- Default value: 6 uappMinimumPasswordLength :: Lens' UpdateAccountPasswordPolicy (Maybe Natural) uappMinimumPasswordLength = lens _uappMinimumPasswordLength (\s a -> s { _uappMinimumPasswordLength = a }) . mapping _Nat --- | Specifies the number of previous passwords that IAM users are prevented--- from reusing. The default value of 0 means IAM users are not prevented--- from reusing previous passwords. Default value: 0.+-- | Specifies the number of previous passwords that IAM users are prevented from+-- reusing. The default value of 0 means IAM users are not prevented from+-- reusing previous passwords.+--+-- Default value: 0 uappPasswordReusePrevention :: Lens' UpdateAccountPasswordPolicy (Maybe Natural) uappPasswordReusePrevention = lens _uappPasswordReusePrevention@@ -138,29 +146,36 @@ . mapping _Nat -- | Specifies whether IAM user passwords must contain at least one lowercase--- character from the ISO basic Latin alphabet (a to z). Default value:--- false.+-- character from the ISO basic Latin alphabet (a to z).+--+-- Default value: false uappRequireLowercaseCharacters :: Lens' UpdateAccountPasswordPolicy (Maybe Bool) uappRequireLowercaseCharacters = lens _uappRequireLowercaseCharacters (\s a -> s { _uappRequireLowercaseCharacters = a }) -- | Specifies whether IAM user passwords must contain at least one numeric--- character (0 to 9). Default value: false.+-- character (0 to 9).+--+-- Default value: false uappRequireNumbers :: Lens' UpdateAccountPasswordPolicy (Maybe Bool) uappRequireNumbers = lens _uappRequireNumbers (\s a -> s { _uappRequireNumbers = a }) -- | Specifies whether IAM user passwords must contain at least one of the--- following non-alphanumeric characters: ! @ # $ % ^ &amp; * ( ) _ + ---- = [ ] { } | ' Default value: false.+-- following non-alphanumeric characters:+--+-- ! @ # $ % ^ & * ( ) _ + - = [ ] { } | '+--+-- Default value: false uappRequireSymbols :: Lens' UpdateAccountPasswordPolicy (Maybe Bool) uappRequireSymbols = lens _uappRequireSymbols (\s a -> s { _uappRequireSymbols = a }) -- | Specifies whether IAM user passwords must contain at least one uppercase--- character from the ISO basic Latin alphabet (A to Z). Default value:--- false.+-- character from the ISO basic Latin alphabet (A to Z).+--+-- Default value: false uappRequireUppercaseCharacters :: Lens' UpdateAccountPasswordPolicy (Maybe Bool) uappRequireUppercaseCharacters = lens _uappRequireUppercaseCharacters
gen/Network/AWS/IAM/UpdateAssumeRolePolicy.hs view
@@ -21,7 +21,7 @@ -- Portability : non-portable (GHC extensions) -- | Updates the policy that grants an entity permission to assume a role. For--- more information about roles, go to Working with Roles.+-- more information about roles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html Working with Roles>. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateAssumeRolePolicy.html> module Network.AWS.IAM.UpdateAssumeRolePolicy
gen/Network/AWS/IAM/UpdateGroup.hs view
@@ -20,10 +20,11 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Updates the name and/or the path of the specified group. You should--- understand the implications of changing a group's path or name. For more--- information, see Renaming Users and Groups in the Using IAM guide.+-- | Updates the name and/or the path of the specified group. --+-- You should understand the implications of changing a group's path or name.+-- For more information, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_WorkingWithGroupsAndUsers.html Renaming Users and Groups> in the /Using IAM/ guide.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateGroup.html> module Network.AWS.IAM.UpdateGroup (@@ -71,8 +72,8 @@ , _ugNewGroupName = Nothing } --- | Name of the group to update. If you're changing the name of the group,--- this is the original name.+-- | Name of the group to update. If you're changing the name of the group, this+-- is the original name. ugGroupName :: Lens' UpdateGroup Text ugGroupName = lens _ugGroupName (\s a -> s { _ugGroupName = a })
gen/Network/AWS/IAM/UpdateLoginProfile.hs view
@@ -20,9 +20,11 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Changes the password for the specified user. Users can change their own--- passwords by calling ChangePassword. For more information about modifying--- passwords, see Managing Passwords in the Using IAM guide.+-- | Changes the password for the specified user.+--+-- Users can change their own passwords by calling 'ChangePassword'. For more+-- information about modifying passwords, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html Managing Passwords> in the /Using IAM/+-- guide. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateLoginProfile.html> module Network.AWS.IAM.UpdateLoginProfile
gen/Network/AWS/IAM/UpdateOpenIDConnectProviderThumbprint.hs view
@@ -20,14 +20,17 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Replaces the existing list of server certificate thumbprints with a new--- list. The list that you pass with this action completely replaces the--- existing list of thumbprints. (The lists are not merged.) Typically, you--- need to update a thumbprint only when the identity provider's certificate--- changes, which occurs rarely. However, if the provider's certificate does--- change, any attempt to assume an IAM role that specifies the IAM provider--- as a principal will fail until the certificate thumbprint is updated.+-- | Replaces the existing list of server certificate thumbprints with a new list. --+-- The list that you pass with this action completely replaces the existing+-- list of thumbprints. (The lists are not merged.)+--+-- Typically, you need to update a thumbprint only when the identity provider's+-- certificate changes, which occurs rarely. However, if the provider's+-- certificate /does/ change, any attempt to assume an IAM role that specifies the+-- IAM provider as a principal will fail until the certificate thumbprint is+-- updated.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateOpenIDConnectProviderThumbprint.html> module Network.AWS.IAM.UpdateOpenIDConnectProviderThumbprint (@@ -70,17 +73,17 @@ , _uoidcptThumbprintList = mempty } --- | The Amazon Resource Name (ARN) of the IAM OpenID Connect (OIDC) provider--- to update the thumbprint for. You can get a list of OIDC provider ARNs by--- using the ListOpenIDConnectProviders action.+-- | The Amazon Resource Name (ARN) of the IAM OpenID Connect (OIDC) provider to+-- update the thumbprint for. You can get a list of OIDC provider ARNs by using+-- the 'ListOpenIDConnectProviders' action. uoidcptOpenIDConnectProviderArn :: Lens' UpdateOpenIDConnectProviderThumbprint Text uoidcptOpenIDConnectProviderArn = lens _uoidcptOpenIDConnectProviderArn (\s a -> s { _uoidcptOpenIDConnectProviderArn = a }) --- | A list of certificate thumbprints that are associated with the specified--- IAM OpenID Connect provider. For more information, see--- CreateOpenIDConnectProvider.+-- | A list of certificate thumbprints that are associated with the specified IAM+-- OpenID Connect provider. For more information, see 'CreateOpenIDConnectProvider'+-- . uoidcptThumbprintList :: Lens' UpdateOpenIDConnectProviderThumbprint [Text] uoidcptThumbprintList = lens _uoidcptThumbprintList (\s a -> s { _uoidcptThumbprintList = a })
gen/Network/AWS/IAM/UpdateSAMLProvider.hs view
@@ -67,12 +67,12 @@ , _usamlpSAMLProviderArn = p2 } --- | An XML document generated by an identity provider (IdP) that supports--- SAML 2.0. The document includes the issuer's name, expiration--- information, and keys that can be used to validate the SAML--- authentication response (assertions) that are received from the IdP. You--- must generate the metadata document using the identity management--- software that is used as your organization's IdP.+-- | An XML document generated by an identity provider (IdP) that supports SAML+-- 2.0. The document includes the issuer's name, expiration information, and+-- keys that can be used to validate the SAML authentication response+-- (assertions) that are received from the IdP. You must generate the metadata+-- document using the identity management software that is used as your+-- organization's IdP. usamlpSAMLMetadataDocument :: Lens' UpdateSAMLProvider Text usamlpSAMLMetadataDocument = lens _usamlpSAMLMetadataDocument
gen/Network/AWS/IAM/UpdateServerCertificate.hs view
@@ -20,10 +20,10 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Updates the name and/or the path of the specified server certificate. You--- should understand the implications of changing a server certificate's path--- or name. For more information, see Managing Server Certificates in the--- Using IAM guide.+-- | Updates the name and/or the path of the specified server certificate.+--+-- You should understand the implications of changing a server certificate's+-- path or name. For more information, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/ManagingServerCerts.html Managing Server Certificates> in the /Using IAM/ guide. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateServerCertificate.html> module Network.AWS.IAM.UpdateServerCertificate
gen/Network/AWS/IAM/UpdateSigningCertificate.hs view
@@ -21,15 +21,17 @@ -- Portability : non-portable (GHC extensions) -- | Changes the status of the specified signing certificate from active to--- disabled, or vice versa. This action can be used to disable a user's--- signing certificate as part of a certificate rotation work flow. If the--- UserName field is not specified, the UserName is determined implicitly--- based on the AWS access key ID used to sign the request. Because this--- action works for access keys under the AWS account, you can use this action--- to manage root credentials even if the AWS account has no associated users.--- For information about rotating certificates, see Managing Keys and--- Certificates in the Using IAM guide.+-- disabled, or vice versa. This action can be used to disable a user's signing+-- certificate as part of a certificate rotation work flow. --+-- If the 'UserName' field is not specified, the UserName is determined+-- implicitly based on the AWS access key ID used to sign the request. Because+-- this action works for access keys under the AWS account, you can use this+-- action to manage root credentials even if the AWS account has no associated+-- users.+--+-- For information about rotating certificates, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/ManagingCredentials.html Managing Keys andCertificates> in the /Using IAM/ guide.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateSigningCertificate.html> module Network.AWS.IAM.UpdateSigningCertificate (@@ -82,8 +84,8 @@ uscCertificateId :: Lens' UpdateSigningCertificate Text uscCertificateId = lens _uscCertificateId (\s a -> s { _uscCertificateId = a }) --- | The status you want to assign to the certificate. Active means the--- certificate can be used for API calls to AWS, while Inactive means the+-- | The status you want to assign to the certificate. 'Active' means the+-- certificate can be used for API calls to AWS, while 'Inactive' means the -- certificate cannot be used. uscStatus :: Lens' UpdateSigningCertificate StatusType uscStatus = lens _uscStatus (\s a -> s { _uscStatus = a })
gen/Network/AWS/IAM/UpdateUser.hs view
@@ -20,10 +20,11 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Updates the name and/or the path of the specified user. You should--- understand the implications of changing a user's path or name. For more--- information, see Renaming Users and Groups in the Using IAM guide.+-- | Updates the name and/or the path of the specified user. --+-- You should understand the implications of changing a user's path or name.+-- For more information, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_WorkingWithGroupsAndUsers.html Renaming Users and Groups> in the /Using IAM/ guide.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateUser.html> module Network.AWS.IAM.UpdateUser (@@ -81,8 +82,8 @@ uuNewUserName :: Lens' UpdateUser (Maybe Text) uuNewUserName = lens _uuNewUserName (\s a -> s { _uuNewUserName = a }) --- | Name of the user to update. If you're changing the name of the user, this--- is the original user name.+-- | Name of the user to update. If you're changing the name of the user, this is+-- the original user name. uuUserName :: Lens' UpdateUser Text uuUserName = lens _uuUserName (\s a -> s { _uuUserName = a })
gen/Network/AWS/IAM/UploadServerCertificate.hs view
@@ -22,10 +22,10 @@ -- | Uploads a server certificate entity for the AWS account. The server -- certificate entity includes a public key certificate, a private key, and an--- optional certificate chain, which should all be PEM-encoded. For--- information about the number of server certificates you can upload, see--- Limitations on IAM Entities in the Using IAM guide.+-- optional certificate chain, which should all be PEM-encoded. --+-- For information about the number of server certificates you can upload, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on IAM Entities> in the /Using IAM/ guide.+-- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_UploadServerCertificate.html> module Network.AWS.IAM.UploadServerCertificate (@@ -92,15 +92,16 @@ uscCertificateBody = lens _uscCertificateBody (\s a -> s { _uscCertificateBody = a }) --- | The contents of the certificate chain. This is typically a concatenation--- of the PEM-encoded public key certificates of the chain.+-- | The contents of the certificate chain. This is typically a concatenation of+-- the PEM-encoded public key certificates of the chain. uscCertificateChain :: Lens' UploadServerCertificate (Maybe Text) uscCertificateChain = lens _uscCertificateChain (\s a -> s { _uscCertificateChain = a }) --- | The path for the server certificate. For more information about paths,--- see IAM Identifiers in the Using IAM guide. This parameter is optional.--- If it is not included, it defaults to a slash (/).+-- | The path for the server certificate. For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide.+--+-- This parameter is optional. If it is not included, it defaults to a slash+-- (/). uscPath :: Lens' UploadServerCertificate (Maybe Text) uscPath = lens _uscPath (\s a -> s { _uscPath = a }) @@ -108,8 +109,7 @@ uscPrivateKey :: Lens' UploadServerCertificate Text uscPrivateKey = lens _uscPrivateKey (\s a -> s { _uscPrivateKey = a }) . _Sensitive --- | The name for the server certificate. Do not include the path in this--- value.+-- | The name for the server certificate. Do not include the path in this value. uscServerCertificateName :: Lens' UploadServerCertificate Text uscServerCertificateName = lens _uscServerCertificateName
gen/Network/AWS/IAM/UploadSigningCertificate.hs view
@@ -23,11 +23,13 @@ -- | Uploads an X.509 signing certificate and associates it with the specified -- user. Some AWS services use X.509 signing certificates to validate requests -- that are signed with a corresponding private key. When you upload the--- certificate, its default status is Active. If the UserName field is not--- specified, the user name is determined implicitly based on the AWS access--- key ID used to sign the request. Because this action works for access keys--- under the AWS account, you can use this action to manage root credentials--- even if the AWS account has no associated users.+-- certificate, its default status is 'Active'.+--+-- If the 'UserName' field is not specified, the user name is determined+-- implicitly based on the AWS access key ID used to sign the request. Because+-- this action works for access keys under the AWS account, you can use this+-- action to manage root credentials even if the AWS account has no associated+-- users. -- -- <http://docs.aws.amazon.com/IAM/latest/APIReference/API_UploadSigningCertificate.html> module Network.AWS.IAM.UploadSigningCertificate