amazonka-iam 1.4.3 → 1.4.4
raw patch · 115 files changed
+665/−404 lines, 115 filesdep ~amazonka-coredep ~amazonka-iamdep ~amazonka-testPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-core, amazonka-iam, amazonka-test
API changes (from Hackage documentation)
+ Network.AWS.IAM.GetAccountAuthorizationDetails: instance Network.AWS.Pager.AWSPager Network.AWS.IAM.GetAccountAuthorizationDetails.GetAccountAuthorizationDetails
+ Network.AWS.IAM.ListSSHPublicKeys: instance Network.AWS.Pager.AWSPager Network.AWS.IAM.ListSSHPublicKeys.ListSSHPublicKeys
+ Network.AWS.IAM.SimulateCustomPolicy: instance Network.AWS.Pager.AWSPager Network.AWS.IAM.SimulateCustomPolicy.SimulateCustomPolicy
+ Network.AWS.IAM.SimulatePrincipalPolicy: instance Network.AWS.Pager.AWSPager Network.AWS.IAM.SimulatePrincipalPolicy.SimulatePrincipalPolicy
Files
- README.md +3/−1
- amazonka-iam.cabal +8/−6
- gen/Network/AWS/IAM.hs +7/−4
- gen/Network/AWS/IAM/AddClientIdToOpenIdConnectProvider.hs +3/−3
- gen/Network/AWS/IAM/AddRoleToInstanceProfile.hs +9/−1
- gen/Network/AWS/IAM/AddUserToGroup.hs +4/−0
- gen/Network/AWS/IAM/AttachGroupPolicy.hs +7/−3
- gen/Network/AWS/IAM/AttachRolePolicy.hs +8/−4
- gen/Network/AWS/IAM/AttachUserPolicy.hs +8/−4
- gen/Network/AWS/IAM/ChangePassword.hs +2/−0
- gen/Network/AWS/IAM/CreateAccessKey.hs +4/−2
- gen/Network/AWS/IAM/CreateAccountAlias.hs +2/−0
- gen/Network/AWS/IAM/CreateGroup.hs +6/−2
- gen/Network/AWS/IAM/CreateInstanceProfile.hs +6/−2
- gen/Network/AWS/IAM/CreateLoginProfile.hs +7/−3
- gen/Network/AWS/IAM/CreateOpenIdConnectProvider.hs +1/−1
- gen/Network/AWS/IAM/CreatePolicy.hs +10/−4
- gen/Network/AWS/IAM/CreatePolicyVersion.hs +8/−4
- gen/Network/AWS/IAM/CreateRole.hs +8/−2
- gen/Network/AWS/IAM/CreateSAMLProvider.hs +6/−4
- gen/Network/AWS/IAM/CreateUser.hs +8/−4
- gen/Network/AWS/IAM/CreateVirtualMFADevice.hs +8/−4
- gen/Network/AWS/IAM/DeactivateMFADevice.hs +5/−1
- gen/Network/AWS/IAM/DeleteAccessKey.hs +6/−2
- gen/Network/AWS/IAM/DeleteAccountAlias.hs +2/−0
- gen/Network/AWS/IAM/DeleteAccountPasswordPolicy.hs +1/−1
- gen/Network/AWS/IAM/DeleteGroup.hs +4/−2
- gen/Network/AWS/IAM/DeleteGroupPolicy.hs +5/−1
- gen/Network/AWS/IAM/DeleteInstanceProfile.hs +2/−0
- gen/Network/AWS/IAM/DeleteLoginProfile.hs +4/−2
- gen/Network/AWS/IAM/DeleteOpenIdConnectProvider.hs +4/−4
- gen/Network/AWS/IAM/DeletePolicy.hs +10/−6
- gen/Network/AWS/IAM/DeletePolicyVersion.hs +8/−4
- gen/Network/AWS/IAM/DeleteRole.hs +2/−0
- gen/Network/AWS/IAM/DeleteRolePolicy.hs +6/−2
- gen/Network/AWS/IAM/DeleteSAMLProvider.hs +2/−2
- gen/Network/AWS/IAM/DeleteSSHPublicKey.hs +4/−0
- gen/Network/AWS/IAM/DeleteServerCertificate.hs +2/−0
- gen/Network/AWS/IAM/DeleteSigningCertificate.hs +6/−2
- gen/Network/AWS/IAM/DeleteUser.hs +3/−1
- gen/Network/AWS/IAM/DeleteUserPolicy.hs +5/−1
- gen/Network/AWS/IAM/DeleteVirtualMFADevice.hs +2/−0
- gen/Network/AWS/IAM/DetachGroupPolicy.hs +8/−4
- gen/Network/AWS/IAM/DetachRolePolicy.hs +7/−3
- gen/Network/AWS/IAM/DetachUserPolicy.hs +7/−3
- gen/Network/AWS/IAM/EnableMFADevice.hs +10/−2
- gen/Network/AWS/IAM/GetAccessKeyLastUsed.hs +3/−0
- gen/Network/AWS/IAM/GetAccountAuthorizationDetails.hs +15/−2
- gen/Network/AWS/IAM/GetAccountSummary.hs +0/−131
- gen/Network/AWS/IAM/GetContextKeysForCustomPolicy.hs +5/−3
- gen/Network/AWS/IAM/GetContextKeysForPrincipalPolicy.hs +8/−4
- gen/Network/AWS/IAM/GetGroup.hs +4/−2
- gen/Network/AWS/IAM/GetGroupPolicy.hs +9/−3
- gen/Network/AWS/IAM/GetInstanceProfile.hs +4/−2
- gen/Network/AWS/IAM/GetLoginProfile.hs +4/−2
- gen/Network/AWS/IAM/GetOpenIdConnectProvider.hs +8/−6
- gen/Network/AWS/IAM/GetPolicy.hs +7/−5
- gen/Network/AWS/IAM/GetPolicyVersion.hs +11/−5
- gen/Network/AWS/IAM/GetRole.hs +7/−3
- gen/Network/AWS/IAM/GetRolePolicy.hs +10/−4
- gen/Network/AWS/IAM/GetSAMLProvider.hs +4/−2
- gen/Network/AWS/IAM/GetSSHPublicKey.hs +5/−1
- gen/Network/AWS/IAM/GetServerCertificate.hs +4/−2
- gen/Network/AWS/IAM/GetUser.hs +4/−4
- gen/Network/AWS/IAM/GetUserPolicy.hs +9/−3
- gen/Network/AWS/IAM/ListAccessKeys.hs +4/−2
- gen/Network/AWS/IAM/ListAccountAliases.hs +1/−1
- gen/Network/AWS/IAM/ListAttachedGroupPolicies.hs +6/−2
- gen/Network/AWS/IAM/ListAttachedRolePolicies.hs +6/−2
- gen/Network/AWS/IAM/ListAttachedUserPolicies.hs +6/−2
- gen/Network/AWS/IAM/ListEntitiesForPolicy.hs +10/−6
- gen/Network/AWS/IAM/ListGroupPolicies.hs +4/−2
- gen/Network/AWS/IAM/ListGroups.hs +2/−2
- gen/Network/AWS/IAM/ListGroupsForUser.hs +3/−1
- gen/Network/AWS/IAM/ListInstanceProfiles.hs +1/−1
- gen/Network/AWS/IAM/ListInstanceProfilesForRole.hs +3/−1
- gen/Network/AWS/IAM/ListMFADevices.hs +3/−1
- gen/Network/AWS/IAM/ListOpenIdConnectProviders.hs +2/−2
- gen/Network/AWS/IAM/ListPolicies.hs +4/−4
- gen/Network/AWS/IAM/ListPolicyVersions.hs +5/−3
- gen/Network/AWS/IAM/ListRolePolicies.hs +4/−2
- gen/Network/AWS/IAM/ListRoles.hs +2/−2
- gen/Network/AWS/IAM/ListSAMLProviders.hs +2/−2
- gen/Network/AWS/IAM/ListSSHPublicKeys.hs +13/−1
- gen/Network/AWS/IAM/ListServerCertificates.hs +2/−2
- gen/Network/AWS/IAM/ListSigningCertificates.hs +5/−3
- gen/Network/AWS/IAM/ListUserPolicies.hs +4/−2
- gen/Network/AWS/IAM/ListUsers.hs +1/−1
- gen/Network/AWS/IAM/ListVirtualMFADevices.hs +2/−2
- gen/Network/AWS/IAM/PutGroupPolicy.hs +9/−3
- gen/Network/AWS/IAM/PutRolePolicy.hs +10/−4
- gen/Network/AWS/IAM/PutUserPolicy.hs +9/−3
- gen/Network/AWS/IAM/RemoveClientIdFromOpenIdConnectProvider.hs +6/−4
- gen/Network/AWS/IAM/RemoveRoleFromInstanceProfile.hs +7/−3
- gen/Network/AWS/IAM/RemoveUserFromGroup.hs +4/−0
- gen/Network/AWS/IAM/ResyncMFADevice.hs +10/−2
- gen/Network/AWS/IAM/SetDefaultPolicyVersion.hs +4/−2
- gen/Network/AWS/IAM/SimulateCustomPolicy.hs +17/−2
- gen/Network/AWS/IAM/SimulatePrincipalPolicy.hs +21/−2
- gen/Network/AWS/IAM/Types/Product.hs +8/−7
- gen/Network/AWS/IAM/Types/Sum.hs +9/−9
- gen/Network/AWS/IAM/UpdateAccessKey.hs +4/−0
- gen/Network/AWS/IAM/UpdateAssumeRolePolicy.hs +6/−2
- gen/Network/AWS/IAM/UpdateGroup.hs +11/−5
- gen/Network/AWS/IAM/UpdateLoginProfile.hs +8/−4
- gen/Network/AWS/IAM/UpdateOpenIdConnectProviderThumbprint.hs +6/−4
- gen/Network/AWS/IAM/UpdateSAMLProvider.hs +3/−1
- gen/Network/AWS/IAM/UpdateSSHPublicKey.hs +5/−1
- gen/Network/AWS/IAM/UpdateServerCertificate.hs +8/−2
- gen/Network/AWS/IAM/UpdateSigningCertificate.hs +6/−2
- gen/Network/AWS/IAM/UpdateUser.hs +9/−3
- gen/Network/AWS/IAM/UploadSSHPublicKey.hs +4/−0
- gen/Network/AWS/IAM/UploadServerCertificate.hs +10/−2
- gen/Network/AWS/IAM/UploadSigningCertificate.hs +7/−3
- src/.gitkeep +0/−0
README.md view
@@ -8,7 +8,7 @@ ## Version -`1.4.3`+`1.4.4` ## Description@@ -32,7 +32,9 @@ For more information, see the following: - <http://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html AWS Security Credentials>. This topic provides general information about the types of credentials used for accessing AWS.+ - <http://docs.aws.amazon.com/IAM/latest/UserGuide/IAMBestPractices.html IAM Best Practices>. This topic presents a list of suggestions for using the IAM service to help secure your AWS resources.+ - <http://docs.aws.amazon.com/general/latest/gr/signing_aws_api_requests.html Signing AWS API Requests>. This set of topics walk you through the process of signing a request using an access key ID and secret access key. Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-iam)
amazonka-iam.cabal view
@@ -1,5 +1,5 @@ name: amazonka-iam-version: 1.4.3+version: 1.4.4 synopsis: Amazon Identity and Access Management SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues@@ -11,7 +11,7 @@ category: Network, AWS, Cloud, Distributed Computing build-type: Simple cabal-version: >= 1.10-extra-source-files: README.md fixture/*.yaml fixture/*.proto+extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep description: AWS Identity and Access Management @@ -32,7 +32,9 @@ For more information, see the following: - <http://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html AWS Security Credentials>. This topic provides general information about the types of credentials used for accessing AWS.+ - <http://docs.aws.amazon.com/IAM/latest/UserGuide/IAMBestPractices.html IAM Best Practices>. This topic presents a list of suggestions for using the IAM service to help secure your AWS resources.+ - <http://docs.aws.amazon.com/general/latest/gr/signing_aws_api_requests.html Signing AWS API Requests>. This set of topics walk you through the process of signing a request using an access key ID and secret access key. . The types from this library are intended to be used with@@ -182,7 +184,7 @@ , Network.AWS.IAM.Types.Sum build-depends:- amazonka-core == 1.4.3.*+ amazonka-core == 1.4.4.* , base >= 4.7 && < 5 test-suite amazonka-iam-test@@ -202,9 +204,9 @@ , Test.AWS.IAM.Internal build-depends:- amazonka-core == 1.4.3.*- , amazonka-test == 1.4.3.*- , amazonka-iam == 1.4.3.*+ amazonka-core == 1.4.4.*+ , amazonka-test == 1.4.4.*+ , amazonka-iam == 1.4.4.* , base , bytestring , tasty
gen/Network/AWS/IAM.hs view
@@ -30,8 +30,11 @@ -- For more information, see the following: -- -- - <http://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html AWS Security Credentials>. This topic provides general information about the types of credentials used for accessing AWS.+-- -- - <http://docs.aws.amazon.com/IAM/latest/UserGuide/IAMBestPractices.html IAM Best Practices>. This topic presents a list of suggestions for using the IAM service to help secure your AWS resources.+-- -- - <http://docs.aws.amazon.com/general/latest/gr/signing_aws_api_requests.html Signing AWS API Requests>. This set of topics walk you through the process of signing a request using an access key ID and secret access key.+-- module Network.AWS.IAM ( -- * Service Configuration@@ -136,7 +139,7 @@ -- ** CreateAccessKey , module Network.AWS.IAM.CreateAccessKey - -- ** ListSSHPublicKeys+ -- ** ListSSHPublicKeys (Paginated) , module Network.AWS.IAM.ListSSHPublicKeys -- ** ListOpenIdConnectProviders@@ -187,7 +190,7 @@ -- ** UploadSSHPublicKey , module Network.AWS.IAM.UploadSSHPublicKey - -- ** SimulateCustomPolicy+ -- ** SimulateCustomPolicy (Paginated) , module Network.AWS.IAM.SimulateCustomPolicy -- ** DeleteRole@@ -247,7 +250,7 @@ -- ** CreateSAMLProvider , module Network.AWS.IAM.CreateSAMLProvider - -- ** GetAccountAuthorizationDetails+ -- ** GetAccountAuthorizationDetails (Paginated) , module Network.AWS.IAM.GetAccountAuthorizationDetails -- ** DeleteAccountAlias@@ -304,7 +307,7 @@ -- ** AddUserToGroup , module Network.AWS.IAM.AddUserToGroup - -- ** SimulatePrincipalPolicy+ -- ** SimulatePrincipalPolicy (Paginated) , module Network.AWS.IAM.SimulatePrincipalPolicy -- ** GetPolicyVersion
gen/Network/AWS/IAM/AddClientIdToOpenIdConnectProvider.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- 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.+-- Adds a new client ID (also known as audience) to the list of client IDs already registered for the specified IAM OpenID Connect (OIDC) provider resource. -- -- This action is idempotent; it does not fail or return an error if you add an existing client ID to the provider. module Network.AWS.IAM.AddClientIdToOpenIdConnectProvider@@ -65,11 +65,11 @@ , _acitoicpClientId = pClientId_ } --- | 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 resource to add the client ID to. You can get a list of OIDC provider ARNs by using the < ListOpenIDConnectProviders> action. acitoicpOpenIdConnectProviderARN :: Lens' AddClientIdToOpenIdConnectProvider Text acitoicpOpenIdConnectProviderARN = lens _acitoicpOpenIdConnectProviderARN (\ s a -> s{_acitoicpOpenIdConnectProviderARN = a}); --- | The client ID (also known as audience) to add to the IAM OpenID Connect provider.+-- | The client ID (also known as audience) to add to the IAM OpenID Connect provider resource. acitoicpClientId :: Lens' AddClientIdToOpenIdConnectProvider Text acitoicpClientId = lens _acitoicpClientId (\ s a -> s{_acitoicpClientId = a});
gen/Network/AWS/IAM/AddRoleToInstanceProfile.hs view
@@ -18,7 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Adds the specified role to the specified instance profile. 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>.+-- Adds the specified IAM role to the specified instance profile.+--+-- The caller of this API must be granted the 'PassRole' permission on the IAM role by a permission policy.+--+-- 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>. module Network.AWS.IAM.AddRoleToInstanceProfile ( -- * Creating a Request@@ -64,10 +68,14 @@ } -- | The name of the instance profile to update.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- artipInstanceProfileName :: Lens' AddRoleToInstanceProfile Text artipInstanceProfileName = lens _artipInstanceProfileName (\ s a -> s{_artipInstanceProfileName = a}); -- | The name of the role to add.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- artipRoleName :: Lens' AddRoleToInstanceProfile Text artipRoleName = lens _artipRoleName (\ s a -> s{_artipRoleName = a});
gen/Network/AWS/IAM/AddUserToGroup.hs view
@@ -64,10 +64,14 @@ } -- | The name of the group to update.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- autgGroupName :: Lens' AddUserToGroup Text autgGroupName = lens _autgGroupName (\ s a -> s{_autgGroupName = a}); -- | The name of the user to add.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- autgUserName :: Lens' AddUserToGroup Text autgUserName = lens _autgUserName (\ s a -> s{_autgUserName = a});
gen/Network/AWS/IAM/AttachGroupPolicy.hs view
@@ -18,11 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Attaches the specified managed policy to the specified group.+-- Attaches the specified managed policy to the specified IAM group. -- -- You use this API to attach a managed policy to a group. To embed an inline policy in a group, use < PutGroupPolicy>. ----- For more information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- For more information about policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. module Network.AWS.IAM.AttachGroupPolicy ( -- * Creating a Request@@ -68,10 +68,14 @@ } -- | The name (friendly name, not ARN) of the group to attach the policy to.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- agpGroupName :: Lens' AttachGroupPolicy Text agpGroupName = lens _agpGroupName (\ s a -> s{_agpGroupName = a}); --- | Undocumented member.+-- | The Amazon Resource Name (ARN) of the IAM policy you want to attach.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. agpPolicyARN :: Lens' AttachGroupPolicy Text agpPolicyARN = lens _agpPolicyARN (\ s a -> s{_agpPolicyARN = a});
gen/Network/AWS/IAM/AttachRolePolicy.hs view
@@ -18,11 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Attaches the specified managed policy to the specified role.+-- Attaches the specified managed policy to the specified IAM role. ----- When you attach a managed policy to a role, the managed policy is used as the role\'s access (permissions) policy. You cannot use a managed policy as the role\'s trust policy. The role\'s trust policy is created at the same time as the role, using < CreateRole>. You can update a role\'s trust policy using < UpdateAssumeRolePolicy>.+-- When you attach a managed policy to a role, the managed policy becomes part of the role\'s permission (access) policy. You cannot use a managed policy as the role\'s trust policy. The role\'s trust policy is created at the same time as the role, using < CreateRole>. You can update a role\'s trust policy using < UpdateAssumeRolePolicy>. ----- Use this API to attach a managed policy to a role. To embed an inline policy in a role, use < PutRolePolicy>. For more information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- Use this API to attach a /managed/ policy to a role. To embed an inline policy in a role, use < PutRolePolicy>. For more information about policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. module Network.AWS.IAM.AttachRolePolicy ( -- * Creating a Request@@ -68,10 +68,14 @@ } -- | The name (friendly name, not ARN) of the role to attach the policy to.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- arpRoleName :: Lens' AttachRolePolicy Text arpRoleName = lens _arpRoleName (\ s a -> s{_arpRoleName = a}); --- | Undocumented member.+-- | The Amazon Resource Name (ARN) of the IAM policy you want to attach.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. arpPolicyARN :: Lens' AttachRolePolicy Text arpPolicyARN = lens _arpPolicyARN (\ s a -> s{_arpPolicyARN = a});
gen/Network/AWS/IAM/AttachUserPolicy.hs view
@@ -20,9 +20,9 @@ -- -- Attaches the specified managed policy to the specified user. ----- You use this API to attach a managed policy to a user. To embed an inline policy in a user, use < PutUserPolicy>.+-- You use this API to attach a /managed/ policy to a user. To embed an inline policy in a user, use < PutUserPolicy>. ----- For more information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- For more information about policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. module Network.AWS.IAM.AttachUserPolicy ( -- * Creating a Request@@ -67,11 +67,15 @@ , _aupPolicyARN = pPolicyARN_ } --- | The name (friendly name, not ARN) of the user to attach the policy to.+-- | The name (friendly name, not ARN) of the IAM user to attach the policy to.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- aupUserName :: Lens' AttachUserPolicy Text aupUserName = lens _aupUserName (\ s a -> s{_aupUserName = a}); --- | Undocumented member.+-- | The Amazon Resource Name (ARN) of the IAM policy you want to attach.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. aupPolicyARN :: Lens' AttachUserPolicy Text aupPolicyARN = lens _aupPolicyARN (\ s a -> s{_aupPolicyARN = a});
gen/Network/AWS/IAM/ChangePassword.hs view
@@ -70,6 +70,8 @@ cpOldPassword = lens _cpOldPassword (\ s a -> s{_cpOldPassword = a}) . _Sensitive; -- | The new password. The new password must conform to the AWS account\'s password policy, if one exists.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of almost any printable ASCII character from the space (\\u0020) through the end of the ASCII character range (\\u00FF). You can also include the tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D) characters. Although any of these characters are valid in a password, note that many tools, such as the AWS Management Console, might restrict the ability to enter certain characters because they have special meaning within that tool. cpNewPassword :: Lens' ChangePassword Text cpNewPassword = lens _cpNewPassword (\ s a -> s{_cpNewPassword = a}) . _Sensitive;
gen/Network/AWS/IAM/CreateAccessKey.hs view
@@ -65,7 +65,9 @@ { _cakUserName = Nothing } --- | The user name that the new key will belong to.+-- | The name of the IAM user that the new key will belong to.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- cakUserName :: Lens' CreateAccessKey (Maybe Text) cakUserName = lens _cakUserName (\ s a -> s{_cakUserName = a}); @@ -124,7 +126,7 @@ cakrsResponseStatus :: Lens' CreateAccessKeyResponse Int cakrsResponseStatus = lens _cakrsResponseStatus (\ s a -> s{_cakrsResponseStatus = a}); --- | Information about the access key.+-- | A structure with details about the access key. cakrsAccessKey :: Lens' CreateAccessKeyResponse AccessKey cakrsAccessKey = lens _cakrsAccessKey (\ s a -> s{_cakrsAccessKey = a});
gen/Network/AWS/IAM/CreateAccountAlias.hs view
@@ -58,6 +58,8 @@ } -- | The account alias to create.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row. caaAccountAlias :: Lens' CreateAccountAlias Text caaAccountAlias = lens _caaAccountAlias (\ s a -> s{_caaAccountAlias = a});
gen/Network/AWS/IAM/CreateGroup.hs view
@@ -67,13 +67,17 @@ , _cgGroupName = pGroupName_ } --- | 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.+-- | 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 /IAM User Guide/. -- -- This parameter is optional. If it is not included, it defaults to a slash (\/).+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of either a forward slash (\/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\\u0021) thru the DEL character (\\u007F), including most punctuation characters, digits, and upper and lowercased letters. cgPath :: Lens' CreateGroup (Maybe Text) cgPath = lens _cgPath (\ s a -> s{_cgPath = a}); -- | The name of the group to create. Do not include the path in this value.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'-. The group name must be unique within the account. Group names are not distinguished by case. For example, you cannot create groups named both \"ADMINS\" and \"admins\". cgGroupName :: Lens' CreateGroup Text cgGroupName = lens _cgGroupName (\ s a -> s{_cgGroupName = a}); @@ -132,7 +136,7 @@ cgrsResponseStatus :: Lens' CreateGroupResponse Int cgrsResponseStatus = lens _cgrsResponseStatus (\ s a -> s{_cgrsResponseStatus = a}); --- | Information about the group.+-- | A structure containing details about the new group. cgrsGroup :: Lens' CreateGroupResponse Group cgrsGroup = lens _cgrsGroup (\ s a -> s{_cgrsGroup = a});
gen/Network/AWS/IAM/CreateInstanceProfile.hs view
@@ -67,13 +67,17 @@ , _cipInstanceProfileName = pInstanceProfileName_ } --- | The path to the instance profile. For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html 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 IAM Identifiers> in the /IAM User Guide/. -- -- This parameter is optional. If it is not included, it defaults to a slash (\/).+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of either a forward slash (\/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\\u0021) thru the DEL character (\\u007F), including most punctuation characters, digits, and upper and lowercased letters. cipPath :: Lens' CreateInstanceProfile (Maybe Text) cipPath = lens _cipPath (\ s a -> s{_cipPath = a}); -- | The name of the instance profile to create.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- cipInstanceProfileName :: Lens' CreateInstanceProfile Text cipInstanceProfileName = lens _cipInstanceProfileName (\ s a -> s{_cipInstanceProfileName = a}); @@ -134,7 +138,7 @@ ciprsResponseStatus :: Lens' CreateInstanceProfileResponse Int ciprsResponseStatus = lens _ciprsResponseStatus (\ s a -> s{_ciprsResponseStatus = a}); --- | Information about the instance profile.+-- | A structure containing details about the new instance profile. ciprsInstanceProfile :: Lens' CreateInstanceProfileResponse InstanceProfile ciprsInstanceProfile = lens _ciprsInstanceProfile (\ s a -> s{_ciprsInstanceProfile = a});
gen/Network/AWS/IAM/CreateLoginProfile.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- 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 <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html Managing Passwords> in the /Using IAM/ guide.+-- 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 <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html Managing Passwords> in the /IAM User Guide/. module Network.AWS.IAM.CreateLoginProfile ( -- * Creating a Request@@ -75,11 +75,15 @@ clpPasswordResetRequired :: Lens' CreateLoginProfile (Maybe Bool) clpPasswordResetRequired = lens _clpPasswordResetRequired (\ s a -> s{_clpPasswordResetRequired = a}); --- | The name of the user to create a password for.+-- | The name of the IAM user to create a password for. The user must already exist.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- clpUserName :: Lens' CreateLoginProfile Text clpUserName = lens _clpUserName (\ s a -> s{_clpUserName = a}); -- | The new password for the user.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of almost any printable ASCII character from the space (\\u0020) through the end of the ASCII character range (\\u00FF). You can also include the tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D) characters. Although any of these characters are valid in a password, note that many tools, such as the AWS Management Console, might restrict the ability to enter certain characters because they have special meaning within that tool. clpPassword :: Lens' CreateLoginProfile Text clpPassword = lens _clpPassword (\ s a -> s{_clpPassword = a}) . _Sensitive; @@ -141,7 +145,7 @@ clprsResponseStatus :: Lens' CreateLoginProfileResponse Int clprsResponseStatus = lens _clprsResponseStatus (\ s a -> s{_clprsResponseStatus = a}); --- | The user name and password create date.+-- | A structure containing the user name and password create date. clprsLoginProfile :: Lens' CreateLoginProfileResponse LoginProfile clprsLoginProfile = lens _clprsLoginProfile (\ s a -> s{_clprsLoginProfile = a});
gen/Network/AWS/IAM/CreateOpenIdConnectProvider.hs view
@@ -159,7 +159,7 @@ , _coicprsResponseStatus = pResponseStatus_ } --- | 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 new IAM OpenID Connect provider that is created. For more information, see < OpenIDConnectProviderListEntry>. coicprsOpenIdConnectProviderARN :: Lens' CreateOpenIdConnectProviderResponse (Maybe Text) coicprsOpenIdConnectProviderARN = lens _coicprsOpenIdConnectProviderARN (\ s a -> s{_coicprsOpenIdConnectProviderARN = a});
gen/Network/AWS/IAM/CreatePolicy.hs view
@@ -22,7 +22,7 @@ -- -- This operation creates a policy version with a version identifier of 'v1' and sets v1 as the policy\'s default version. For more information about policy versions, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html Versioning for Managed Policies> in the /IAM User Guide/. ----- For more information about managed policies in general, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- For more information about managed policies in general, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. module Network.AWS.IAM.CreatePolicy ( -- * Creating a Request@@ -85,6 +85,8 @@ -- For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /IAM User Guide/. -- -- This parameter is optional. If it is not included, it defaults to a slash (\/).+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of either a forward slash (\/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\\u0021) thru the DEL character (\\u007F), including most punctuation characters, digits, and upper and lowercased letters. cpPath :: Lens' CreatePolicy (Maybe Text) cpPath = lens _cpPath (\ s a -> s{_cpPath = a}); @@ -96,11 +98,15 @@ cpDescription :: Lens' CreatePolicy (Maybe Text) cpDescription = lens _cpDescription (\ s a -> s{_cpDescription = a}); --- | The name of the policy document.+-- | The friendly name of the policy.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- cpPolicyName :: Lens' CreatePolicy Text cpPolicyName = lens _cpPolicyName (\ s a -> s{_cpPolicyName = a}); --- | The policy document.+-- | The JSON policy document that you want to use as the content for the new policy.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\\u0020) through end of the ASCII character range (\\u00FF). It also includes the special characters tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D). cpPolicyDocument :: Lens' CreatePolicy Text cpPolicyDocument = lens _cpPolicyDocument (\ s a -> s{_cpPolicyDocument = a}); @@ -156,7 +162,7 @@ , _cprsResponseStatus = pResponseStatus_ } --- | Information about the policy.+-- | A structure containing details about the new policy. cprsPolicy :: Lens' CreatePolicyResponse (Maybe Policy) cprsPolicy = lens _cprsPolicy (\ s a -> s{_cprsPolicy = a});
gen/Network/AWS/IAM/CreatePolicyVersion.hs view
@@ -20,7 +20,7 @@ -- -- Creates a new version of the specified managed policy. To update a managed policy, you create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must delete an existing version using < DeletePolicyVersion> before you create a new version. ----- Optionally, you can set the new version as the policy\'s default version. The default version is the operative version; that is, the version that is in effect for the IAM users, groups, and roles that the policy is attached to.+-- Optionally, you can set the new version as the policy\'s default version. The default version is the version that is in effect for the IAM users, groups, and roles to which the policy is attached. -- -- For more information about managed policy versions, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html Versioning for Managed Policies> in the /IAM User Guide/. module Network.AWS.IAM.CreatePolicyVersion@@ -83,11 +83,15 @@ cpvSetAsDefault :: Lens' CreatePolicyVersion (Maybe Bool) cpvSetAsDefault = lens _cpvSetAsDefault (\ s a -> s{_cpvSetAsDefault = a}); --- | Undocumented member.+-- | The Amazon Resource Name (ARN) of the IAM policy to which you want to add a new version.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. cpvPolicyARN :: Lens' CreatePolicyVersion Text cpvPolicyARN = lens _cpvPolicyARN (\ s a -> s{_cpvPolicyARN = a}); --- | The policy document.+-- | The JSON policy document that you want to use as the content for this new version of the policy.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\\u0020) through end of the ASCII character range (\\u00FF). It also includes the special characters tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D). cpvPolicyDocument :: Lens' CreatePolicyVersion Text cpvPolicyDocument = lens _cpvPolicyDocument (\ s a -> s{_cpvPolicyDocument = a}); @@ -144,7 +148,7 @@ , _cpvrsResponseStatus = pResponseStatus_ } --- | Information about the policy version.+-- | A structure containing details about the new policy version. cpvrsPolicyVersion :: Lens' CreatePolicyVersionResponse (Maybe PolicyVersion) cpvrsPolicyVersion = lens _cpvrsPolicyVersion (\ s a -> s{_cpvrsPolicyVersion = a});
gen/Network/AWS/IAM/CreateRole.hs view
@@ -71,17 +71,23 @@ , _crAssumeRolePolicyDocument = pAssumeRolePolicyDocument_ } --- | 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.+-- | 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 /IAM User Guide/. -- -- This parameter is optional. If it is not included, it defaults to a slash (\/).+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of either a forward slash (\/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\\u0021) thru the DEL character (\\u007F), including most punctuation characters, digits, and upper and lowercased letters. crPath :: Lens' CreateRole (Maybe Text) crPath = lens _crPath (\ s a -> s{_crPath = a}); -- | The name of the role to create.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'-. Role names are not distinguished by case. For example, you cannot create roles named both \"PRODROLE\" and \"prodrole\". crRoleName :: Lens' CreateRole Text crRoleName = lens _crRoleName (\ s a -> s{_crRoleName = a}); -- | The trust relationship policy document that grants an entity permission to assume the role.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\\u0020) through end of the ASCII character range (\\u00FF). It also includes the special characters tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D). crAssumeRolePolicyDocument :: Lens' CreateRole Text crAssumeRolePolicyDocument = lens _crAssumeRolePolicyDocument (\ s a -> s{_crAssumeRolePolicyDocument = a}); @@ -142,7 +148,7 @@ crrsResponseStatus :: Lens' CreateRoleResponse Int crrsResponseStatus = lens _crrsResponseStatus (\ s a -> s{_crrsResponseStatus = a}); --- | Information about the role.+-- | A structure containing details about the new role. crrsRole :: Lens' CreateRoleResponse Role crrsRole = lens _crrsRole (\ s a -> s{_crrsRole = a});
gen/Network/AWS/IAM/CreateSAMLProvider.hs view
@@ -18,11 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates an IAM entity to describe an identity provider (IdP) that supports SAML 2.0.+-- Creates an IAM resource that describes 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.+-- The SAML provider resource that you create with this operation can be used as a principal in an IAM role\'s trust policy to enable federated users who sign-in using the SAML IdP to assume the role. 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.+-- When you create the SAML provider resource, 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 the IdP sends. You must generate the metadata document using the identity management software that is used as your organization\'s IdP. -- -- This operation requires <http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html Signature Version 4>. --@@ -81,6 +81,8 @@ csamlpSAMLMetadataDocument = lens _csamlpSAMLMetadataDocument (\ s a -> s{_csamlpSAMLMetadataDocument = a}); -- | The name of the provider to create.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- csamlpName :: Lens' CreateSAMLProvider Text csamlpName = lens _csamlpName (\ s a -> s{_csamlpName = a}); @@ -137,7 +139,7 @@ , _csamlprsResponseStatus = pResponseStatus_ } --- | The Amazon Resource Name (ARN) of the SAML provider.+-- | The Amazon Resource Name (ARN) of the new SAML provider resource in IAM. csamlprsSAMLProviderARN :: Lens' CreateSAMLProviderResponse (Maybe Text) csamlprsSAMLProviderARN = lens _csamlprsSAMLProviderARN (\ s a -> s{_csamlprsSAMLProviderARN = a});
gen/Network/AWS/IAM/CreateUser.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a new user for your AWS account.+-- Creates a new IAM 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 /IAM User Guide/.+-- For information about limitations on the number of IAM users you can create, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on IAM Entities> in the /IAM User Guide/. module Network.AWS.IAM.CreateUser ( -- * Creating a Request@@ -67,13 +67,17 @@ , _cuUserName = pUserName_ } --- | The path for the user name. For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide.+-- | The path for the user name. For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /IAM User Guide/. -- -- This parameter is optional. If it is not included, it defaults to a slash (\/).+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of either a forward slash (\/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\\u0021) thru the DEL character (\\u007F), including most punctuation characters, digits, and upper and lowercased letters. cuPath :: Lens' CreateUser (Maybe Text) cuPath = lens _cuPath (\ s a -> s{_cuPath = a}); -- | The name of the user to create.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'-. User names are not distinguished by case. For example, you cannot create users named both \"TESTUSER\" and \"testuser\". cuUserName :: Lens' CreateUser Text cuUserName = lens _cuUserName (\ s a -> s{_cuUserName = a}); @@ -127,7 +131,7 @@ , _cursResponseStatus = pResponseStatus_ } --- | Information about the user.+-- | A structure with details about the new IAM user. cursUser :: Lens' CreateUserResponse (Maybe User) cursUser = lens _cursUser (\ s a -> s{_cursUser = a});
gen/Network/AWS/IAM/CreateVirtualMFADevice.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- 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 <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_VirtualMFA.html Using a Virtual MFA Device> in the /Using IAM/ guide.+-- 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 <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_VirtualMFA.html Using a Virtual MFA Device> in the /IAM User 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.+-- 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 /IAM User 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. module Network.AWS.IAM.CreateVirtualMFADevice@@ -69,13 +69,17 @@ , _cvmdVirtualMFADeviceName = pVirtualMFADeviceName_ } --- | 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.+-- | 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 /IAM User Guide/. -- -- This parameter is optional. If it is not included, it defaults to a slash (\/).+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of either a forward slash (\/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\\u0021) thru the DEL character (\\u007F), including most punctuation characters, digits, and upper and lowercased letters. cvmdPath :: Lens' CreateVirtualMFADevice (Maybe Text) cvmdPath = lens _cvmdPath (\ s a -> s{_cvmdPath = a}); -- | The name of the virtual MFA device. Use with path to uniquely identify a virtual MFA device.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- cvmdVirtualMFADeviceName :: Lens' CreateVirtualMFADevice Text cvmdVirtualMFADeviceName = lens _cvmdVirtualMFADeviceName (\ s a -> s{_cvmdVirtualMFADeviceName = a}); @@ -137,7 +141,7 @@ cvmdrsResponseStatus :: Lens' CreateVirtualMFADeviceResponse Int cvmdrsResponseStatus = lens _cvmdrsResponseStatus (\ s a -> s{_cvmdrsResponseStatus = a}); --- | A newly created virtual MFA device.+-- | A structure containing details about the new virtual MFA device. cvmdrsVirtualMFADevice :: Lens' CreateVirtualMFADeviceResponse VirtualMFADevice cvmdrsVirtualMFADevice = lens _cvmdrsVirtualMFADevice (\ s a -> s{_cvmdrsVirtualMFADevice = a});
gen/Network/AWS/IAM/DeactivateMFADevice.hs view
@@ -20,7 +20,7 @@ -- -- 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.+-- 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 /IAM User Guide/. module Network.AWS.IAM.DeactivateMFADevice ( -- * Creating a Request@@ -66,10 +66,14 @@ } -- | The name of the user whose MFA device you want to deactivate.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- dmdUserName :: Lens' DeactivateMFADevice Text dmdUserName = lens _dmdUserName (\ s a -> s{_dmdUserName = a}); -- | The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =\/:,.\'- dmdSerialNumber :: Lens' DeactivateMFADevice Text dmdSerialNumber = lens _dmdSerialNumber (\ s a -> s{_dmdSerialNumber = a});
gen/Network/AWS/IAM/DeleteAccessKey.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the access key associated with the specified user.+-- Deletes the access key pair associated with the specified IAM 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. module Network.AWS.IAM.DeleteAccessKey@@ -64,11 +64,15 @@ , _dakAccessKeyId = pAccessKeyId_ } --- | The name of the user whose key you want to delete.+-- | The name of the user whose access key pair you want to delete.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- dakUserName :: Lens' DeleteAccessKey (Maybe Text) dakUserName = lens _dakUserName (\ s a -> s{_dakUserName = a}); -- | The access key ID for the access key ID and secret access key you want to delete.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters that can consist of any upper or lowercased letter or digit. dakAccessKeyId :: Lens' DeleteAccessKey Text dakAccessKeyId = lens _dakAccessKeyId (\ s a -> s{_dakAccessKeyId = a});
gen/Network/AWS/IAM/DeleteAccountAlias.hs view
@@ -58,6 +58,8 @@ } -- | The name of the account alias to delete.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row. daaAccountAlias :: Lens' DeleteAccountAlias Text daaAccountAlias = lens _daaAccountAlias (\ s a -> s{_daaAccountAlias = a});
gen/Network/AWS/IAM/DeleteAccountPasswordPolicy.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the password policy for the AWS account.+-- Deletes the password policy for the AWS account. There are no parameters. module Network.AWS.IAM.DeleteAccountPasswordPolicy ( -- * Creating a Request
gen/Network/AWS/IAM/DeleteGroup.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the specified group. The group must not contain any users or have any attached policies.+-- Deletes the specified IAM group. The group must not contain any users or have any attached policies. module Network.AWS.IAM.DeleteGroup ( -- * Creating a Request@@ -57,7 +57,9 @@ { _dgGroupName = pGroupName_ } --- | The name of the group to delete.+-- | The name of the IAM group to delete.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- dgGroupName :: Lens' DeleteGroup Text dgGroupName = lens _dgGroupName (\ s a -> s{_dgGroupName = a});
gen/Network/AWS/IAM/DeleteGroupPolicy.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the specified inline policy that is embedded in the specified group.+-- Deletes the specified inline policy that is embedded in the specified IAM group. -- -- A group can also have managed policies attached to it. To detach a managed policy from a group, use < DetachGroupPolicy>. For more information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. module Network.AWS.IAM.DeleteGroupPolicy@@ -66,10 +66,14 @@ } -- | The name (friendly name, not ARN) identifying the group that the policy is embedded in.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- dGroupName :: Lens' DeleteGroupPolicy Text dGroupName = lens _dGroupName (\ s a -> s{_dGroupName = a}); -- | The name identifying the policy document to delete.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- dPolicyName :: Lens' DeleteGroupPolicy Text dPolicyName = lens _dPolicyName (\ s a -> s{_dPolicyName = a});
gen/Network/AWS/IAM/DeleteInstanceProfile.hs view
@@ -62,6 +62,8 @@ } -- | The name of the instance profile to delete.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- dipInstanceProfileName :: Lens' DeleteInstanceProfile Text dipInstanceProfileName = lens _dipInstanceProfileName (\ s a -> s{_dipInstanceProfileName = a});
gen/Network/AWS/IAM/DeleteLoginProfile.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- 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.+-- Deletes the password for the specified IAM 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>.+-- Deleting a user\'s password does not prevent a user from accessing AWS through the command line interface or the API. To prevent all user access you must also either make any access keys inactive or delete them. For more information about making keys inactive or deleting them, see < UpdateAccessKey> and < DeleteAccessKey>. module Network.AWS.IAM.DeleteLoginProfile ( -- * Creating a Request@@ -60,6 +60,8 @@ } -- | The name of the user whose password you want to delete.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- dlpUserName :: Lens' DeleteLoginProfile Text dlpUserName = lens _dlpUserName (\ s a -> s{_dlpUserName = a});
gen/Network/AWS/IAM/DeleteOpenIdConnectProvider.hs view
@@ -18,11 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes an IAM OpenID Connect identity provider.+-- Deletes an OpenID Connect identity provider (IdP) resource object in IAM. ----- 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.+-- Deleting an IAM OIDC provider resource 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 deleted provider fails. ----- This action is idempotent; it does not fail or return an error if you call the action for a provider that was already deleted.+-- This action is idempotent; it does not fail or return an error if you call the action for a provider that does not exist. module Network.AWS.IAM.DeleteOpenIdConnectProvider ( -- * Creating a Request@@ -61,7 +61,7 @@ { _doicpOpenIdConnectProviderARN = pOpenIdConnectProviderARN_ } --- | 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 resource object to delete. You can get a list of OpenID Connect provider resource ARNs by using the < ListOpenIDConnectProviders> action. doicpOpenIdConnectProviderARN :: Lens' DeleteOpenIdConnectProvider Text doicpOpenIdConnectProviderARN = lens _doicpOpenIdConnectProviderARN (\ s a -> s{_doicpOpenIdConnectProviderARN = a});
gen/Network/AWS/IAM/DeletePolicy.hs view
@@ -20,13 +20,15 @@ -- -- Deletes the specified managed policy. ----- Before you can delete a managed policy, you must detach the policy from all users, groups, and roles that it is attached to, and you must delete all of the policy\'s versions. The following steps describe the process for deleting a managed policy:+-- Before you can delete a managed policy, you must first detach the policy from all users, groups, and roles that it is attached to, and you must delete all of the policy\'s versions. The following steps describe the process for deleting a managed policy: ----- 1. Detach the policy from all users, groups, and roles that the policy is attached to, using the < DetachUserPolicy>, < DetachGroupPolicy>, or < DetachRolePolicy> APIs. To list all the users, groups, and roles that a policy is attached to, use < ListEntitiesForPolicy>.--- 2. Delete all versions of the policy using < DeletePolicyVersion>. To list the policy\'s versions, use < ListPolicyVersions>. You cannot use < DeletePolicyVersion> to delete the version that is marked as the default version. You delete the policy\'s default version in the next step of the process.--- 3. Delete the policy (this automatically deletes the policy\'s default version) using this API.+-- - Detach the policy from all users, groups, and roles that the policy is attached to, using the < DetachUserPolicy>, < DetachGroupPolicy>, or < DetachRolePolicy> APIs. To list all the users, groups, and roles that a policy is attached to, use < ListEntitiesForPolicy>. ----- For information about managed policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- - Delete all versions of the policy using < DeletePolicyVersion>. To list the policy\'s versions, use < ListPolicyVersions>. You cannot use < DeletePolicyVersion> to delete the version that is marked as the default version. You delete the policy\'s default version in the next step of the process.+--+-- - Delete the policy (this automatically deletes the policy\'s default version) using this API.+--+-- For information about managed policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. module Network.AWS.IAM.DeletePolicy ( -- * Creating a Request@@ -65,7 +67,9 @@ { _dpPolicyARN = pPolicyARN_ } --- | Undocumented member.+-- | The Amazon Resource Name (ARN) of the IAM policy you want to delete.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. dpPolicyARN :: Lens' DeletePolicy Text dpPolicyARN = lens _dpPolicyARN (\ s a -> s{_dpPolicyARN = a});
gen/Network/AWS/IAM/DeletePolicyVersion.hs view
@@ -18,11 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the specified version of the specified managed policy.+-- Deletes the specified version from the specified managed policy. ----- You cannot delete the default version of a policy using this API. To delete the default version of a policy, use < DeletePolicy>. To find out which version of a policy is marked as the default version, use < ListPolicyVersions>.+-- You cannot delete the default version from a policy using this API. To delete the default version from a policy, use < DeletePolicy>. To find out which version of a policy is marked as the default version, use < ListPolicyVersions>. ----- For information about versions for managed policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html Versioning for Managed Policies> in the /IAM User Guide/.+-- For information about versions for managed policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html Versioning for Managed Policies> in the /IAM User Guide/. module Network.AWS.IAM.DeletePolicyVersion ( -- * Creating a Request@@ -67,11 +67,15 @@ , _dpvVersionId = pVersionId_ } --- | Undocumented member.+-- | The Amazon Resource Name (ARN) of the IAM policy from which you want to delete a version.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. dpvPolicyARN :: Lens' DeletePolicyVersion Text dpvPolicyARN = lens _dpvPolicyARN (\ s a -> s{_dpvPolicyARN = a}); -- | The policy version to delete.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters that consists of the lowercase letter \'v\' followed by one or two digits, and optionally followed by a period \'.\' and a string of letters and digits. -- -- For more information about managed policy versions, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html Versioning for Managed Policies> in the /IAM User Guide/. dpvVersionId :: Lens' DeletePolicyVersion Text
gen/Network/AWS/IAM/DeleteRole.hs view
@@ -60,6 +60,8 @@ } -- | The name of the role to delete.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- drRoleName :: Lens' DeleteRole Text drRoleName = lens _drRoleName (\ s a -> s{_drRoleName = a});
gen/Network/AWS/IAM/DeleteRolePolicy.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the specified inline policy that is embedded in the specified role.+-- Deletes the specified inline policy that is embedded in the specified IAM role. -- -- A role can also have managed policies attached to it. To detach a managed policy from a role, use < DetachRolePolicy>. For more information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. module Network.AWS.IAM.DeleteRolePolicy@@ -66,10 +66,14 @@ } -- | The name (friendly name, not ARN) identifying the role that the policy is embedded in.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- delRoleName :: Lens' DeleteRolePolicy Text delRoleName = lens _delRoleName (\ s a -> s{_delRoleName = a}); --- | The name identifying the policy document to delete.+-- | The name of the inline policy to delete from the specified IAM role.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- delPolicyName :: Lens' DeleteRolePolicy Text delPolicyName = lens _delPolicyName (\ s a -> s{_delPolicyName = a});
gen/Network/AWS/IAM/DeleteSAMLProvider.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes a SAML provider.+-- Deletes a SAML provider resource in IAM. ----- 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.+-- Deleting the provider resource from IAM does not update any roles that reference the SAML provider resource\'s ARN as a principal in their trust policies. Any attempt to assume a role that references a non-existent provider resource ARN fails. -- -- This operation requires <http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html Signature Version 4>. module Network.AWS.IAM.DeleteSAMLProvider
gen/Network/AWS/IAM/DeleteSSHPublicKey.hs view
@@ -66,10 +66,14 @@ } -- | The name of the IAM user associated with the SSH public key.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- dspkUserName :: Lens' DeleteSSHPublicKey Text dspkUserName = lens _dspkUserName (\ s a -> s{_dspkUserName = a}); -- | The unique identifier for the SSH public key.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters that can consist of any upper or lowercased letter or digit. dspkSSHPublicKeyId :: Lens' DeleteSSHPublicKey Text dspkSSHPublicKeyId = lens _dspkSSHPublicKeyId (\ s a -> s{_dspkSSHPublicKeyId = a});
gen/Network/AWS/IAM/DeleteServerCertificate.hs view
@@ -62,6 +62,8 @@ } -- | The name of the server certificate you want to delete.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- dscServerCertificateName :: Lens' DeleteServerCertificate Text dscServerCertificateName = lens _dscServerCertificateName (\ s a -> s{_dscServerCertificateName = a});
gen/Network/AWS/IAM/DeleteSigningCertificate.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the specified signing certificate associated with the specified user.+-- Deletes a signing certificate associated with the specified IAM 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.+-- 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 IAM users. module Network.AWS.IAM.DeleteSigningCertificate ( -- * Creating a Request@@ -65,10 +65,14 @@ } -- | The name of the user the signing certificate belongs to.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- dscUserName :: Lens' DeleteSigningCertificate (Maybe Text) dscUserName = lens _dscUserName (\ s a -> s{_dscUserName = a}); -- | The ID of the signing certificate to delete.+--+-- The format of this parameter, as described by its <http://wikipedia.org/wiki/regex regex> pattern, is a string of characters that can be upper- or lower-cased letters or digits. dscCertificateId :: Lens' DeleteSigningCertificate Text dscCertificateId = lens _dscCertificateId (\ s a -> s{_dscCertificateId = a});
gen/Network/AWS/IAM/DeleteUser.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- 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 IAM user. The user must not belong to any groups or have any access keys, signing certificates, or attached policies. module Network.AWS.IAM.DeleteUser ( -- * Creating a Request@@ -58,6 +58,8 @@ } -- | The name of the user to delete.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- duUserName :: Lens' DeleteUser Text duUserName = lens _duUserName (\ s a -> s{_duUserName = a});
gen/Network/AWS/IAM/DeleteUserPolicy.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the specified inline policy that is embedded in the specified user.+-- Deletes the specified inline policy that is embedded in the specified IAM user. -- -- A user can also have managed policies attached to it. To detach a managed policy from a user, use < DetachUserPolicy>. For more information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. module Network.AWS.IAM.DeleteUserPolicy@@ -66,10 +66,14 @@ } -- | The name (friendly name, not ARN) identifying the user that the policy is embedded in.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- dupUserName :: Lens' DeleteUserPolicy Text dupUserName = lens _dupUserName (\ s a -> s{_dupUserName = a}); -- | The name identifying the policy document to delete.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- dupPolicyName :: Lens' DeleteUserPolicy Text dupPolicyName = lens _dupPolicyName (\ s a -> s{_dupPolicyName = a});
gen/Network/AWS/IAM/DeleteVirtualMFADevice.hs view
@@ -60,6 +60,8 @@ } -- | The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the same as the ARN.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =\/:,.\'- dvmdSerialNumber :: Lens' DeleteVirtualMFADevice Text dvmdSerialNumber = lens _dvmdSerialNumber (\ s a -> s{_dvmdSerialNumber = a});
gen/Network/AWS/IAM/DetachGroupPolicy.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Removes the specified managed policy from the specified group.+-- Removes the specified managed policy from the specified IAM group. ----- A group can also have inline policies embedded with it. To delete an inline policy, use the < DeleteGroupPolicy> API. For information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- A group can also have inline policies embedded with it. To delete an inline policy, use the < DeleteGroupPolicy> API. For information about policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. module Network.AWS.IAM.DetachGroupPolicy ( -- * Creating a Request@@ -65,11 +65,15 @@ , _dgpPolicyARN = pPolicyARN_ } --- | The name (friendly name, not ARN) of the group to detach the policy from.+-- | The name (friendly name, not ARN) of the IAM group to detach the policy from.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- dgpGroupName :: Lens' DetachGroupPolicy Text dgpGroupName = lens _dgpGroupName (\ s a -> s{_dgpGroupName = a}); --- | Undocumented member.+-- | The Amazon Resource Name (ARN) of the IAM policy you want to detach.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. dgpPolicyARN :: Lens' DetachGroupPolicy Text dgpPolicyARN = lens _dgpPolicyARN (\ s a -> s{_dgpPolicyARN = a});
gen/Network/AWS/IAM/DetachRolePolicy.hs view
@@ -20,7 +20,7 @@ -- -- Removes the specified managed policy from the specified role. ----- A role can also have inline policies embedded with it. To delete an inline policy, use the < DeleteRolePolicy> API. For information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- A role can also have inline policies embedded with it. To delete an inline policy, use the < DeleteRolePolicy> API. For information about policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. module Network.AWS.IAM.DetachRolePolicy ( -- * Creating a Request@@ -65,11 +65,15 @@ , _drpPolicyARN = pPolicyARN_ } --- | The name (friendly name, not ARN) of the role to detach the policy from.+-- | The name (friendly name, not ARN) of the IAM role to detach the policy from.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- drpRoleName :: Lens' DetachRolePolicy Text drpRoleName = lens _drpRoleName (\ s a -> s{_drpRoleName = a}); --- | Undocumented member.+-- | The Amazon Resource Name (ARN) of the IAM policy you want to detach.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. drpPolicyARN :: Lens' DetachRolePolicy Text drpPolicyARN = lens _drpPolicyARN (\ s a -> s{_drpPolicyARN = a});
gen/Network/AWS/IAM/DetachUserPolicy.hs view
@@ -20,7 +20,7 @@ -- -- Removes the specified managed policy from the specified user. ----- A user can also have inline policies embedded with it. To delete an inline policy, use the < DeleteUserPolicy> API. For information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- A user can also have inline policies embedded with it. To delete an inline policy, use the < DeleteUserPolicy> API. For information about policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. module Network.AWS.IAM.DetachUserPolicy ( -- * Creating a Request@@ -65,11 +65,15 @@ , _dPolicyARN = pPolicyARN_ } --- | The name (friendly name, not ARN) of the user to detach the policy from.+-- | The name (friendly name, not ARN) of the IAM user to detach the policy from.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- dUserName :: Lens' DetachUserPolicy Text dUserName = lens _dUserName (\ s a -> s{_dUserName = a}); --- | Undocumented member.+-- | The Amazon Resource Name (ARN) of the IAM policy you want to detach.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. dPolicyARN :: Lens' DetachUserPolicy Text dPolicyARN = lens _dPolicyARN (\ s a -> s{_dPolicyARN = a});
gen/Network/AWS/IAM/EnableMFADevice.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- 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.+-- Enables the specified MFA device and associates it with the specified IAM user. When enabled, the MFA device is required for every subsequent login by the IAM user associated with the device. module Network.AWS.IAM.EnableMFADevice ( -- * Creating a Request@@ -75,19 +75,27 @@ , _emdAuthenticationCode2 = pAuthenticationCode2_ } --- | The name of the user for whom you want to enable the MFA device.+-- | The name of the IAM user for whom you want to enable the MFA device.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- emdUserName :: Lens' EnableMFADevice Text emdUserName = lens _emdUserName (\ s a -> s{_emdUserName = a}); -- | The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =\/:,.\'- emdSerialNumber :: Lens' EnableMFADevice Text emdSerialNumber = lens _emdSerialNumber (\ s a -> s{_emdSerialNumber = a}); -- | An authentication code emitted by the device.+--+-- The format for this parameter is a string of 6 digits. emdAuthenticationCode1 :: Lens' EnableMFADevice Text emdAuthenticationCode1 = lens _emdAuthenticationCode1 (\ s a -> s{_emdAuthenticationCode1 = a}); -- | A subsequent authentication code emitted by the device.+--+-- The format for this parameter is a string of 6 digits. emdAuthenticationCode2 :: Lens' EnableMFADevice Text emdAuthenticationCode2 = lens _emdAuthenticationCode2 (\ s a -> s{_emdAuthenticationCode2 = a});
gen/Network/AWS/IAM/GetAccessKeyLastUsed.hs view
@@ -62,6 +62,8 @@ } -- | The identifier of an access key.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters that can consist of any upper or lowercased letter or digit. gakluAccessKeyId :: Lens' GetAccessKeyLastUsed Text gakluAccessKeyId = lens _gakluAccessKeyId (\ s a -> s{_gakluAccessKeyId = a}); @@ -122,6 +124,7 @@ } -- | The name of the AWS IAM user that owns this access key.+-- gaklursUserName :: Lens' GetAccessKeyLastUsedResponse (Maybe Text) gaklursUserName = lens _gaklursUserName (\ s a -> s{_gaklursUserName = a});
gen/Network/AWS/IAM/GetAccountAuthorizationDetails.hs view
@@ -18,9 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Retrieves information about all IAM users, groups, roles, and policies in your account, including their relationships to one another. Use this API to obtain a snapshot of the configuration of IAM permissions (users, groups, roles, and policies) in your account.+-- Retrieves information about all IAM users, groups, roles, and policies in your AWS account, including their relationships to one another. Use this API to obtain a snapshot of the configuration of IAM permissions (users, groups, roles, and policies) in your account. -- -- You can optionally filter the results using the 'Filter' parameter. You can paginate the results using the 'MaxItems' and 'Marker' parameters.+--+-- This operation returns paginated results. module Network.AWS.IAM.GetAccountAuthorizationDetails ( -- * Creating a Request@@ -47,6 +49,7 @@ import Network.AWS.IAM.Types import Network.AWS.IAM.Types.Product import Network.AWS.Lens+import Network.AWS.Pager import Network.AWS.Prelude import Network.AWS.Request import Network.AWS.Response@@ -86,9 +89,19 @@ gaadMaxItems :: Lens' GetAccountAuthorizationDetails (Maybe Natural) gaadMaxItems = lens _gaadMaxItems (\ s a -> s{_gaadMaxItems = a}) . mapping _Nat; --- | A list of entity types (user, group, role, local managed policy, or AWS managed policy) for filtering the results.+-- | A list of entity types used to filter the results. Only the entities that match the types you specify are included in the output. Use the value 'LocalManagedPolicy' to include customer managed policies.+--+-- The format for this parameter is a comma-separated (if more than one) list of strings. Each string value in the list must be one of the valid values listed below. gaadFilter :: Lens' GetAccountAuthorizationDetails [EntityType] gaadFilter = lens _gaadFilter (\ s a -> s{_gaadFilter = a}) . _Default . _Coerce;++instance AWSPager GetAccountAuthorizationDetails+ where+ page rq rs+ | stop (rs ^. gaadrsIsTruncated) = Nothing+ | isNothing (rs ^. gaadrsMarker) = Nothing+ | otherwise =+ Just $ rq & gaadMarker .~ rs ^. gaadrsMarker instance AWSRequest GetAccountAuthorizationDetails where
gen/Network/AWS/IAM/GetAccountSummary.hs view
@@ -106,137 +106,6 @@ } -- | A set of key value pairs containing information about IAM entity usage and IAM quotas.------ 'SummaryMap' contains the following keys:------ - __AccessKeysPerUserQuota__------ The maximum number of active access keys allowed for each IAM user.------ - __AccountAccessKeysPresent__------ This value is 1 if the AWS account (root) has an access key, otherwise it is 0.------ - __AccountMFAEnabled__------ This value is 1 if the AWS account (root) has an MFA device assigned, otherwise it is 0.------ - __AccountSigningCertificatesPresent__------ This value is 1 if the AWS account (root) has a signing certificate, otherwise it is 0.------ - __AssumeRolePolicySizeQuota__------ The maximum allowed size for assume role policy documents (trust policies), in non-whitespace characters.------ - __AttachedPoliciesPerGroupQuota__------ The maximum number of managed policies that can be attached to an IAM group.------ - __AttachedPoliciesPerRoleQuota__------ The maximum number of managed policies that can be attached to an IAM role.------ - __AttachedPoliciesPerUserQuota__------ The maximum number of managed policies that can be attached to an IAM user.------ - __GroupPolicySizeQuota__------ The maximum allowed size for the aggregate of all inline policies embedded in an IAM group, in non-whitespace characters.------ - __Groups__------ The number of IAM groups in the AWS account.------ - __GroupsPerUserQuota__------ The maximum number of IAM groups each IAM user can belong to.------ - __GroupsQuota__------ The maximum number of IAM groups allowed in the AWS account.------ - __InstanceProfiles__------ The number of instance profiles in the AWS account.------ - __InstanceProfilesQuota__------ The maximum number of instance profiles allowed in the AWS account.------ - __MFADevices__------ The number of MFA devices in the AWS account, including those assigned and unassigned.------ - __MFADevicesInUse__------ The number of MFA devices that have been assigned to an IAM user or to the AWS account (root).------ - __Policies__------ The number of customer managed policies in the AWS account.------ - __PoliciesQuota__------ The maximum number of customer managed policies allowed in the AWS account.------ - __PolicySizeQuota__------ The maximum allowed size of a customer managed policy, in non-whitespace characters.------ - __PolicyVersionsInUse__------ The number of managed policies that are attached to IAM users, groups, or roles in the AWS account.------ - __PolicyVersionsInUseQuota__------ The maximum number of managed policies that can be attached to IAM users, groups, or roles in the AWS account.------ - __Providers__------ The number of identity providers in the AWS account.------ - __RolePolicySizeQuota__------ The maximum allowed size for the aggregate of all inline policies (access policies, not the trust policy) embedded in an IAM role, in non-whitespace characters.------ - __Roles__------ The number of IAM roles in the AWS account.------ - __RolesQuota__------ The maximum number of IAM roles allowed in the AWS account.------ - __ServerCertificates__------ The number of server certificates in the AWS account.------ - __ServerCertificatesQuota__------ The maximum number of server certificates allowed in the AWS account.------ - __SigningCertificatesPerUserQuota__------ The maximum number of X.509 signing certificates allowed for each IAM user.------ - __UserPolicySizeQuota__------ The maximum allowed size for the aggregate of all inline policies embedded in an IAM user, in non-whitespace characters.------ - __Users__------ The number of IAM users in the AWS account.------ - __UsersQuota__------ The maximum number of IAM users allowed in the AWS account.------ - __VersionsPerPolicyQuota__------ The maximum number of policy versions allowed for each managed policy.--- gasrsSummaryMap :: Lens' GetAccountSummaryResponse (HashMap SummaryKeyType Int) gasrsSummaryMap = lens _gasrsSummaryMap (\ s a -> s{_gasrsSummaryMap = a}) . _Default . _Map;
gen/Network/AWS/IAM/GetContextKeysForCustomPolicy.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Gets a list of all of the context keys referenced in 'Condition' elements in the input policies. The policies are supplied as a list of one or more strings. To get the context keys from policies associated with an IAM user, group, or role, use < GetContextKeysForPrincipalPolicy>.+-- Gets a list of all of the context keys referenced in the input policies. The policies are supplied as a list of one or more strings. To get the context keys from policies associated with an IAM user, group, or role, use < GetContextKeysForPrincipalPolicy>. ----- Context keys are variables maintained by AWS and its services that provide details about the context of an API query request, and can be evaluated by using the 'Condition' element of an IAM policy. Use GetContextKeysForCustomPolicy to understand what key names and values you must supply when you call < SimulateCustomPolicy>. Note that all parameters are shown in unencoded form here for clarity, but must be URL encoded to be included as a part of a real HTML request.+-- Context keys are variables maintained by AWS and its services that provide details about the context of an API query request, and can be evaluated by testing against a value specified in an IAM policy. Use GetContextKeysForCustomPolicy to understand what key names and values you must supply when you call < SimulateCustomPolicy>. Note that all parameters are shown in unencoded form here for clarity, but must be URL encoded to be included as a part of a real HTML request. module Network.AWS.IAM.GetContextKeysForCustomPolicy ( -- * Creating a Request@@ -60,7 +60,9 @@ { _gckfcpPolicyInputList = mempty } --- | A list of policies for which you want list of context keys used in 'Condition' elements. Each document is specified as a string containing the complete, valid JSON text of an IAM policy.+-- | A list of policies for which you want the list of context keys referenced in those policies. Each document is specified as a string containing the complete, valid JSON text of an IAM policy.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\\u0020) through end of the ASCII character range (\\u00FF). It also includes the special characters tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D). gckfcpPolicyInputList :: Lens' GetContextKeysForCustomPolicy [Text] gckfcpPolicyInputList = lens _gckfcpPolicyInputList (\ s a -> s{_gckfcpPolicyInputList = a}) . _Coerce;
gen/Network/AWS/IAM/GetContextKeysForPrincipalPolicy.hs view
@@ -18,13 +18,13 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Gets a list of all of the context keys referenced in 'Condition' elements in all of the IAM policies attached to the specified IAM entity. The entity can be an IAM user, group, or role. If you specify a user, then the request also includes all of the policies attached to groups that the user is a member of.+-- Gets a list of all of the context keys referenced in all of the IAM policies attached to the specified IAM entity. The entity can be an IAM user, group, or role. If you specify a user, then the request also includes all of the policies attached to groups that the user is a member of. ----- You can optionally include a list of one or more additional policies, specified as strings. If you want to include only a list of policies by string, use < GetContextKeysForCustomPolicy> instead.+-- You can optionally include a list of one or more additional policies, specified as strings. If you want to include /only/ a list of policies by string, use < GetContextKeysForCustomPolicy> instead. -- -- __Note:__ This API discloses information about the permissions granted to other users. If you do not want users to see other user\'s permissions, then consider allowing them to use < GetContextKeysForCustomPolicy> instead. ----- Context keys are variables maintained by AWS and its services that provide details about the context of an API query request, and can be evaluated by using the 'Condition' element of an IAM policy. Use GetContextKeysForPrincipalPolicy to understand what key names and values you must supply when you call < SimulatePrincipalPolicy>.+-- Context keys are variables maintained by AWS and its services that provide details about the context of an API query request, and can be evaluated by testing against a value in an IAM policy. Use < GetContextKeysForPrincipalPolicy> to understand what key names and values you must supply when you call < SimulatePrincipalPolicy>. module Network.AWS.IAM.GetContextKeysForPrincipalPolicy ( -- * Creating a Request@@ -70,11 +70,15 @@ , _gckfppPolicySourceARN = pPolicySourceARN_ } --- | A optional list of additional policies for which you want list of context keys used in 'Condition' elements.+-- | An optional list of additional policies for which you want the list of context keys that are referenced.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\\u0020) through end of the ASCII character range (\\u00FF). It also includes the special characters tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D). gckfppPolicyInputList :: Lens' GetContextKeysForPrincipalPolicy [Text] gckfppPolicyInputList = lens _gckfppPolicyInputList (\ s a -> s{_gckfppPolicyInputList = a}) . _Default . _Coerce; -- | The ARN of a user, group, or role whose policies contain the context keys that you want listed. If you specify a user, the list includes context keys that are found in all policies attached to the user as well as to all groups that the user is a member of. If you pick a group or a role, then it includes only those context keys that are found in policies attached to that entity. Note that all parameters are shown in unencoded form here for clarity, but must be URL encoded to be included as a part of a real HTML request.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. gckfppPolicySourceARN :: Lens' GetContextKeysForPrincipalPolicy Text gckfppPolicySourceARN = lens _gckfppPolicySourceARN (\ s a -> s{_gckfppPolicySourceARN = a});
gen/Network/AWS/IAM/GetGroup.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- 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.+-- Returns a list of IAM users that are in the specified IAM group. You can paginate the results using the 'MaxItems' and 'Marker' parameters. -- -- This operation returns paginated results. module Network.AWS.IAM.GetGroup@@ -87,6 +87,8 @@ ggMaxItems = lens _ggMaxItems (\ s a -> s{_ggMaxItems = a}) . mapping _Nat; -- | The name of the group.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- ggGroupName :: Lens' GetGroup Text ggGroupName = lens _ggGroupName (\ s a -> s{_ggGroupName = a}); @@ -177,7 +179,7 @@ ggrsResponseStatus :: Lens' GetGroupResponse Int ggrsResponseStatus = lens _ggrsResponseStatus (\ s a -> s{_ggrsResponseStatus = a}); --- | Information about the group.+-- | A structure that contains details about the group. ggrsGroup :: Lens' GetGroupResponse Group ggrsGroup = lens _ggrsGroup (\ s a -> s{_ggrsGroup = a});
gen/Network/AWS/IAM/GetGroupPolicy.hs view
@@ -18,11 +18,13 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Retrieves the specified inline policy document that is embedded in the specified group.+-- Retrieves the specified inline policy document that is embedded in the specified IAM group. ----- A group can also have managed policies attached to it. To retrieve a managed policy document that is attached to a group, use < GetPolicy> to determine the policy\'s default version, then use < GetPolicyVersion> to retrieve the policy document.+-- Policies returned by this API are URL-encoded compliant with <https://tools.ietf.org/html/rfc3986 RFC 3986>. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the 'decode' method of the 'java.net.URLDecoder' utility class in the Java SDK. Other languages and SDKs provide similar functionality. ----- For more information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- An IAM group can also have managed policies attached to it. To retrieve a managed policy document that is attached to a group, use < GetPolicy> to determine the policy\'s default version, then use < GetPolicyVersion> to retrieve the policy document.+--+-- For more information about policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. module Network.AWS.IAM.GetGroupPolicy ( -- * Creating a Request@@ -73,10 +75,14 @@ } -- | The name of the group the policy is associated with.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- ggpGroupName :: Lens' GetGroupPolicy Text ggpGroupName = lens _ggpGroupName (\ s a -> s{_ggpGroupName = a}); -- | The name of the policy document to get.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- ggpPolicyName :: Lens' GetGroupPolicy Text ggpPolicyName = lens _ggpPolicyName (\ s a -> s{_ggpPolicyName = a});
gen/Network/AWS/IAM/GetInstanceProfile.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- 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 <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>.+-- Retrieves information about the specified instance profile, including the instance profile\'s path, GUID, ARN, and role. For more information about instance profiles, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html About Instance Profiles> in the /IAM User Guide/. module Network.AWS.IAM.GetInstanceProfile ( -- * Creating a Request@@ -61,6 +61,8 @@ } -- | The name of the instance profile to get information about.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- gipInstanceProfileName :: Lens' GetInstanceProfile Text gipInstanceProfileName = lens _gipInstanceProfileName (\ s a -> s{_gipInstanceProfileName = a}); @@ -120,7 +122,7 @@ giprsResponseStatus :: Lens' GetInstanceProfileResponse Int giprsResponseStatus = lens _giprsResponseStatus (\ s a -> s{_giprsResponseStatus = a}); --- | Information about the instance profile.+-- | A structure containing details about the instance profile. giprsInstanceProfile :: Lens' GetInstanceProfileResponse InstanceProfile giprsInstanceProfile = lens _giprsInstanceProfile (\ s a -> s{_giprsInstanceProfile = a});
gen/Network/AWS/IAM/GetLoginProfile.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- 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.+-- Retrieves the user name and password-creation date for the specified IAM user. If the user has not been assigned a password, the action returns a 404 ('NoSuchEntity') error. module Network.AWS.IAM.GetLoginProfile ( -- * Creating a Request@@ -61,6 +61,8 @@ } -- | The name of the user whose login profile you want to retrieve.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- glpUserName :: Lens' GetLoginProfile Text glpUserName = lens _glpUserName (\ s a -> s{_glpUserName = a}); @@ -119,7 +121,7 @@ glprsResponseStatus :: Lens' GetLoginProfileResponse Int glprsResponseStatus = lens _glprsResponseStatus (\ s a -> s{_glprsResponseStatus = a}); --- | The user name and password create date for the user.+-- | A structure containing the user name and password create date for the user. glprsLoginProfile :: Lens' GetLoginProfileResponse LoginProfile glprsLoginProfile = lens _glprsLoginProfile (\ s a -> s{_glprsLoginProfile = a});
gen/Network/AWS/IAM/GetOpenIdConnectProvider.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns information about the specified OpenID Connect provider.+-- Returns information about the specified OpenID Connect (OIDC) provider resource object in IAM. module Network.AWS.IAM.GetOpenIdConnectProvider ( -- * Creating a Request@@ -63,7 +63,9 @@ { _goicpOpenIdConnectProviderARN = pOpenIdConnectProviderARN_ } --- | 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 OIDC provider resource object in IAM to get information for. You can get a list of OIDC provider resource ARNs by using the < ListOpenIDConnectProviders> action.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. goicpOpenIdConnectProviderARN :: Lens' GetOpenIdConnectProvider Text goicpOpenIdConnectProviderARN = lens _goicpOpenIdConnectProviderARN (\ s a -> s{_goicpOpenIdConnectProviderARN = a}); @@ -138,19 +140,19 @@ , _goicprsResponseStatus = pResponseStatus_ } --- | The date and time when the IAM OpenID Connect provider entity was created in the AWS account.+-- | The date and time when the IAM OIDC provider resource object was created in the AWS account. goicprsCreateDate :: Lens' GetOpenIdConnectProviderResponse (Maybe UTCTime) goicprsCreateDate = lens _goicprsCreateDate (\ s a -> s{_goicprsCreateDate = a}) . mapping _Time; --- | The URL that the IAM OpenID Connect provider is associated with. For more information, see < CreateOpenIDConnectProvider>.+-- | The URL that the IAM OIDC provider resource object is associated with. For more information, see < CreateOpenIDConnectProvider>. goicprsURL :: Lens' GetOpenIdConnectProviderResponse (Maybe Text) goicprsURL = lens _goicprsURL (\ s a -> s{_goicprsURL = 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 OIDC provider resource object. For more information, see < CreateOpenIDConnectProvider>. goicprsThumbprintList :: Lens' GetOpenIdConnectProviderResponse [Text] goicprsThumbprintList = lens _goicprsThumbprintList (\ s a -> s{_goicprsThumbprintList = a}) . _Default . _Coerce; --- | 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 OIDC provider resource object. For more information, see < CreateOpenIDConnectProvider>. goicprsClientIdList :: Lens' GetOpenIdConnectProviderResponse [Text] goicprsClientIdList = lens _goicprsClientIdList (\ s a -> s{_goicprsClientIdList = a}) . _Default . _Coerce;
gen/Network/AWS/IAM/GetPolicy.hs view
@@ -18,11 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Retrieves information about the specified managed policy, including the policy\'s default version and the total number of users, groups, and roles that the policy is attached to. For a list of the specific users, groups, and roles that the policy is attached to, use the < ListEntitiesForPolicy> API. This API returns metadata about the policy. To retrieve the policy document for a specific version of the policy, use < GetPolicyVersion>.+-- Retrieves information about the specified managed policy, including the policy\'s default version and the total number of IAM users, groups, and roles to which the policy is attached. To retrieve the list of the specific users, groups, and roles that the policy is attached to, use the < ListEntitiesForPolicy> API. This API returns metadata about the policy. To retrieve the actual policy document for a specific version of the policy, use < GetPolicyVersion>. ----- This API retrieves information about managed policies. To retrieve information about an inline policy that is embedded with a user, group, or role, use the < GetUserPolicy>, < GetGroupPolicy>, or < GetRolePolicy> API.+-- This API retrieves information about managed policies. To retrieve information about an inline policy that is embedded with an IAM user, group, or role, use the < GetUserPolicy>, < GetGroupPolicy>, or < GetRolePolicy> API. ----- For more information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- For more information about policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. module Network.AWS.IAM.GetPolicy ( -- * Creating a Request@@ -64,7 +64,9 @@ { _gpPolicyARN = pPolicyARN_ } --- | Undocumented member.+-- | The Amazon Resource Name (ARN) of the managed policy that you want information about.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. gpPolicyARN :: Lens' GetPolicy Text gpPolicyARN = lens _gpPolicyARN (\ s a -> s{_gpPolicyARN = a}); @@ -118,7 +120,7 @@ , _gprsResponseStatus = pResponseStatus_ } --- | Information about the policy.+-- | A structure containing details about the policy. gprsPolicy :: Lens' GetPolicyResponse (Maybe Policy) gprsPolicy = lens _gprsPolicy (\ s a -> s{_gprsPolicy = a});
gen/Network/AWS/IAM/GetPolicyVersion.hs view
@@ -20,11 +20,15 @@ -- -- Retrieves information about the specified version of the specified managed policy, including the policy document. --+-- Policies returned by this API are URL-encoded compliant with <https://tools.ietf.org/html/rfc3986 RFC 3986>. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the 'decode' method of the 'java.net.URLDecoder' utility class in the Java SDK. Other languages and SDKs provide similar functionality.+-- -- To list the available versions for a policy, use < ListPolicyVersions>. -- -- This API retrieves information about managed policies. To retrieve information about an inline policy that is embedded in a user, group, or role, use the < GetUserPolicy>, < GetGroupPolicy>, or < GetRolePolicy> API. ----- For more information about the types of policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- For more information about the types of policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+--+-- For more information about managed policy versions, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html Versioning for Managed Policies> in the /IAM User Guide/. module Network.AWS.IAM.GetPolicyVersion ( -- * Creating a Request@@ -72,11 +76,15 @@ , _gpvVersionId = pVersionId_ } --- | Undocumented member.+-- | The Amazon Resource Name (ARN) of the managed policy that you want information about.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. gpvPolicyARN :: Lens' GetPolicyVersion Text gpvPolicyARN = lens _gpvPolicyARN (\ s a -> s{_gpvPolicyARN = a}); -- | Identifies the policy version to retrieve.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters that consists of the lowercase letter \'v\' followed by one or two digits, and optionally followed by a period \'.\' and a string of letters and digits. gpvVersionId :: Lens' GetPolicyVersion Text gpvVersionId = lens _gpvVersionId (\ s a -> s{_gpvVersionId = a}); @@ -131,9 +139,7 @@ , _gpvrsResponseStatus = pResponseStatus_ } --- | Information about the policy version.------ For more information about managed policy versions, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html Versioning for Managed Policies> in the /IAM User Guide/.+-- | A structure containing details about the policy version. gpvrsPolicyVersion :: Lens' GetPolicyVersionResponse (Maybe PolicyVersion) gpvrsPolicyVersion = lens _gpvrsPolicyVersion (\ s a -> s{_gpvrsPolicyVersion = a});
gen/Network/AWS/IAM/GetRole.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- 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 <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>.+-- Retrieves information about the specified role, including the role\'s path, GUID, ARN, and the role\'s trust policy that grants permission to assume the role. For more information about roles, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html Working with Roles>.+--+-- Policies returned by this API are URL-encoded compliant with <https://tools.ietf.org/html/rfc3986 RFC 3986>. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the 'decode' method of the 'java.net.URLDecoder' utility class in the Java SDK. Other languages and SDKs provide similar functionality. module Network.AWS.IAM.GetRole ( -- * Creating a Request@@ -60,7 +62,9 @@ { _grRoleName = pRoleName_ } --- | The name of the role to get information about.+-- | The name of the IAM role to get information about.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- grRoleName :: Lens' GetRole Text grRoleName = lens _grRoleName (\ s a -> s{_grRoleName = a}); @@ -119,7 +123,7 @@ grrsResponseStatus :: Lens' GetRoleResponse Int grrsResponseStatus = lens _grrsResponseStatus (\ s a -> s{_grrsResponseStatus = a}); --- | Information about the role.+-- | A structure containing details about the IAM role. grrsRole :: Lens' GetRoleResponse Role grrsRole = lens _grrsRole (\ s a -> s{_grrsRole = a});
gen/Network/AWS/IAM/GetRolePolicy.hs view
@@ -18,13 +18,15 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Retrieves the specified inline policy document that is embedded with the specified role.+-- Retrieves the specified inline policy document that is embedded with the specified IAM role. ----- A role can also have managed policies attached to it. To retrieve a managed policy document that is attached to a role, use < GetPolicy> to determine the policy\'s default version, then use < GetPolicyVersion> to retrieve the policy document.+-- Policies returned by this API are URL-encoded compliant with <https://tools.ietf.org/html/rfc3986 RFC 3986>. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the 'decode' method of the 'java.net.URLDecoder' utility class in the Java SDK. Other languages and SDKs provide similar functionality. ----- For more information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- An IAM role can also have managed policies attached to it. To retrieve a managed policy document that is attached to a role, use < GetPolicy> to determine the policy\'s default version, then use < GetPolicyVersion> to retrieve the policy document. ----- For more information about roles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html Using Roles to Delegate Permissions and Federate Identities>.+-- For more information about policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+--+-- For more information about roles, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html Using Roles to Delegate Permissions and Federate Identities>. module Network.AWS.IAM.GetRolePolicy ( -- * Creating a Request@@ -75,10 +77,14 @@ } -- | The name of the role associated with the policy.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- grpRoleName :: Lens' GetRolePolicy Text grpRoleName = lens _grpRoleName (\ s a -> s{_grpRoleName = a}); -- | The name of the policy document to get.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- grpPolicyName :: Lens' GetRolePolicy Text grpPolicyName = lens _grpPolicyName (\ s a -> s{_grpPolicyName = a});
gen/Network/AWS/IAM/GetSAMLProvider.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns the SAML provider metadocument that was uploaded when the provider was created or updated.+-- Returns the SAML provider metadocument that was uploaded when the IAM SAML provider resource object was created or updated. -- -- This operation requires <http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html Signature Version 4>. module Network.AWS.IAM.GetSAMLProvider@@ -64,7 +64,9 @@ { _gsamlpSAMLProviderARN = pSAMLProviderARN_ } --- | The Amazon Resource Name (ARN) of the SAML provider to get information about.+-- | The Amazon Resource Name (ARN) of the SAML provider resource object in IAM to get information about.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. gsamlpSAMLProviderARN :: Lens' GetSAMLProvider Text gsamlpSAMLProviderARN = lens _gsamlpSAMLProviderARN (\ s a -> s{_gsamlpSAMLProviderARN = a});
gen/Network/AWS/IAM/GetSSHPublicKey.hs view
@@ -75,10 +75,14 @@ } -- | The name of the IAM user associated with the SSH public key.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- gspkUserName :: Lens' GetSSHPublicKey Text gspkUserName = lens _gspkUserName (\ s a -> s{_gspkUserName = a}); -- | The unique identifier for the SSH public key.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters that can consist of any upper or lowercased letter or digit. gspkSSHPublicKeyId :: Lens' GetSSHPublicKey Text gspkSSHPublicKeyId = lens _gspkSSHPublicKeyId (\ s a -> s{_gspkSSHPublicKeyId = a}); @@ -138,7 +142,7 @@ , _gspkrsResponseStatus = pResponseStatus_ } --- | Information about the SSH public key.+-- | A structure containing details about the SSH public key. gspkrsSSHPublicKey :: Lens' GetSSHPublicKeyResponse (Maybe SSHPublicKey) gspkrsSSHPublicKey = lens _gspkrsSSHPublicKey (\ s a -> s{_gspkrsSSHPublicKey = a});
gen/Network/AWS/IAM/GetServerCertificate.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Retrieves information about the specified server certificate.+-- Retrieves information about the specified server certificate stored in IAM. -- -- For more information about working with server certificates, including a list of AWS services that can use the server certificates that you manage with IAM, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html Working with Server Certificates> in the /IAM User Guide/. module Network.AWS.IAM.GetServerCertificate@@ -63,6 +63,8 @@ } -- | The name of the server certificate you want to retrieve information about.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- gscServerCertificateName :: Lens' GetServerCertificate Text gscServerCertificateName = lens _gscServerCertificateName (\ s a -> s{_gscServerCertificateName = a}); @@ -122,7 +124,7 @@ gscrsResponseStatus :: Lens' GetServerCertificateResponse Int gscrsResponseStatus = lens _gscrsResponseStatus (\ s a -> s{_gscrsResponseStatus = a}); --- | Information about the server certificate.+-- | A structure containing details about the server certificate. gscrsServerCertificate :: Lens' GetServerCertificateResponse ServerCertificate gscrsServerCertificate = lens _gscrsServerCertificate (\ s a -> s{_gscrsServerCertificate = a});
gen/Network/AWS/IAM/GetUser.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Retrieves information about the specified user, including the user\'s creation date, path, unique ID, and ARN.+-- Retrieves information about the specified IAM 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.+-- 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 to this API. module Network.AWS.IAM.GetUser ( -- * Creating a Request@@ -63,7 +63,7 @@ -- | 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.+-- This parameter is optional. If it is not included, it defaults to the user making the request. The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- guUserName :: Lens' GetUser (Maybe Text) guUserName = lens _guUserName (\ s a -> s{_guUserName = a}); @@ -122,7 +122,7 @@ gursResponseStatus :: Lens' GetUserResponse Int gursResponseStatus = lens _gursResponseStatus (\ s a -> s{_gursResponseStatus = a}); --- | Information about the user.+-- | A structure containing details about the IAM user. gursUser :: Lens' GetUserResponse User gursUser = lens _gursUser (\ s a -> s{_gursUser = a});
gen/Network/AWS/IAM/GetUserPolicy.hs view
@@ -18,11 +18,13 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Retrieves the specified inline policy document that is embedded in the specified user.+-- Retrieves the specified inline policy document that is embedded in the specified IAM user. ----- A user can also have managed policies attached to it. To retrieve a managed policy document that is attached to a user, use < GetPolicy> to determine the policy\'s default version, then use < GetPolicyVersion> to retrieve the policy document.+-- Policies returned by this API are URL-encoded compliant with <https://tools.ietf.org/html/rfc3986 RFC 3986>. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the 'decode' method of the 'java.net.URLDecoder' utility class in the Java SDK. Other languages and SDKs provide similar functionality. ----- For more information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- An IAM user can also have managed policies attached to it. To retrieve a managed policy document that is attached to a user, use < GetPolicy> to determine the policy\'s default version, then use < GetPolicyVersion> to retrieve the policy document.+--+-- For more information about policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. module Network.AWS.IAM.GetUserPolicy ( -- * Creating a Request@@ -73,10 +75,14 @@ } -- | The name of the user who the policy is associated with.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- gupUserName :: Lens' GetUserPolicy Text gupUserName = lens _gupUserName (\ s a -> s{_gupUserName = a}); -- | The name of the policy document to get.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- gupPolicyName :: Lens' GetUserPolicy Text gupPolicyName = lens _gupPolicyName (\ s a -> s{_gupPolicyName = a});
gen/Network/AWS/IAM/ListAccessKeys.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- 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.+-- Returns information about the access key IDs associated with the specified IAM 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. --@@ -81,6 +81,8 @@ } -- | The name of the user.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- lakUserName :: Lens' ListAccessKeys (Maybe Text) lakUserName = lens _lakUserName (\ s a -> s{_lakUserName = a}); @@ -176,7 +178,7 @@ lakrsResponseStatus :: Lens' ListAccessKeysResponse Int lakrsResponseStatus = lens _lakrsResponseStatus (\ s a -> s{_lakrsResponseStatus = a}); --- | A list of access key metadata.+-- | A list of objects containing metadata about the access keys. lakrsAccessKeyMetadata :: Lens' ListAccessKeysResponse [AccessKeyMetadata] lakrsAccessKeyMetadata = lens _lakrsAccessKeyMetadata (\ s a -> s{_lakrsAccessKeyMetadata = a}) . _Coerce;
gen/Network/AWS/IAM/ListAccountAliases.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists the account alias associated with the account (Note: you can have only one). 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 /IAM User Guide/.+-- Lists the account alias associated with the AWS account (Note: you can have only one). 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 /IAM User Guide/. -- -- This operation returns paginated results. module Network.AWS.IAM.ListAccountAliases
gen/Network/AWS/IAM/ListAttachedGroupPolicies.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists all managed policies that are attached to the specified group.+-- Lists all managed policies that are attached to the specified IAM group. ----- A group can also have inline policies embedded with it. To list the inline policies for a group, use the < ListGroupPolicies> API. For information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- An IAM group can also have inline policies embedded with it. To list the inline policies for a group, use the < ListGroupPolicies> API. For information about policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. -- -- You can paginate the results using the 'MaxItems' and 'Marker' parameters. You can use the 'PathPrefix' parameter to limit the list of policies to only those matching the specified path prefix. If there are no policies attached to the specified group (or none that match the specified path prefix), the action returns an empty list. --@@ -85,6 +85,8 @@ } -- | The path prefix for filtering the results. This parameter is optional. If it is not included, it defaults to a slash (\/), listing all policies.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of either a forward slash (\/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\\u0021) thru the DEL character (\\u007F), including most punctuation characters, digits, and upper and lowercased letters. lagpPathPrefix :: Lens' ListAttachedGroupPolicies (Maybe Text) lagpPathPrefix = lens _lagpPathPrefix (\ s a -> s{_lagpPathPrefix = a}); @@ -99,6 +101,8 @@ lagpMaxItems = lens _lagpMaxItems (\ s a -> s{_lagpMaxItems = a}) . mapping _Nat; -- | The name (friendly name, not ARN) of the group to list attached policies for.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- lagpGroupName :: Lens' ListAttachedGroupPolicies Text lagpGroupName = lens _lagpGroupName (\ s a -> s{_lagpGroupName = a});
gen/Network/AWS/IAM/ListAttachedRolePolicies.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists all managed policies that are attached to the specified role.+-- Lists all managed policies that are attached to the specified IAM role. ----- A role can also have inline policies embedded with it. To list the inline policies for a role, use the < ListRolePolicies> API. For information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- An IAM role can also have inline policies embedded with it. To list the inline policies for a role, use the < ListRolePolicies> API. For information about policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. -- -- You can paginate the results using the 'MaxItems' and 'Marker' parameters. You can use the 'PathPrefix' parameter to limit the list of policies to only those matching the specified path prefix. If there are no policies attached to the specified role (or none that match the specified path prefix), the action returns an empty list. --@@ -85,6 +85,8 @@ } -- | The path prefix for filtering the results. This parameter is optional. If it is not included, it defaults to a slash (\/), listing all policies.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of either a forward slash (\/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\\u0021) thru the DEL character (\\u007F), including most punctuation characters, digits, and upper and lowercased letters. larpPathPrefix :: Lens' ListAttachedRolePolicies (Maybe Text) larpPathPrefix = lens _larpPathPrefix (\ s a -> s{_larpPathPrefix = a}); @@ -99,6 +101,8 @@ larpMaxItems = lens _larpMaxItems (\ s a -> s{_larpMaxItems = a}) . mapping _Nat; -- | The name (friendly name, not ARN) of the role to list attached policies for.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- larpRoleName :: Lens' ListAttachedRolePolicies Text larpRoleName = lens _larpRoleName (\ s a -> s{_larpRoleName = a});
gen/Network/AWS/IAM/ListAttachedUserPolicies.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists all managed policies that are attached to the specified user.+-- Lists all managed policies that are attached to the specified IAM user. ----- A user can also have inline policies embedded with it. To list the inline policies for a user, use the < ListUserPolicies> API. For information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- An IAM user can also have inline policies embedded with it. To list the inline policies for a user, use the < ListUserPolicies> API. For information about policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. -- -- You can paginate the results using the 'MaxItems' and 'Marker' parameters. You can use the 'PathPrefix' parameter to limit the list of policies to only those matching the specified path prefix. If there are no policies attached to the specified group (or none that match the specified path prefix), the action returns an empty list. --@@ -85,6 +85,8 @@ } -- | The path prefix for filtering the results. This parameter is optional. If it is not included, it defaults to a slash (\/), listing all policies.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of either a forward slash (\/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\\u0021) thru the DEL character (\\u007F), including most punctuation characters, digits, and upper and lowercased letters. laupPathPrefix :: Lens' ListAttachedUserPolicies (Maybe Text) laupPathPrefix = lens _laupPathPrefix (\ s a -> s{_laupPathPrefix = a}); @@ -99,6 +101,8 @@ laupMaxItems = lens _laupMaxItems (\ s a -> s{_laupMaxItems = a}) . mapping _Nat; -- | The name (friendly name, not ARN) of the user to list attached policies for.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- laupUserName :: Lens' ListAttachedUserPolicies Text laupUserName = lens _laupUserName (\ s a -> s{_laupUserName = a});
gen/Network/AWS/IAM/ListEntitiesForPolicy.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists all users, groups, and roles that the specified managed policy is attached to.+-- Lists all IAM users, groups, and roles that the specified managed policy is attached to. -- -- You can use the optional 'EntityFilter' parameter to limit the results to a particular type of entity (users, groups, or roles). For example, to list only the roles that are attached to the specified policy, set 'EntityFilter' to 'Role'. --@@ -92,12 +92,14 @@ } -- | The path prefix for filtering the results. This parameter is optional. If it is not included, it defaults to a slash (\/), listing all entities.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of either a forward slash (\/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\\u0021) thru the DEL character (\\u007F), including most punctuation characters, digits, and upper and lowercased letters. lefpPathPrefix :: Lens' ListEntitiesForPolicy (Maybe Text) lefpPathPrefix = lens _lefpPathPrefix (\ s a -> s{_lefpPathPrefix = a}); -- | The entity type to use for filtering the results. ----- For example, when 'EntityFilter' is 'Role', only the roles that are attached to the specified policy are returned. This parameter is optional. If it is not included, all attached entities (users, groups, and roles) are returned.+-- For example, when 'EntityFilter' is 'Role', only the roles that are attached to the specified policy are returned. This parameter is optional. If it is not included, all attached entities (users, groups, and roles) are returned. The argument for this parameter must be one of the valid values listed below. lefpEntityFilter :: Lens' ListEntitiesForPolicy (Maybe EntityType) lefpEntityFilter = lens _lefpEntityFilter (\ s a -> s{_lefpEntityFilter = a}); @@ -111,7 +113,9 @@ lefpMaxItems :: Lens' ListEntitiesForPolicy (Maybe Natural) lefpMaxItems = lens _lefpMaxItems (\ s a -> s{_lefpMaxItems = a}) . mapping _Nat; --- | Undocumented member.+-- | The Amazon Resource Name (ARN) of the IAM policy for which you want the versions.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. lefpPolicyARN :: Lens' ListEntitiesForPolicy Text lefpPolicyARN = lens _lefpPolicyARN (\ s a -> s{_lefpPolicyARN = a}); @@ -202,11 +206,11 @@ , _lefprsResponseStatus = pResponseStatus_ } --- | A list of groups that the policy is attached to.+-- | A list of IAM groups that the policy is attached to. lefprsPolicyGroups :: Lens' ListEntitiesForPolicyResponse [PolicyGroup] lefprsPolicyGroups = lens _lefprsPolicyGroups (\ s a -> s{_lefprsPolicyGroups = a}) . _Default . _Coerce; --- | A list of roles that the policy is attached to.+-- | A list of IAM roles that the policy is attached to. lefprsPolicyRoles :: Lens' ListEntitiesForPolicyResponse [PolicyRole] lefprsPolicyRoles = lens _lefprsPolicyRoles (\ s a -> s{_lefprsPolicyRoles = a}) . _Default . _Coerce; @@ -214,7 +218,7 @@ lefprsMarker :: Lens' ListEntitiesForPolicyResponse (Maybe Text) lefprsMarker = lens _lefprsMarker (\ s a -> s{_lefprsMarker = a}); --- | A list of users that the policy is attached to.+-- | A list of IAM users that the policy is attached to. lefprsPolicyUsers :: Lens' ListEntitiesForPolicyResponse [PolicyUser] lefprsPolicyUsers = lens _lefprsPolicyUsers (\ s a -> s{_lefprsPolicyUsers = a}) . _Default . _Coerce;
gen/Network/AWS/IAM/ListGroupPolicies.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists the names of the inline policies that are embedded in the specified group.+-- Lists the names of the inline policies that are embedded in the specified IAM group. ----- A group can also have managed policies attached to it. To list the managed policies that are attached to a group, use < ListAttachedGroupPolicies>. For more information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- An IAM group can also have managed policies attached to it. To list the managed policies that are attached to a group, use < ListAttachedGroupPolicies>. For more information about policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. -- -- You can paginate the results using the 'MaxItems' and 'Marker' parameters. If there are no inline policies embedded with the specified group, the action returns an empty list. --@@ -90,6 +90,8 @@ lgpMaxItems = lens _lgpMaxItems (\ s a -> s{_lgpMaxItems = a}) . mapping _Nat; -- | The name of the group to list policies for.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- lgpGroupName :: Lens' ListGroupPolicies Text lgpGroupName = lens _lgpGroupName (\ s a -> s{_lgpGroupName = a});
gen/Network/AWS/IAM/ListGroups.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists the groups that have the specified path prefix.+-- Lists the IAM groups that have the specified path prefix. -- -- You can paginate the results using the 'MaxItems' and 'Marker' parameters. --@@ -78,7 +78,7 @@ -- | 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.+-- This parameter is optional. If it is not included, it defaults to a slash (\/), listing all groups. The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of either a forward slash (\/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\\u0021) thru the DEL character (\\u007F), including most punctuation characters, digits, and upper and lowercased letters. lgPathPrefix :: Lens' ListGroups (Maybe Text) lgPathPrefix = lens _lgPathPrefix (\ s a -> s{_lgPathPrefix = a});
gen/Network/AWS/IAM/ListGroupsForUser.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists the groups the specified user belongs to.+-- Lists the IAM groups that the specified IAM user belongs to. -- -- You can paginate the results using the 'MaxItems' and 'Marker' parameters. --@@ -88,6 +88,8 @@ lgfuMaxItems = lens _lgfuMaxItems (\ s a -> s{_lgfuMaxItems = a}) . mapping _Nat; -- | The name of the user to list groups for.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- lgfuUserName :: Lens' ListGroupsForUser Text lgfuUserName = lens _lgfuUserName (\ s a -> s{_lgfuUserName = a});
gen/Network/AWS/IAM/ListInstanceProfiles.hs view
@@ -78,7 +78,7 @@ -- | 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.+-- This parameter is optional. If it is not included, it defaults to a slash (\/), listing all instance profiles. The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of either a forward slash (\/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\\u0021) thru the DEL character (\\u007F), including most punctuation characters, digits, and upper and lowercased letters. lipPathPrefix :: Lens' ListInstanceProfiles (Maybe Text) lipPathPrefix = lens _lipPathPrefix (\ s a -> s{_lipPathPrefix = a});
gen/Network/AWS/IAM/ListInstanceProfilesForRole.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- 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 <http://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html About Instance Profiles>.+-- Lists the instance profiles that have the specified associated IAM role. If 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. --@@ -88,6 +88,8 @@ lipfrMaxItems = lens _lipfrMaxItems (\ s a -> s{_lipfrMaxItems = a}) . mapping _Nat; -- | The name of the role to list instance profiles for.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- lipfrRoleName :: Lens' ListInstanceProfilesForRole Text lipfrRoleName = lens _lipfrRoleName (\ s a -> s{_lipfrRoleName = a});
gen/Network/AWS/IAM/ListMFADevices.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- 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.+-- Lists the MFA devices for an IAM user. If the request includes a IAM user name, then this action lists all the MFA devices 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 for this API. -- -- You can paginate the results using the 'MaxItems' and 'Marker' parameters. --@@ -77,6 +77,8 @@ } -- | The name of the user whose MFA devices you want to list.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- lmdUserName :: Lens' ListMFADevices (Maybe Text) lmdUserName = lens _lmdUserName (\ s a -> s{_lmdUserName = a});
gen/Network/AWS/IAM/ListOpenIdConnectProviders.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists information about the OpenID Connect providers in the AWS account.+-- Lists information about the IAM OpenID Connect (OIDC) provider resource objects defined in the AWS account. module Network.AWS.IAM.ListOpenIdConnectProviders ( -- * Creating a Request@@ -106,7 +106,7 @@ , _loicprsResponseStatus = pResponseStatus_ } --- | The list of IAM OpenID Connect providers in the AWS account.+-- | The list of IAM OIDC provider resource objects defined in the AWS account. loicprsOpenIdConnectProviderList :: Lens' ListOpenIdConnectProvidersResponse [OpenIdConnectProviderListEntry] loicprsOpenIdConnectProviderList = lens _loicprsOpenIdConnectProviderList (\ s a -> s{_loicprsOpenIdConnectProviderList = a}) . _Default . _Coerce;
gen/Network/AWS/IAM/ListPolicies.hs view
@@ -18,13 +18,13 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists all the managed policies that are available to your account, including your own customer managed policies and all AWS managed policies.+-- Lists all the managed policies that are available in your AWS account, including your own customer-defined managed policies and all AWS managed policies. -- -- You can filter the list of policies that is returned using the optional 'OnlyAttached', 'Scope', and 'PathPrefix' parameters. For example, to list only the customer managed policies in your AWS account, set 'Scope' to 'Local'. To list only AWS managed policies, set 'Scope' to 'AWS'. -- -- You can paginate the results using the 'MaxItems' and 'Marker' parameters. ----- For more information about managed policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- For more information about managed policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. -- -- This operation returns paginated results. module Network.AWS.IAM.ListPolicies@@ -90,13 +90,13 @@ , _lpMaxItems = Nothing } --- | The path prefix for filtering the results. This parameter is optional. If it is not included, it defaults to a slash (\/), listing all policies.+-- | The path prefix for filtering the results. This parameter is optional. If it is not included, it defaults to a slash (\/), listing all policies. The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of either a forward slash (\/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\\u0021) thru the DEL character (\\u007F), including most punctuation characters, digits, and upper and lowercased letters. lpPathPrefix :: Lens' ListPolicies (Maybe Text) lpPathPrefix = lens _lpPathPrefix (\ s a -> s{_lpPathPrefix = a}); -- | A flag to filter the results to only the attached policies. ----- When 'OnlyAttached' is 'true', the returned list contains only the policies that are attached to a user, group, or role. When 'OnlyAttached' is 'false', or when the parameter is not included, all policies are returned.+-- When 'OnlyAttached' is 'true', the returned list contains only the policies that are attached to an IAM user, group, or role. When 'OnlyAttached' is 'false', or when the parameter is not included, all policies are returned. lpOnlyAttached :: Lens' ListPolicies (Maybe Bool) lpOnlyAttached = lens _lpOnlyAttached (\ s a -> s{_lpOnlyAttached = a});
gen/Network/AWS/IAM/ListPolicyVersions.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists information about the versions of the specified managed policy, including the version that is set as the policy\'s default version.+-- Lists information about the versions of the specified managed policy, including the version that is currently set as the policy\'s default version. ----- For more information about managed policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- For more information about managed policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. -- -- This operation returns paginated results. module Network.AWS.IAM.ListPolicyVersions@@ -87,7 +87,9 @@ lpvMaxItems :: Lens' ListPolicyVersions (Maybe Natural) lpvMaxItems = lens _lpvMaxItems (\ s a -> s{_lpvMaxItems = a}) . mapping _Nat; --- | Undocumented member.+-- | The Amazon Resource Name (ARN) of the IAM policy for which you want the versions.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. lpvPolicyARN :: Lens' ListPolicyVersions Text lpvPolicyARN = lens _lpvPolicyARN (\ s a -> s{_lpvPolicyARN = a});
gen/Network/AWS/IAM/ListRolePolicies.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists the names of the inline policies that are embedded in the specified role.+-- Lists the names of the inline policies that are embedded in the specified IAM role. ----- A role can also have managed policies attached to it. To list the managed policies that are attached to a role, use < ListAttachedRolePolicies>. For more information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- An IAM role can also have managed policies attached to it. To list the managed policies that are attached to a role, use < ListAttachedRolePolicies>. For more information about policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. -- -- You can paginate the results using the 'MaxItems' and 'Marker' parameters. If there are no inline policies embedded with the specified role, the action returns an empty list. --@@ -90,6 +90,8 @@ lrpMaxItems = lens _lrpMaxItems (\ s a -> s{_lrpMaxItems = a}) . mapping _Nat; -- | The name of the role to list policies for.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- lrpRoleName :: Lens' ListRolePolicies Text lrpRoleName = lens _lrpRoleName (\ s a -> s{_lrpRoleName = a});
gen/Network/AWS/IAM/ListRoles.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- 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 <http://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html Working with Roles>.+-- Lists the IAM roles that have the specified path prefix. If there are none, the action returns an empty list. For more information about roles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html Working with Roles>. -- -- You can paginate the results using the 'MaxItems' and 'Marker' parameters. --@@ -78,7 +78,7 @@ -- | 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.+-- This parameter is optional. If it is not included, it defaults to a slash (\/), listing all roles. The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of either a forward slash (\/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\\u0021) thru the DEL character (\\u007F), including most punctuation characters, digits, and upper and lowercased letters. lrPathPrefix :: Lens' ListRoles (Maybe Text) lrPathPrefix = lens _lrPathPrefix (\ s a -> s{_lrPathPrefix = a});
gen/Network/AWS/IAM/ListSAMLProviders.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists the SAML providers in the account.+-- Lists the SAML provider resource objects defined in IAM in the account. -- -- This operation requires <http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html Signature Version 4>. module Network.AWS.IAM.ListSAMLProviders@@ -105,7 +105,7 @@ , _lsamlprsResponseStatus = pResponseStatus_ } --- | The list of SAML providers for this account.+-- | The list of SAML provider resource objects defined in IAM for this AWS account. lsamlprsSAMLProviderList :: Lens' ListSAMLProvidersResponse [SAMLProviderListEntry] lsamlprsSAMLProviderList = lens _lsamlprsSAMLProviderList (\ s a -> s{_lsamlprsSAMLProviderList = a}) . _Default . _Coerce;
gen/Network/AWS/IAM/ListSSHPublicKeys.hs view
@@ -23,6 +23,8 @@ -- The SSH public keys returned by this action are used only for authenticating the IAM user to an AWS CodeCommit repository. For more information about using SSH keys to authenticate to an AWS CodeCommit repository, see <http://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-credentials-ssh.html Set up AWS CodeCommit for SSH Connections> in the /AWS CodeCommit User Guide/. -- -- Although each user is limited to a small number of keys, you can still paginate the results using the 'MaxItems' and 'Marker' parameters.+--+-- This operation returns paginated results. module Network.AWS.IAM.ListSSHPublicKeys ( -- * Creating a Request@@ -46,6 +48,7 @@ import Network.AWS.IAM.Types import Network.AWS.IAM.Types.Product import Network.AWS.Lens+import Network.AWS.Pager import Network.AWS.Prelude import Network.AWS.Request import Network.AWS.Response@@ -76,6 +79,8 @@ } -- | The name of the IAM user to list SSH public keys for. If none is specified, the UserName field is determined implicitly based on the AWS access key used to sign the request.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- lspkUserName :: Lens' ListSSHPublicKeys (Maybe Text) lspkUserName = lens _lspkUserName (\ s a -> s{_lspkUserName = a}); @@ -89,6 +94,13 @@ lspkMaxItems :: Lens' ListSSHPublicKeys (Maybe Natural) lspkMaxItems = lens _lspkMaxItems (\ s a -> s{_lspkMaxItems = a}) . mapping _Nat; +instance AWSPager ListSSHPublicKeys where+ page rq rs+ | stop (rs ^. lspkrsIsTruncated) = Nothing+ | isNothing (rs ^. lspkrsMarker) = Nothing+ | otherwise =+ Just $ rq & lspkMarker .~ rs ^. lspkrsMarker+ instance AWSRequest ListSSHPublicKeys where type Rs ListSSHPublicKeys = ListSSHPublicKeysResponse request = postQuery iam@@ -152,7 +164,7 @@ , _lspkrsResponseStatus = pResponseStatus_ } --- | A list of SSH public keys.+-- | A list of the SSH public keys assigned to IAM user. lspkrsSSHPublicKeys :: Lens' ListSSHPublicKeysResponse [SSHPublicKeyMetadata] lspkrsSSHPublicKeys = lens _lspkrsSSHPublicKeys (\ s a -> s{_lspkrsSSHPublicKeys = a}) . _Default . _Coerce;
gen/Network/AWS/IAM/ListServerCertificates.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists the server certificates that have the specified path prefix. If none exist, the action returns an empty list.+-- Lists the server certificates stored in IAM 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. --@@ -80,7 +80,7 @@ -- | 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.+-- This parameter is optional. If it is not included, it defaults to a slash (\/), listing all server certificates. The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of either a forward slash (\/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\\u0021) thru the DEL character (\\u007F), including most punctuation characters, digits, and upper and lowercased letters. lscPathPrefix :: Lens' ListServerCertificates (Maybe Text) lscPathPrefix = lens _lscPathPrefix (\ s a -> s{_lscPathPrefix = a});
gen/Network/AWS/IAM/ListSigningCertificates.hs view
@@ -18,11 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns information about the signing certificates associated with the specified user. If there are none, the action returns an empty list.+-- Returns information about the signing certificates associated with the specified IAM 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.+-- 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 for this API. 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. -- -- This operation returns paginated results. module Network.AWS.IAM.ListSigningCertificates@@ -78,7 +78,9 @@ , _lMaxItems = Nothing } --- | The name of the user.+-- | The name of the IAM user whose signing certificates you want to examine.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- lUserName :: Lens' ListSigningCertificates (Maybe Text) lUserName = lens _lUserName (\ s a -> s{_lUserName = a});
gen/Network/AWS/IAM/ListUserPolicies.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists the names of the inline policies embedded in the specified user.+-- Lists the names of the inline policies embedded in the specified IAM user. ----- A user can also have managed policies attached to it. To list the managed policies that are attached to a user, use < ListAttachedUserPolicies>. For more information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- An IAM user can also have managed policies attached to it. To list the managed policies that are attached to a user, use < ListAttachedUserPolicies>. For more information about policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. -- -- You can paginate the results using the 'MaxItems' and 'Marker' parameters. If there are no inline policies embedded with the specified user, the action returns an empty list. --@@ -90,6 +90,8 @@ lupMaxItems = lens _lupMaxItems (\ s a -> s{_lupMaxItems = a}) . mapping _Nat; -- | The name of the user to list policies for.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- lupUserName :: Lens' ListUserPolicies Text lupUserName = lens _lupUserName (\ s a -> s{_lupUserName = a});
gen/Network/AWS/IAM/ListUsers.hs view
@@ -78,7 +78,7 @@ -- | 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.+-- This parameter is optional. If it is not included, it defaults to a slash (\/), listing all user names. The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of either a forward slash (\/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\\u0021) thru the DEL character (\\u007F), including most punctuation characters, digits, and upper and lowercased letters. luPathPrefix :: Lens' ListUsers (Maybe Text) luPathPrefix = lens _luPathPrefix (\ s a -> s{_luPathPrefix = a});
gen/Network/AWS/IAM/ListVirtualMFADevices.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- 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'.+-- Lists the virtual MFA devices defined in 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. --@@ -76,7 +76,7 @@ , _lvmdMaxItems = Nothing } --- | 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 assigned and unassigned virtual MFA devices.+-- | 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 assigned and unassigned virtual MFA devices. lvmdAssignmentStatus :: Lens' ListVirtualMFADevices (Maybe AssignmentStatusType) lvmdAssignmentStatus = lens _lvmdAssignmentStatus (\ s a -> s{_lvmdAssignmentStatus = a});
gen/Network/AWS/IAM/PutGroupPolicy.hs view
@@ -18,13 +18,13 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Adds (or updates) an inline policy document that is embedded in the specified group.+-- Adds or updates an inline policy document that is embedded in the specified IAM group. ----- A user can also have managed policies attached to it. To attach a managed policy to a group, use < AttachGroupPolicy>. To create a new managed policy, use < CreatePolicy>. For information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- A user can also have managed policies attached to it. To attach a managed policy to a group, use < AttachGroupPolicy>. To create a new managed policy, use < CreatePolicy>. For information about policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. -- -- For information about limits on the number of inline policies that you can embed in a group, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on IAM Entities> in the /IAM User Guide/. ----- Because policy documents can be large, you should use POST rather than GET when calling 'PutGroupPolicy'. For general information about using the Query API with IAM, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html Making Query Requests> in the /Using IAM/ guide.+-- Because policy documents can be large, you should use POST rather than GET when calling 'PutGroupPolicy'. For general information about using the Query API with IAM, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html Making Query Requests> in the /IAM User Guide/. module Network.AWS.IAM.PutGroupPolicy ( -- * Creating a Request@@ -76,14 +76,20 @@ } -- | The name of the group to associate the policy with.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- pgpGroupName :: Lens' PutGroupPolicy Text pgpGroupName = lens _pgpGroupName (\ s a -> s{_pgpGroupName = a}); -- | The name of the policy document.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- pgpPolicyName :: Lens' PutGroupPolicy Text pgpPolicyName = lens _pgpPolicyName (\ s a -> s{_pgpPolicyName = a}); -- | The policy document.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\\u0020) through end of the ASCII character range (\\u00FF). It also includes the special characters tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D). pgpPolicyDocument :: Lens' PutGroupPolicy Text pgpPolicyDocument = lens _pgpPolicyDocument (\ s a -> s{_pgpPolicyDocument = a});
gen/Network/AWS/IAM/PutRolePolicy.hs view
@@ -18,15 +18,15 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Adds (or updates) an inline policy document that is embedded in the specified role.+-- Adds or updates an inline policy document that is embedded in the specified IAM role. ----- When you embed an inline policy in a role, the inline policy is used as the role\'s access (permissions) policy. The role\'s trust policy is created at the same time as the role, using < CreateRole>. You can update a role\'s trust policy using < UpdateAssumeRolePolicy>. For more information about roles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html Using Roles to Delegate Permissions and Federate Identities>.+-- When you embed an inline policy in a role, the inline policy is used as part of the role\'s access (permissions) policy. The role\'s trust policy is created at the same time as the role, using < CreateRole>. You can update a role\'s trust policy using < UpdateAssumeRolePolicy>. For more information about IAM roles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html Using Roles to Delegate Permissions and Federate Identities>. ----- A role can also have a managed policy attached to it. To attach a managed policy to a role, use < AttachRolePolicy>. To create a new managed policy, use < CreatePolicy>. For information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- A role can also have a managed policy attached to it. To attach a managed policy to a role, use < AttachRolePolicy>. To create a new managed policy, use < CreatePolicy>. For information about policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. -- -- For information about limits on the number of inline policies that you can embed with a role, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on IAM Entities> in the /IAM User Guide/. ----- Because policy documents can be large, you should use POST rather than GET when calling 'PutRolePolicy'. For general information about using the Query API with IAM, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html Making Query Requests> in the /Using IAM/ guide.+-- Because policy documents can be large, you should use POST rather than GET when calling 'PutRolePolicy'. For general information about using the Query API with IAM, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html Making Query Requests> in the /IAM User Guide/. module Network.AWS.IAM.PutRolePolicy ( -- * Creating a Request@@ -78,14 +78,20 @@ } -- | The name of the role to associate the policy with.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- prpRoleName :: Lens' PutRolePolicy Text prpRoleName = lens _prpRoleName (\ s a -> s{_prpRoleName = a}); -- | The name of the policy document.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- prpPolicyName :: Lens' PutRolePolicy Text prpPolicyName = lens _prpPolicyName (\ s a -> s{_prpPolicyName = a}); -- | The policy document.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\\u0020) through end of the ASCII character range (\\u00FF). It also includes the special characters tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D). prpPolicyDocument :: Lens' PutRolePolicy Text prpPolicyDocument = lens _prpPolicyDocument (\ s a -> s{_prpPolicyDocument = a});
gen/Network/AWS/IAM/PutUserPolicy.hs view
@@ -18,13 +18,13 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Adds (or updates) an inline policy document that is embedded in the specified user.+-- Adds or updates an inline policy document that is embedded in the specified IAM user. ----- A user can also have a managed policy attached to it. To attach a managed policy to a user, use < AttachUserPolicy>. To create a new managed policy, use < CreatePolicy>. For information about policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- An IAM user can also have a managed policy attached to it. To attach a managed policy to a user, use < AttachUserPolicy>. To create a new managed policy, use < CreatePolicy>. For information about policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. -- -- For information about limits on the number of inline policies that you can embed in a user, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on IAM Entities> in the /IAM User Guide/. ----- Because policy documents can be large, you should use POST rather than GET when calling 'PutUserPolicy'. For general information about using the Query API with IAM, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html Making Query Requests> in the /Using IAM/ guide.+-- Because policy documents can be large, you should use POST rather than GET when calling 'PutUserPolicy'. For general information about using the Query API with IAM, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html Making Query Requests> in the /IAM User Guide/. module Network.AWS.IAM.PutUserPolicy ( -- * Creating a Request@@ -76,14 +76,20 @@ } -- | The name of the user to associate the policy with.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- pupUserName :: Lens' PutUserPolicy Text pupUserName = lens _pupUserName (\ s a -> s{_pupUserName = a}); -- | The name of the policy document.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- pupPolicyName :: Lens' PutUserPolicy Text pupPolicyName = lens _pupPolicyName (\ s a -> s{_pupPolicyName = a}); -- | The policy document.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\\u0020) through end of the ASCII character range (\\u00FF). It also includes the special characters tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D). pupPolicyDocument :: Lens' PutUserPolicy Text pupPolicyDocument = lens _pupPolicyDocument (\ s a -> s{_pupPolicyDocument = a});
gen/Network/AWS/IAM/RemoveClientIdFromOpenIdConnectProvider.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- 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.+-- Removes the specified client ID (also known as audience) from the list of client IDs registered for the specified IAM OpenID Connect (OIDC) provider resource object. ----- This action is idempotent; it does not fail or return an error if you try to remove a client ID that was removed previously.+-- This action is idempotent; it does not fail or return an error if you try to remove a client ID that does not exist. module Network.AWS.IAM.RemoveClientIdFromOpenIdConnectProvider ( -- * Creating a Request@@ -65,11 +65,13 @@ , _rcifoicpClientId = pClientId_ } --- | 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 OIDC provider resource to remove the client ID from. You can get a list of OIDC provider ARNs by using the < ListOpenIDConnectProviders> action.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. rcifoicpOpenIdConnectProviderARN :: Lens' RemoveClientIdFromOpenIdConnectProvider Text rcifoicpOpenIdConnectProviderARN = lens _rcifoicpOpenIdConnectProviderARN (\ s a -> s{_rcifoicpOpenIdConnectProviderARN = a}); --- | 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 OIDC provider resource. For more information about client IDs, see < CreateOpenIDConnectProvider>. rcifoicpClientId :: Lens' RemoveClientIdFromOpenIdConnectProvider Text rcifoicpClientId = lens _rcifoicpClientId (\ s a -> s{_rcifoicpClientId = a});
gen/Network/AWS/IAM/RemoveRoleFromInstanceProfile.hs view
@@ -18,11 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Removes the specified role from the specified instance profile.+-- Removes the specified IAM role from the specified EC2 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.+-- 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 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>.+-- For more information about IAM 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>. module Network.AWS.IAM.RemoveRoleFromInstanceProfile ( -- * Creating a Request@@ -68,10 +68,14 @@ } -- | The name of the instance profile to update.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- rrfipInstanceProfileName :: Lens' RemoveRoleFromInstanceProfile Text rrfipInstanceProfileName = lens _rrfipInstanceProfileName (\ s a -> s{_rrfipInstanceProfileName = a}); -- | The name of the role to remove.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- rrfipRoleName :: Lens' RemoveRoleFromInstanceProfile Text rrfipRoleName = lens _rrfipRoleName (\ s a -> s{_rrfipRoleName = a});
gen/Network/AWS/IAM/RemoveUserFromGroup.hs view
@@ -64,10 +64,14 @@ } -- | The name of the group to update.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- rufgGroupName :: Lens' RemoveUserFromGroup Text rufgGroupName = lens _rufgGroupName (\ s a -> s{_rufgGroupName = a}); -- | The name of the user to remove.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- rufgUserName :: Lens' RemoveUserFromGroup Text rufgUserName = lens _rufgUserName (\ s a -> s{_rufgUserName = a});
gen/Network/AWS/IAM/ResyncMFADevice.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Synchronizes the specified MFA device with AWS servers.+-- Synchronizes the specified MFA device with its IAM resource object on the 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.+-- 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 /IAM User Guide/. module Network.AWS.IAM.ResyncMFADevice ( -- * Creating a Request@@ -78,18 +78,26 @@ } -- | The name of the user whose MFA device you want to resynchronize.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- rmdUserName :: Lens' ResyncMFADevice Text rmdUserName = lens _rmdUserName (\ s a -> s{_rmdUserName = a}); -- | Serial number that uniquely identifies the MFA device.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- rmdSerialNumber :: Lens' ResyncMFADevice Text rmdSerialNumber = lens _rmdSerialNumber (\ s a -> s{_rmdSerialNumber = a}); -- | An authentication code emitted by the device.+--+-- The format for this parameter is a sequence of six digits. rmdAuthenticationCode1 :: Lens' ResyncMFADevice Text rmdAuthenticationCode1 = lens _rmdAuthenticationCode1 (\ s a -> s{_rmdAuthenticationCode1 = a}); -- | A subsequent authentication code emitted by the device.+--+-- The format for this parameter is a sequence of six digits. rmdAuthenticationCode2 :: Lens' ResyncMFADevice Text rmdAuthenticationCode2 = lens _rmdAuthenticationCode2 (\ s a -> s{_rmdAuthenticationCode2 = a});
gen/Network/AWS/IAM/SetDefaultPolicyVersion.hs view
@@ -22,7 +22,7 @@ -- -- This action affects all users, groups, and roles that the policy is attached to. To list the users, groups, and roles that the policy is attached to, use the < ListEntitiesForPolicy> API. ----- For information about managed policies, refer to <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- For information about managed policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/. module Network.AWS.IAM.SetDefaultPolicyVersion ( -- * Creating a Request@@ -67,7 +67,9 @@ , _sdpvVersionId = pVersionId_ } --- | Undocumented member.+-- | The Amazon Resource Name (ARN) of the IAM policy whose default version you want to set.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. sdpvPolicyARN :: Lens' SetDefaultPolicyVersion Text sdpvPolicyARN = lens _sdpvPolicyARN (\ s a -> s{_sdpvPolicyARN = a});
gen/Network/AWS/IAM/SimulateCustomPolicy.hs view
@@ -27,6 +27,8 @@ -- Context keys are variables maintained by AWS and its services that provide details about the context of an API query request. You can use the 'Condition' element of an IAM policy to evaluate context keys. To get the list of context keys that the policies require for correct simulation, use < GetContextKeysForCustomPolicy>. -- -- If the output is long, you can use 'MaxItems' and 'Marker' parameters to paginate the results.+--+-- This operation returns paginated results. module Network.AWS.IAM.SimulateCustomPolicy ( -- * Creating a Request@@ -56,6 +58,7 @@ import Network.AWS.IAM.Types import Network.AWS.IAM.Types.Product import Network.AWS.Lens+import Network.AWS.Pager import Network.AWS.Prelude import Network.AWS.Request import Network.AWS.Response@@ -114,10 +117,12 @@ } -- | A resource-based policy to include in the simulation provided as a string. Each resource in the simulation is treated as if it had this policy attached. You can include only one resource-based policy in a simulation.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\\u0020) through end of the ASCII character range (\\u00FF). It also includes the special characters tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D). scpResourcePolicy :: Lens' SimulateCustomPolicy (Maybe Text) scpResourcePolicy = lens _scpResourcePolicy (\ s a -> s{_scpResourcePolicy = a}); --- | The ARN of the user that you want to use as the simulated caller of the APIs. 'CallerArn' is required if you include a 'ResourcePolicy' so that the policy\'s 'Principal' element has a value to use in evaluating the policy.+-- | The ARN of the IAM user that you want to use as the simulated caller of the APIs. 'CallerArn' is required if you include a 'ResourcePolicy' so that the policy\'s 'Principal' element has a value to use in evaluating the policy. -- -- You can specify only the ARN of an IAM user. You cannot specify the ARN of an assumed role, federated user, or a service principal. scpCallerARN :: Lens' SimulateCustomPolicy (Maybe Text)@@ -159,6 +164,8 @@ -- The simulation does not automatically retrieve policies for the specified resources. If you want to include a resource policy in the simulation, then you must include the policy as a string in the 'ResourcePolicy' parameter. -- -- If you include a 'ResourcePolicy', then it must be applicable to all of the resources included in the simulation or you receive an invalid input error.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. scpResourceARNs :: Lens' SimulateCustomPolicy [Text] scpResourceARNs = lens _scpResourceARNs (\ s a -> s{_scpResourceARNs = a}) . _Default . _Coerce; @@ -172,7 +179,7 @@ scpMaxItems :: Lens' SimulateCustomPolicy (Maybe Natural) scpMaxItems = lens _scpMaxItems (\ s a -> s{_scpMaxItems = a}) . mapping _Nat; --- | A list of context keys and corresponding values for the simulation to use. Whenever a context key is evaluated by a 'Condition' element in one of the simulated IAM permission policies, the corresponding value is supplied.+-- | A list of context keys and corresponding values for the simulation to use. Whenever a context key is evaluated in one of the simulated IAM permission policies, the corresponding value is supplied. scpContextEntries :: Lens' SimulateCustomPolicy [ContextEntry] scpContextEntries = lens _scpContextEntries (\ s a -> s{_scpContextEntries = a}) . _Default . _Coerce; @@ -181,12 +188,20 @@ scpResourceOwner = lens _scpResourceOwner (\ s a -> s{_scpResourceOwner = a}); -- | A list of policy documents to include in the simulation. Each document is specified as a string containing the complete, valid JSON text of an IAM policy. Do not include any resource-based policies in this parameter. Any resource-based policy must be submitted with the 'ResourcePolicy' parameter. The policies cannot be \"scope-down\" policies, such as you could include in a call to <http://docs.aws.amazon.com/IAM/latest/APIReference/API_GetFederationToken.html GetFederationToken> or one of the <http://docs.aws.amazon.com/IAM/latest/APIReference/API_AssumeRole.html AssumeRole> APIs to restrict what a user can do while using the temporary credentials.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\\u0020) through end of the ASCII character range (\\u00FF). It also includes the special characters tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D). scpPolicyInputList :: Lens' SimulateCustomPolicy [Text] scpPolicyInputList = lens _scpPolicyInputList (\ s a -> s{_scpPolicyInputList = a}) . _Coerce; -- | A list of names of API actions to evaluate in the simulation. Each action is evaluated against each resource. Each action must include the service identifier, such as 'iam:CreateUser'. scpActionNames :: Lens' SimulateCustomPolicy [Text] scpActionNames = lens _scpActionNames (\ s a -> s{_scpActionNames = a}) . _Coerce;++instance AWSPager SimulateCustomPolicy where+ page rq rs+ | stop (rs ^. spIsTruncated) = Nothing+ | isNothing (rs ^. spMarker) = Nothing+ | otherwise = Just $ rq & scpMarker .~ rs ^. spMarker instance AWSRequest SimulateCustomPolicy where type Rs SimulateCustomPolicy = SimulatePolicyResponse
gen/Network/AWS/IAM/SimulatePrincipalPolicy.hs view
@@ -31,6 +31,8 @@ -- Context keys are variables maintained by AWS and its services that provide details about the context of an API query request. You can use the 'Condition' element of an IAM policy to evaluate context keys. To get the list of context keys that the policies require for correct simulation, use < GetContextKeysForPrincipalPolicy>. -- -- If the output is long, you can use the 'MaxItems' and 'Marker' parameters to paginate the results.+--+-- This operation returns paginated results. module Network.AWS.IAM.SimulatePrincipalPolicy ( -- * Creating a Request@@ -61,6 +63,7 @@ import Network.AWS.IAM.Types import Network.AWS.IAM.Types.Product import Network.AWS.Lens+import Network.AWS.Pager import Network.AWS.Prelude import Network.AWS.Request import Network.AWS.Response@@ -124,18 +127,24 @@ } -- | An optional list of additional policy documents to include in the simulation. Each document is specified as a string containing the complete, valid JSON text of an IAM policy.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\\u0020) through end of the ASCII character range (\\u00FF). It also includes the special characters tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D). sppPolicyInputList :: Lens' SimulatePrincipalPolicy [Text] sppPolicyInputList = lens _sppPolicyInputList (\ s a -> s{_sppPolicyInputList = a}) . _Default . _Coerce; -- | A resource-based policy to include in the simulation provided as a string. Each resource in the simulation is treated as if it had this policy attached. You can include only one resource-based policy in a simulation.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\\u0020) through end of the ASCII character range (\\u00FF). It also includes the special characters tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D). sppResourcePolicy :: Lens' SimulatePrincipalPolicy (Maybe Text) sppResourcePolicy = lens _sppResourcePolicy (\ s a -> s{_sppResourcePolicy = a}); --- | The ARN of the user that you want to specify as the simulated caller of the APIs. If you do not specify a 'CallerArn', it defaults to the ARN of the user that you specify in 'PolicySourceArn', if you specified a user. If you include both a 'PolicySourceArn' (for example, 'arn:aws:iam::123456789012:user\/David') and a 'CallerArn' (for example, 'arn:aws:iam::123456789012:user\/Bob'), the result is that you simulate calling the APIs as Bob, as if Bob had David\'s policies.+-- | The ARN of the IAM user that you want to specify as the simulated caller of the APIs. If you do not specify a 'CallerArn', it defaults to the ARN of the user that you specify in 'PolicySourceArn', if you specified a user. If you include both a 'PolicySourceArn' (for example, 'arn:aws:iam::123456789012:user\/David') and a 'CallerArn' (for example, 'arn:aws:iam::123456789012:user\/Bob'), the result is that you simulate calling the APIs as Bob, as if Bob had David\'s policies. -- -- You can specify only the ARN of an IAM user. You cannot specify the ARN of an assumed role, federated user, or a service principal. -- -- 'CallerArn' is required if you include a 'ResourcePolicy' and the 'PolicySourceArn' is not the ARN for an IAM user. This is required so that the resource-based policy\'s 'Principal' element has a value to use in evaluating the policy.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. sppCallerARN :: Lens' SimulatePrincipalPolicy (Maybe Text) sppCallerARN = lens _sppCallerARN (\ s a -> s{_sppCallerARN = a}); @@ -173,6 +182,8 @@ -- | A list of ARNs of AWS resources to include in the simulation. If this parameter is not provided then the value defaults to '*' (all resources). Each API in the 'ActionNames' parameter is evaluated for each resource in this list. The simulation determines the access result (allowed or denied) of each combination and reports it in the response. -- -- The simulation does not automatically retrieve policies for the specified resources. If you want to include a resource policy in the simulation, then you must include the policy as a string in the 'ResourcePolicy' parameter.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. sppResourceARNs :: Lens' SimulatePrincipalPolicy [Text] sppResourceARNs = lens _sppResourceARNs (\ s a -> s{_sppResourceARNs = a}) . _Default . _Coerce; @@ -186,7 +197,7 @@ sppMaxItems :: Lens' SimulatePrincipalPolicy (Maybe Natural) sppMaxItems = lens _sppMaxItems (\ s a -> s{_sppMaxItems = a}) . mapping _Nat; --- | A list of context keys and corresponding values for the simulation to use. Whenever a context key is evaluated by a 'Condition' element in one of the simulated policies, the corresponding value is supplied.+-- | A list of context keys and corresponding values for the simulation to use. Whenever a context key is evaluated in one of the simulated IAM permission policies, the corresponding value is supplied. sppContextEntries :: Lens' SimulatePrincipalPolicy [ContextEntry] sppContextEntries = lens _sppContextEntries (\ s a -> s{_sppContextEntries = a}) . _Default . _Coerce; @@ -195,12 +206,20 @@ sppResourceOwner = lens _sppResourceOwner (\ s a -> s{_sppResourceOwner = a}); -- | The Amazon Resource Name (ARN) of a user, group, or role whose policies you want to include in the simulation. If you specify a user, group, or role, the simulation includes all policies that are associated with that entity. If you specify a user, the simulation also includes all policies that are attached to any groups the user belongs to.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. sppPolicySourceARN :: Lens' SimulatePrincipalPolicy Text sppPolicySourceARN = lens _sppPolicySourceARN (\ s a -> s{_sppPolicySourceARN = a}); -- | A list of names of API actions to evaluate in the simulation. Each action is evaluated for each resource. Each action must include the service identifier, such as 'iam:CreateUser'. sppActionNames :: Lens' SimulatePrincipalPolicy [Text] sppActionNames = lens _sppActionNames (\ s a -> s{_sppActionNames = a}) . _Coerce;++instance AWSPager SimulatePrincipalPolicy where+ page rq rs+ | stop (rs ^. spIsTruncated) = Nothing+ | isNothing (rs ^. spMarker) = Nothing+ | otherwise = Just $ rq & sppMarker .~ rs ^. spMarker instance AWSRequest SimulatePrincipalPolicy where type Rs SimulatePrincipalPolicy =
gen/Network/AWS/IAM/Types/Product.hs view
@@ -278,7 +278,7 @@ -- | Contains information about a condition context key. It includes the name of the key and specifies the value (or values, if the context key supports multiple values) to use in the simulation. This information is used when evaluating the 'Condition' elements of the input policies. ----- This data type is used as an input parameter to 'SimulatePolicy'.+-- This data type is used as an input parameter to ' SimulateCustomPolicy ' and ' SimulateCustomPolicy '. -- -- /See:/ 'contextEntry' smart constructor. data ContextEntry = ContextEntry'@@ -332,7 +332,7 @@ -- | Contains the results of a simulation. ----- This data type is used by the return parameter of 'SimulatePolicy'.+-- This data type is used by the return parameter of ' SimulateCustomPolicy ' and ' SimulatePrincipalPolicy '. -- -- /See:/ 'evaluationResult' smart constructor. data EvaluationResult = EvaluationResult'@@ -394,8 +394,6 @@ erEvalResourceName = lens _erEvalResourceName (\ s a -> s{_erEvalResourceName = a}); -- | A list of context keys that are required by the included input policies but that were not provided by one of the input parameters. This list is used when the resource in a simulation is \"*\", either explicitly, or when the 'ResourceArns' parameter blank. If you include a list of resources, then any missing context values are instead included under the 'ResourceSpecificResults' section. To discover the context keys used by a set of policies, you can call < GetContextKeysForCustomPolicy> or < GetContextKeysForPrincipalPolicy>.------ If the response includes any keys in this list, then the reported results might be untrustworthy because the simulation could not completely evaluate all of the conditions specified in the policies that would occur in a real world request. erMissingContextValues :: Lens' EvaluationResult [Text] erMissingContextValues = lens _erMissingContextValues (\ s a -> s{_erMissingContextValues = a}) . _Default . _Coerce; @@ -448,7 +446,7 @@ { _gckfpContextKeyNames = Nothing } --- | The list of context keys that are used in the 'Condition' elements of the input policies.+-- | The list of context keys that are referenced in the input policies. gckfpContextKeyNames :: Lens' GetContextKeysForPolicyResponse [Text] gckfpContextKeyNames = lens _gckfpContextKeyNames (\ s a -> s{_gckfpContextKeyNames = a}) . _Default . _Coerce; @@ -468,9 +466,12 @@ -- This data type is used as a response element in the following actions: -- -- - < CreateGroup>+-- -- - < GetGroup>+-- -- - < ListGroups> --+-- -- /See:/ 'group'' smart constructor. data Group = Group' { _gPath :: !Text@@ -1479,7 +1480,7 @@ -- | Contains the row and column of a location of a 'Statement' element in a policy document. ----- This data type is used as a member of the 'Statement' type.+-- This data type is used as a member of the ' Statement ' type. -- -- /See:/ 'position' smart constructor. data Position = Position'@@ -2254,7 +2255,7 @@ -- | Contains a reference to a 'Statement' element in a policy document that determines the result of the simulation. ----- This data type is used by the 'MatchedStatements' member of the 'EvaluationResult' type.+-- This data type is used by the 'MatchedStatements' member of the ' EvaluationResult ' type. -- -- /See:/ 'statement' smart constructor. data Statement = Statement'
gen/Network/AWS/IAM/Types/Sum.hs view
@@ -31,7 +31,7 @@ "assigned" -> pure Assigned "unassigned" -> pure Unassigned e -> fromTextError $ "Failure parsing AssignmentStatusType from value: '" <> e- <> "'. Accepted values: Any, Assigned, Unassigned"+ <> "'. Accepted values: any, assigned, unassigned" instance ToText AssignmentStatusType where toText = \case@@ -75,7 +75,7 @@ "string" -> pure String "stringlist" -> pure StringList e -> fromTextError $ "Failure parsing ContextKeyTypeEnum from value: '" <> e- <> "'. Accepted values: binary, binaryList, boolean, booleanList, date, dateList, ip, ipList, numeric, numericList, string, stringList"+ <> "'. Accepted values: binary, binarylist, boolean, booleanlist, date, datelist, ip, iplist, numeric, numericlist, string, stringlist" instance ToText ContextKeyTypeEnum where toText = \case@@ -108,7 +108,7 @@ "pem" -> pure Pem "ssh" -> pure SSH e -> fromTextError $ "Failure parsing EncodingType from value: '" <> e- <> "'. Accepted values: PEM, SSH"+ <> "'. Accepted values: pem, ssh" instance ToText EncodingType where toText = \case@@ -137,7 +137,7 @@ "role" -> pure ETRole "user" -> pure ETUser e -> fromTextError $ "Failure parsing EntityType from value: '" <> e- <> "'. Accepted values: AWSManagedPolicy, Group, LocalManagedPolicy, Role, User"+ <> "'. Accepted values: awsmanagedpolicy, group, localmanagedpolicy, role, user" instance ToText EntityType where toText = \case@@ -165,7 +165,7 @@ "explicitdeny" -> pure ExplicitDeny "implicitdeny" -> pure ImplicitDeny e -> fromTextError $ "Failure parsing PolicyEvaluationDecisionType from value: '" <> e- <> "'. Accepted values: allowed, explicitDeny, implicitDeny"+ <> "'. Accepted values: allowed, explicitdeny, implicitdeny" instance ToText PolicyEvaluationDecisionType where toText = \case@@ -194,7 +194,7 @@ "all" -> pure All "local" -> pure Local e -> fromTextError $ "Failure parsing PolicyScopeType from value: '" <> e- <> "'. Accepted values: AWS, All, Local"+ <> "'. Accepted values: aws, all, local" instance ToText PolicyScopeType where toText = \case@@ -284,7 +284,7 @@ "inprogress" -> pure Inprogress "started" -> pure Started e -> fromTextError $ "Failure parsing ReportStateType from value: '" <> e- <> "'. Accepted values: COMPLETE, INPROGRESS, STARTED"+ <> "'. Accepted values: complete, inprogress, started" instance ToText ReportStateType where toText = \case@@ -311,7 +311,7 @@ "active" -> pure Active "inactive" -> pure Inactive e -> fromTextError $ "Failure parsing StatusType from value: '" <> e- <> "'. Accepted values: Active, Inactive"+ <> "'. Accepted values: active, inactive" instance ToText StatusType where toText = \case@@ -383,7 +383,7 @@ "usersquota" -> pure UsersQuota "versionsperpolicyquota" -> pure VersionsPerPolicyQuota e -> fromTextError $ "Failure parsing SummaryKeyType from value: '" <> e- <> "'. Accepted values: AccessKeysPerUserQuota, AccountAccessKeysPresent, AccountMFAEnabled, AccountSigningCertificatesPresent, AttachedPoliciesPerGroupQuota, AttachedPoliciesPerRoleQuota, AttachedPoliciesPerUserQuota, GroupPolicySizeQuota, Groups, GroupsPerUserQuota, GroupsQuota, MFADevices, MFADevicesInUse, Policies, PoliciesQuota, PolicySizeQuota, PolicyVersionsInUse, PolicyVersionsInUseQuota, ServerCertificates, ServerCertificatesQuota, SigningCertificatesPerUserQuota, UserPolicySizeQuota, Users, UsersQuota, VersionsPerPolicyQuota"+ <> "'. Accepted values: accesskeysperuserquota, accountaccesskeyspresent, accountmfaenabled, accountsigningcertificatespresent, attachedpoliciespergroupquota, attachedpoliciesperrolequota, attachedpoliciesperuserquota, grouppolicysizequota, groups, groupsperuserquota, groupsquota, mfadevices, mfadevicesinuse, policies, policiesquota, policysizequota, policyversionsinuse, policyversionsinusequota, servercertificates, servercertificatesquota, signingcertificatesperuserquota, userpolicysizequota, users, usersquota, versionsperpolicyquota" instance ToText SummaryKeyType where toText = \case
gen/Network/AWS/IAM/UpdateAccessKey.hs view
@@ -73,10 +73,14 @@ } -- | The name of the user whose key you want to update.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- uakUserName :: Lens' UpdateAccessKey (Maybe Text) uakUserName = lens _uakUserName (\ s a -> s{_uakUserName = a}); -- | The access key ID of the secret access key you want to update.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters that can consist of any upper or lowercased letter or digit. uakAccessKeyId :: Lens' UpdateAccessKey Text uakAccessKeyId = lens _uakAccessKeyId (\ s a -> s{_uakAccessKeyId = a});
gen/Network/AWS/IAM/UpdateAssumeRolePolicy.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Updates the policy that grants an entity permission to assume a role. For more information about roles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html Using Roles to Delegate Permissions and Federate Identities>.+-- Updates the policy that grants an IAM entity permission to assume a role. This is typically referred to as the \"role trust policy\". For more information about roles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html Using Roles to Delegate Permissions and Federate Identities>. module Network.AWS.IAM.UpdateAssumeRolePolicy ( -- * Creating a Request@@ -63,11 +63,15 @@ , _uarpPolicyDocument = pPolicyDocument_ } --- | The name of the role to update.+-- | The name of the role to update with the new policy.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- uarpRoleName :: Lens' UpdateAssumeRolePolicy Text uarpRoleName = lens _uarpRoleName (\ s a -> s{_uarpRoleName = a}); -- | The policy that grants an entity permission to assume the role.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\\u0020) through end of the ASCII character range (\\u00FF). It also includes the special characters tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D). uarpPolicyDocument :: Lens' UpdateAssumeRolePolicy Text uarpPolicyDocument = lens _uarpPolicyDocument (\ s a -> s{_uarpPolicyDocument = a});
gen/Network/AWS/IAM/UpdateGroup.hs view
@@ -18,11 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Updates the name and\/or the path of the specified group.+-- Updates the name and\/or the path of the specified IAM 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 /IAM User Guide/. ----- To change a group name the requester must have appropriate permissions on both the source object and the target object. For example, to change Managers to MGRs, the entity making the request must have permission on Managers and MGRs, or must have permission on all (*). For more information about permissions, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/PermissionsAndPolicies.html Permissions and Policies>.+-- To change an IAM group name the requester must have appropriate permissions on both the source object and the target object. For example, to change \"Managers\" to \"MGRs\", the entity making the request must have permission on both \"Managers\" and \"MGRs\", or must have permission on all (*). For more information about permissions, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/PermissionsAndPolicies.html Permissions and Policies>. module Network.AWS.IAM.UpdateGroup ( -- * Creating a Request@@ -71,15 +71,21 @@ , _ugGroupName = pGroupName_ } --- | New name for the group. Only include this if changing the group\'s name.+-- | New name for the IAM group. Only include this if changing the group\'s name.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- ugNewGroupName :: Lens' UpdateGroup (Maybe Text) ugNewGroupName = lens _ugNewGroupName (\ s a -> s{_ugNewGroupName = a}); --- | New path for the group. Only include this if changing the group\'s path.+-- | New path for the IAM group. Only include this if changing the group\'s path.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of either a forward slash (\/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\\u0021) thru the DEL character (\\u007F), including most punctuation characters, digits, and upper and lowercased letters. ugNewPath :: Lens' UpdateGroup (Maybe Text) ugNewPath = lens _ugNewPath (\ s a -> s{_ugNewPath = a}); --- | Name of the group to update. If you\'re changing the name of the group, this is the original name.+-- | Name of the IAM group to update. If you\'re changing the name of the group, this is the original name.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- ugGroupName :: Lens' UpdateGroup Text ugGroupName = lens _ugGroupName (\ s a -> s{_ugGroupName = a});
gen/Network/AWS/IAM/UpdateLoginProfile.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Changes the password for the specified user.+-- Changes the password for the specified IAM 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 /IAM User Guide/.+-- IAM 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 /IAM User Guide/. module Network.AWS.IAM.UpdateLoginProfile ( -- * Creating a Request@@ -69,15 +69,19 @@ , _ulpUserName = pUserName_ } --- | The new password for the specified user.+-- | The new password for the specified IAM user.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\\u0020) through end of the ASCII character range (\\u00FF). It also includes the special characters tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D). However, the format can be further restricted by the account administrator by setting a password policy on the AWS account. For more information, see < UpdateAccountPasswordPolicy>. ulpPassword :: Lens' UpdateLoginProfile (Maybe Text) ulpPassword = lens _ulpPassword (\ s a -> s{_ulpPassword = a}) . mapping _Sensitive; --- | Require the specified user to set a new password on next sign-in.+-- | Allows this new password to be used only once by requiring the specified IAM user to set a new password on next sign-in. ulpPasswordResetRequired :: Lens' UpdateLoginProfile (Maybe Bool) ulpPasswordResetRequired = lens _ulpPasswordResetRequired (\ s a -> s{_ulpPasswordResetRequired = a}); -- | The name of the user whose password you want to update.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- ulpUserName :: Lens' UpdateLoginProfile Text ulpUserName = lens _ulpUserName (\ s a -> s{_ulpUserName = a});
gen/Network/AWS/IAM/UpdateOpenIdConnectProviderThumbprint.hs view
@@ -18,13 +18,13 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Replaces the existing list of server certificate thumbprints with a new list.+-- Replaces the existing list of server certificate thumbprints associated with an OpenID Connect (OIDC) provider resource object with a new list of thumbprints. -- -- 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 OIDC provider as a principal will fail until the certificate thumbprint is updated.+-- 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 OIDC provider as a principal fails until the certificate thumbprint is updated. ----- Because trust for the OpenID Connect provider is ultimately derived from the provider\'s certificate and is validated by the thumbprint, it is a best practice to limit access to the 'UpdateOpenIDConnectProviderThumbprint' action to highly-privileged users.+-- Because trust for the OIDC provider is ultimately derived from the provider\'s certificate and is validated by the thumbprint, it is a best practice to limit access to the 'UpdateOpenIDConnectProviderThumbprint' action to highly-privileged users. module Network.AWS.IAM.UpdateOpenIdConnectProviderThumbprint ( -- * Creating a Request@@ -68,7 +68,9 @@ , _uoicptThumbprintList = 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 OIDC provider resource object for which you want to update the thumbprint. You can get a list of OIDC provider ARNs by using the < ListOpenIDConnectProviders> action.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. uoicptOpenIdConnectProviderARN :: Lens' UpdateOpenIdConnectProviderThumbprint Text uoicptOpenIdConnectProviderARN = lens _uoicptOpenIdConnectProviderARN (\ s a -> s{_uoicptOpenIdConnectProviderARN = a});
gen/Network/AWS/IAM/UpdateSAMLProvider.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Updates the metadata document for an existing SAML provider.+-- Updates the metadata document for an existing SAML provider resource object. -- -- This operation requires <http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html Signature Version 4>. module Network.AWS.IAM.UpdateSAMLProvider@@ -73,6 +73,8 @@ usamlpSAMLMetadataDocument = lens _usamlpSAMLMetadataDocument (\ s a -> s{_usamlpSAMLMetadataDocument = a}); -- | The Amazon Resource Name (ARN) of the SAML provider to update.+--+-- For more information about ARNs, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and AWS Service Namespaces> in the /AWS General Reference/. usamlpSAMLProviderARN :: Lens' UpdateSAMLProvider Text usamlpSAMLProviderARN = lens _usamlpSAMLProviderARN (\ s a -> s{_usamlpSAMLProviderARN = a});
gen/Network/AWS/IAM/UpdateSSHPublicKey.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Sets the status of the specified SSH public key to active or inactive. SSH public keys that are inactive cannot be used for authentication. This action can be used to disable a user\'s SSH public key as part of a key rotation work flow.+-- Sets the status of an IAM user\'s SSH public key to active or inactive. SSH public keys that are inactive cannot be used for authentication. This action can be used to disable a user\'s SSH public key as part of a key rotation work flow. -- -- The SSH public key affected by this action is used only for authenticating the associated IAM user to an AWS CodeCommit repository. For more information about using SSH keys to authenticate to an AWS CodeCommit repository, see <http://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-credentials-ssh.html Set up AWS CodeCommit for SSH Connections> in the /AWS CodeCommit User Guide/. module Network.AWS.IAM.UpdateSSHPublicKey@@ -72,10 +72,14 @@ } -- | The name of the IAM user associated with the SSH public key.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- uspkUserName :: Lens' UpdateSSHPublicKey Text uspkUserName = lens _uspkUserName (\ s a -> s{_uspkUserName = a}); -- | The unique identifier for the SSH public key.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters that can consist of any upper or lowercased letter or digit. uspkSSHPublicKeyId :: Lens' UpdateSSHPublicKey Text uspkSSHPublicKeyId = lens _uspkSSHPublicKeyId (\ s a -> s{_uspkSSHPublicKeyId = a});
gen/Network/AWS/IAM/UpdateServerCertificate.hs view
@@ -18,13 +18,13 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Updates the name and\/or the path of the specified server certificate.+-- Updates the name and\/or the path of the specified server certificate stored in IAM. -- -- For more information about working with server certificates, including a list of AWS services that can use the server certificates that you manage with IAM, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html Working with Server Certificates> in the /IAM User Guide/. -- -- 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/id_credentials_server-certs_manage.html#RenamingServerCerts Renaming a Server Certificate> in the /IAM User Guide/. ----- To change a server certificate name the requester must have appropriate permissions on both the source object and the target object. For example, to change the name from ProductionCert to ProdCert, the entity making the request must have permission on ProductionCert and ProdCert, or must have permission on all (*). For more information about permissions, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/access.html Access Management> in the /IAM User Guide/.+-- To change a server certificate name the requester must have appropriate permissions on both the source object and the target object. For example, to change the name from \"ProductionCert\" to \"ProdCert\", the entity making the request must have permission on \"ProductionCert\" and \"ProdCert\", or must have permission on all (*). For more information about permissions, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/access.html Access Management> in the /IAM User Guide/. module Network.AWS.IAM.UpdateServerCertificate ( -- * Creating a Request@@ -74,14 +74,20 @@ } -- | The new name for the server certificate. Include this only if you are updating the server certificate\'s name. The name of the certificate cannot contain any spaces.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- uNewServerCertificateName :: Lens' UpdateServerCertificate (Maybe Text) uNewServerCertificateName = lens _uNewServerCertificateName (\ s a -> s{_uNewServerCertificateName = a}); -- | The new path for the server certificate. Include this only if you are updating the server certificate\'s path.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of either a forward slash (\/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\\u0021) thru the DEL character (\\u007F), including most punctuation characters, digits, and upper and lowercased letters. uNewPath :: Lens' UpdateServerCertificate (Maybe Text) uNewPath = lens _uNewPath (\ s a -> s{_uNewPath = a}); -- | The name of the server certificate that you want to update.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- uServerCertificateName :: Lens' UpdateServerCertificate Text uServerCertificateName = lens _uServerCertificateName (\ s a -> s{_uServerCertificateName = a});
gen/Network/AWS/IAM/UpdateSigningCertificate.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- 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.+-- Changes the status of the specified user signing certificate from active to disabled, or vice versa. This action can be used to disable an IAM 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. module Network.AWS.IAM.UpdateSigningCertificate@@ -70,11 +70,15 @@ , _uscStatus = pStatus_ } --- | The name of the user the signing certificate belongs to.+-- | The name of the IAM user the signing certificate belongs to.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- uscUserName :: Lens' UpdateSigningCertificate (Maybe Text) uscUserName = lens _uscUserName (\ s a -> s{_uscUserName = a}); -- | The ID of the signing certificate you want to update.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters that can consist of any upper or lowercased letter or digit. uscCertificateId :: Lens' UpdateSigningCertificate Text uscCertificateId = lens _uscCertificateId (\ s a -> s{_uscCertificateId = a});
gen/Network/AWS/IAM/UpdateUser.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Updates the name and\/or the path of the specified user.+-- Updates the name and\/or the path of the specified IAM 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/id_users_manage.html#id_users_renaming Renaming an IAM User> and <http://docs.aws.amazon.com/IAM/latest/UserGuide/id_groups_manage_rename.html Renaming an IAM Group> in the /IAM User Guide/.+-- You should understand the implications of changing an IAM user\'s path or name. For more information, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_manage.html#id_users_renaming Renaming an IAM User> and <http://docs.aws.amazon.com/IAM/latest/UserGuide/id_groups_manage_rename.html Renaming an IAM Group> in the /IAM User Guide/. -- -- To change a user name the requester must have appropriate permissions on both the source object and the target object. For example, to change Bob to Robert, the entity making the request must have permission on Bob and Robert, or must have permission on all (*). For more information about permissions, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/PermissionsAndPolicies.html Permissions and Policies>. module Network.AWS.IAM.UpdateUser@@ -72,14 +72,20 @@ } -- | New name for the user. Include this parameter only if you\'re changing the user\'s name.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- uuNewUserName :: Lens' UpdateUser (Maybe Text) uuNewUserName = lens _uuNewUserName (\ s a -> s{_uuNewUserName = a}); --- | New path for the user. Include this parameter only if you\'re changing the user\'s path.+-- | New path for the IAM user. Include this parameter only if you\'re changing the user\'s path.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of either a forward slash (\/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\\u0021) thru the DEL character (\\u007F), including most punctuation characters, digits, and upper and lowercased letters. uuNewPath :: Lens' UpdateUser (Maybe Text) uuNewPath = lens _uuNewPath (\ s a -> s{_uuNewPath = a}); -- | Name of the user to update. If you\'re changing the name of the user, this is the original user name.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- uuUserName :: Lens' UpdateUser Text uuUserName = lens _uuUserName (\ s a -> s{_uuUserName = a});
gen/Network/AWS/IAM/UploadSSHPublicKey.hs view
@@ -69,10 +69,14 @@ } -- | The name of the IAM user to associate the SSH public key with.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- usshpkUserName :: Lens' UploadSSHPublicKey Text usshpkUserName = lens _usshpkUserName (\ s a -> s{_usshpkUserName = a}); -- | The SSH public key. The public key must be encoded in ssh-rsa format or PEM format.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\\u0020) through end of the ASCII character range (\\u00FF). It also includes the special characters tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D). usshpkSSHPublicKeyBody :: Lens' UploadSSHPublicKey Text usshpkSSHPublicKeyBody = lens _usshpkSSHPublicKeyBody (\ s a -> s{_usshpkSSHPublicKeyBody = a});
gen/Network/AWS/IAM/UploadServerCertificate.hs view
@@ -88,27 +88,35 @@ , _uscPrivateKey = _Sensitive # pPrivateKey_ } --- | 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.+-- | 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 /IAM User Guide/. ----- This parameter is optional. If it is not included, it defaults to a slash (\/).+-- This parameter is optional. If it is not included, it defaults to a slash (\/). The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of either a forward slash (\/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\\u0021) thru the DEL character (\\u007F), including most punctuation characters, digits, and upper and lowercased letters. -- -- If you are uploading a server certificate specifically for use with Amazon CloudFront distributions, you must specify a path using the '--path' option. The path must begin with '\/cloudfront' and must include a trailing slash (for example, '\/cloudfront\/test\/'). uscPath :: Lens' UploadServerCertificate (Maybe Text) uscPath = lens _uscPath (\ s a -> s{_uscPath = a}); -- | The contents of the certificate chain. This is typically a concatenation of the PEM-encoded public key certificates of the chain.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\\u0020) through end of the ASCII character range (\\u00FF). It also includes the special characters tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D). uscCertificateChain :: Lens' UploadServerCertificate (Maybe Text) uscCertificateChain = lens _uscCertificateChain (\ s a -> s{_uscCertificateChain = a}); -- | The name for the server certificate. Do not include the path in this value. The name of the certificate cannot contain any spaces.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- uscServerCertificateName :: Lens' UploadServerCertificate Text uscServerCertificateName = lens _uscServerCertificateName (\ s a -> s{_uscServerCertificateName = a}); -- | The contents of the public key certificate in PEM-encoded format.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\\u0020) through end of the ASCII character range (\\u00FF). It also includes the special characters tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D). uscCertificateBody :: Lens' UploadServerCertificate Text uscCertificateBody = lens _uscCertificateBody (\ s a -> s{_uscCertificateBody = a}); -- | The contents of the private key in PEM-encoded format.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\\u0020) through end of the ASCII character range (\\u00FF). It also includes the special characters tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D). uscPrivateKey :: Lens' UploadServerCertificate Text uscPrivateKey = lens _uscPrivateKey (\ s a -> s{_uscPrivateKey = a}) . _Sensitive;
gen/Network/AWS/IAM/UploadSigningCertificate.hs view
@@ -18,11 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- 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'.+-- Uploads an X.509 signing certificate and associates it with the specified IAM 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.+-- If the 'UserName' field is not specified, the IAM 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. ----- Because the body of a X.509 certificate can be large, you should use POST rather than GET when calling 'UploadSigningCertificate'. For information about setting up signatures and authorization through the API, go to <http://docs.aws.amazon.com/general/latest/gr/signing_aws_api_requests.html Signing AWS API Requests> in the /AWS General Reference/. For general information about using the Query API with IAM, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html Making Query Requests> in the /Using IAM/guide.+-- Because the body of a X.509 certificate can be large, you should use POST rather than GET when calling 'UploadSigningCertificate'. For information about setting up signatures and authorization through the API, go to <http://docs.aws.amazon.com/general/latest/gr/signing_aws_api_requests.html Signing AWS API Requests> in the /AWS General Reference/. For general information about using the Query API with IAM, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html Making Query Requests> in the /IAM User Guide/. module Network.AWS.IAM.UploadSigningCertificate ( -- * Creating a Request@@ -70,10 +70,14 @@ } -- | The name of the user the signing certificate is for.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.\'- uplUserName :: Lens' UploadSigningCertificate (Maybe Text) uplUserName = lens _uplUserName (\ s a -> s{_uplUserName = a}); -- | The contents of the signing certificate.+--+-- The <http://wikipedia.org/wiki/regex regex pattern> for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\\u0020) through end of the ASCII character range (\\u00FF). It also includes the special characters tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D). uplCertificateBody :: Lens' UploadSigningCertificate Text uplCertificateBody = lens _uplCertificateBody (\ s a -> s{_uplCertificateBody = a});
+ src/.gitkeep view