packages feed

amazonka-iam 1.4.4 → 1.4.5

raw patch · 119 files changed

+1804/−2033 lines, 119 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)

Files

README.md view
@@ -8,46 +8,27 @@  ## Version -`1.4.4`+`1.4.5`   ## Description -AWS Identity and Access Management--AWS Identity and Access Management (IAM) is a web service that you can use to manage users and user permissions under your AWS account. This guide provides descriptions of IAM actions that you can call programmatically. For general information about IAM, see <http://aws.amazon.com/iam/ AWS Identity and Access Management (IAM)>. For the user guide for IAM, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/ Using IAM>.--AWS provides SDKs that consist of libraries and sample code for various programming languages and platforms (Java, Ruby, .NET, iOS, Android, etc.). The SDKs provide a convenient way to create programmatic access to IAM and AWS. For example, the SDKs take care of tasks such as cryptographically signing requests (see below), managing errors, and retrying requests automatically. For information about the AWS SDKs, including how to download and install them, see the <http://aws.amazon.com/tools/ Tools for Amazon Web Services> page.--We recommend that you use the AWS SDKs to make programmatic API calls to IAM. However, you can also use the IAM Query API to make direct calls to the IAM web service. To learn more about the IAM Query API, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html Making Query Requests> in the /Using IAM/ guide. IAM supports GET and POST requests for all actions. That is, the API does not require you to use GET for some actions and POST for others. However, GET requests are subject to the limitation size of a URL. Therefore, for operations that require larger sizes, use a POST request.--__Signing Requests__--Requests must be signed using an access key ID and a secret access key. We strongly recommend that you do not use your AWS account access key ID and secret access key for everyday work with IAM. You can use the access key ID and secret access key for an IAM user or you can use the AWS Security Token Service to generate temporary security credentials and use those to sign requests.--To sign requests, we recommend that you use <http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html Signature Version 4>. If you have an existing application that uses Signature Version 2, you do not have to update it to use Signature Version 4. However, some operations now require Signature Version 4. The documentation for operations that require version 4 indicate this requirement.--__Additional Resources__--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) and the [AWS API Reference](https://aws.amazon.com/documentation/).  The types from this library are intended to be used with [amazonka](http://hackage.haskell.org/package/amazonka),-which provides mechanisms for specifying AuthN/AuthZ information and sending requests.+which provides mechanisms for specifying AuthN/AuthZ information, sending requests,+and receiving responses. -Use of lenses is required for constructing and manipulating types.-This is due to the amount of nesting of AWS types and transparency regarding+Lenses are used for constructing and manipulating types,+due to the depth of nesting of AWS types and transparency regarding de/serialisation into more palatable Haskell values. The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core).++See [Network.AWS.IAM](http://hackage.haskell.org/package/amazonka-iam/docs/Network-AWS-IAM.html)+or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.+  ## Contribute 
amazonka-iam.cabal view
@@ -1,5 +1,5 @@ name:                  amazonka-iam-version:               1.4.4+version:               1.4.5 synopsis:              Amazon Identity and Access Management SDK. homepage:              https://github.com/brendanhay/amazonka bug-reports:           https://github.com/brendanhay/amazonka/issues@@ -13,42 +13,19 @@ cabal-version:         >= 1.10 extra-source-files:    README.md fixture/*.yaml fixture/*.proto src/.gitkeep description:-    AWS Identity and Access Management--    AWS Identity and Access Management (IAM) is a web service that you can use to manage users and user permissions under your AWS account. This guide provides descriptions of IAM actions that you can call programmatically. For general information about IAM, see <http://aws.amazon.com/iam/ AWS Identity and Access Management (IAM)>. For the user guide for IAM, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/ Using IAM>.--    AWS provides SDKs that consist of libraries and sample code for various programming languages and platforms (Java, Ruby, .NET, iOS, Android, etc.). The SDKs provide a convenient way to create programmatic access to IAM and AWS. For example, the SDKs take care of tasks such as cryptographically signing requests (see below), managing errors, and retrying requests automatically. For information about the AWS SDKs, including how to download and install them, see the <http://aws.amazon.com/tools/ Tools for Amazon Web Services> page.--    We recommend that you use the AWS SDKs to make programmatic API calls to IAM. However, you can also use the IAM Query API to make direct calls to the IAM web service. To learn more about the IAM Query API, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html Making Query Requests> in the /Using IAM/ guide. IAM supports GET and POST requests for all actions. That is, the API does not require you to use GET for some actions and POST for others. However, GET requests are subject to the limitation size of a URL. Therefore, for operations that require larger sizes, use a POST request.--    __Signing Requests__--    Requests must be signed using an access key ID and a secret access key. We strongly recommend that you do not use your AWS account access key ID and secret access key for everyday work with IAM. You can use the access key ID and secret access key for an IAM user or you can use the AWS Security Token Service to generate temporary security credentials and use those to sign requests.--    To sign requests, we recommend that you use <http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html Signature Version 4>. If you have an existing application that uses Signature Version 2, you do not have to update it to use Signature Version 4. However, some operations now require Signature Version 4. The documentation for operations that require version 4 indicate this requirement.--    __Additional Resources__--    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     <http://hackage.haskell.org/package/amazonka amazonka>, which provides-    mechanisms for specifying AuthN/AuthZ information and sending requests.+    mechanisms for specifying AuthN/AuthZ information, sending requests,+    and receiving responses.     .-    Use of lenses is required for constructing and manipulating types.-    This is due to the amount of nesting of AWS types and transparency regarding+    Lenses are used for constructing and manipulating types,+    due to the depth of nesting of AWS types and transparency regarding     de/serialisation into more palatable Haskell values.     The provided lenses should be compatible with any of the major lens libraries     such as <http://hackage.haskell.org/package/lens lens> or     <http://hackage.haskell.org/package/lens-family-core lens-family-core>.     .-    See "Network.AWS.IAM" or <https://aws.amazon.com/documentation/ the AWS Documentation>+    See "Network.AWS.IAM" or <https://aws.amazon.com/documentation/ the AWS documentation>     to get started.  source-repository head@@ -184,7 +161,7 @@         , Network.AWS.IAM.Types.Sum      build-depends:-          amazonka-core == 1.4.4.*+          amazonka-core == 1.4.5.*         , base          >= 4.7     && < 5  test-suite amazonka-iam-test@@ -204,9 +181,9 @@         , Test.AWS.IAM.Internal      build-depends:-          amazonka-core == 1.4.4.*-        , amazonka-test == 1.4.4.*-        , amazonka-iam == 1.4.4.*+          amazonka-core == 1.4.5.*+        , amazonka-test == 1.4.5.*+        , amazonka-iam == 1.4.5.*         , base         , bytestring         , tasty
gen/Network/AWS/IAM.hs view
@@ -11,11 +11,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- AWS Identity and Access Management------ AWS Identity and Access Management (IAM) is a web service that you can use to manage users and user permissions under your AWS account. This guide provides descriptions of IAM actions that you can call programmatically. For general information about IAM, see <http://aws.amazon.com/iam/ AWS Identity and Access Management (IAM)>. For the user guide for IAM, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/ Using IAM>.+-- __AWS Identity and Access Management__ ----- AWS provides SDKs that consist of libraries and sample code for various programming languages and platforms (Java, Ruby, .NET, iOS, Android, etc.). The SDKs provide a convenient way to create programmatic access to IAM and AWS. For example, the SDKs take care of tasks such as cryptographically signing requests (see below), managing errors, and retrying requests automatically. For information about the AWS SDKs, including how to download and install them, see the <http://aws.amazon.com/tools/ Tools for Amazon Web Services> page.+-- AWS Identity and Access Management (IAM) is a web service that you can use to manage users and user permissions under your AWS account. This guide provides descriptions of IAM actions that you can call programmatically. For general information about IAM, see <http://aws.amazon.com/iam/ AWS Identity and Access Management (IAM)> . For the user guide for IAM, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/ Using IAM> . -- -- We recommend that you use the AWS SDKs to make programmatic API calls to IAM. However, you can also use the IAM Query API to make direct calls to the IAM web service. To learn more about the IAM Query API, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html Making Query Requests> in the /Using IAM/ guide. IAM supports GET and POST requests for all actions. That is, the API does not require you to use GET for some actions and POST for others. However, GET requests are subject to the limitation size of a URL. Therefore, for operations that require larger sizes, use a POST request. --@@ -23,17 +21,19 @@ -- -- Requests must be signed using an access key ID and a secret access key. We strongly recommend that you do not use your AWS account access key ID and secret access key for everyday work with IAM. You can use the access key ID and secret access key for an IAM user or you can use the AWS Security Token Service to generate temporary security credentials and use those to sign requests. ----- To sign requests, we recommend that you use <http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html Signature Version 4>. If you have an existing application that uses Signature Version 2, you do not have to update it to use Signature Version 4. However, some operations now require Signature Version 4. The documentation for operations that require version 4 indicate this requirement.+-- To sign requests, we recommend that you use <http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html Signature Version 4> . If you have an existing application that uses Signature Version 2, you do not have to update it to use Signature Version 4. However, some operations now require Signature Version 4. The documentation for operations that require version 4 indicate this requirement. -- -- __Additional Resources__ -- -- 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/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/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.+--     * <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     (
gen/Network/AWS/IAM/AddClientIdToOpenIdConnectProvider.hs view
@@ -20,7 +20,9 @@ -- -- 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     (     -- * Creating a Request@@ -52,9 +54,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'acitoicpOpenIdConnectProviderARN'+-- * 'acitoicpOpenIdConnectProviderARN' - 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. ----- * 'acitoicpClientId'+-- * 'acitoicpClientId' - The client ID (also known as audience) to add to the IAM OpenID Connect provider resource. addClientIdToOpenIdConnectProvider     :: Text -- ^ 'acitoicpOpenIdConnectProviderARN'     -> Text -- ^ 'acitoicpClientId'@@ -65,7 +67,7 @@     , _acitoicpClientId = pClientId_     } --- | 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.+-- | 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}); 
gen/Network/AWS/IAM/AddRoleToInstanceProfile.hs view
@@ -20,9 +20,9 @@ -- -- 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>.+-- 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@@ -54,9 +54,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'artipInstanceProfileName'+-- * 'artipInstanceProfileName' - 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: =,.@- ----- * 'artipRoleName'+-- * 'artipRoleName' - 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: =,.@- addRoleToInstanceProfile     :: Text -- ^ 'artipInstanceProfileName'     -> Text -- ^ 'artipRoleName'@@ -67,15 +67,11 @@     , _artipRoleName = pRoleName_     } --- | 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: =,.\'-+-- | 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: =,.\'-+-- | 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
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Adds the specified user to the specified group.+--+-- module Network.AWS.IAM.AddUserToGroup     (     -- * Creating a Request@@ -50,9 +52,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'autgGroupName'+-- * 'autgGroupName' - 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: =,.@- ----- * 'autgUserName'+-- * 'autgUserName' - 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: =,.@- addUserToGroup     :: Text -- ^ 'autgGroupName'     -> Text -- ^ 'autgUserName'@@ -63,15 +65,11 @@     , _autgUserName = pUserName_     } --- | 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: =,.\'-+-- | 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: =,.\'-+-- | 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
@@ -20,9 +20,11 @@ -- -- 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, 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 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, 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@@ -54,9 +56,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'agpGroupName'+-- * 'agpGroupName' - 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: =,.@- ----- * 'agpPolicyARN'+-- * 'agpPolicyARN' - 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/ . attachGroupPolicy     :: Text -- ^ 'agpGroupName'     -> Text -- ^ 'agpPolicyARN'@@ -67,15 +69,11 @@     , _agpPolicyARN = pPolicyARN_     } --- | 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: =,.\'-+-- | 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}); --- | 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/.+-- | 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
@@ -20,9 +20,11 @@ -- -- Attaches the specified managed policy to the specified IAM role. ----- 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, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- 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, 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@@ -54,9 +56,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'arpRoleName'+-- * 'arpRoleName' - 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: =,.@- ----- * 'arpPolicyARN'+-- * 'arpPolicyARN' - 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/ . attachRolePolicy     :: Text -- ^ 'arpRoleName'     -> Text -- ^ 'arpPolicyARN'@@ -67,15 +69,11 @@     , _arpPolicyARN = pPolicyARN_     } --- | 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: =,.\'-+-- | 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}); --- | 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/.+-- | 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,11 @@ -- -- 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>. ----- 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 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, 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@@ -54,9 +56,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'aupUserName'+-- * 'aupUserName' - 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: =,.@- ----- * 'aupPolicyARN'+-- * 'aupPolicyARN' - 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/ . attachUserPolicy     :: Text -- ^ 'aupUserName'     -> Text -- ^ 'aupPolicyARN'@@ -67,15 +69,11 @@     , _aupPolicyARN = pPolicyARN_     } --- | 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: =,.\'-+-- | 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}); --- | 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/.+-- | 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
@@ -20,7 +20,9 @@ -- -- Changes the password of the IAM user who is calling this action. The root account password is not affected by this action. ----- To change the password for a different user, see < UpdateLoginProfile>. For more information about modifying passwords, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html Managing Passwords> in the /IAM User Guide/.+--+-- To change the password for a different user, see 'UpdateLoginProfile' . For more information about modifying passwords, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html Managing Passwords> in the /IAM User Guide/ .+-- module Network.AWS.IAM.ChangePassword     (     -- * Creating a Request@@ -52,9 +54,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cpOldPassword'+-- * 'cpOldPassword' - The IAM user's current password. ----- * 'cpNewPassword'+-- * 'cpNewPassword' - 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. changePassword     :: Text -- ^ 'cpOldPassword'     -> Text -- ^ 'cpNewPassword'@@ -65,13 +67,11 @@     , _cpNewPassword = _Sensitive # pNewPassword_     } --- | The IAM user\'s current password.+-- | The IAM user's current password. cpOldPassword :: Lens' ChangePassword Text 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.+-- | 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
@@ -18,13 +18,15 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a new AWS secret access key and corresponding AWS access key ID for the specified user. The default status for new keys is 'Active'.+-- Creates a new AWS secret access key and corresponding AWS access key ID for the specified user. The default status for new keys is @Active@ . --+-- -- If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID signing the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users. ----- For information about limits on the number of keys you can create, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on IAM Entities> in the /IAM User Guide/.+-- For information about limits on the number of keys you can create, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on IAM Entities> in the /IAM User Guide/ . ----- To ensure the security of your AWS account, the secret access key is accessible only during key and user creation. You must save the key (for example, in a text file) if you want to be able to access it again. If a secret key is lost, you can delete the access keys for the associated user and then create new keys.+-- /Important:/ To ensure the security of your AWS account, the secret access key is accessible only during key and user creation. You must save the key (for example, in a text file) if you want to be able to access it again. If a secret key is lost, you can delete the access keys for the associated user and then create new keys.+-- module Network.AWS.IAM.CreateAccessKey     (     -- * Creating a Request@@ -57,7 +59,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cakUserName'+-- * 'cakUserName' - 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: =,.@- createAccessKey     :: CreateAccessKey createAccessKey =@@ -65,9 +67,7 @@     { _cakUserName = Nothing     } --- | 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: =,.\'-+-- | 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}); @@ -97,8 +97,10 @@                "Version" =: ("2010-05-08" :: ByteString),                "UserName" =: _cakUserName] --- | Contains the response to a successful < CreateAccessKey> request.+-- | Contains the response to a successful 'CreateAccessKey' request. --+--+-- -- /See:/ 'createAccessKeyResponse' smart constructor. data CreateAccessKeyResponse = CreateAccessKeyResponse'     { _cakrsResponseStatus :: !Int@@ -109,9 +111,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cakrsResponseStatus'+-- * 'cakrsResponseStatus' - -- | The response status code. ----- * 'cakrsAccessKey'+-- * 'cakrsAccessKey' - A structure with details about the access key. createAccessKeyResponse     :: Int -- ^ 'cakrsResponseStatus'     -> AccessKey -- ^ 'cakrsAccessKey'@@ -122,7 +124,7 @@     , _cakrsAccessKey = pAccessKey_     } --- | The response status code.+-- | -- | The response status code. cakrsResponseStatus :: Lens' CreateAccessKeyResponse Int cakrsResponseStatus = lens _cakrsResponseStatus (\ s a -> s{_cakrsResponseStatus = a}); 
gen/Network/AWS/IAM/CreateAccountAlias.hs view
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates an alias for your AWS account. For information about using an AWS account alias, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/AccountAlias.html Using an Alias for Your AWS Account ID> in the /IAM User Guide/.+-- Creates an alias for your AWS account. For information about using an AWS account alias, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/AccountAlias.html Using an Alias for Your AWS Account ID> in the /IAM User Guide/ .+--+-- module Network.AWS.IAM.CreateAccountAlias     (     -- * Creating a Request@@ -48,7 +50,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'caaAccountAlias'+-- * 'caaAccountAlias' - 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. createAccountAlias     :: Text -- ^ 'caaAccountAlias'     -> CreateAccountAlias@@ -57,9 +59,7 @@     { _caaAccountAlias = pAccountAlias_     } --- | 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.+-- | 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
@@ -20,7 +20,9 @@ -- -- Creates a new group. ----- For information about the number of groups you can create, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on IAM Entities> in the /IAM User Guide/.+--+-- For information about the number of groups 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.CreateGroup     (     -- * Creating a Request@@ -55,9 +57,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cgPath'+-- * 'cgPath' - 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. ----- * 'cgGroupName'+-- * 'cgGroupName' - 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". createGroup     :: Text -- ^ 'cgGroupName'     -> CreateGroup@@ -67,17 +69,11 @@     , _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 /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.+-- | 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\".+-- | 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}); @@ -107,8 +103,10 @@                "Version" =: ("2010-05-08" :: ByteString),                "Path" =: _cgPath, "GroupName" =: _cgGroupName] --- | Contains the response to a successful < CreateGroup> request.+-- | Contains the response to a successful 'CreateGroup' request. --+--+-- -- /See:/ 'createGroupResponse' smart constructor. data CreateGroupResponse = CreateGroupResponse'     { _cgrsResponseStatus :: !Int@@ -119,9 +117,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cgrsResponseStatus'+-- * 'cgrsResponseStatus' - -- | The response status code. ----- * 'cgrsGroup'+-- * 'cgrsGroup' - A structure containing details about the new group. createGroupResponse     :: Int -- ^ 'cgrsResponseStatus'     -> Group -- ^ 'cgrsGroup'@@ -132,7 +130,7 @@     , _cgrsGroup = pGroup_     } --- | The response status code.+-- | -- | The response status code. cgrsResponseStatus :: Lens' CreateGroupResponse Int cgrsResponseStatus = lens _cgrsResponseStatus (\ s a -> s{_cgrsResponseStatus = a}); 
gen/Network/AWS/IAM/CreateInstanceProfile.hs view
@@ -18,9 +18,11 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a new instance profile. For information about instance profiles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html About Instance Profiles>.+-- Creates a new instance profile. For information about instance profiles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html About Instance Profiles> . ----- For information about the number of instance profiles you can create, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on IAM Entities> in the /IAM User Guide/.+--+-- For information about the number of instance profiles you can create, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on IAM Entities> in the /IAM User Guide/ .+-- module Network.AWS.IAM.CreateInstanceProfile     (     -- * Creating a Request@@ -55,9 +57,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cipPath'+-- * 'cipPath' - 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. ----- * 'cipInstanceProfileName'+-- * 'cipInstanceProfileName' - 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: =,.@- createInstanceProfile     :: Text -- ^ 'cipInstanceProfileName'     -> CreateInstanceProfile@@ -67,17 +69,11 @@     , _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 /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.+-- | 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: =,.\'-+-- | 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}); @@ -109,8 +105,10 @@                "Path" =: _cipPath,                "InstanceProfileName" =: _cipInstanceProfileName] --- | Contains the response to a successful < CreateInstanceProfile> request.+-- | Contains the response to a successful 'CreateInstanceProfile' request. --+--+-- -- /See:/ 'createInstanceProfileResponse' smart constructor. data CreateInstanceProfileResponse = CreateInstanceProfileResponse'     { _ciprsResponseStatus  :: !Int@@ -121,9 +119,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ciprsResponseStatus'+-- * 'ciprsResponseStatus' - -- | The response status code. ----- * 'ciprsInstanceProfile'+-- * 'ciprsInstanceProfile' - A structure containing details about the new instance profile. createInstanceProfileResponse     :: Int -- ^ 'ciprsResponseStatus'     -> InstanceProfile -- ^ 'ciprsInstanceProfile'@@ -134,7 +132,7 @@     , _ciprsInstanceProfile = pInstanceProfile_     } --- | The response status code.+-- | -- | The response status code. ciprsResponseStatus :: Lens' CreateInstanceProfileResponse Int ciprsResponseStatus = lens _ciprsResponseStatus (\ s a -> s{_ciprsResponseStatus = a}); 
gen/Network/AWS/IAM/CreateLoginProfile.hs view
@@ -18,7 +18,9 @@ -- 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 /IAM User 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@@ -55,11 +57,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'clpPasswordResetRequired'+-- * 'clpPasswordResetRequired' - Specifies whether the user is required to set a new password on next sign-in. ----- * 'clpUserName'+-- * 'clpUserName' - 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: =,.@- ----- * 'clpPassword'+-- * 'clpPassword' - 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. createLoginProfile     :: Text -- ^ 'clpUserName'     -> Text -- ^ 'clpPassword'@@ -75,15 +77,11 @@ clpPasswordResetRequired :: Lens' CreateLoginProfile (Maybe Bool) clpPasswordResetRequired = lens _clpPasswordResetRequired (\ s a -> s{_clpPasswordResetRequired = a}); --- | 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: =,.\'-+-- | 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.+-- | 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; @@ -116,8 +114,10 @@                "UserName" =: _clpUserName,                "Password" =: _clpPassword] --- | Contains the response to a successful < CreateLoginProfile> request.+-- | Contains the response to a successful 'CreateLoginProfile' request. --+--+-- -- /See:/ 'createLoginProfileResponse' smart constructor. data CreateLoginProfileResponse = CreateLoginProfileResponse'     { _clprsResponseStatus :: !Int@@ -128,9 +128,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'clprsResponseStatus'+-- * 'clprsResponseStatus' - -- | The response status code. ----- * 'clprsLoginProfile'+-- * 'clprsLoginProfile' - A structure containing the user name and password create date. createLoginProfileResponse     :: Int -- ^ 'clprsResponseStatus'     -> LoginProfile -- ^ 'clprsLoginProfile'@@ -141,7 +141,7 @@     , _clprsLoginProfile = pLoginProfile_     } --- | The response status code.+-- | -- | The response status code. clprsResponseStatus :: Lens' CreateLoginProfileResponse Int clprsResponseStatus = lens _clprsResponseStatus (\ s a -> s{_clprsResponseStatus = a}); 
gen/Network/AWS/IAM/CreateOpenIdConnectProvider.hs view
@@ -18,13 +18,13 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates an IAM entity to describe an identity provider (IdP) that supports <http://openid.net/connect/ OpenID Connect (OIDC)>.+-- Creates an IAM entity to describe an identity provider (IdP) that supports <http://openid.net/connect/ OpenID Connect (OIDC)> . ----- The OIDC provider that you create with this operation can be used as a principal in a role\'s trust policy to establish a trust relationship between AWS and the OIDC provider. --+-- The OIDC provider that you create with this operation can be used as a principal in a role's trust policy to establish a trust relationship between AWS and the OIDC provider.+-- -- When you create the IAM OIDC provider, you specify the URL of the OIDC identity provider (IdP) to trust, a list of client IDs (also known as audiences) that identify the application or applications that are allowed to authenticate using the OIDC provider, and a list of thumbprints of the server certificate(s) that the IdP uses. You get all of this information from the OIDC IdP that you want to use for access to AWS. ----- Because trust for the OIDC provider is ultimately derived from the IAM provider that this action creates, it is a best practice to limit access to the < CreateOpenIDConnectProvider> action to highly-privileged users. module Network.AWS.IAM.CreateOpenIdConnectProvider     (     -- * Creating a Request@@ -61,11 +61,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'coicpClientIdList'+-- * 'coicpClientIdList' - A list of client IDs (also known as audiences). When a mobile or web app registers with an OpenID Connect provider, they establish a value that identifies the application. (This is the value that's sent as the @client_id@ parameter on OAuth requests.) You can register multiple client IDs with the same provider. For example, you might have multiple applications that use the same OIDC provider. You cannot register more than 100 client IDs with a single IAM OIDC provider. There is no defined format for a client ID. The @CreateOpenIDConnectProviderRequest@ action accepts client IDs up to 255 characters long. ----- * 'coicpURL'+-- * 'coicpURL' - The URL of the identity provider. The URL must begin with "https://" and should correspond to the @iss@ claim in the provider's OpenID Connect ID tokens. Per the OIDC standard, path components are allowed but query parameters are not. Typically the URL consists of only a host name, like "https://server.example.org" or "https://example.com". You cannot register the same provider multiple times in a single AWS account. If you try to submit a URL that has already been used for an OpenID Connect provider in the AWS account, you will get an error. ----- * 'coicpThumbprintList'+-- * 'coicpThumbprintList' - A list of server certificate thumbprints for the OpenID Connect (OIDC) identity provider's server certificate(s). Typically this list includes only one entry. However, IAM lets you have up to five thumbprints for an OIDC provider. This lets you maintain multiple thumbprints if the identity provider is rotating certificates. The server certificate thumbprint is the hex-encoded SHA-1 hash value of the X.509 certificate used by the domain where the OpenID Connect provider makes its keys available. It is always a 40-character string. You must provide at least one thumbprint when creating an IAM OIDC provider. For example, if the OIDC provider is @server.example.com@ and the provider stores its keys at "https://keys.server.example.com/openid-connect", the thumbprint string would be the hex-encoded SHA-1 hash value of the certificate used by https://keys.server.example.com. For more information about obtaining the OIDC provider's thumbprint, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/identity-providers-oidc-obtain-thumbprint.html Obtaining the Thumbprint for an OpenID Connect Provider> in the /IAM User Guide/ . createOpenIdConnectProvider     :: Text -- ^ 'coicpURL'     -> CreateOpenIdConnectProvider@@ -76,27 +76,15 @@     , _coicpThumbprintList = mempty     } --- | A list of client IDs (also known as audiences). When a mobile or web app registers with an OpenID Connect provider, they establish a value that identifies the application. (This is the value that\'s sent as the 'client_id' parameter on OAuth requests.)------ You can register multiple client IDs with the same provider. For example, you might have multiple applications that use the same OIDC provider. You cannot register more than 100 client IDs with a single IAM OIDC provider.------ There is no defined format for a client ID. The 'CreateOpenIDConnectProviderRequest' action accepts client IDs up to 255 characters long.+-- | A list of client IDs (also known as audiences). When a mobile or web app registers with an OpenID Connect provider, they establish a value that identifies the application. (This is the value that's sent as the @client_id@ parameter on OAuth requests.) You can register multiple client IDs with the same provider. For example, you might have multiple applications that use the same OIDC provider. You cannot register more than 100 client IDs with a single IAM OIDC provider. There is no defined format for a client ID. The @CreateOpenIDConnectProviderRequest@ action accepts client IDs up to 255 characters long. coicpClientIdList :: Lens' CreateOpenIdConnectProvider [Text] coicpClientIdList = lens _coicpClientIdList (\ s a -> s{_coicpClientIdList = a}) . _Default . _Coerce; --- | The URL of the identity provider. The URL must begin with \"https:\/\/\" and should correspond to the 'iss' claim in the provider\'s OpenID Connect ID tokens. Per the OIDC standard, path components are allowed but query parameters are not. Typically the URL consists of only a host name, like \"https:\/\/server.example.org\" or \"https:\/\/example.com\".------ You cannot register the same provider multiple times in a single AWS account. If you try to submit a URL that has already been used for an OpenID Connect provider in the AWS account, you will get an error.+-- | The URL of the identity provider. The URL must begin with "https://" and should correspond to the @iss@ claim in the provider's OpenID Connect ID tokens. Per the OIDC standard, path components are allowed but query parameters are not. Typically the URL consists of only a host name, like "https://server.example.org" or "https://example.com". You cannot register the same provider multiple times in a single AWS account. If you try to submit a URL that has already been used for an OpenID Connect provider in the AWS account, you will get an error. coicpURL :: Lens' CreateOpenIdConnectProvider Text coicpURL = lens _coicpURL (\ s a -> s{_coicpURL = a}); --- | A list of server certificate thumbprints for the OpenID Connect (OIDC) identity provider\'s server certificate(s). Typically this list includes only one entry. However, IAM lets you have up to five thumbprints for an OIDC provider. This lets you maintain multiple thumbprints if the identity provider is rotating certificates.------ The server certificate thumbprint is the hex-encoded SHA-1 hash value of the X.509 certificate used by the domain where the OpenID Connect provider makes its keys available. It is always a 40-character string.------ You must provide at least one thumbprint when creating an IAM OIDC provider. For example, if the OIDC provider is 'server.example.com' and the provider stores its keys at \"https:\/\/keys.server.example.com\/openid-connect\", the thumbprint string would be the hex-encoded SHA-1 hash value of the certificate used by https:\/\/keys.server.example.com.------ For more information about obtaining the OIDC provider\'s thumbprint, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/identity-providers-oidc-obtain-thumbprint.html Obtaining the Thumbprint for an OpenID Connect Provider> in the /IAM User Guide/.+-- | A list of server certificate thumbprints for the OpenID Connect (OIDC) identity provider's server certificate(s). Typically this list includes only one entry. However, IAM lets you have up to five thumbprints for an OIDC provider. This lets you maintain multiple thumbprints if the identity provider is rotating certificates. The server certificate thumbprint is the hex-encoded SHA-1 hash value of the X.509 certificate used by the domain where the OpenID Connect provider makes its keys available. It is always a 40-character string. You must provide at least one thumbprint when creating an IAM OIDC provider. For example, if the OIDC provider is @server.example.com@ and the provider stores its keys at "https://keys.server.example.com/openid-connect", the thumbprint string would be the hex-encoded SHA-1 hash value of the certificate used by https://keys.server.example.com. For more information about obtaining the OIDC provider's thumbprint, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/identity-providers-oidc-obtain-thumbprint.html Obtaining the Thumbprint for an OpenID Connect Provider> in the /IAM User Guide/ . coicpThumbprintList :: Lens' CreateOpenIdConnectProvider [Text] coicpThumbprintList = lens _coicpThumbprintList (\ s a -> s{_coicpThumbprintList = a}) . _Coerce; @@ -135,8 +123,10 @@                "ThumbprintList" =:                  toQueryList "member" _coicpThumbprintList] --- | Contains the response to a successful < CreateOpenIDConnectProvider> request.+-- | Contains the response to a successful 'CreateOpenIDConnectProvider' request. --+--+-- -- /See:/ 'createOpenIdConnectProviderResponse' smart constructor. data CreateOpenIdConnectProviderResponse = CreateOpenIdConnectProviderResponse'     { _coicprsOpenIdConnectProviderARN :: !(Maybe Text)@@ -147,9 +137,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'coicprsOpenIdConnectProviderARN'+-- * 'coicprsOpenIdConnectProviderARN' - The Amazon Resource Name (ARN) of the new IAM OpenID Connect provider that is created. For more information, see 'OpenIDConnectProviderListEntry' . ----- * 'coicprsResponseStatus'+-- * 'coicprsResponseStatus' - -- | The response status code. createOpenIdConnectProviderResponse     :: Int -- ^ 'coicprsResponseStatus'     -> CreateOpenIdConnectProviderResponse@@ -159,11 +149,11 @@     , _coicprsResponseStatus = pResponseStatus_     } --- | The Amazon Resource Name (ARN) of the new IAM OpenID Connect provider that is 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}); --- | The response status code.+-- | -- | The response status code. coicprsResponseStatus :: Lens' CreateOpenIdConnectProviderResponse Int coicprsResponseStatus = lens _coicprsResponseStatus (\ s a -> s{_coicprsResponseStatus = a}); 
gen/Network/AWS/IAM/CreatePolicy.hs view
@@ -20,9 +20,11 @@ -- -- Creates a new managed policy for your AWS account. ----- 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, 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 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, 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@@ -61,13 +63,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cpPath'+-- * 'cpPath' - The path for the policy. 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. ----- * 'cpDescription'+-- * 'cpDescription' - A friendly description of the policy. Typically used to store information about the permissions defined in the policy. For example, "Grants access to production DynamoDB tables." The policy description is immutable. After a value is assigned, it cannot be changed. ----- * 'cpPolicyName'+-- * 'cpPolicyName' - 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: =,.@- ----- * 'cpPolicyDocument'+-- * 'cpPolicyDocument' - 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). createPolicy     :: Text -- ^ 'cpPolicyName'     -> Text -- ^ 'cpPolicyDocument'@@ -80,33 +82,19 @@     , _cpPolicyDocument = pPolicyDocument_     } --- | The path for the policy.------ 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.+-- | The path for the policy. 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}); --- | A friendly description of the policy.------ Typically used to store information about the permissions defined in the policy. For example, \"Grants access to production DynamoDB tables.\"------ The policy description is immutable. After a value is assigned, it cannot be changed.+-- | A friendly description of the policy. Typically used to store information about the permissions defined in the policy. For example, "Grants access to production DynamoDB tables." The policy description is immutable. After a value is assigned, it cannot be changed. cpDescription :: Lens' CreatePolicy (Maybe Text) cpDescription = lens _cpDescription (\ s a -> s{_cpDescription = a}); --- | 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: =,.\'-+-- | 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 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).+-- | 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}); @@ -138,8 +126,10 @@                "PolicyName" =: _cpPolicyName,                "PolicyDocument" =: _cpPolicyDocument] --- | Contains the response to a successful < CreatePolicy> request.+-- | Contains the response to a successful 'CreatePolicy' request. --+--+-- -- /See:/ 'createPolicyResponse' smart constructor. data CreatePolicyResponse = CreatePolicyResponse'     { _cprsPolicy         :: !(Maybe Policy)@@ -150,9 +140,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cprsPolicy'+-- * 'cprsPolicy' - A structure containing details about the new policy. ----- * 'cprsResponseStatus'+-- * 'cprsResponseStatus' - -- | The response status code. createPolicyResponse     :: Int -- ^ 'cprsResponseStatus'     -> CreatePolicyResponse@@ -166,7 +156,7 @@ cprsPolicy :: Lens' CreatePolicyResponse (Maybe Policy) cprsPolicy = lens _cprsPolicy (\ s a -> s{_cprsPolicy = a}); --- | The response status code.+-- | -- | The response status code. cprsResponseStatus :: Lens' CreatePolicyResponse Int cprsResponseStatus = lens _cprsResponseStatus (\ s a -> s{_cprsResponseStatus = a}); 
gen/Network/AWS/IAM/CreatePolicyVersion.hs view
@@ -18,11 +18,13 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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 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/.+-- 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     (     -- * Creating a Request@@ -59,11 +61,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cpvSetAsDefault'+-- * 'cpvSetAsDefault' - Specifies whether to set this version as the policy's default version. When this parameter is @true@ , the new policy version becomes the operative version; that is, the version that is in effect for the IAM users, groups, and roles that the policy is attached to. 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/ . ----- * 'cpvPolicyARN'+-- * 'cpvPolicyARN' - 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/ . ----- * 'cpvPolicyDocument'+-- * 'cpvPolicyDocument' - 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). createPolicyVersion     :: Text -- ^ 'cpvPolicyARN'     -> Text -- ^ 'cpvPolicyDocument'@@ -75,23 +77,15 @@     , _cpvPolicyDocument = pPolicyDocument_     } --- | Specifies whether to set this version as the policy\'s default version.------ When this parameter is 'true', the new policy version becomes the operative version; that is, the version that is in effect for the IAM users, groups, and roles that the policy is attached to.------ 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/.+-- | Specifies whether to set this version as the policy's default version. When this parameter is @true@ , the new policy version becomes the operative version; that is, the version that is in effect for the IAM users, groups, and roles that the policy is attached to. 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/ . cpvSetAsDefault :: Lens' CreatePolicyVersion (Maybe Bool) cpvSetAsDefault = lens _cpvSetAsDefault (\ s a -> s{_cpvSetAsDefault = a}); --- | 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/.+-- | 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 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).+-- | 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}); @@ -124,8 +118,10 @@                "PolicyArn" =: _cpvPolicyARN,                "PolicyDocument" =: _cpvPolicyDocument] --- | Contains the response to a successful < CreatePolicyVersion> request.+-- | Contains the response to a successful 'CreatePolicyVersion' request. --+--+-- -- /See:/ 'createPolicyVersionResponse' smart constructor. data CreatePolicyVersionResponse = CreatePolicyVersionResponse'     { _cpvrsPolicyVersion  :: !(Maybe PolicyVersion)@@ -136,9 +132,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cpvrsPolicyVersion'+-- * 'cpvrsPolicyVersion' - A structure containing details about the new policy version. ----- * 'cpvrsResponseStatus'+-- * 'cpvrsResponseStatus' - -- | The response status code. createPolicyVersionResponse     :: Int -- ^ 'cpvrsResponseStatus'     -> CreatePolicyVersionResponse@@ -152,7 +148,7 @@ cpvrsPolicyVersion :: Lens' CreatePolicyVersionResponse (Maybe PolicyVersion) cpvrsPolicyVersion = lens _cpvrsPolicyVersion (\ s a -> s{_cpvrsPolicyVersion = a}); --- | The response status code.+-- | -- | The response status code. cpvrsResponseStatus :: Lens' CreatePolicyVersionResponse Int cpvrsResponseStatus = lens _cpvrsResponseStatus (\ s a -> s{_cpvrsResponseStatus = a}); 
gen/Network/AWS/IAM/CreateRole.hs view
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a new role for your AWS account. For more information about roles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html Working with Roles>. For information about limitations on role names and the number of roles you can create, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on IAM Entities> in the /IAM User Guide/.+-- Creates a new role for your AWS account. For more information about roles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html Working with Roles> . For information about limitations on role names and the number of roles you can create, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on IAM Entities> in the /IAM User Guide/ .+--+-- module Network.AWS.IAM.CreateRole     (     -- * Creating a Request@@ -55,11 +57,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'crPath'+-- * 'crPath' - 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. ----- * 'crRoleName'+-- * 'crRoleName' - 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". ----- * 'crAssumeRolePolicyDocument'+-- * 'crAssumeRolePolicyDocument' - 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). createRole     :: Text -- ^ 'crRoleName'     -> Text -- ^ 'crAssumeRolePolicyDocument'@@ -71,23 +73,15 @@     , _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 /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.+-- | 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\".+-- | 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).+-- | 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}); @@ -119,8 +113,10 @@                "AssumeRolePolicyDocument" =:                  _crAssumeRolePolicyDocument] --- | Contains the response to a successful < CreateRole> request.+-- | Contains the response to a successful 'CreateRole' request. --+--+-- -- /See:/ 'createRoleResponse' smart constructor. data CreateRoleResponse = CreateRoleResponse'     { _crrsResponseStatus :: !Int@@ -131,9 +127,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'crrsResponseStatus'+-- * 'crrsResponseStatus' - -- | The response status code. ----- * 'crrsRole'+-- * 'crrsRole' - A structure containing details about the new role. createRoleResponse     :: Int -- ^ 'crrsResponseStatus'     -> Role -- ^ 'crrsRole'@@ -144,7 +140,7 @@     , _crrsRole = pRole_     } --- | The response status code.+-- | -- | The response status code. crrsResponseStatus :: Lens' CreateRoleResponse Int crrsResponseStatus = lens _crrsResponseStatus (\ s a -> s{_crrsResponseStatus = a}); 
gen/Network/AWS/IAM/CreateSAMLProvider.hs view
@@ -20,13 +20,13 @@ -- -- Creates an IAM resource that describes an identity provider (IdP) that supports SAML 2.0. ----- 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 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.+-- 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. ----- This operation requires <http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html Signature Version 4>.+-- 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. ----- For more information, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-saml.html Enabling SAML 2.0 Federated Users to Access the AWS Management Console> and <http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_saml.html About SAML 2.0-based Federation> in the /IAM User Guide/.+-- For more information, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-saml.html Enabling SAML 2.0 Federated Users to Access the AWS Management Console> and <http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_saml.html About SAML 2.0-based Federation> in the /IAM User Guide/ .+-- module Network.AWS.IAM.CreateSAMLProvider     (     -- * Creating a Request@@ -61,9 +61,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'csamlpSAMLMetadataDocument'+-- * 'csamlpSAMLMetadataDocument' - An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP. For more information, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_saml.html About SAML 2.0-based Federation> in the /IAM User Guide/ ----- * 'csamlpName'+-- * 'csamlpName' - 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: =,.@- createSAMLProvider     :: Text -- ^ 'csamlpSAMLMetadataDocument'     -> Text -- ^ 'csamlpName'@@ -74,15 +74,11 @@     , _csamlpName = pName_     } --- | An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer\'s name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization\'s IdP.------ For more information, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_saml.html About SAML 2.0-based Federation> in the /IAM User Guide/+-- | An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP. For more information, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_saml.html About SAML 2.0-based Federation> in the /IAM User Guide/ csamlpSAMLMetadataDocument :: Lens' CreateSAMLProvider Text 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: =,.\'-+-- | 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}); @@ -115,8 +111,10 @@                  _csamlpSAMLMetadataDocument,                "Name" =: _csamlpName] --- | Contains the response to a successful < CreateSAMLProvider> request.+-- | Contains the response to a successful 'CreateSAMLProvider' request. --+--+-- -- /See:/ 'createSAMLProviderResponse' smart constructor. data CreateSAMLProviderResponse = CreateSAMLProviderResponse'     { _csamlprsSAMLProviderARN :: !(Maybe Text)@@ -127,9 +125,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'csamlprsSAMLProviderARN'+-- * 'csamlprsSAMLProviderARN' - The Amazon Resource Name (ARN) of the new SAML provider resource in IAM. ----- * 'csamlprsResponseStatus'+-- * 'csamlprsResponseStatus' - -- | The response status code. createSAMLProviderResponse     :: Int -- ^ 'csamlprsResponseStatus'     -> CreateSAMLProviderResponse@@ -143,7 +141,7 @@ csamlprsSAMLProviderARN :: Lens' CreateSAMLProviderResponse (Maybe Text) csamlprsSAMLProviderARN = lens _csamlprsSAMLProviderARN (\ s a -> s{_csamlprsSAMLProviderARN = a}); --- | The response status code.+-- | -- | The response status code. csamlprsResponseStatus :: Lens' CreateSAMLProviderResponse Int csamlprsResponseStatus = lens _csamlprsResponseStatus (\ s a -> s{_csamlprsResponseStatus = a}); 
gen/Network/AWS/IAM/CreateUser.hs view
@@ -20,7 +20,9 @@ -- -- Creates a new IAM user for your AWS account. ----- 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/.+--+-- 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@@ -55,9 +57,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cuPath'+-- * 'cuPath' - 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. ----- * 'cuUserName'+-- * 'cuUserName' - 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". createUser     :: Text -- ^ 'cuUserName'     -> CreateUser@@ -67,17 +69,11 @@     , _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 /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.+-- | 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\".+-- | 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}); @@ -107,8 +103,10 @@                "Version" =: ("2010-05-08" :: ByteString),                "Path" =: _cuPath, "UserName" =: _cuUserName] --- | Contains the response to a successful < CreateUser> request.+-- | Contains the response to a successful 'CreateUser' request. --+--+-- -- /See:/ 'createUserResponse' smart constructor. data CreateUserResponse = CreateUserResponse'     { _cursUser           :: !(Maybe User)@@ -119,9 +117,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cursUser'+-- * 'cursUser' - A structure with details about the new IAM user. ----- * 'cursResponseStatus'+-- * 'cursResponseStatus' - -- | The response status code. createUserResponse     :: Int -- ^ 'cursResponseStatus'     -> CreateUserResponse@@ -135,7 +133,7 @@ cursUser :: Lens' CreateUserResponse (Maybe User) cursUser = lens _cursUser (\ s a -> s{_cursUser = a}); --- | The response status code.+-- | -- | The response status code. cursResponseStatus :: Lens' CreateUserResponse Int cursResponseStatus = lens _cursResponseStatus (\ s a -> s{_cursResponseStatus = a}); 
gen/Network/AWS/IAM/CreateVirtualMFADevice.hs view
@@ -18,11 +18,13 @@ -- 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 /IAM User 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 /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.+-- 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/ .+--+-- /Important:/ 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     (     -- * Creating a Request@@ -57,9 +59,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cvmdPath'+-- * 'cvmdPath' - 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. ----- * 'cvmdVirtualMFADeviceName'+-- * 'cvmdVirtualMFADeviceName' - 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: =,.@- createVirtualMFADevice     :: Text -- ^ 'cvmdVirtualMFADeviceName'     -> CreateVirtualMFADevice@@ -69,17 +71,11 @@     , _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 /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.+-- | 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: =,.\'-+-- | 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}); @@ -112,8 +108,10 @@                "Path" =: _cvmdPath,                "VirtualMFADeviceName" =: _cvmdVirtualMFADeviceName] --- | Contains the response to a successful < CreateVirtualMFADevice> request.+-- | Contains the response to a successful 'CreateVirtualMFADevice' request. --+--+-- -- /See:/ 'createVirtualMFADeviceResponse' smart constructor. data CreateVirtualMFADeviceResponse = CreateVirtualMFADeviceResponse'     { _cvmdrsResponseStatus   :: !Int@@ -124,9 +122,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cvmdrsResponseStatus'+-- * 'cvmdrsResponseStatus' - -- | The response status code. ----- * 'cvmdrsVirtualMFADevice'+-- * 'cvmdrsVirtualMFADevice' - A structure containing details about the new virtual MFA device. createVirtualMFADeviceResponse     :: Int -- ^ 'cvmdrsResponseStatus'     -> VirtualMFADevice -- ^ 'cvmdrsVirtualMFADevice'@@ -137,7 +135,7 @@     , _cvmdrsVirtualMFADevice = pVirtualMFADevice_     } --- | The response status code.+-- | -- | The response status code. cvmdrsResponseStatus :: Lens' CreateVirtualMFADeviceResponse Int cvmdrsResponseStatus = lens _cvmdrsResponseStatus (\ s a -> s{_cvmdrsResponseStatus = a}); 
gen/Network/AWS/IAM/DeactivateMFADevice.hs view
@@ -20,7 +20,9 @@ -- -- 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 /IAM User 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@@ -52,9 +54,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dmdUserName'+-- * 'dmdUserName' - 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: =,.@- ----- * 'dmdSerialNumber'+-- * 'dmdSerialNumber' - 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: =/:,.@- deactivateMFADevice     :: Text -- ^ 'dmdUserName'     -> Text -- ^ 'dmdSerialNumber'@@ -65,15 +67,11 @@     , _dmdSerialNumber = pSerialNumber_     } --- | 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: =,.\'-+-- | 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: =\/:,.\'-+-- | 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
@@ -20,7 +20,9 @@ -- -- 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     (     -- * Creating a Request@@ -52,9 +54,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dakUserName'+-- * 'dakUserName' - 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: =,.@- ----- * 'dakAccessKeyId'+-- * 'dakAccessKeyId' - 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. deleteAccessKey     :: Text -- ^ 'dakAccessKeyId'     -> DeleteAccessKey@@ -64,15 +66,11 @@     , _dakAccessKeyId = pAccessKeyId_     } --- | 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: =,.\'-+-- | 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.+-- | 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
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the specified AWS account alias. 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/.+-- Deletes the specified AWS account alias. 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/ .+--+-- module Network.AWS.IAM.DeleteAccountAlias     (     -- * Creating a Request@@ -48,7 +50,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'daaAccountAlias'+-- * 'daaAccountAlias' - 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. deleteAccountAlias     :: Text -- ^ 'daaAccountAlias'     -> DeleteAccountAlias@@ -57,9 +59,7 @@     { _daaAccountAlias = pAccountAlias_     } --- | 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.+-- | 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
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- 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
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- 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@@ -48,7 +50,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dgGroupName'+-- * 'dgGroupName' - 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: =,.@- deleteGroup     :: Text -- ^ 'dgGroupName'     -> DeleteGroup@@ -57,9 +59,7 @@     { _dgGroupName = pGroupName_     } --- | 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: =,.\'-+-- | 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
@@ -20,7 +20,9 @@ -- -- 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/.+--+-- 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     (     -- * Creating a Request@@ -52,9 +54,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dGroupName'+-- * 'dGroupName' - 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: =,.@- ----- * 'dPolicyName'+-- * 'dPolicyName' - 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: =,.@- deleteGroupPolicy     :: Text -- ^ 'dGroupName'     -> Text -- ^ 'dPolicyName'@@ -65,15 +67,11 @@     , _dPolicyName = pPolicyName_     } --- | 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: =,.\'-+-- | 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: =,.\'-+-- | 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
@@ -20,9 +20,11 @@ -- -- Deletes the specified instance profile. The instance profile must not have an associated role. ----- Make sure you do not have any Amazon EC2 instances running with the instance profile you are about to delete. Deleting a role or instance profile that is associated with a running instance will break any applications running on the instance. ----- For more information about instance profiles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html About Instance Profiles>.+-- /Important:/ Make sure you do not have any Amazon EC2 instances running with the instance profile you are about to delete. Deleting a role or instance profile that is associated with a running instance will break any applications running on the instance.+--+-- For more information about instance profiles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html About Instance Profiles> .+-- module Network.AWS.IAM.DeleteInstanceProfile     (     -- * Creating a Request@@ -52,7 +54,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dipInstanceProfileName'+-- * 'dipInstanceProfileName' - 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: =,.@- deleteInstanceProfile     :: Text -- ^ 'dipInstanceProfileName'     -> DeleteInstanceProfile@@ -61,9 +63,7 @@     { _dipInstanceProfileName = pInstanceProfileName_     } --- | 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: =,.\'-+-- | 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,11 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the password for the specified IAM 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 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>.+--+-- /Important:/ 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@@ -50,7 +52,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlpUserName'+-- * 'dlpUserName' - 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: =,.@- deleteLoginProfile     :: Text -- ^ 'dlpUserName'     -> DeleteLoginProfile@@ -59,9 +61,7 @@     { _dlpUserName = pUserName_     } --- | 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: =,.\'-+-- | 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
@@ -20,9 +20,11 @@ -- -- Deletes an OpenID Connect identity provider (IdP) resource object in IAM. --+-- -- 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 does not exist.+-- module Network.AWS.IAM.DeleteOpenIdConnectProvider     (     -- * Creating a Request@@ -52,7 +54,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'doicpOpenIdConnectProviderARN'+-- * 'doicpOpenIdConnectProviderARN' - 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. deleteOpenIdConnectProvider     :: Text -- ^ 'doicpOpenIdConnectProviderARN'     -> DeleteOpenIdConnectProvider@@ -61,7 +63,7 @@     { _doicpOpenIdConnectProviderARN = pOpenIdConnectProviderARN_     } --- | 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.+-- | 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,15 +20,19 @@ -- -- Deletes the specified 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: ----- -   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>.+-- 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: ----- -   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.+--     * 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' . ----- -   Delete the policy (this automatically deletes the policy\'s default version) using this API.+--     * 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. ----- 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/.+--     * 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@@ -58,7 +62,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dpPolicyARN'+-- * 'dpPolicyARN' - 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/ . deletePolicy     :: Text -- ^ 'dpPolicyARN'     -> DeletePolicy@@ -67,9 +71,7 @@     { _dpPolicyARN = pPolicyARN_     } --- | 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/.+-- | 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
@@ -20,9 +20,11 @@ -- -- Deletes the specified version from the specified managed policy. ----- 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, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html Versioning for Managed Policies> in the /IAM User Guide/.+-- 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, 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@@ -54,9 +56,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dpvPolicyARN'+-- * 'dpvPolicyARN' - 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/ . ----- * 'dpvVersionId'+-- * 'dpvVersionId' - 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/ . deletePolicyVersion     :: Text -- ^ 'dpvPolicyARN'     -> Text -- ^ 'dpvVersionId'@@ -67,17 +69,11 @@     , _dpvVersionId = pVersionId_     } --- | 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/.+-- | 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/.+-- | 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 dpvVersionId = lens _dpvVersionId (\ s a -> s{_dpvVersionId = a}); 
gen/Network/AWS/IAM/DeleteRole.hs view
@@ -18,9 +18,11 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the specified role. The role must not have any policies attached. For more information about roles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html Working with Roles>.+-- Deletes the specified role. The role must not have any policies attached. For more information about roles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html Working with Roles> . ----- Make sure you do not have any Amazon EC2 instances running with the role you are about to delete. Deleting a role or instance profile that is associated with a running instance will break any applications running on the instance.+--+-- /Important:/ Make sure you do not have any Amazon EC2 instances running with the role you are about to delete. Deleting a role or instance profile that is associated with a running instance will break any applications running on the instance.+-- module Network.AWS.IAM.DeleteRole     (     -- * Creating a Request@@ -50,7 +52,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drRoleName'+-- * 'drRoleName' - 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: =,.@- deleteRole     :: Text -- ^ 'drRoleName'     -> DeleteRole@@ -59,9 +61,7 @@     { _drRoleName = pRoleName_     } --- | 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: =,.\'-+-- | 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
@@ -20,7 +20,9 @@ -- -- 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/.+--+-- 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     (     -- * Creating a Request@@ -52,9 +54,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'delRoleName'+-- * 'delRoleName' - 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: =,.@- ----- * 'delPolicyName'+-- * 'delPolicyName' - 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: =,.@- deleteRolePolicy     :: Text -- ^ 'delRoleName'     -> Text -- ^ 'delPolicyName'@@ -65,15 +67,11 @@     , _delPolicyName = pPolicyName_     } --- | 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: =,.\'-+-- | 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 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: =,.\'-+-- | 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
@@ -20,9 +20,9 @@ -- -- Deletes a SAML provider resource in IAM. ----- 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>.+-- 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.+-- module Network.AWS.IAM.DeleteSAMLProvider     (     -- * Creating a Request@@ -52,7 +52,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dsamlpSAMLProviderARN'+-- * 'dsamlpSAMLProviderARN' - The Amazon Resource Name (ARN) of the SAML provider to delete. deleteSAMLProvider     :: Text -- ^ 'dsamlpSAMLProviderARN'     -> DeleteSAMLProvider
gen/Network/AWS/IAM/DeleteSSHPublicKey.hs view
@@ -20,7 +20,9 @@ -- -- Deletes the specified SSH public key. ----- The SSH public key deleted 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/.+--+-- The SSH public key deleted 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.DeleteSSHPublicKey     (     -- * Creating a Request@@ -52,9 +54,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dspkUserName'+-- * 'dspkUserName' - 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: =,.@- ----- * 'dspkSSHPublicKeyId'+-- * 'dspkSSHPublicKeyId' - 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. deleteSSHPublicKey     :: Text -- ^ 'dspkUserName'     -> Text -- ^ 'dspkSSHPublicKeyId'@@ -65,15 +67,11 @@     , _dspkSSHPublicKeyId = pSSHPublicKeyId_     } --- | 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: =,.\'-+-- | 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.+-- | 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
@@ -20,9 +20,11 @@ -- -- Deletes the specified server certificate. ----- 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/. ----- If you are using a server certificate with Elastic Load Balancing, deleting the certificate could have implications for your application. If Elastic Load Balancing doesn\'t detect the deletion of bound certificates, it may continue to use the certificates. This could cause Elastic Load Balancing to stop accepting traffic. We recommend that you remove the reference to the certificate from Elastic Load Balancing before using this command to delete the certificate. For more information, go to <http://docs.aws.amazon.com/ElasticLoadBalancing/latest/APIReference/API_DeleteLoadBalancerListeners.html DeleteLoadBalancerListeners> in the /Elastic Load Balancing API Reference/.+-- 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/ .+--+-- /Important:/ If you are using a server certificate with Elastic Load Balancing, deleting the certificate could have implications for your application. If Elastic Load Balancing doesn't detect the deletion of bound certificates, it may continue to use the certificates. This could cause Elastic Load Balancing to stop accepting traffic. We recommend that you remove the reference to the certificate from Elastic Load Balancing before using this command to delete the certificate. For more information, go to <http://docs.aws.amazon.com/ElasticLoadBalancing/latest/APIReference/API_DeleteLoadBalancerListeners.html DeleteLoadBalancerListeners> in the /Elastic Load Balancing API Reference/ .+-- module Network.AWS.IAM.DeleteServerCertificate     (     -- * Creating a Request@@ -52,7 +54,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dscServerCertificateName'+-- * 'dscServerCertificateName' - 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: =,.@- deleteServerCertificate     :: Text -- ^ 'dscServerCertificateName'     -> DeleteServerCertificate@@ -61,9 +63,7 @@     { _dscServerCertificateName = pServerCertificateName_     } --- | 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: =,.\'-+-- | 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
@@ -20,7 +20,9 @@ -- -- 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 IAM users.+-- module Network.AWS.IAM.DeleteSigningCertificate     (     -- * Creating a Request@@ -52,9 +54,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dscUserName'+-- * 'dscUserName' - 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: =,.@- ----- * 'dscCertificateId'+-- * 'dscCertificateId' - 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. deleteSigningCertificate     :: Text -- ^ 'dscCertificateId'     -> DeleteSigningCertificate@@ -64,15 +66,11 @@     , _dscCertificateId = pCertificateId_     } --- | 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: =,.\'-+-- | 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.+-- | 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
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- 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@@ -48,7 +50,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'duUserName'+-- * 'duUserName' - 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: =,.@- deleteUser     :: Text -- ^ 'duUserName'     -> DeleteUser@@ -57,9 +59,7 @@     { _duUserName = pUserName_     } --- | 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: =,.\'-+-- | 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
@@ -20,7 +20,9 @@ -- -- 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/.+--+-- 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     (     -- * Creating a Request@@ -52,9 +54,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dupUserName'+-- * 'dupUserName' - 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: =,.@- ----- * 'dupPolicyName'+-- * 'dupPolicyName' - 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: =,.@- deleteUserPolicy     :: Text -- ^ 'dupUserName'     -> Text -- ^ 'dupPolicyName'@@ -65,15 +67,11 @@     , _dupPolicyName = pPolicyName_     } --- | 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: =,.\'-+-- | 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: =,.\'-+-- | 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
@@ -20,7 +20,7 @@ -- -- Deletes a virtual MFA device. ----- You must deactivate a user\'s virtual MFA device before you can delete it. For information about deactivating MFA devices, see < DeactivateMFADevice>.+-- module Network.AWS.IAM.DeleteVirtualMFADevice     (     -- * Creating a Request@@ -50,7 +50,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dvmdSerialNumber'+-- * 'dvmdSerialNumber' - 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: =/:,.@- deleteVirtualMFADevice     :: Text -- ^ 'dvmdSerialNumber'     -> DeleteVirtualMFADevice@@ -59,9 +59,7 @@     { _dvmdSerialNumber = pSerialNumber_     } --- | 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: =\/:,.\'-+-- | 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
@@ -20,7 +20,9 @@ -- -- 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, see <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@@ -52,9 +54,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dgpGroupName'+-- * 'dgpGroupName' - 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: =,.@- ----- * 'dgpPolicyARN'+-- * 'dgpPolicyARN' - 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/ . detachGroupPolicy     :: Text -- ^ 'dgpGroupName'     -> Text -- ^ 'dgpPolicyARN'@@ -65,15 +67,11 @@     , _dgpPolicyARN = pPolicyARN_     } --- | 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: =,.\'-+-- | 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}); --- | 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/.+-- | 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,9 @@ -- -- 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, see <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@@ -52,9 +54,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drpRoleName'+-- * 'drpRoleName' - 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: =,.@- ----- * 'drpPolicyARN'+-- * 'drpPolicyARN' - 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/ . detachRolePolicy     :: Text -- ^ 'drpRoleName'     -> Text -- ^ 'drpPolicyARN'@@ -65,15 +67,11 @@     , _drpPolicyARN = pPolicyARN_     } --- | 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: =,.\'-+-- | 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}); --- | 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/.+-- | 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,9 @@ -- -- 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, see <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@@ -52,9 +54,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dUserName'+-- * 'dUserName' - 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: =,.@- ----- * 'dPolicyARN'+-- * 'dPolicyARN' - 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/ . detachUserPolicy     :: Text -- ^ 'dUserName'     -> Text -- ^ 'dPolicyARN'@@ -65,15 +67,11 @@     , _dPolicyARN = pPolicyARN_     } --- | 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: =,.\'-+-- | 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}); --- | 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/.+-- | 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
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- 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@@ -54,13 +56,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'emdUserName'+-- * 'emdUserName' - 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: =,.@- ----- * 'emdSerialNumber'+-- * 'emdSerialNumber' - 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: =/:,.@- ----- * 'emdAuthenticationCode1'+-- * 'emdAuthenticationCode1' - An authentication code emitted by the device. The format for this parameter is a string of 6 digits. ----- * 'emdAuthenticationCode2'+-- * 'emdAuthenticationCode2' - A subsequent authentication code emitted by the device. The format for this parameter is a string of 6 digits. enableMFADevice     :: Text -- ^ 'emdUserName'     -> Text -- ^ 'emdSerialNumber'@@ -75,27 +77,19 @@     , _emdAuthenticationCode2 = pAuthenticationCode2_     } --- | 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: =,.\'-+-- | 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: =\/:,.\'-+-- | 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.+-- | 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.+-- | 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/GenerateCredentialReport.hs view
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Generates a credential report for the AWS account. For more information about the credential report, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html Getting Credential Reports> in the /IAM User Guide/.+-- Generates a credential report for the AWS account. For more information about the credential report, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html Getting Credential Reports> in the /IAM User Guide/ .+--+-- module Network.AWS.IAM.GenerateCredentialReport     (     -- * Creating a Request@@ -81,8 +83,10 @@                     ("GenerateCredentialReport" :: ByteString),                   "Version" =: ("2010-05-08" :: ByteString)]) --- | Contains the response to a successful < GenerateCredentialReport> request.+-- | Contains the response to a successful 'GenerateCredentialReport' request. --+--+-- -- /See:/ 'generateCredentialReportResponse' smart constructor. data GenerateCredentialReportResponse = GenerateCredentialReportResponse'     { _gcrrsState          :: !(Maybe ReportStateType)@@ -94,11 +98,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gcrrsState'+-- * 'gcrrsState' - Information about the state of the credential report. ----- * 'gcrrsDescription'+-- * 'gcrrsDescription' - Information about the credential report. ----- * 'gcrrsResponseStatus'+-- * 'gcrrsResponseStatus' - -- | The response status code. generateCredentialReportResponse     :: Int -- ^ 'gcrrsResponseStatus'     -> GenerateCredentialReportResponse@@ -117,7 +121,7 @@ gcrrsDescription :: Lens' GenerateCredentialReportResponse (Maybe Text) gcrrsDescription = lens _gcrrsDescription (\ s a -> s{_gcrrsDescription = a}); --- | The response status code.+-- | -- | The response status code. gcrrsResponseStatus :: Lens' GenerateCredentialReportResponse Int gcrrsResponseStatus = lens _gcrrsResponseStatus (\ s a -> s{_gcrrsResponseStatus = a}); 
gen/Network/AWS/IAM/GetAccessKeyLastUsed.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Retrieves information about when the specified access key was last used. The information includes the date and time of last use, along with the AWS service and region that were specified in the last request made with that key.+--+-- module Network.AWS.IAM.GetAccessKeyLastUsed     (     -- * Creating a Request@@ -52,7 +54,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gakluAccessKeyId'+-- * 'gakluAccessKeyId' - 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. getAccessKeyLastUsed     :: Text -- ^ 'gakluAccessKeyId'     -> GetAccessKeyLastUsed@@ -61,9 +63,7 @@     { _gakluAccessKeyId = pAccessKeyId_     } --- | 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.+-- | 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}); @@ -95,8 +95,10 @@                "Version" =: ("2010-05-08" :: ByteString),                "AccessKeyId" =: _gakluAccessKeyId] --- | Contains the response to a successful < GetAccessKeyLastUsed> request. It is also returned as a member of the < AccessKeyMetaData> structure returned by the < ListAccessKeys> action.+-- | Contains the response to a successful 'GetAccessKeyLastUsed' request. It is also returned as a member of the 'AccessKeyMetaData' structure returned by the 'ListAccessKeys' action. --+--+-- -- /See:/ 'getAccessKeyLastUsedResponse' smart constructor. data GetAccessKeyLastUsedResponse = GetAccessKeyLastUsedResponse'     { _gaklursUserName          :: !(Maybe Text)@@ -108,11 +110,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gaklursUserName'+-- * 'gaklursUserName' - The name of the AWS IAM user that owns this access key. ----- * 'gaklursAccessKeyLastUsed'+-- * 'gaklursAccessKeyLastUsed' - Contains information about the last time the access key was used. ----- * 'gaklursResponseStatus'+-- * 'gaklursResponseStatus' - -- | The response status code. getAccessKeyLastUsedResponse     :: Int -- ^ 'gaklursResponseStatus'     -> GetAccessKeyLastUsedResponse@@ -124,7 +126,6 @@     }  -- | 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}); @@ -132,7 +133,7 @@ gaklursAccessKeyLastUsed :: Lens' GetAccessKeyLastUsedResponse (Maybe AccessKeyLastUsed) gaklursAccessKeyLastUsed = lens _gaklursAccessKeyLastUsed (\ s a -> s{_gaklursAccessKeyLastUsed = a}); --- | The response status code.+-- | -- | The response status code. gaklursResponseStatus :: Lens' GetAccessKeyLastUsedResponse Int gaklursResponseStatus = lens _gaklursResponseStatus (\ s a -> s{_gaklursResponseStatus = a}); 
gen/Network/AWS/IAM/GetAccountAuthorizationDetails.hs view
@@ -20,8 +20,10 @@ -- -- 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. --+-- 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     (@@ -65,11 +67,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gaadMarker'+-- * 'gaadMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'gaadMaxItems'+-- * 'gaadMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. ----- * 'gaadFilter'+-- * 'gaadFilter' - 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. getAccountAuthorizationDetails     :: GetAccountAuthorizationDetails getAccountAuthorizationDetails =@@ -79,19 +81,15 @@     , _gaadFilter = Nothing     } --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. gaadMarker :: Lens' GetAccountAuthorizationDetails (Maybe Text) gaadMarker = lens _gaadMarker (\ s a -> s{_gaadMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. gaadMaxItems :: Lens' GetAccountAuthorizationDetails (Maybe Natural) gaadMaxItems = lens _gaadMaxItems (\ s a -> s{_gaadMaxItems = a}) . mapping _Nat; --- | 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.+-- | 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; @@ -149,8 +147,10 @@                "Filter" =:                  toQuery (toQueryList "member" <$> _gaadFilter)] --- | Contains the response to a successful < GetAccountAuthorizationDetails> request.+-- | Contains the response to a successful 'GetAccountAuthorizationDetails' request. --+--+-- -- /See:/ 'getAccountAuthorizationDetailsResponse' smart constructor. data GetAccountAuthorizationDetailsResponse = GetAccountAuthorizationDetailsResponse'     { _gaadrsRoleDetailList  :: !(Maybe [RoleDetail])@@ -166,19 +166,19 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gaadrsRoleDetailList'+-- * 'gaadrsRoleDetailList' - A list containing information about IAM roles. ----- * 'gaadrsGroupDetailList'+-- * 'gaadrsGroupDetailList' - A list containing information about IAM groups. ----- * 'gaadrsUserDetailList'+-- * 'gaadrsUserDetailList' - A list containing information about IAM users. ----- * 'gaadrsMarker'+-- * 'gaadrsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'gaadrsIsTruncated'+-- * 'gaadrsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'gaadrsPolicies'+-- * 'gaadrsPolicies' - A list containing information about managed policies. ----- * 'gaadrsResponseStatus'+-- * 'gaadrsResponseStatus' - -- | The response status code. getAccountAuthorizationDetailsResponse     :: Int -- ^ 'gaadrsResponseStatus'     -> GetAccountAuthorizationDetailsResponse@@ -205,11 +205,11 @@ gaadrsUserDetailList :: Lens' GetAccountAuthorizationDetailsResponse [UserDetail] gaadrsUserDetailList = lens _gaadrsUserDetailList (\ s a -> s{_gaadrsUserDetailList = a}) . _Default . _Coerce; --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. gaadrsMarker :: Lens' GetAccountAuthorizationDetailsResponse (Maybe Text) gaadrsMarker = lens _gaadrsMarker (\ s a -> s{_gaadrsMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. gaadrsIsTruncated :: Lens' GetAccountAuthorizationDetailsResponse (Maybe Bool) gaadrsIsTruncated = lens _gaadrsIsTruncated (\ s a -> s{_gaadrsIsTruncated = a}); @@ -217,7 +217,7 @@ gaadrsPolicies :: Lens' GetAccountAuthorizationDetailsResponse [ManagedPolicyDetail] gaadrsPolicies = lens _gaadrsPolicies (\ s a -> s{_gaadrsPolicies = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. gaadrsResponseStatus :: Lens' GetAccountAuthorizationDetailsResponse Int gaadrsResponseStatus = lens _gaadrsResponseStatus (\ s a -> s{_gaadrsResponseStatus = a}); 
gen/Network/AWS/IAM/GetAccountPasswordPolicy.hs view
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Retrieves the password policy for the AWS account. For more information about using a password policy, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingPasswordPolicies.html Managing an IAM Password Policy>.+-- Retrieves the password policy for the AWS account. For more information about using a password policy, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingPasswordPolicies.html Managing an IAM Password Policy> .+--+-- module Network.AWS.IAM.GetAccountPasswordPolicy     (     -- * Creating a Request@@ -79,8 +81,10 @@                     ("GetAccountPasswordPolicy" :: ByteString),                   "Version" =: ("2010-05-08" :: ByteString)]) --- | Contains the response to a successful < GetAccountPasswordPolicy> request.+-- | Contains the response to a successful 'GetAccountPasswordPolicy' request. --+--+-- -- /See:/ 'getAccountPasswordPolicyResponse' smart constructor. data GetAccountPasswordPolicyResponse = GetAccountPasswordPolicyResponse'     { _gapprsResponseStatus :: !Int@@ -91,9 +95,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gapprsResponseStatus'+-- * 'gapprsResponseStatus' - -- | The response status code. ----- * 'gapprsPasswordPolicy'+-- * 'gapprsPasswordPolicy' - Undocumented member. getAccountPasswordPolicyResponse     :: Int -- ^ 'gapprsResponseStatus'     -> PasswordPolicy -- ^ 'gapprsPasswordPolicy'@@ -104,7 +108,7 @@     , _gapprsPasswordPolicy = pPasswordPolicy_     } --- | The response status code.+-- | -- | The response status code. gapprsResponseStatus :: Lens' GetAccountPasswordPolicyResponse Int gapprsResponseStatus = lens _gapprsResponseStatus (\ s a -> s{_gapprsResponseStatus = a}); 
gen/Network/AWS/IAM/GetAccountSummary.hs view
@@ -20,7 +20,9 @@ -- -- Retrieves information about IAM entity usage and IAM quotas in the AWS account. ----- For information about limitations on IAM entities, 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 IAM entities, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html Limitations on IAM Entities> in the /IAM User Guide/ .+-- module Network.AWS.IAM.GetAccountSummary     (     -- * Creating a Request@@ -81,8 +83,10 @@                  ["Action" =: ("GetAccountSummary" :: ByteString),                   "Version" =: ("2010-05-08" :: ByteString)]) --- | Contains the response to a successful < GetAccountSummary> request.+-- | Contains the response to a successful 'GetAccountSummary' request. --+--+-- -- /See:/ 'getAccountSummaryResponse' smart constructor. data GetAccountSummaryResponse = GetAccountSummaryResponse'     { _gasrsSummaryMap     :: !(Maybe (Map SummaryKeyType Int))@@ -93,9 +97,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gasrsSummaryMap'+-- * 'gasrsSummaryMap' - A set of key value pairs containing information about IAM entity usage and IAM quotas. ----- * 'gasrsResponseStatus'+-- * 'gasrsResponseStatus' - -- | The response status code. getAccountSummaryResponse     :: Int -- ^ 'gasrsResponseStatus'     -> GetAccountSummaryResponse@@ -109,7 +113,7 @@ gasrsSummaryMap :: Lens' GetAccountSummaryResponse (HashMap SummaryKeyType Int) gasrsSummaryMap = lens _gasrsSummaryMap (\ s a -> s{_gasrsSummaryMap = a}) . _Default . _Map; --- | The response status code.+-- | -- | The response status code. gasrsResponseStatus :: Lens' GetAccountSummaryResponse Int gasrsResponseStatus = lens _gasrsResponseStatus (\ s a -> s{_gasrsResponseStatus = a}); 
gen/Network/AWS/IAM/GetContextKeysForCustomPolicy.hs view
@@ -18,9 +18,11 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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>.+-- 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 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.+--+-- 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@@ -52,7 +54,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gckfcpPolicyInputList'+-- * 'gckfcpPolicyInputList' - 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). getContextKeysForCustomPolicy     :: GetContextKeysForCustomPolicy getContextKeysForCustomPolicy =@@ -60,9 +62,7 @@     { _gckfcpPolicyInputList = mempty     } --- | 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).+-- | 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
@@ -20,11 +20,13 @@ -- -- 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. ----- __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.+-- 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. ----- 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>.+-- __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 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@@ -58,9 +60,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gckfppPolicyInputList'+-- * 'gckfppPolicyInputList' - 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). ----- * 'gckfppPolicySourceARN'+-- * 'gckfppPolicySourceARN' - 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/ . getContextKeysForPrincipalPolicy     :: Text -- ^ 'gckfppPolicySourceARN'     -> GetContextKeysForPrincipalPolicy@@ -70,15 +72,11 @@     , _gckfppPolicySourceARN = pPolicySourceARN_     } --- | 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).+-- | 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/.+-- | 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/GetCredentialReport.hs view
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Retrieves a credential report for the AWS account. For more information about the credential report, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html Getting Credential Reports> in the /IAM User Guide/.+-- Retrieves a credential report for the AWS account. For more information about the credential report, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html Getting Credential Reports> in the /IAM User Guide/ .+--+-- module Network.AWS.IAM.GetCredentialReport     (     -- * Creating a Request@@ -82,8 +84,10 @@                  ["Action" =: ("GetCredentialReport" :: ByteString),                   "Version" =: ("2010-05-08" :: ByteString)]) --- | Contains the response to a successful < GetCredentialReport> request.+-- | Contains the response to a successful 'GetCredentialReport' request. --+--+-- -- /See:/ 'getCredentialReportResponse' smart constructor. data GetCredentialReportResponse = GetCredentialReportResponse'     { _grsContent        :: !(Maybe Base64)@@ -96,13 +100,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'grsContent'+-- * 'grsContent' - Contains the credential report. The report is Base64-encoded.-- /Note:/ This 'Lens' automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This 'Lens' accepts and returns only raw unencoded data. ----- * 'grsGeneratedTime'+-- * 'grsGeneratedTime' - The date and time when the credential report was created, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> . ----- * 'grsReportFormat'+-- * 'grsReportFormat' - The format (MIME type) of the credential report. ----- * 'grsResponseStatus'+-- * 'grsResponseStatus' - -- | The response status code. getCredentialReportResponse     :: Int -- ^ 'grsResponseStatus'     -> GetCredentialReportResponse@@ -114,17 +118,11 @@     , _grsResponseStatus = pResponseStatus_     } --- | Contains the credential report. The report is Base64-encoded.------ /Note:/ This 'Lens' automatically encodes and decodes Base64 data,--- despite what the AWS documentation might say.--- The underlying isomorphism will encode to Base64 representation during--- serialisation, and decode from Base64 representation during deserialisation.--- This 'Lens' accepts and returns only raw unencoded data.+-- | Contains the credential report. The report is Base64-encoded.-- /Note:/ This 'Lens' automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This 'Lens' accepts and returns only raw unencoded data. grsContent :: Lens' GetCredentialReportResponse (Maybe ByteString) grsContent = lens _grsContent (\ s a -> s{_grsContent = a}) . mapping _Base64; --- | The date and time when the credential report was created, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format>.+-- | The date and time when the credential report was created, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> . grsGeneratedTime :: Lens' GetCredentialReportResponse (Maybe UTCTime) grsGeneratedTime = lens _grsGeneratedTime (\ s a -> s{_grsGeneratedTime = a}) . mapping _Time; @@ -132,7 +130,7 @@ grsReportFormat :: Lens' GetCredentialReportResponse (Maybe ReportFormatType) grsReportFormat = lens _grsReportFormat (\ s a -> s{_grsReportFormat = a}); --- | The response status code.+-- | -- | The response status code. grsResponseStatus :: Lens' GetCredentialReportResponse Int grsResponseStatus = lens _grsResponseStatus (\ s a -> s{_grsResponseStatus = a}); 
gen/Network/AWS/IAM/GetGroup.hs view
@@ -18,8 +18,10 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns a list of IAM users that are in the specified IAM 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     (@@ -61,11 +63,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ggMarker'+-- * 'ggMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'ggMaxItems'+-- * 'ggMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. ----- * 'ggGroupName'+-- * 'ggGroupName' - 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: =,.@- getGroup     :: Text -- ^ 'ggGroupName'     -> GetGroup@@ -76,19 +78,15 @@     , _ggGroupName = pGroupName_     } --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ggMarker :: Lens' GetGroup (Maybe Text) ggMarker = lens _ggMarker (\ s a -> s{_ggMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. ggMaxItems :: Lens' GetGroup (Maybe Natural) 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: =,.\'-+-- | 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}); @@ -130,8 +128,10 @@                "Marker" =: _ggMarker, "MaxItems" =: _ggMaxItems,                "GroupName" =: _ggGroupName] --- | Contains the response to a successful < GetGroup> request.+-- | Contains the response to a successful 'GetGroup' request. --+--+-- -- /See:/ 'getGroupResponse' smart constructor. data GetGroupResponse = GetGroupResponse'     { _ggrsMarker         :: !(Maybe Text)@@ -145,15 +145,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ggrsMarker'+-- * 'ggrsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'ggrsIsTruncated'+-- * 'ggrsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'ggrsResponseStatus'+-- * 'ggrsResponseStatus' - -- | The response status code. ----- * 'ggrsGroup'+-- * 'ggrsGroup' - A structure that contains details about the group. ----- * 'ggrsUsers'+-- * 'ggrsUsers' - A list of users in the group. getGroupResponse     :: Int -- ^ 'ggrsResponseStatus'     -> Group -- ^ 'ggrsGroup'@@ -167,15 +167,15 @@     , _ggrsUsers = mempty     } --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ggrsMarker :: Lens' GetGroupResponse (Maybe Text) ggrsMarker = lens _ggrsMarker (\ s a -> s{_ggrsMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ggrsIsTruncated :: Lens' GetGroupResponse (Maybe Bool) ggrsIsTruncated = lens _ggrsIsTruncated (\ s a -> s{_ggrsIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. ggrsResponseStatus :: Lens' GetGroupResponse Int ggrsResponseStatus = lens _ggrsResponseStatus (\ s a -> s{_ggrsResponseStatus = a}); 
gen/Network/AWS/IAM/GetGroupPolicy.hs view
@@ -20,11 +20,11 @@ -- -- Retrieves the specified inline policy document that is embedded in the specified IAM group. ----- 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. ----- 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.+-- 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/.+-- 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@@ -61,9 +61,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ggpGroupName'+-- * 'ggpGroupName' - 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: =,.@- ----- * 'ggpPolicyName'+-- * 'ggpPolicyName' - 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: =,.@- getGroupPolicy     :: Text -- ^ 'ggpGroupName'     -> Text -- ^ 'ggpPolicyName'@@ -74,15 +74,11 @@     , _ggpPolicyName = pPolicyName_     } --- | 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: =,.\'-+-- | 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: =,.\'-+-- | 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}); @@ -115,8 +111,10 @@                "GroupName" =: _ggpGroupName,                "PolicyName" =: _ggpPolicyName] --- | Contains the response to a successful < GetGroupPolicy> request.+-- | Contains the response to a successful 'GetGroupPolicy' request. --+--+-- -- /See:/ 'getGroupPolicyResponse' smart constructor. data GetGroupPolicyResponse = GetGroupPolicyResponse'     { _ggprsResponseStatus :: !Int@@ -129,13 +127,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ggprsResponseStatus'+-- * 'ggprsResponseStatus' - -- | The response status code. ----- * 'ggprsGroupName'+-- * 'ggprsGroupName' - The group the policy is associated with. ----- * 'ggprsPolicyName'+-- * 'ggprsPolicyName' - The name of the policy. ----- * 'ggprsPolicyDocument'+-- * 'ggprsPolicyDocument' - The policy document. getGroupPolicyResponse     :: Int -- ^ 'ggprsResponseStatus'     -> Text -- ^ 'ggprsGroupName'@@ -150,7 +148,7 @@     , _ggprsPolicyDocument = pPolicyDocument_     } --- | The response status code.+-- | -- | The response status code. ggprsResponseStatus :: Lens' GetGroupPolicyResponse Int ggprsResponseStatus = lens _ggprsResponseStatus (\ s a -> s{_ggprsResponseStatus = a}); 
gen/Network/AWS/IAM/GetInstanceProfile.hs view
@@ -18,7 +18,9 @@ -- 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, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html About Instance Profiles> in the /IAM User Guide/.+-- 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@@ -51,7 +53,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gipInstanceProfileName'+-- * 'gipInstanceProfileName' - 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: =,.@- getInstanceProfile     :: Text -- ^ 'gipInstanceProfileName'     -> GetInstanceProfile@@ -60,9 +62,7 @@     { _gipInstanceProfileName = pInstanceProfileName_     } --- | 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: =,.\'-+-- | 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}); @@ -93,8 +93,10 @@                "Version" =: ("2010-05-08" :: ByteString),                "InstanceProfileName" =: _gipInstanceProfileName] --- | Contains the response to a successful < GetInstanceProfile> request.+-- | Contains the response to a successful 'GetInstanceProfile' request. --+--+-- -- /See:/ 'getInstanceProfileResponse' smart constructor. data GetInstanceProfileResponse = GetInstanceProfileResponse'     { _giprsResponseStatus  :: !Int@@ -105,9 +107,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'giprsResponseStatus'+-- * 'giprsResponseStatus' - -- | The response status code. ----- * 'giprsInstanceProfile'+-- * 'giprsInstanceProfile' - A structure containing details about the instance profile. getInstanceProfileResponse     :: Int -- ^ 'giprsResponseStatus'     -> InstanceProfile -- ^ 'giprsInstanceProfile'@@ -118,7 +120,7 @@     , _giprsInstanceProfile = pInstanceProfile_     } --- | The response status code.+-- | -- | The response status code. giprsResponseStatus :: Lens' GetInstanceProfileResponse Int giprsResponseStatus = lens _giprsResponseStatus (\ s a -> s{_giprsResponseStatus = a}); 
gen/Network/AWS/IAM/GetLoginProfile.hs view
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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@@ -51,7 +53,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'glpUserName'+-- * 'glpUserName' - 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: =,.@- getLoginProfile     :: Text -- ^ 'glpUserName'     -> GetLoginProfile@@ -60,9 +62,7 @@     { _glpUserName = pUserName_     } --- | 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: =,.\'-+-- | 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}); @@ -92,8 +92,10 @@                "Version" =: ("2010-05-08" :: ByteString),                "UserName" =: _glpUserName] --- | Contains the response to a successful < GetLoginProfile> request.+-- | Contains the response to a successful 'GetLoginProfile' request. --+--+-- -- /See:/ 'getLoginProfileResponse' smart constructor. data GetLoginProfileResponse = GetLoginProfileResponse'     { _glprsResponseStatus :: !Int@@ -104,9 +106,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'glprsResponseStatus'+-- * 'glprsResponseStatus' - -- | The response status code. ----- * 'glprsLoginProfile'+-- * 'glprsLoginProfile' - A structure containing the user name and password create date for the user. getLoginProfileResponse     :: Int -- ^ 'glprsResponseStatus'     -> LoginProfile -- ^ 'glprsLoginProfile'@@ -117,7 +119,7 @@     , _glprsLoginProfile = pLoginProfile_     } --- | The response status code.+-- | -- | The response status code. glprsResponseStatus :: Lens' GetLoginProfileResponse Int glprsResponseStatus = lens _glprsResponseStatus (\ s a -> s{_glprsResponseStatus = a}); 
gen/Network/AWS/IAM/GetOpenIdConnectProvider.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Returns information about the specified OpenID Connect (OIDC) provider resource object in IAM.+--+-- module Network.AWS.IAM.GetOpenIdConnectProvider     (     -- * Creating a Request@@ -54,7 +56,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'goicpOpenIdConnectProviderARN'+-- * 'goicpOpenIdConnectProviderARN' - 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/ . getOpenIdConnectProvider     :: Text -- ^ 'goicpOpenIdConnectProviderARN'     -> GetOpenIdConnectProvider@@ -63,9 +65,7 @@     { _goicpOpenIdConnectProviderARN = pOpenIdConnectProviderARN_     } --- | 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/.+-- | 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}); @@ -104,8 +104,10 @@                "OpenIDConnectProviderArn" =:                  _goicpOpenIdConnectProviderARN] --- | Contains the response to a successful < GetOpenIDConnectProvider> request.+-- | Contains the response to a successful 'GetOpenIDConnectProvider' request. --+--+-- -- /See:/ 'getOpenIdConnectProviderResponse' smart constructor. data GetOpenIdConnectProviderResponse = GetOpenIdConnectProviderResponse'     { _goicprsCreateDate     :: !(Maybe ISO8601)@@ -119,15 +121,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'goicprsCreateDate'+-- * 'goicprsCreateDate' - The date and time when the IAM OIDC provider resource object was created in the AWS account. ----- * 'goicprsURL'+-- * 'goicprsURL' - The URL that the IAM OIDC provider resource object is associated with. For more information, see 'CreateOpenIDConnectProvider' . ----- * 'goicprsThumbprintList'+-- * 'goicprsThumbprintList' - A list of certificate thumbprints that are associated with the specified IAM OIDC provider resource object. For more information, see 'CreateOpenIDConnectProvider' . ----- * 'goicprsClientIdList'+-- * 'goicprsClientIdList' - 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' . ----- * 'goicprsResponseStatus'+-- * 'goicprsResponseStatus' - -- | The response status code. getOpenIdConnectProviderResponse     :: Int -- ^ 'goicprsResponseStatus'     -> GetOpenIdConnectProviderResponse@@ -144,19 +146,19 @@ goicprsCreateDate :: Lens' GetOpenIdConnectProviderResponse (Maybe UTCTime) goicprsCreateDate = lens _goicprsCreateDate (\ s a -> s{_goicprsCreateDate = a}) . mapping _Time; --- | The URL that the IAM OIDC provider resource object 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 OIDC provider resource object. 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 OIDC provider resource object. 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; --- | The response status code.+-- | -- | The response status code. goicprsResponseStatus :: Lens' GetOpenIdConnectProviderResponse Int goicprsResponseStatus = lens _goicprsResponseStatus (\ s a -> s{_goicprsResponseStatus = a}); 
gen/Network/AWS/IAM/GetPolicy.hs view
@@ -18,11 +18,13 @@ -- 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 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>.+-- 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 an IAM user, group, or role, use the < GetUserPolicy>, < GetGroupPolicy>, or < GetRolePolicy> API. ----- 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/.+-- 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, 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@@ -55,7 +57,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gpPolicyARN'+-- * 'gpPolicyARN' - 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/ . getPolicy     :: Text -- ^ 'gpPolicyARN'     -> GetPolicy@@ -64,9 +66,7 @@     { _gpPolicyARN = pPolicyARN_     } --- | 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/.+-- | 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}); @@ -96,8 +96,10 @@                "Version" =: ("2010-05-08" :: ByteString),                "PolicyArn" =: _gpPolicyARN] --- | Contains the response to a successful < GetPolicy> request.+-- | Contains the response to a successful 'GetPolicy' request. --+--+-- -- /See:/ 'getPolicyResponse' smart constructor. data GetPolicyResponse = GetPolicyResponse'     { _gprsPolicy         :: !(Maybe Policy)@@ -108,9 +110,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gprsPolicy'+-- * 'gprsPolicy' - A structure containing details about the policy. ----- * 'gprsResponseStatus'+-- * 'gprsResponseStatus' - -- | The response status code. getPolicyResponse     :: Int -- ^ 'gprsResponseStatus'     -> GetPolicyResponse@@ -124,7 +126,7 @@ gprsPolicy :: Lens' GetPolicyResponse (Maybe Policy) gprsPolicy = lens _gprsPolicy (\ s a -> s{_gprsPolicy = a}); --- | The response status code.+-- | -- | The response status code. gprsResponseStatus :: Lens' GetPolicyResponse Int gprsResponseStatus = lens _gprsResponseStatus (\ s a -> s{_gprsResponseStatus = a}); 
gen/Network/AWS/IAM/GetPolicyVersion.hs view
@@ -20,15 +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>.+-- 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.+-- 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, 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 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/.+-- 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@@ -63,9 +63,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gpvPolicyARN'+-- * 'gpvPolicyARN' - 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/ . ----- * 'gpvVersionId'+-- * 'gpvVersionId' - 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. getPolicyVersion     :: Text -- ^ 'gpvPolicyARN'     -> Text -- ^ 'gpvVersionId'@@ -76,15 +76,11 @@     , _gpvVersionId = pVersionId_     } --- | 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/.+-- | 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.+-- | 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}); @@ -115,8 +111,10 @@                "PolicyArn" =: _gpvPolicyARN,                "VersionId" =: _gpvVersionId] --- | Contains the response to a successful < GetPolicyVersion> request.+-- | Contains the response to a successful 'GetPolicyVersion' request. --+--+-- -- /See:/ 'getPolicyVersionResponse' smart constructor. data GetPolicyVersionResponse = GetPolicyVersionResponse'     { _gpvrsPolicyVersion  :: !(Maybe PolicyVersion)@@ -127,9 +125,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gpvrsPolicyVersion'+-- * 'gpvrsPolicyVersion' - A structure containing details about the policy version. ----- * 'gpvrsResponseStatus'+-- * 'gpvrsResponseStatus' - -- | The response status code. getPolicyVersionResponse     :: Int -- ^ 'gpvrsResponseStatus'     -> GetPolicyVersionResponse@@ -143,7 +141,7 @@ gpvrsPolicyVersion :: Lens' GetPolicyVersionResponse (Maybe PolicyVersion) gpvrsPolicyVersion = lens _gpvrsPolicyVersion (\ s a -> s{_gpvrsPolicyVersion = a}); --- | The response status code.+-- | -- | The response status code. gpvrsResponseStatus :: Lens' GetPolicyVersionResponse Int gpvrsResponseStatus = lens _gpvrsResponseStatus (\ s a -> s{_gpvrsResponseStatus = a}); 
gen/Network/AWS/IAM/GetRole.hs view
@@ -18,9 +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 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>.+-- 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@@ -53,7 +53,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'grRoleName'+-- * 'grRoleName' - 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: =,.@- getRole     :: Text -- ^ 'grRoleName'     -> GetRole@@ -62,9 +62,7 @@     { _grRoleName = pRoleName_     } --- | 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: =,.\'-+-- | 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}); @@ -94,8 +92,10 @@                "Version" =: ("2010-05-08" :: ByteString),                "RoleName" =: _grRoleName] --- | Contains the response to a successful < GetRole> request.+-- | Contains the response to a successful 'GetRole' request. --+--+-- -- /See:/ 'getRoleResponse' smart constructor. data GetRoleResponse = GetRoleResponse'     { _grrsResponseStatus :: !Int@@ -106,9 +106,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'grrsResponseStatus'+-- * 'grrsResponseStatus' - -- | The response status code. ----- * 'grrsRole'+-- * 'grrsRole' - A structure containing details about the IAM role. getRoleResponse     :: Int -- ^ 'grrsResponseStatus'     -> Role -- ^ 'grrsRole'@@ -119,7 +119,7 @@     , _grrsRole = pRole_     } --- | The response status code.+-- | -- | The response status code. grrsResponseStatus :: Lens' GetRoleResponse Int grrsResponseStatus = lens _grrsResponseStatus (\ s a -> s{_grrsResponseStatus = a}); 
gen/Network/AWS/IAM/GetRolePolicy.hs view
@@ -20,13 +20,13 @@ -- -- Retrieves the specified inline policy document that is embedded with the specified IAM role. ----- 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. ----- 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.+-- 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 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 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>.+-- 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@@ -63,9 +63,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'grpRoleName'+-- * 'grpRoleName' - 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: =,.@- ----- * 'grpPolicyName'+-- * 'grpPolicyName' - 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: =,.@- getRolePolicy     :: Text -- ^ 'grpRoleName'     -> Text -- ^ 'grpPolicyName'@@ -76,15 +76,11 @@     , _grpPolicyName = pPolicyName_     } --- | 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: =,.\'-+-- | 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: =,.\'-+-- | 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}); @@ -117,8 +113,10 @@                "RoleName" =: _grpRoleName,                "PolicyName" =: _grpPolicyName] --- | Contains the response to a successful < GetRolePolicy> request.+-- | Contains the response to a successful 'GetRolePolicy' request. --+--+-- -- /See:/ 'getRolePolicyResponse' smart constructor. data GetRolePolicyResponse = GetRolePolicyResponse'     { _grprsResponseStatus :: !Int@@ -131,13 +129,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'grprsResponseStatus'+-- * 'grprsResponseStatus' - -- | The response status code. ----- * 'grprsRoleName'+-- * 'grprsRoleName' - The role the policy is associated with. ----- * 'grprsPolicyName'+-- * 'grprsPolicyName' - The name of the policy. ----- * 'grprsPolicyDocument'+-- * 'grprsPolicyDocument' - The policy document. getRolePolicyResponse     :: Int -- ^ 'grprsResponseStatus'     -> Text -- ^ 'grprsRoleName'@@ -152,7 +150,7 @@     , _grprsPolicyDocument = pPolicyDocument_     } --- | The response status code.+-- | -- | The response status code. grprsResponseStatus :: Lens' GetRolePolicyResponse Int grprsResponseStatus = lens _grprsResponseStatus (\ s a -> s{_grprsResponseStatus = a}); 
gen/Network/AWS/IAM/GetSAMLProvider.hs view
@@ -20,7 +20,7 @@ -- -- 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     (     -- * Creating a Request@@ -55,7 +55,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gsamlpSAMLProviderARN'+-- * 'gsamlpSAMLProviderARN' - 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/ . getSAMLProvider     :: Text -- ^ 'gsamlpSAMLProviderARN'     -> GetSAMLProvider@@ -64,9 +64,7 @@     { _gsamlpSAMLProviderARN = pSAMLProviderARN_     } --- | 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/.+-- | 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}); @@ -98,8 +96,10 @@                "Version" =: ("2010-05-08" :: ByteString),                "SAMLProviderArn" =: _gsamlpSAMLProviderARN] --- | Contains the response to a successful < GetSAMLProvider> request.+-- | Contains the response to a successful 'GetSAMLProvider' request. --+--+-- -- /See:/ 'getSAMLProviderResponse' smart constructor. data GetSAMLProviderResponse = GetSAMLProviderResponse'     { _gsamlprsCreateDate           :: !(Maybe ISO8601)@@ -112,13 +112,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gsamlprsCreateDate'+-- * 'gsamlprsCreateDate' - The date and time when the SAML provider was created. ----- * 'gsamlprsValidUntil'+-- * 'gsamlprsValidUntil' - The expiration date and time for the SAML provider. ----- * 'gsamlprsSAMLMetadataDocument'+-- * 'gsamlprsSAMLMetadataDocument' - The XML metadata document that includes information about an identity provider. ----- * 'gsamlprsResponseStatus'+-- * 'gsamlprsResponseStatus' - -- | The response status code. getSAMLProviderResponse     :: Int -- ^ 'gsamlprsResponseStatus'     -> GetSAMLProviderResponse@@ -142,7 +142,7 @@ gsamlprsSAMLMetadataDocument :: Lens' GetSAMLProviderResponse (Maybe Text) gsamlprsSAMLMetadataDocument = lens _gsamlprsSAMLMetadataDocument (\ s a -> s{_gsamlprsSAMLMetadataDocument = a}); --- | The response status code.+-- | -- | The response status code. gsamlprsResponseStatus :: Lens' GetSAMLProviderResponse Int gsamlprsResponseStatus = lens _gsamlprsResponseStatus (\ s a -> s{_gsamlprsResponseStatus = a}); 
gen/Network/AWS/IAM/GetSSHPublicKey.hs view
@@ -20,7 +20,9 @@ -- -- Retrieves the specified SSH public key, including metadata about the key. ----- The SSH public key retrieved 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/.+--+-- The SSH public key retrieved 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.GetSSHPublicKey     (     -- * Creating a Request@@ -57,11 +59,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gspkUserName'+-- * 'gspkUserName' - 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: =,.@- ----- * 'gspkSSHPublicKeyId'+-- * 'gspkSSHPublicKeyId' - 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. ----- * 'gspkEncoding'+-- * 'gspkEncoding' - Specifies the public key encoding format to use in the response. To retrieve the public key in ssh-rsa format, use @SSH@ . To retrieve the public key in PEM format, use @PEM@ . getSSHPublicKey     :: Text -- ^ 'gspkUserName'     -> Text -- ^ 'gspkSSHPublicKeyId'@@ -74,19 +76,15 @@     , _gspkEncoding = pEncoding_     } --- | 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: =,.\'-+-- | 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.+-- | 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}); --- | Specifies the public key encoding format to use in the response. To retrieve the public key in ssh-rsa format, use 'SSH'. To retrieve the public key in PEM format, use 'PEM'.+-- | Specifies the public key encoding format to use in the response. To retrieve the public key in ssh-rsa format, use @SSH@ . To retrieve the public key in PEM format, use @PEM@ . gspkEncoding :: Lens' GetSSHPublicKey EncodingType gspkEncoding = lens _gspkEncoding (\ s a -> s{_gspkEncoding = a}); @@ -118,8 +116,10 @@                "SSHPublicKeyId" =: _gspkSSHPublicKeyId,                "Encoding" =: _gspkEncoding] --- | Contains the response to a successful < GetSSHPublicKey> request.+-- | Contains the response to a successful 'GetSSHPublicKey' request. --+--+-- -- /See:/ 'getSSHPublicKeyResponse' smart constructor. data GetSSHPublicKeyResponse = GetSSHPublicKeyResponse'     { _gspkrsSSHPublicKey   :: !(Maybe SSHPublicKey)@@ -130,9 +130,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gspkrsSSHPublicKey'+-- * 'gspkrsSSHPublicKey' - A structure containing details about the SSH public key. ----- * 'gspkrsResponseStatus'+-- * 'gspkrsResponseStatus' - -- | The response status code. getSSHPublicKeyResponse     :: Int -- ^ 'gspkrsResponseStatus'     -> GetSSHPublicKeyResponse@@ -146,7 +146,7 @@ gspkrsSSHPublicKey :: Lens' GetSSHPublicKeyResponse (Maybe SSHPublicKey) gspkrsSSHPublicKey = lens _gspkrsSSHPublicKey (\ s a -> s{_gspkrsSSHPublicKey = a}); --- | The response status code.+-- | -- | The response status code. gspkrsResponseStatus :: Lens' GetSSHPublicKeyResponse Int gspkrsResponseStatus = lens _gspkrsResponseStatus (\ s a -> s{_gspkrsResponseStatus = a}); 
gen/Network/AWS/IAM/GetServerCertificate.hs view
@@ -20,7 +20,9 @@ -- -- 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/.+--+-- 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     (     -- * Creating a Request@@ -53,7 +55,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gscServerCertificateName'+-- * 'gscServerCertificateName' - 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: =,.@- getServerCertificate     :: Text -- ^ 'gscServerCertificateName'     -> GetServerCertificate@@ -62,9 +64,7 @@     { _gscServerCertificateName = pServerCertificateName_     } --- | 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: =,.\'-+-- | 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}); @@ -95,8 +95,10 @@                "Version" =: ("2010-05-08" :: ByteString),                "ServerCertificateName" =: _gscServerCertificateName] --- | Contains the response to a successful < GetServerCertificate> request.+-- | Contains the response to a successful 'GetServerCertificate' request. --+--+-- -- /See:/ 'getServerCertificateResponse' smart constructor. data GetServerCertificateResponse = GetServerCertificateResponse'     { _gscrsResponseStatus    :: !Int@@ -107,9 +109,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gscrsResponseStatus'+-- * 'gscrsResponseStatus' - -- | The response status code. ----- * 'gscrsServerCertificate'+-- * 'gscrsServerCertificate' - A structure containing details about the server certificate. getServerCertificateResponse     :: Int -- ^ 'gscrsResponseStatus'     -> ServerCertificate -- ^ 'gscrsServerCertificate'@@ -120,7 +122,7 @@     , _gscrsServerCertificate = pServerCertificate_     } --- | The response status code.+-- | -- | The response status code. gscrsResponseStatus :: Lens' GetServerCertificateResponse Int gscrsResponseStatus = lens _gscrsResponseStatus (\ s a -> s{_gscrsResponseStatus = a}); 
gen/Network/AWS/IAM/GetUser.hs view
@@ -18,9 +18,11 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Retrieves information about the specified IAM 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 to this API.+-- module Network.AWS.IAM.GetUser     (     -- * Creating a Request@@ -53,7 +55,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'guUserName'+-- * 'guUserName' - The name of the user to get information about. This parameter is optional. If it is not included, it defaults to the user making the request. The <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: =,.@- getUser     :: GetUser getUser =@@ -61,9 +63,7 @@     { _guUserName = Nothing     } --- | The name of the user to get information about.------ This parameter is optional. If it is not included, it defaults to the user making the request. The <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 name of the user to get information about. This parameter is optional. If it is not included, it defaults to the user making the request. The <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}); @@ -93,8 +93,10 @@                "Version" =: ("2010-05-08" :: ByteString),                "UserName" =: _guUserName] --- | Contains the response to a successful < GetUser> request.+-- | Contains the response to a successful 'GetUser' request. --+--+-- -- /See:/ 'getUserResponse' smart constructor. data GetUserResponse = GetUserResponse'     { _gursResponseStatus :: !Int@@ -105,9 +107,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gursResponseStatus'+-- * 'gursResponseStatus' - -- | The response status code. ----- * 'gursUser'+-- * 'gursUser' - A structure containing details about the IAM user. getUserResponse     :: Int -- ^ 'gursResponseStatus'     -> User -- ^ 'gursUser'@@ -118,7 +120,7 @@     , _gursUser = pUser_     } --- | The response status code.+-- | -- | The response status code. gursResponseStatus :: Lens' GetUserResponse Int gursResponseStatus = lens _gursResponseStatus (\ s a -> s{_gursResponseStatus = a}); 
gen/Network/AWS/IAM/GetUserPolicy.hs view
@@ -20,11 +20,11 @@ -- -- Retrieves the specified inline policy document that is embedded in the specified IAM user. ----- 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. ----- 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.+-- 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/.+-- 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@@ -61,9 +61,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gupUserName'+-- * 'gupUserName' - 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: =,.@- ----- * 'gupPolicyName'+-- * 'gupPolicyName' - 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: =,.@- getUserPolicy     :: Text -- ^ 'gupUserName'     -> Text -- ^ 'gupPolicyName'@@ -74,15 +74,11 @@     , _gupPolicyName = pPolicyName_     } --- | 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: =,.\'-+-- | 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: =,.\'-+-- | 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}); @@ -115,8 +111,10 @@                "UserName" =: _gupUserName,                "PolicyName" =: _gupPolicyName] --- | Contains the response to a successful < GetUserPolicy> request.+-- | Contains the response to a successful 'GetUserPolicy' request. --+--+-- -- /See:/ 'getUserPolicyResponse' smart constructor. data GetUserPolicyResponse = GetUserPolicyResponse'     { _guprsResponseStatus :: !Int@@ -129,13 +127,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'guprsResponseStatus'+-- * 'guprsResponseStatus' - -- | The response status code. ----- * 'guprsUserName'+-- * 'guprsUserName' - The user the policy is associated with. ----- * 'guprsPolicyName'+-- * 'guprsPolicyName' - The name of the policy. ----- * 'guprsPolicyDocument'+-- * 'guprsPolicyDocument' - The policy document. getUserPolicyResponse     :: Int -- ^ 'guprsResponseStatus'     -> Text -- ^ 'guprsUserName'@@ -150,7 +148,7 @@     , _guprsPolicyDocument = pPolicyDocument_     } --- | The response status code.+-- | -- | The response status code. guprsResponseStatus :: Lens' GetUserPolicyResponse Int guprsResponseStatus = lens _guprsResponseStatus (\ s a -> s{_guprsResponseStatus = a}); 
gen/Network/AWS/IAM/ListAccessKeys.hs view
@@ -20,12 +20,12 @@ -- -- 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. ----- 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.+-- Although each user is limited to a small number of keys, you can still paginate the results using the @MaxItems@ and @Marker@ parameters. ----- To ensure the security of your AWS account, the secret access key is accessible only during key and user creation.+-- 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. --+-- -- This operation returns paginated results. module Network.AWS.IAM.ListAccessKeys     (@@ -66,11 +66,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lakUserName'+-- * 'lakUserName' - 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: =,.@- ----- * 'lakMarker'+-- * 'lakMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'lakMaxItems'+-- * 'lakMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. listAccessKeys     :: ListAccessKeys listAccessKeys =@@ -80,19 +80,15 @@     , _lakMaxItems = Nothing     } --- | 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: =,.\'-+-- | 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}); --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. lakMarker :: Lens' ListAccessKeys (Maybe Text) lakMarker = lens _lakMarker (\ s a -> s{_lakMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. lakMaxItems :: Lens' ListAccessKeys (Maybe Natural) lakMaxItems = lens _lakMaxItems (\ s a -> s{_lakMaxItems = a}) . mapping _Nat; @@ -134,8 +130,10 @@                "UserName" =: _lakUserName, "Marker" =: _lakMarker,                "MaxItems" =: _lakMaxItems] --- | Contains the response to a successful < ListAccessKeys> request.+-- | Contains the response to a successful 'ListAccessKeys' request. --+--+-- -- /See:/ 'listAccessKeysResponse' smart constructor. data ListAccessKeysResponse = ListAccessKeysResponse'     { _lakrsMarker            :: !(Maybe Text)@@ -148,13 +146,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lakrsMarker'+-- * 'lakrsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'lakrsIsTruncated'+-- * 'lakrsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'lakrsResponseStatus'+-- * 'lakrsResponseStatus' - -- | The response status code. ----- * 'lakrsAccessKeyMetadata'+-- * 'lakrsAccessKeyMetadata' - A list of objects containing metadata about the access keys. listAccessKeysResponse     :: Int -- ^ 'lakrsResponseStatus'     -> ListAccessKeysResponse@@ -166,15 +164,15 @@     , _lakrsAccessKeyMetadata = mempty     } --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. lakrsMarker :: Lens' ListAccessKeysResponse (Maybe Text) lakrsMarker = lens _lakrsMarker (\ s a -> s{_lakrsMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. lakrsIsTruncated :: Lens' ListAccessKeysResponse (Maybe Bool) lakrsIsTruncated = lens _lakrsIsTruncated (\ s a -> s{_lakrsIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. lakrsResponseStatus :: Lens' ListAccessKeysResponse Int lakrsResponseStatus = lens _lakrsResponseStatus (\ s a -> s{_lakrsResponseStatus = a}); 
gen/Network/AWS/IAM/ListAccountAliases.hs view
@@ -18,8 +18,10 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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/.+-- 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     (@@ -58,9 +60,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'laaMarker'+-- * 'laaMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'laaMaxItems'+-- * 'laaMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. listAccountAliases     :: ListAccountAliases listAccountAliases =@@ -69,13 +71,11 @@     , _laaMaxItems = Nothing     } --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. laaMarker :: Lens' ListAccountAliases (Maybe Text) laaMarker = lens _laaMarker (\ s a -> s{_laaMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. laaMaxItems :: Lens' ListAccountAliases (Maybe Natural) laaMaxItems = lens _laaMaxItems (\ s a -> s{_laaMaxItems = a}) . mapping _Nat; @@ -117,8 +117,10 @@                "Version" =: ("2010-05-08" :: ByteString),                "Marker" =: _laaMarker, "MaxItems" =: _laaMaxItems] --- | Contains the response to a successful < ListAccountAliases> request.+-- | Contains the response to a successful 'ListAccountAliases' request. --+--+-- -- /See:/ 'listAccountAliasesResponse' smart constructor. data ListAccountAliasesResponse = ListAccountAliasesResponse'     { _laarsMarker         :: !(Maybe Text)@@ -131,13 +133,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'laarsMarker'+-- * 'laarsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'laarsIsTruncated'+-- * 'laarsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'laarsResponseStatus'+-- * 'laarsResponseStatus' - -- | The response status code. ----- * 'laarsAccountAliases'+-- * 'laarsAccountAliases' - A list of aliases associated with the account. AWS supports only one alias per account. listAccountAliasesResponse     :: Int -- ^ 'laarsResponseStatus'     -> ListAccountAliasesResponse@@ -149,15 +151,15 @@     , _laarsAccountAliases = mempty     } --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. laarsMarker :: Lens' ListAccountAliasesResponse (Maybe Text) laarsMarker = lens _laarsMarker (\ s a -> s{_laarsMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. laarsIsTruncated :: Lens' ListAccountAliasesResponse (Maybe Bool) laarsIsTruncated = lens _laarsIsTruncated (\ s a -> s{_laarsIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. laarsResponseStatus :: Lens' ListAccountAliasesResponse Int laarsResponseStatus = lens _laarsResponseStatus (\ s a -> s{_laarsResponseStatus = a}); 
gen/Network/AWS/IAM/ListAttachedGroupPolicies.hs view
@@ -20,10 +20,12 @@ -- -- Lists all managed policies that are attached to the specified IAM group. ----- 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.+-- 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.+--+-- -- This operation returns paginated results. module Network.AWS.IAM.ListAttachedGroupPolicies     (@@ -66,13 +68,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lagpPathPrefix'+-- * 'lagpPathPrefix' - 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. ----- * 'lagpMarker'+-- * 'lagpMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'lagpMaxItems'+-- * 'lagpMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. ----- * 'lagpGroupName'+-- * 'lagpGroupName' - 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: =,.@- listAttachedGroupPolicies     :: Text -- ^ 'lagpGroupName'     -> ListAttachedGroupPolicies@@ -84,25 +86,19 @@     , _lagpGroupName = pGroupName_     } --- | 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.+-- | 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}); --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. lagpMarker :: Lens' ListAttachedGroupPolicies (Maybe Text) lagpMarker = lens _lagpMarker (\ s a -> s{_lagpMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. lagpMaxItems :: Lens' ListAttachedGroupPolicies (Maybe Natural) 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: =,.\'-+-- | 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}); @@ -147,8 +143,10 @@                "Marker" =: _lagpMarker, "MaxItems" =: _lagpMaxItems,                "GroupName" =: _lagpGroupName] --- | Contains the response to a successful < ListAttachedGroupPolicies> request.+-- | Contains the response to a successful 'ListAttachedGroupPolicies' request. --+--+-- -- /See:/ 'listAttachedGroupPoliciesResponse' smart constructor. data ListAttachedGroupPoliciesResponse = ListAttachedGroupPoliciesResponse'     { _lagprsAttachedPolicies :: !(Maybe [AttachedPolicy])@@ -161,13 +159,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lagprsAttachedPolicies'+-- * 'lagprsAttachedPolicies' - A list of the attached policies. ----- * 'lagprsMarker'+-- * 'lagprsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'lagprsIsTruncated'+-- * 'lagprsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'lagprsResponseStatus'+-- * 'lagprsResponseStatus' - -- | The response status code. listAttachedGroupPoliciesResponse     :: Int -- ^ 'lagprsResponseStatus'     -> ListAttachedGroupPoliciesResponse@@ -183,15 +181,15 @@ lagprsAttachedPolicies :: Lens' ListAttachedGroupPoliciesResponse [AttachedPolicy] lagprsAttachedPolicies = lens _lagprsAttachedPolicies (\ s a -> s{_lagprsAttachedPolicies = a}) . _Default . _Coerce; --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. lagprsMarker :: Lens' ListAttachedGroupPoliciesResponse (Maybe Text) lagprsMarker = lens _lagprsMarker (\ s a -> s{_lagprsMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. lagprsIsTruncated :: Lens' ListAttachedGroupPoliciesResponse (Maybe Bool) lagprsIsTruncated = lens _lagprsIsTruncated (\ s a -> s{_lagprsIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. lagprsResponseStatus :: Lens' ListAttachedGroupPoliciesResponse Int lagprsResponseStatus = lens _lagprsResponseStatus (\ s a -> s{_lagprsResponseStatus = a}); 
gen/Network/AWS/IAM/ListAttachedRolePolicies.hs view
@@ -20,10 +20,12 @@ -- -- Lists all managed policies that are attached to the specified IAM role. ----- 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.+-- 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.+--+-- -- This operation returns paginated results. module Network.AWS.IAM.ListAttachedRolePolicies     (@@ -66,13 +68,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'larpPathPrefix'+-- * 'larpPathPrefix' - 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. ----- * 'larpMarker'+-- * 'larpMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'larpMaxItems'+-- * 'larpMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. ----- * 'larpRoleName'+-- * 'larpRoleName' - 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: =,.@- listAttachedRolePolicies     :: Text -- ^ 'larpRoleName'     -> ListAttachedRolePolicies@@ -84,25 +86,19 @@     , _larpRoleName = pRoleName_     } --- | 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.+-- | 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}); --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. larpMarker :: Lens' ListAttachedRolePolicies (Maybe Text) larpMarker = lens _larpMarker (\ s a -> s{_larpMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. larpMaxItems :: Lens' ListAttachedRolePolicies (Maybe Natural) 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: =,.\'-+-- | 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}); @@ -147,8 +143,10 @@                "Marker" =: _larpMarker, "MaxItems" =: _larpMaxItems,                "RoleName" =: _larpRoleName] --- | Contains the response to a successful < ListAttachedRolePolicies> request.+-- | Contains the response to a successful 'ListAttachedRolePolicies' request. --+--+-- -- /See:/ 'listAttachedRolePoliciesResponse' smart constructor. data ListAttachedRolePoliciesResponse = ListAttachedRolePoliciesResponse'     { _larprsAttachedPolicies :: !(Maybe [AttachedPolicy])@@ -161,13 +159,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'larprsAttachedPolicies'+-- * 'larprsAttachedPolicies' - A list of the attached policies. ----- * 'larprsMarker'+-- * 'larprsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'larprsIsTruncated'+-- * 'larprsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'larprsResponseStatus'+-- * 'larprsResponseStatus' - -- | The response status code. listAttachedRolePoliciesResponse     :: Int -- ^ 'larprsResponseStatus'     -> ListAttachedRolePoliciesResponse@@ -183,15 +181,15 @@ larprsAttachedPolicies :: Lens' ListAttachedRolePoliciesResponse [AttachedPolicy] larprsAttachedPolicies = lens _larprsAttachedPolicies (\ s a -> s{_larprsAttachedPolicies = a}) . _Default . _Coerce; --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. larprsMarker :: Lens' ListAttachedRolePoliciesResponse (Maybe Text) larprsMarker = lens _larprsMarker (\ s a -> s{_larprsMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. larprsIsTruncated :: Lens' ListAttachedRolePoliciesResponse (Maybe Bool) larprsIsTruncated = lens _larprsIsTruncated (\ s a -> s{_larprsIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. larprsResponseStatus :: Lens' ListAttachedRolePoliciesResponse Int larprsResponseStatus = lens _larprsResponseStatus (\ s a -> s{_larprsResponseStatus = a}); 
gen/Network/AWS/IAM/ListAttachedUserPolicies.hs view
@@ -20,10 +20,12 @@ -- -- Lists all managed policies that are attached to the specified IAM user. ----- 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.+-- 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.+--+-- -- This operation returns paginated results. module Network.AWS.IAM.ListAttachedUserPolicies     (@@ -66,13 +68,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'laupPathPrefix'+-- * 'laupPathPrefix' - 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. ----- * 'laupMarker'+-- * 'laupMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'laupMaxItems'+-- * 'laupMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. ----- * 'laupUserName'+-- * 'laupUserName' - 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: =,.@- listAttachedUserPolicies     :: Text -- ^ 'laupUserName'     -> ListAttachedUserPolicies@@ -84,25 +86,19 @@     , _laupUserName = pUserName_     } --- | 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.+-- | 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}); --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. laupMarker :: Lens' ListAttachedUserPolicies (Maybe Text) laupMarker = lens _laupMarker (\ s a -> s{_laupMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. laupMaxItems :: Lens' ListAttachedUserPolicies (Maybe Natural) 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: =,.\'-+-- | 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}); @@ -147,8 +143,10 @@                "Marker" =: _laupMarker, "MaxItems" =: _laupMaxItems,                "UserName" =: _laupUserName] --- | Contains the response to a successful < ListAttachedUserPolicies> request.+-- | Contains the response to a successful 'ListAttachedUserPolicies' request. --+--+-- -- /See:/ 'listAttachedUserPoliciesResponse' smart constructor. data ListAttachedUserPoliciesResponse = ListAttachedUserPoliciesResponse'     { _lauprsAttachedPolicies :: !(Maybe [AttachedPolicy])@@ -161,13 +159,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lauprsAttachedPolicies'+-- * 'lauprsAttachedPolicies' - A list of the attached policies. ----- * 'lauprsMarker'+-- * 'lauprsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'lauprsIsTruncated'+-- * 'lauprsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'lauprsResponseStatus'+-- * 'lauprsResponseStatus' - -- | The response status code. listAttachedUserPoliciesResponse     :: Int -- ^ 'lauprsResponseStatus'     -> ListAttachedUserPoliciesResponse@@ -183,15 +181,15 @@ lauprsAttachedPolicies :: Lens' ListAttachedUserPoliciesResponse [AttachedPolicy] lauprsAttachedPolicies = lens _lauprsAttachedPolicies (\ s a -> s{_lauprsAttachedPolicies = a}) . _Default . _Coerce; --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. lauprsMarker :: Lens' ListAttachedUserPoliciesResponse (Maybe Text) lauprsMarker = lens _lauprsMarker (\ s a -> s{_lauprsMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. lauprsIsTruncated :: Lens' ListAttachedUserPoliciesResponse (Maybe Bool) lauprsIsTruncated = lens _lauprsIsTruncated (\ s a -> s{_lauprsIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. lauprsResponseStatus :: Lens' ListAttachedUserPoliciesResponse Int lauprsResponseStatus = lens _lauprsResponseStatus (\ s a -> s{_lauprsResponseStatus = a}); 
gen/Network/AWS/IAM/ListEntitiesForPolicy.hs view
@@ -20,10 +20,12 @@ -- -- 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'. ----- You can paginate the results using the 'MaxItems' and 'Marker' parameters.+-- 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@ . --+-- You can paginate the results using the @MaxItems@ and @Marker@ parameters.+--+-- -- This operation returns paginated results. module Network.AWS.IAM.ListEntitiesForPolicy     (@@ -70,15 +72,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lefpPathPrefix'+-- * 'lefpPathPrefix' - 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. ----- * 'lefpEntityFilter'+-- * 'lefpEntityFilter' - 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. The argument for this parameter must be one of the valid values listed below. ----- * 'lefpMarker'+-- * 'lefpMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'lefpMaxItems'+-- * 'lefpMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. ----- * 'lefpPolicyARN'+-- * 'lefpPolicyARN' - 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/ . listEntitiesForPolicy     :: Text -- ^ 'lefpPolicyARN'     -> ListEntitiesForPolicy@@ -91,31 +93,23 @@     , _lefpPolicyARN = pPolicyARN_     } --- | 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.+-- | 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. The argument for this parameter must be one of the valid values listed below.+-- | 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. 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}); --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. lefpMarker :: Lens' ListEntitiesForPolicy (Maybe Text) lefpMarker = lens _lefpMarker (\ s a -> s{_lefpMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. lefpMaxItems :: Lens' ListEntitiesForPolicy (Maybe Natural) lefpMaxItems = lens _lefpMaxItems (\ s a -> s{_lefpMaxItems = a}) . mapping _Nat; --- | 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/.+-- | 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}); @@ -166,8 +160,10 @@                "Marker" =: _lefpMarker, "MaxItems" =: _lefpMaxItems,                "PolicyArn" =: _lefpPolicyARN] --- | Contains the response to a successful < ListEntitiesForPolicy> request.+-- | Contains the response to a successful 'ListEntitiesForPolicy' request. --+--+-- -- /See:/ 'listEntitiesForPolicyResponse' smart constructor. data ListEntitiesForPolicyResponse = ListEntitiesForPolicyResponse'     { _lefprsPolicyGroups   :: !(Maybe [PolicyGroup])@@ -182,17 +178,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lefprsPolicyGroups'+-- * 'lefprsPolicyGroups' - A list of IAM groups that the policy is attached to. ----- * 'lefprsPolicyRoles'+-- * 'lefprsPolicyRoles' - A list of IAM roles that the policy is attached to. ----- * 'lefprsMarker'+-- * 'lefprsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'lefprsPolicyUsers'+-- * 'lefprsPolicyUsers' - A list of IAM users that the policy is attached to. ----- * 'lefprsIsTruncated'+-- * 'lefprsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'lefprsResponseStatus'+-- * 'lefprsResponseStatus' - -- | The response status code. listEntitiesForPolicyResponse     :: Int -- ^ 'lefprsResponseStatus'     -> ListEntitiesForPolicyResponse@@ -214,7 +210,7 @@ lefprsPolicyRoles :: Lens' ListEntitiesForPolicyResponse [PolicyRole] lefprsPolicyRoles = lens _lefprsPolicyRoles (\ s a -> s{_lefprsPolicyRoles = a}) . _Default . _Coerce; --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. lefprsMarker :: Lens' ListEntitiesForPolicyResponse (Maybe Text) lefprsMarker = lens _lefprsMarker (\ s a -> s{_lefprsMarker = a}); @@ -222,11 +218,11 @@ lefprsPolicyUsers :: Lens' ListEntitiesForPolicyResponse [PolicyUser] lefprsPolicyUsers = lens _lefprsPolicyUsers (\ s a -> s{_lefprsPolicyUsers = a}) . _Default . _Coerce; --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. lefprsIsTruncated :: Lens' ListEntitiesForPolicyResponse (Maybe Bool) lefprsIsTruncated = lens _lefprsIsTruncated (\ s a -> s{_lefprsIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. lefprsResponseStatus :: Lens' ListEntitiesForPolicyResponse Int lefprsResponseStatus = lens _lefprsResponseStatus (\ s a -> s{_lefprsResponseStatus = a}); 
gen/Network/AWS/IAM/ListGroupPolicies.hs view
@@ -20,10 +20,12 @@ -- -- Lists the names of the inline policies that are embedded in the specified IAM group. ----- 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.+-- 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.+--+-- -- This operation returns paginated results. module Network.AWS.IAM.ListGroupPolicies     (@@ -64,11 +66,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lgpMarker'+-- * 'lgpMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'lgpMaxItems'+-- * 'lgpMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. ----- * 'lgpGroupName'+-- * 'lgpGroupName' - 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: =,.@- listGroupPolicies     :: Text -- ^ 'lgpGroupName'     -> ListGroupPolicies@@ -79,19 +81,15 @@     , _lgpGroupName = pGroupName_     } --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. lgpMarker :: Lens' ListGroupPolicies (Maybe Text) lgpMarker = lens _lgpMarker (\ s a -> s{_lgpMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. lgpMaxItems :: Lens' ListGroupPolicies (Maybe Natural) 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: =,.\'-+-- | 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}); @@ -133,8 +131,10 @@                "Marker" =: _lgpMarker, "MaxItems" =: _lgpMaxItems,                "GroupName" =: _lgpGroupName] --- | Contains the response to a successful < ListGroupPolicies> request.+-- | Contains the response to a successful 'ListGroupPolicies' request. --+--+-- -- /See:/ 'listGroupPoliciesResponse' smart constructor. data ListGroupPoliciesResponse = ListGroupPoliciesResponse'     { _lgprsMarker         :: !(Maybe Text)@@ -147,13 +147,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lgprsMarker'+-- * 'lgprsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'lgprsIsTruncated'+-- * 'lgprsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'lgprsResponseStatus'+-- * 'lgprsResponseStatus' - -- | The response status code. ----- * 'lgprsPolicyNames'+-- * 'lgprsPolicyNames' - A list of policy names. listGroupPoliciesResponse     :: Int -- ^ 'lgprsResponseStatus'     -> ListGroupPoliciesResponse@@ -165,15 +165,15 @@     , _lgprsPolicyNames = mempty     } --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. lgprsMarker :: Lens' ListGroupPoliciesResponse (Maybe Text) lgprsMarker = lens _lgprsMarker (\ s a -> s{_lgprsMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. lgprsIsTruncated :: Lens' ListGroupPoliciesResponse (Maybe Bool) lgprsIsTruncated = lens _lgprsIsTruncated (\ s a -> s{_lgprsIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. lgprsResponseStatus :: Lens' ListGroupPoliciesResponse Int lgprsResponseStatus = lens _lgprsResponseStatus (\ s a -> s{_lgprsResponseStatus = a}); 
gen/Network/AWS/IAM/ListGroups.hs view
@@ -20,8 +20,10 @@ -- -- Lists the IAM groups that have the specified path prefix. ----- You can paginate the results using the 'MaxItems' and 'Marker' parameters. --+-- You can paginate the results using the @MaxItems@ and @Marker@ parameters.+--+-- -- This operation returns paginated results. module Network.AWS.IAM.ListGroups     (@@ -62,11 +64,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lgPathPrefix'+-- * 'lgPathPrefix' - The path prefix for filtering the results. For example, the prefix @/division_abc/subdivision_xyz/@ gets all groups whose path starts with @/division_abc/subdivision_xyz/@ . This parameter is optional. If it is not included, it defaults to a slash (/), listing all groups. The <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. ----- * 'lgMarker'+-- * 'lgMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'lgMaxItems'+-- * 'lgMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. listGroups     :: ListGroups listGroups =@@ -76,19 +78,15 @@     , _lgMaxItems = Nothing     } --- | The path prefix for filtering the results. For example, the prefix '\/division_abc\/subdivision_xyz\/' gets all groups whose path starts with '\/division_abc\/subdivision_xyz\/'.------ This parameter is optional. If it is not included, it defaults to a slash (\/), listing all groups. The <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.+-- | The path prefix for filtering the results. For example, the prefix @/division_abc/subdivision_xyz/@ gets all groups whose path starts with @/division_abc/subdivision_xyz/@ . This parameter is optional. If it is not included, it defaults to a slash (/), listing all groups. The <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}); --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. lgMarker :: Lens' ListGroups (Maybe Text) lgMarker = lens _lgMarker (\ s a -> s{_lgMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. lgMaxItems :: Lens' ListGroups (Maybe Natural) lgMaxItems = lens _lgMaxItems (\ s a -> s{_lgMaxItems = a}) . mapping _Nat; @@ -130,8 +128,10 @@                "PathPrefix" =: _lgPathPrefix, "Marker" =: _lgMarker,                "MaxItems" =: _lgMaxItems] --- | Contains the response to a successful < ListGroups> request.+-- | Contains the response to a successful 'ListGroups' request. --+--+-- -- /See:/ 'listGroupsResponse' smart constructor. data ListGroupsResponse = ListGroupsResponse'     { _lgrsMarker         :: !(Maybe Text)@@ -144,13 +144,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lgrsMarker'+-- * 'lgrsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'lgrsIsTruncated'+-- * 'lgrsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'lgrsResponseStatus'+-- * 'lgrsResponseStatus' - -- | The response status code. ----- * 'lgrsGroups'+-- * 'lgrsGroups' - A list of groups. listGroupsResponse     :: Int -- ^ 'lgrsResponseStatus'     -> ListGroupsResponse@@ -162,15 +162,15 @@     , _lgrsGroups = mempty     } --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. lgrsMarker :: Lens' ListGroupsResponse (Maybe Text) lgrsMarker = lens _lgrsMarker (\ s a -> s{_lgrsMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. lgrsIsTruncated :: Lens' ListGroupsResponse (Maybe Bool) lgrsIsTruncated = lens _lgrsIsTruncated (\ s a -> s{_lgrsIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. lgrsResponseStatus :: Lens' ListGroupsResponse Int lgrsResponseStatus = lens _lgrsResponseStatus (\ s a -> s{_lgrsResponseStatus = a}); 
gen/Network/AWS/IAM/ListGroupsForUser.hs view
@@ -20,8 +20,10 @@ -- -- Lists the IAM groups that the specified IAM user belongs to. ----- You can paginate the results using the 'MaxItems' and 'Marker' parameters. --+-- You can paginate the results using the @MaxItems@ and @Marker@ parameters.+--+-- -- This operation returns paginated results. module Network.AWS.IAM.ListGroupsForUser     (@@ -62,11 +64,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lgfuMarker'+-- * 'lgfuMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'lgfuMaxItems'+-- * 'lgfuMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. ----- * 'lgfuUserName'+-- * 'lgfuUserName' - 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: =,.@- listGroupsForUser     :: Text -- ^ 'lgfuUserName'     -> ListGroupsForUser@@ -77,19 +79,15 @@     , _lgfuUserName = pUserName_     } --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. lgfuMarker :: Lens' ListGroupsForUser (Maybe Text) lgfuMarker = lens _lgfuMarker (\ s a -> s{_lgfuMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. lgfuMaxItems :: Lens' ListGroupsForUser (Maybe Natural) 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: =,.\'-+-- | 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}); @@ -131,8 +129,10 @@                "Marker" =: _lgfuMarker, "MaxItems" =: _lgfuMaxItems,                "UserName" =: _lgfuUserName] --- | Contains the response to a successful < ListGroupsForUser> request.+-- | Contains the response to a successful 'ListGroupsForUser' request. --+--+-- -- /See:/ 'listGroupsForUserResponse' smart constructor. data ListGroupsForUserResponse = ListGroupsForUserResponse'     { _lgfursMarker         :: !(Maybe Text)@@ -145,13 +145,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lgfursMarker'+-- * 'lgfursMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'lgfursIsTruncated'+-- * 'lgfursIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'lgfursResponseStatus'+-- * 'lgfursResponseStatus' - -- | The response status code. ----- * 'lgfursGroups'+-- * 'lgfursGroups' - A list of groups. listGroupsForUserResponse     :: Int -- ^ 'lgfursResponseStatus'     -> ListGroupsForUserResponse@@ -163,15 +163,15 @@     , _lgfursGroups = mempty     } --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. lgfursMarker :: Lens' ListGroupsForUserResponse (Maybe Text) lgfursMarker = lens _lgfursMarker (\ s a -> s{_lgfursMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. lgfursIsTruncated :: Lens' ListGroupsForUserResponse (Maybe Bool) lgfursIsTruncated = lens _lgfursIsTruncated (\ s a -> s{_lgfursIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. lgfursResponseStatus :: Lens' ListGroupsForUserResponse Int lgfursResponseStatus = lens _lgfursResponseStatus (\ s a -> s{_lgfursResponseStatus = a}); 
gen/Network/AWS/IAM/ListInstanceProfiles.hs view
@@ -18,10 +18,12 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists the instance profiles that have the specified path prefix. If there are none, the action returns an empty list. For more information about instance profiles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html About Instance Profiles>.+-- Lists the instance profiles that have the specified path prefix. If there are none, the action returns an empty list. For more information about instance profiles, go to <http://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html About Instance Profiles> . ----- You can paginate the results using the 'MaxItems' and 'Marker' parameters. --+-- You can paginate the results using the @MaxItems@ and @Marker@ parameters.+--+-- -- This operation returns paginated results. module Network.AWS.IAM.ListInstanceProfiles     (@@ -62,11 +64,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lipPathPrefix'+-- * 'lipPathPrefix' - The path prefix for filtering the results. For example, the prefix @/application_abc/component_xyz/@ gets all instance profiles whose path starts with @/application_abc/component_xyz/@ . This parameter is optional. If it is not included, it defaults to a slash (/), listing all instance profiles. The <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. ----- * 'lipMarker'+-- * 'lipMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'lipMaxItems'+-- * 'lipMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. listInstanceProfiles     :: ListInstanceProfiles listInstanceProfiles =@@ -76,19 +78,15 @@     , _lipMaxItems = Nothing     } --- | The path prefix for filtering the results. For example, the prefix '\/application_abc\/component_xyz\/' gets all instance profiles whose path starts with '\/application_abc\/component_xyz\/'.------ This parameter is optional. If it is not included, it defaults to a slash (\/), listing all instance profiles. The <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.+-- | The path prefix for filtering the results. For example, the prefix @/application_abc/component_xyz/@ gets all instance profiles whose path starts with @/application_abc/component_xyz/@ . This parameter is optional. If it is not included, it defaults to a slash (/), listing all instance profiles. The <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}); --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. lipMarker :: Lens' ListInstanceProfiles (Maybe Text) lipMarker = lens _lipMarker (\ s a -> s{_lipMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. lipMaxItems :: Lens' ListInstanceProfiles (Maybe Natural) lipMaxItems = lens _lipMaxItems (\ s a -> s{_lipMaxItems = a}) . mapping _Nat; @@ -131,8 +129,10 @@                "PathPrefix" =: _lipPathPrefix,                "Marker" =: _lipMarker, "MaxItems" =: _lipMaxItems] --- | Contains the response to a successful < ListInstanceProfiles> request.+-- | Contains the response to a successful 'ListInstanceProfiles' request. --+--+-- -- /See:/ 'listInstanceProfilesResponse' smart constructor. data ListInstanceProfilesResponse = ListInstanceProfilesResponse'     { _liprsMarker           :: !(Maybe Text)@@ -145,13 +145,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'liprsMarker'+-- * 'liprsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'liprsIsTruncated'+-- * 'liprsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'liprsResponseStatus'+-- * 'liprsResponseStatus' - -- | The response status code. ----- * 'liprsInstanceProfiles'+-- * 'liprsInstanceProfiles' - A list of instance profiles. listInstanceProfilesResponse     :: Int -- ^ 'liprsResponseStatus'     -> ListInstanceProfilesResponse@@ -163,15 +163,15 @@     , _liprsInstanceProfiles = mempty     } --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. liprsMarker :: Lens' ListInstanceProfilesResponse (Maybe Text) liprsMarker = lens _liprsMarker (\ s a -> s{_liprsMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. liprsIsTruncated :: Lens' ListInstanceProfilesResponse (Maybe Bool) liprsIsTruncated = lens _liprsIsTruncated (\ s a -> s{_liprsIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. liprsResponseStatus :: Lens' ListInstanceProfilesResponse Int liprsResponseStatus = lens _liprsResponseStatus (\ s a -> s{_liprsResponseStatus = a}); 
gen/Network/AWS/IAM/ListInstanceProfilesForRole.hs view
@@ -18,10 +18,12 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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>.+-- 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. --+-- You can paginate the results using the @MaxItems@ and @Marker@ parameters.+--+-- -- This operation returns paginated results. module Network.AWS.IAM.ListInstanceProfilesForRole     (@@ -62,11 +64,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lipfrMarker'+-- * 'lipfrMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'lipfrMaxItems'+-- * 'lipfrMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. ----- * 'lipfrRoleName'+-- * 'lipfrRoleName' - 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: =,.@- listInstanceProfilesForRole     :: Text -- ^ 'lipfrRoleName'     -> ListInstanceProfilesForRole@@ -77,19 +79,15 @@     , _lipfrRoleName = pRoleName_     } --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. lipfrMarker :: Lens' ListInstanceProfilesForRole (Maybe Text) lipfrMarker = lens _lipfrMarker (\ s a -> s{_lipfrMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. lipfrMaxItems :: Lens' ListInstanceProfilesForRole (Maybe Natural) 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: =,.\'-+-- | 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}); @@ -135,8 +133,10 @@                "MaxItems" =: _lipfrMaxItems,                "RoleName" =: _lipfrRoleName] --- | Contains the response to a successful < ListInstanceProfilesForRole> request.+-- | Contains the response to a successful 'ListInstanceProfilesForRole' request. --+--+-- -- /See:/ 'listInstanceProfilesForRoleResponse' smart constructor. data ListInstanceProfilesForRoleResponse = ListInstanceProfilesForRoleResponse'     { _lipfrrsMarker           :: !(Maybe Text)@@ -149,13 +149,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lipfrrsMarker'+-- * 'lipfrrsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'lipfrrsIsTruncated'+-- * 'lipfrrsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'lipfrrsResponseStatus'+-- * 'lipfrrsResponseStatus' - -- | The response status code. ----- * 'lipfrrsInstanceProfiles'+-- * 'lipfrrsInstanceProfiles' - A list of instance profiles. listInstanceProfilesForRoleResponse     :: Int -- ^ 'lipfrrsResponseStatus'     -> ListInstanceProfilesForRoleResponse@@ -167,15 +167,15 @@     , _lipfrrsInstanceProfiles = mempty     } --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. lipfrrsMarker :: Lens' ListInstanceProfilesForRoleResponse (Maybe Text) lipfrrsMarker = lens _lipfrrsMarker (\ s a -> s{_lipfrrsMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. lipfrrsIsTruncated :: Lens' ListInstanceProfilesForRoleResponse (Maybe Bool) lipfrrsIsTruncated = lens _lipfrrsIsTruncated (\ s a -> s{_lipfrrsIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. lipfrrsResponseStatus :: Lens' ListInstanceProfilesForRoleResponse Int lipfrrsResponseStatus = lens _lipfrrsResponseStatus (\ s a -> s{_lipfrrsResponseStatus = a}); 
gen/Network/AWS/IAM/ListMFADevices.hs view
@@ -20,8 +20,10 @@ -- -- 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. --+-- You can paginate the results using the @MaxItems@ and @Marker@ parameters.+--+-- -- This operation returns paginated results. module Network.AWS.IAM.ListMFADevices     (@@ -62,11 +64,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lmdUserName'+-- * 'lmdUserName' - 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: =,.@- ----- * 'lmdMarker'+-- * 'lmdMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'lmdMaxItems'+-- * 'lmdMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. listMFADevices     :: ListMFADevices listMFADevices =@@ -76,19 +78,15 @@     , _lmdMaxItems = Nothing     } --- | 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: =,.\'-+-- | 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}); --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. lmdMarker :: Lens' ListMFADevices (Maybe Text) lmdMarker = lens _lmdMarker (\ s a -> s{_lmdMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. lmdMaxItems :: Lens' ListMFADevices (Maybe Natural) lmdMaxItems = lens _lmdMaxItems (\ s a -> s{_lmdMaxItems = a}) . mapping _Nat; @@ -130,8 +128,10 @@                "UserName" =: _lmdUserName, "Marker" =: _lmdMarker,                "MaxItems" =: _lmdMaxItems] --- | Contains the response to a successful < ListMFADevices> request.+-- | Contains the response to a successful 'ListMFADevices' request. --+--+-- -- /See:/ 'listMFADevicesResponse' smart constructor. data ListMFADevicesResponse = ListMFADevicesResponse'     { _lmdrsMarker         :: !(Maybe Text)@@ -144,13 +144,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lmdrsMarker'+-- * 'lmdrsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'lmdrsIsTruncated'+-- * 'lmdrsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'lmdrsResponseStatus'+-- * 'lmdrsResponseStatus' - -- | The response status code. ----- * 'lmdrsMFADevices'+-- * 'lmdrsMFADevices' - A list of MFA devices. listMFADevicesResponse     :: Int -- ^ 'lmdrsResponseStatus'     -> ListMFADevicesResponse@@ -162,15 +162,15 @@     , _lmdrsMFADevices = mempty     } --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. lmdrsMarker :: Lens' ListMFADevicesResponse (Maybe Text) lmdrsMarker = lens _lmdrsMarker (\ s a -> s{_lmdrsMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. lmdrsIsTruncated :: Lens' ListMFADevicesResponse (Maybe Bool) lmdrsIsTruncated = lens _lmdrsIsTruncated (\ s a -> s{_lmdrsIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. lmdrsResponseStatus :: Lens' ListMFADevicesResponse Int lmdrsResponseStatus = lens _lmdrsResponseStatus (\ s a -> s{_lmdrsResponseStatus = a}); 
gen/Network/AWS/IAM/ListOpenIdConnectProviders.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Lists information about the IAM OpenID Connect (OIDC) provider resource objects defined in the AWS account.+--+-- module Network.AWS.IAM.ListOpenIdConnectProviders     (     -- * Creating a Request@@ -82,8 +84,10 @@                     ("ListOpenIDConnectProviders" :: ByteString),                   "Version" =: ("2010-05-08" :: ByteString)]) --- | Contains the response to a successful < ListOpenIDConnectProviders> request.+-- | Contains the response to a successful 'ListOpenIDConnectProviders' request. --+--+-- -- /See:/ 'listOpenIdConnectProvidersResponse' smart constructor. data ListOpenIdConnectProvidersResponse = ListOpenIdConnectProvidersResponse'     { _loicprsOpenIdConnectProviderList :: !(Maybe [OpenIdConnectProviderListEntry])@@ -94,9 +98,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'loicprsOpenIdConnectProviderList'+-- * 'loicprsOpenIdConnectProviderList' - The list of IAM OIDC provider resource objects defined in the AWS account. ----- * 'loicprsResponseStatus'+-- * 'loicprsResponseStatus' - -- | The response status code. listOpenIdConnectProvidersResponse     :: Int -- ^ 'loicprsResponseStatus'     -> ListOpenIdConnectProvidersResponse@@ -110,7 +114,7 @@ loicprsOpenIdConnectProviderList :: Lens' ListOpenIdConnectProvidersResponse [OpenIdConnectProviderListEntry] loicprsOpenIdConnectProviderList = lens _loicprsOpenIdConnectProviderList (\ s a -> s{_loicprsOpenIdConnectProviderList = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. loicprsResponseStatus :: Lens' ListOpenIdConnectProvidersResponse Int loicprsResponseStatus = lens _loicprsResponseStatus (\ s a -> s{_loicprsResponseStatus = a}); 
gen/Network/AWS/IAM/ListPolicies.hs view
@@ -20,12 +20,14 @@ -- -- 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.+-- 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@ . ----- 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/.+-- You can paginate the results using the @MaxItems@ and @Marker@ parameters. --+-- 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     (@@ -70,15 +72,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lpPathPrefix'+-- * 'lpPathPrefix' - 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. ----- * 'lpOnlyAttached'+-- * 'lpOnlyAttached' - 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 an IAM user, group, or role. When @OnlyAttached@ is @false@ , or when the parameter is not included, all policies are returned. ----- * 'lpMarker'+-- * 'lpMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'lpScope'+-- * 'lpScope' - The scope to use for filtering the results. To list only AWS managed policies, set @Scope@ to @AWS@ . To list only the customer managed policies in your AWS account, set @Scope@ to @Local@ . This parameter is optional. If it is not included, or if it is set to @All@ , all policies are returned. ----- * 'lpMaxItems'+-- * 'lpMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. listPolicies     :: ListPolicies listPolicies =@@ -90,31 +92,23 @@     , _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 <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.+-- | 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 an IAM user, group, or role. When 'OnlyAttached' is 'false', or when the parameter is not included, all policies are returned.+-- | 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 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}); --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. lpMarker :: Lens' ListPolicies (Maybe Text) lpMarker = lens _lpMarker (\ s a -> s{_lpMarker = a}); --- | The scope to use for filtering the results.------ To list only AWS managed policies, set 'Scope' to 'AWS'. To list only the customer managed policies in your AWS account, set 'Scope' to 'Local'.------ This parameter is optional. If it is not included, or if it is set to 'All', all policies are returned.+-- | The scope to use for filtering the results. To list only AWS managed policies, set @Scope@ to @AWS@ . To list only the customer managed policies in your AWS account, set @Scope@ to @Local@ . This parameter is optional. If it is not included, or if it is set to @All@ , all policies are returned. lpScope :: Lens' ListPolicies (Maybe PolicyScopeType) lpScope = lens _lpScope (\ s a -> s{_lpScope = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. lpMaxItems :: Lens' ListPolicies (Maybe Natural) lpMaxItems = lens _lpMaxItems (\ s a -> s{_lpMaxItems = a}) . mapping _Nat; @@ -157,8 +151,10 @@                "Marker" =: _lpMarker, "Scope" =: _lpScope,                "MaxItems" =: _lpMaxItems] --- | Contains the response to a successful < ListPolicies> request.+-- | Contains the response to a successful 'ListPolicies' request. --+--+-- -- /See:/ 'listPoliciesResponse' smart constructor. data ListPoliciesResponse = ListPoliciesResponse'     { _lprsMarker         :: !(Maybe Text)@@ -171,13 +167,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lprsMarker'+-- * 'lprsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'lprsIsTruncated'+-- * 'lprsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'lprsPolicies'+-- * 'lprsPolicies' - A list of policies. ----- * 'lprsResponseStatus'+-- * 'lprsResponseStatus' - -- | The response status code. listPoliciesResponse     :: Int -- ^ 'lprsResponseStatus'     -> ListPoliciesResponse@@ -189,11 +185,11 @@     , _lprsResponseStatus = pResponseStatus_     } --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. lprsMarker :: Lens' ListPoliciesResponse (Maybe Text) lprsMarker = lens _lprsMarker (\ s a -> s{_lprsMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. lprsIsTruncated :: Lens' ListPoliciesResponse (Maybe Bool) lprsIsTruncated = lens _lprsIsTruncated (\ s a -> s{_lprsIsTruncated = a}); @@ -201,7 +197,7 @@ lprsPolicies :: Lens' ListPoliciesResponse [Policy] lprsPolicies = lens _lprsPolicies (\ s a -> s{_lprsPolicies = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. lprsResponseStatus :: Lens' ListPoliciesResponse Int lprsResponseStatus = lens _lprsResponseStatus (\ s a -> s{_lprsResponseStatus = a}); 
gen/Network/AWS/IAM/ListPolicyVersions.hs view
@@ -18,10 +18,12 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists information about the versions of the specified managed policy, including the version that is currently 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, 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 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     (@@ -62,11 +64,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lpvMarker'+-- * 'lpvMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'lpvMaxItems'+-- * 'lpvMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. ----- * 'lpvPolicyARN'+-- * 'lpvPolicyARN' - 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/ . listPolicyVersions     :: Text -- ^ 'lpvPolicyARN'     -> ListPolicyVersions@@ -77,19 +79,15 @@     , _lpvPolicyARN = pPolicyARN_     } --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. lpvMarker :: Lens' ListPolicyVersions (Maybe Text) lpvMarker = lens _lpvMarker (\ s a -> s{_lpvMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. lpvMaxItems :: Lens' ListPolicyVersions (Maybe Natural) lpvMaxItems = lens _lpvMaxItems (\ s a -> s{_lpvMaxItems = a}) . mapping _Nat; --- | 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/.+-- | 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}); @@ -132,8 +130,10 @@                "Marker" =: _lpvMarker, "MaxItems" =: _lpvMaxItems,                "PolicyArn" =: _lpvPolicyARN] --- | Contains the response to a successful < ListPolicyVersions> request.+-- | Contains the response to a successful 'ListPolicyVersions' request. --+--+-- -- /See:/ 'listPolicyVersionsResponse' smart constructor. data ListPolicyVersionsResponse = ListPolicyVersionsResponse'     { _lpvrsVersions       :: !(Maybe [PolicyVersion])@@ -146,13 +146,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lpvrsVersions'+-- * 'lpvrsVersions' - A list of policy versions. 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/ . ----- * 'lpvrsMarker'+-- * 'lpvrsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'lpvrsIsTruncated'+-- * 'lpvrsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'lpvrsResponseStatus'+-- * 'lpvrsResponseStatus' - -- | The response status code. listPolicyVersionsResponse     :: Int -- ^ 'lpvrsResponseStatus'     -> ListPolicyVersionsResponse@@ -164,21 +164,19 @@     , _lpvrsResponseStatus = pResponseStatus_     } --- | A list of policy versions.------ 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 list of policy versions. 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/ . lpvrsVersions :: Lens' ListPolicyVersionsResponse [PolicyVersion] lpvrsVersions = lens _lpvrsVersions (\ s a -> s{_lpvrsVersions = a}) . _Default . _Coerce; --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. lpvrsMarker :: Lens' ListPolicyVersionsResponse (Maybe Text) lpvrsMarker = lens _lpvrsMarker (\ s a -> s{_lpvrsMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. lpvrsIsTruncated :: Lens' ListPolicyVersionsResponse (Maybe Bool) lpvrsIsTruncated = lens _lpvrsIsTruncated (\ s a -> s{_lpvrsIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. lpvrsResponseStatus :: Lens' ListPolicyVersionsResponse Int lpvrsResponseStatus = lens _lpvrsResponseStatus (\ s a -> s{_lpvrsResponseStatus = a}); 
gen/Network/AWS/IAM/ListRolePolicies.hs view
@@ -20,10 +20,12 @@ -- -- Lists the names of the inline policies that are embedded in the specified IAM role. ----- 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.+-- 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.+--+-- -- This operation returns paginated results. module Network.AWS.IAM.ListRolePolicies     (@@ -64,11 +66,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lrpMarker'+-- * 'lrpMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'lrpMaxItems'+-- * 'lrpMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. ----- * 'lrpRoleName'+-- * 'lrpRoleName' - 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: =,.@- listRolePolicies     :: Text -- ^ 'lrpRoleName'     -> ListRolePolicies@@ -79,19 +81,15 @@     , _lrpRoleName = pRoleName_     } --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. lrpMarker :: Lens' ListRolePolicies (Maybe Text) lrpMarker = lens _lrpMarker (\ s a -> s{_lrpMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. lrpMaxItems :: Lens' ListRolePolicies (Maybe Natural) 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: =,.\'-+-- | 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}); @@ -133,8 +131,10 @@                "Marker" =: _lrpMarker, "MaxItems" =: _lrpMaxItems,                "RoleName" =: _lrpRoleName] --- | Contains the response to a successful < ListRolePolicies> request.+-- | Contains the response to a successful 'ListRolePolicies' request. --+--+-- -- /See:/ 'listRolePoliciesResponse' smart constructor. data ListRolePoliciesResponse = ListRolePoliciesResponse'     { _lrprsMarker         :: !(Maybe Text)@@ -147,13 +147,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lrprsMarker'+-- * 'lrprsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'lrprsIsTruncated'+-- * 'lrprsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'lrprsResponseStatus'+-- * 'lrprsResponseStatus' - -- | The response status code. ----- * 'lrprsPolicyNames'+-- * 'lrprsPolicyNames' - A list of policy names. listRolePoliciesResponse     :: Int -- ^ 'lrprsResponseStatus'     -> ListRolePoliciesResponse@@ -165,15 +165,15 @@     , _lrprsPolicyNames = mempty     } --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. lrprsMarker :: Lens' ListRolePoliciesResponse (Maybe Text) lrprsMarker = lens _lrprsMarker (\ s a -> s{_lrprsMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. lrprsIsTruncated :: Lens' ListRolePoliciesResponse (Maybe Bool) lrprsIsTruncated = lens _lrprsIsTruncated (\ s a -> s{_lrprsIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. lrprsResponseStatus :: Lens' ListRolePoliciesResponse Int lrprsResponseStatus = lens _lrprsResponseStatus (\ s a -> s{_lrprsResponseStatus = a}); 
gen/Network/AWS/IAM/ListRoles.hs view
@@ -18,10 +18,12 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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>.+-- 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. --+-- You can paginate the results using the @MaxItems@ and @Marker@ parameters.+--+-- -- This operation returns paginated results. module Network.AWS.IAM.ListRoles     (@@ -62,11 +64,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lrPathPrefix'+-- * 'lrPathPrefix' - The path prefix for filtering the results. For example, the prefix @/application_abc/component_xyz/@ gets all roles whose path starts with @/application_abc/component_xyz/@ . This parameter is optional. If it is not included, it defaults to a slash (/), listing all roles. The <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. ----- * 'lrMarker'+-- * 'lrMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'lrMaxItems'+-- * 'lrMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. listRoles     :: ListRoles listRoles =@@ -76,19 +78,15 @@     , _lrMaxItems = Nothing     } --- | The path prefix for filtering the results. For example, the prefix '\/application_abc\/component_xyz\/' gets all roles whose path starts with '\/application_abc\/component_xyz\/'.------ This parameter is optional. If it is not included, it defaults to a slash (\/), listing all roles. The <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.+-- | The path prefix for filtering the results. For example, the prefix @/application_abc/component_xyz/@ gets all roles whose path starts with @/application_abc/component_xyz/@ . This parameter is optional. If it is not included, it defaults to a slash (/), listing all roles. The <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}); --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. lrMarker :: Lens' ListRoles (Maybe Text) lrMarker = lens _lrMarker (\ s a -> s{_lrMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. lrMaxItems :: Lens' ListRoles (Maybe Natural) lrMaxItems = lens _lrMaxItems (\ s a -> s{_lrMaxItems = a}) . mapping _Nat; @@ -129,8 +127,10 @@                "PathPrefix" =: _lrPathPrefix, "Marker" =: _lrMarker,                "MaxItems" =: _lrMaxItems] --- | Contains the response to a successful < ListRoles> request.+-- | Contains the response to a successful 'ListRoles' request. --+--+-- -- /See:/ 'listRolesResponse' smart constructor. data ListRolesResponse = ListRolesResponse'     { _lrrsMarker         :: !(Maybe Text)@@ -143,13 +143,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lrrsMarker'+-- * 'lrrsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'lrrsIsTruncated'+-- * 'lrrsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'lrrsResponseStatus'+-- * 'lrrsResponseStatus' - -- | The response status code. ----- * 'lrrsRoles'+-- * 'lrrsRoles' - A list of roles. listRolesResponse     :: Int -- ^ 'lrrsResponseStatus'     -> ListRolesResponse@@ -161,15 +161,15 @@     , _lrrsRoles = mempty     } --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. lrrsMarker :: Lens' ListRolesResponse (Maybe Text) lrrsMarker = lens _lrrsMarker (\ s a -> s{_lrrsMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. lrrsIsTruncated :: Lens' ListRolesResponse (Maybe Bool) lrrsIsTruncated = lens _lrrsIsTruncated (\ s a -> s{_lrrsIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. lrrsResponseStatus :: Lens' ListRolesResponse Int lrrsResponseStatus = lens _lrrsResponseStatus (\ s a -> s{_lrrsResponseStatus = a}); 
gen/Network/AWS/IAM/ListSAMLProviders.hs view
@@ -20,7 +20,7 @@ -- -- 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     (     -- * Creating a Request@@ -81,8 +81,10 @@                  ["Action" =: ("ListSAMLProviders" :: ByteString),                   "Version" =: ("2010-05-08" :: ByteString)]) --- | Contains the response to a successful < ListSAMLProviders> request.+-- | Contains the response to a successful 'ListSAMLProviders' request. --+--+-- -- /See:/ 'listSAMLProvidersResponse' smart constructor. data ListSAMLProvidersResponse = ListSAMLProvidersResponse'     { _lsamlprsSAMLProviderList :: !(Maybe [SAMLProviderListEntry])@@ -93,9 +95,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lsamlprsSAMLProviderList'+-- * 'lsamlprsSAMLProviderList' - The list of SAML provider resource objects defined in IAM for this AWS account. ----- * 'lsamlprsResponseStatus'+-- * 'lsamlprsResponseStatus' - -- | The response status code. listSAMLProvidersResponse     :: Int -- ^ 'lsamlprsResponseStatus'     -> ListSAMLProvidersResponse@@ -109,7 +111,7 @@ lsamlprsSAMLProviderList :: Lens' ListSAMLProvidersResponse [SAMLProviderListEntry] lsamlprsSAMLProviderList = lens _lsamlprsSAMLProviderList (\ s a -> s{_lsamlprsSAMLProviderList = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. lsamlprsResponseStatus :: Lens' ListSAMLProvidersResponse Int lsamlprsResponseStatus = lens _lsamlprsResponseStatus (\ s a -> s{_lsamlprsResponseStatus = a}); 
gen/Network/AWS/IAM/ListSSHPublicKeys.hs view
@@ -20,10 +20,12 @@ -- -- Returns information about the SSH public keys associated with the specified IAM user. If there are none, the action returns an empty list. ----- 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.+-- 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     (@@ -64,11 +66,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lspkUserName'+-- * 'lspkUserName' - 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: =,.@- ----- * 'lspkMarker'+-- * 'lspkMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'lspkMaxItems'+-- * 'lspkMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. listSSHPublicKeys     :: ListSSHPublicKeys listSSHPublicKeys =@@ -78,19 +80,15 @@     , _lspkMaxItems = Nothing     } --- | 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: =,.\'-+-- | 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}); --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. lspkMarker :: Lens' ListSSHPublicKeys (Maybe Text) lspkMarker = lens _lspkMarker (\ s a -> s{_lspkMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. lspkMaxItems :: Lens' ListSSHPublicKeys (Maybe Natural) lspkMaxItems = lens _lspkMaxItems (\ s a -> s{_lspkMaxItems = a}) . mapping _Nat; @@ -132,8 +130,10 @@                "UserName" =: _lspkUserName, "Marker" =: _lspkMarker,                "MaxItems" =: _lspkMaxItems] --- | Contains the response to a successful < ListSSHPublicKeys> request.+-- | Contains the response to a successful 'ListSSHPublicKeys' request. --+--+-- -- /See:/ 'listSSHPublicKeysResponse' smart constructor. data ListSSHPublicKeysResponse = ListSSHPublicKeysResponse'     { _lspkrsSSHPublicKeys  :: !(Maybe [SSHPublicKeyMetadata])@@ -146,13 +146,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lspkrsSSHPublicKeys'+-- * 'lspkrsSSHPublicKeys' - A list of the SSH public keys assigned to IAM user. ----- * 'lspkrsMarker'+-- * 'lspkrsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'lspkrsIsTruncated'+-- * 'lspkrsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'lspkrsResponseStatus'+-- * 'lspkrsResponseStatus' - -- | The response status code. listSSHPublicKeysResponse     :: Int -- ^ 'lspkrsResponseStatus'     -> ListSSHPublicKeysResponse@@ -168,15 +168,15 @@ lspkrsSSHPublicKeys :: Lens' ListSSHPublicKeysResponse [SSHPublicKeyMetadata] lspkrsSSHPublicKeys = lens _lspkrsSSHPublicKeys (\ s a -> s{_lspkrsSSHPublicKeys = a}) . _Default . _Coerce; --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. lspkrsMarker :: Lens' ListSSHPublicKeysResponse (Maybe Text) lspkrsMarker = lens _lspkrsMarker (\ s a -> s{_lspkrsMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. lspkrsIsTruncated :: Lens' ListSSHPublicKeysResponse (Maybe Bool) lspkrsIsTruncated = lens _lspkrsIsTruncated (\ s a -> s{_lspkrsIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. lspkrsResponseStatus :: Lens' ListSSHPublicKeysResponse Int lspkrsResponseStatus = lens _lspkrsResponseStatus (\ s a -> s{_lspkrsResponseStatus = a}); 
gen/Network/AWS/IAM/ListServerCertificates.hs view
@@ -20,10 +20,12 @@ -- -- 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. ----- 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 can paginate the results using the @MaxItems@ and @Marker@ parameters. --+-- 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/ .+--+-- -- This operation returns paginated results. module Network.AWS.IAM.ListServerCertificates     (@@ -64,11 +66,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lscPathPrefix'+-- * 'lscPathPrefix' - The path prefix for filtering the results. For example: @/company/servercerts@ would get all server certificates for which the path starts with @/company/servercerts@ . This parameter is optional. If it is not included, it defaults to a slash (/), listing all server certificates. The <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. ----- * 'lscMarker'+-- * 'lscMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'lscMaxItems'+-- * 'lscMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. listServerCertificates     :: ListServerCertificates listServerCertificates =@@ -78,19 +80,15 @@     , _lscMaxItems = Nothing     } --- | The path prefix for filtering the results. For example: '\/company\/servercerts' would get all server certificates for which the path starts with '\/company\/servercerts'.------ This parameter is optional. If it is not included, it defaults to a slash (\/), listing all server certificates. The <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.+-- | The path prefix for filtering the results. For example: @/company/servercerts@ would get all server certificates for which the path starts with @/company/servercerts@ . This parameter is optional. If it is not included, it defaults to a slash (/), listing all server certificates. The <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}); --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. lscMarker :: Lens' ListServerCertificates (Maybe Text) lscMarker = lens _lscMarker (\ s a -> s{_lscMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. lscMaxItems :: Lens' ListServerCertificates (Maybe Natural) lscMaxItems = lens _lscMaxItems (\ s a -> s{_lscMaxItems = a}) . mapping _Nat; @@ -134,8 +132,10 @@                "PathPrefix" =: _lscPathPrefix,                "Marker" =: _lscMarker, "MaxItems" =: _lscMaxItems] --- | Contains the response to a successful < ListServerCertificates> request.+-- | Contains the response to a successful 'ListServerCertificates' request. --+--+-- -- /See:/ 'listServerCertificatesResponse' smart constructor. data ListServerCertificatesResponse = ListServerCertificatesResponse'     { _lscrsMarker                        :: !(Maybe Text)@@ -148,13 +148,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lscrsMarker'+-- * 'lscrsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'lscrsIsTruncated'+-- * 'lscrsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'lscrsResponseStatus'+-- * 'lscrsResponseStatus' - -- | The response status code. ----- * 'lscrsServerCertificateMetadataList'+-- * 'lscrsServerCertificateMetadataList' - A list of server certificates. listServerCertificatesResponse     :: Int -- ^ 'lscrsResponseStatus'     -> ListServerCertificatesResponse@@ -166,15 +166,15 @@     , _lscrsServerCertificateMetadataList = mempty     } --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. lscrsMarker :: Lens' ListServerCertificatesResponse (Maybe Text) lscrsMarker = lens _lscrsMarker (\ s a -> s{_lscrsMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. lscrsIsTruncated :: Lens' ListServerCertificatesResponse (Maybe Bool) lscrsIsTruncated = lens _lscrsIsTruncated (\ s a -> s{_lscrsIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. lscrsResponseStatus :: Lens' ListServerCertificatesResponse Int lscrsResponseStatus = lens _lscrsResponseStatus (\ s a -> s{_lscrsResponseStatus = a}); 
gen/Network/AWS/IAM/ListSigningCertificates.hs view
@@ -20,10 +20,12 @@ -- -- 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 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.+-- 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 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     (@@ -64,11 +66,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lUserName'+-- * 'lUserName' - 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: =,.@- ----- * 'lMarker'+-- * 'lMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'lMaxItems'+-- * 'lMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. listSigningCertificates     :: ListSigningCertificates listSigningCertificates =@@ -78,19 +80,15 @@     , _lMaxItems = Nothing     } --- | 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: =,.\'-+-- | 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}); --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. lMarker :: Lens' ListSigningCertificates (Maybe Text) lMarker = lens _lMarker (\ s a -> s{_lMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. lMaxItems :: Lens' ListSigningCertificates (Maybe Natural) lMaxItems = lens _lMaxItems (\ s a -> s{_lMaxItems = a}) . mapping _Nat; @@ -133,8 +131,10 @@                "UserName" =: _lUserName, "Marker" =: _lMarker,                "MaxItems" =: _lMaxItems] --- | Contains the response to a successful < ListSigningCertificates> request.+-- | Contains the response to a successful 'ListSigningCertificates' request. --+--+-- -- /See:/ 'listSigningCertificatesResponse' smart constructor. data ListSigningCertificatesResponse = ListSigningCertificatesResponse'     { _lrsMarker         :: !(Maybe Text)@@ -147,13 +147,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lrsMarker'+-- * 'lrsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'lrsIsTruncated'+-- * 'lrsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'lrsResponseStatus'+-- * 'lrsResponseStatus' - -- | The response status code. ----- * 'lrsCertificates'+-- * 'lrsCertificates' - A list of the user's signing certificate information. listSigningCertificatesResponse     :: Int -- ^ 'lrsResponseStatus'     -> ListSigningCertificatesResponse@@ -165,19 +165,19 @@     , _lrsCertificates = mempty     } --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. lrsMarker :: Lens' ListSigningCertificatesResponse (Maybe Text) lrsMarker = lens _lrsMarker (\ s a -> s{_lrsMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. lrsIsTruncated :: Lens' ListSigningCertificatesResponse (Maybe Bool) lrsIsTruncated = lens _lrsIsTruncated (\ s a -> s{_lrsIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. lrsResponseStatus :: Lens' ListSigningCertificatesResponse Int lrsResponseStatus = lens _lrsResponseStatus (\ s a -> s{_lrsResponseStatus = a}); --- | A list of the user\'s signing certificate information.+-- | A list of the user's signing certificate information. lrsCertificates :: Lens' ListSigningCertificatesResponse [SigningCertificate] lrsCertificates = lens _lrsCertificates (\ s a -> s{_lrsCertificates = a}) . _Coerce; 
gen/Network/AWS/IAM/ListUserPolicies.hs view
@@ -20,10 +20,12 @@ -- -- Lists the names of the inline policies embedded in the specified IAM user. ----- 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.+-- 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.+--+-- -- This operation returns paginated results. module Network.AWS.IAM.ListUserPolicies     (@@ -64,11 +66,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lupMarker'+-- * 'lupMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'lupMaxItems'+-- * 'lupMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. ----- * 'lupUserName'+-- * 'lupUserName' - 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: =,.@- listUserPolicies     :: Text -- ^ 'lupUserName'     -> ListUserPolicies@@ -79,19 +81,15 @@     , _lupUserName = pUserName_     } --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. lupMarker :: Lens' ListUserPolicies (Maybe Text) lupMarker = lens _lupMarker (\ s a -> s{_lupMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. lupMaxItems :: Lens' ListUserPolicies (Maybe Natural) 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: =,.\'-+-- | 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}); @@ -133,8 +131,10 @@                "Marker" =: _lupMarker, "MaxItems" =: _lupMaxItems,                "UserName" =: _lupUserName] --- | Contains the response to a successful < ListUserPolicies> request.+-- | Contains the response to a successful 'ListUserPolicies' request. --+--+-- -- /See:/ 'listUserPoliciesResponse' smart constructor. data ListUserPoliciesResponse = ListUserPoliciesResponse'     { _luprsMarker         :: !(Maybe Text)@@ -147,13 +147,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'luprsMarker'+-- * 'luprsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'luprsIsTruncated'+-- * 'luprsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'luprsResponseStatus'+-- * 'luprsResponseStatus' - -- | The response status code. ----- * 'luprsPolicyNames'+-- * 'luprsPolicyNames' - A list of policy names. listUserPoliciesResponse     :: Int -- ^ 'luprsResponseStatus'     -> ListUserPoliciesResponse@@ -165,15 +165,15 @@     , _luprsPolicyNames = mempty     } --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. luprsMarker :: Lens' ListUserPoliciesResponse (Maybe Text) luprsMarker = lens _luprsMarker (\ s a -> s{_luprsMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. luprsIsTruncated :: Lens' ListUserPoliciesResponse (Maybe Bool) luprsIsTruncated = lens _luprsIsTruncated (\ s a -> s{_luprsIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. luprsResponseStatus :: Lens' ListUserPoliciesResponse Int luprsResponseStatus = lens _luprsResponseStatus (\ s a -> s{_luprsResponseStatus = a}); 
gen/Network/AWS/IAM/ListUsers.hs view
@@ -20,8 +20,10 @@ -- -- Lists the IAM users that have the specified path prefix. If no path prefix is specified, the action returns all users in the AWS account. If there are none, the action returns an empty list. ----- You can paginate the results using the 'MaxItems' and 'Marker' parameters. --+-- You can paginate the results using the @MaxItems@ and @Marker@ parameters.+--+-- -- This operation returns paginated results. module Network.AWS.IAM.ListUsers     (@@ -62,11 +64,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'luPathPrefix'+-- * 'luPathPrefix' - The path prefix for filtering the results. For example: @/division_abc/subdivision_xyz/@ , which would get all user names whose path starts with @/division_abc/subdivision_xyz/@ . This parameter is optional. If it is not included, it defaults to a slash (/), listing all user names. The <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. ----- * 'luMarker'+-- * 'luMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'luMaxItems'+-- * 'luMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. listUsers     :: ListUsers listUsers =@@ -76,19 +78,15 @@     , _luMaxItems = Nothing     } --- | The path prefix for filtering the results. For example: '\/division_abc\/subdivision_xyz\/', which would get all user names whose path starts with '\/division_abc\/subdivision_xyz\/'.------ This parameter is optional. If it is not included, it defaults to a slash (\/), listing all user names. The <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.+-- | The path prefix for filtering the results. For example: @/division_abc/subdivision_xyz/@ , which would get all user names whose path starts with @/division_abc/subdivision_xyz/@ . This parameter is optional. If it is not included, it defaults to a slash (/), listing all user names. The <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}); --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. luMarker :: Lens' ListUsers (Maybe Text) luMarker = lens _luMarker (\ s a -> s{_luMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. luMaxItems :: Lens' ListUsers (Maybe Natural) luMaxItems = lens _luMaxItems (\ s a -> s{_luMaxItems = a}) . mapping _Nat; @@ -129,8 +127,10 @@                "PathPrefix" =: _luPathPrefix, "Marker" =: _luMarker,                "MaxItems" =: _luMaxItems] --- | Contains the response to a successful < ListUsers> request.+-- | Contains the response to a successful 'ListUsers' request. --+--+-- -- /See:/ 'listUsersResponse' smart constructor. data ListUsersResponse = ListUsersResponse'     { _lursMarker         :: !(Maybe Text)@@ -143,13 +143,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lursMarker'+-- * 'lursMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'lursIsTruncated'+-- * 'lursIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'lursResponseStatus'+-- * 'lursResponseStatus' - -- | The response status code. ----- * 'lursUsers'+-- * 'lursUsers' - A list of users. listUsersResponse     :: Int -- ^ 'lursResponseStatus'     -> ListUsersResponse@@ -161,15 +161,15 @@     , _lursUsers = mempty     } --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. lursMarker :: Lens' ListUsersResponse (Maybe Text) lursMarker = lens _lursMarker (\ s a -> s{_lursMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. lursIsTruncated :: Lens' ListUsersResponse (Maybe Bool) lursIsTruncated = lens _lursIsTruncated (\ s a -> s{_lursIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. lursResponseStatus :: Lens' ListUsersResponse Int lursResponseStatus = lens _lursResponseStatus (\ s a -> s{_lursResponseStatus = a}); 
gen/Network/AWS/IAM/ListVirtualMFADevices.hs view
@@ -18,10 +18,12 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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'.+-- 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. --+-- You can paginate the results using the @MaxItems@ and @Marker@ parameters.+--+-- -- This operation returns paginated results. module Network.AWS.IAM.ListVirtualMFADevices     (@@ -62,11 +64,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lvmdAssignmentStatus'+-- * 'lvmdAssignmentStatus' - 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. ----- * 'lvmdMarker'+-- * 'lvmdMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'lvmdMaxItems'+-- * 'lvmdMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. listVirtualMFADevices     :: ListVirtualMFADevices listVirtualMFADevices =@@ -76,17 +78,15 @@     , _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}); --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. lvmdMarker :: Lens' ListVirtualMFADevices (Maybe Text) lvmdMarker = lens _lvmdMarker (\ s a -> s{_lvmdMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. lvmdMaxItems :: Lens' ListVirtualMFADevices (Maybe Natural) lvmdMaxItems = lens _lvmdMaxItems (\ s a -> s{_lvmdMaxItems = a}) . mapping _Nat; @@ -129,8 +129,10 @@                "AssignmentStatus" =: _lvmdAssignmentStatus,                "Marker" =: _lvmdMarker, "MaxItems" =: _lvmdMaxItems] --- | Contains the response to a successful < ListVirtualMFADevices> request.+-- | Contains the response to a successful 'ListVirtualMFADevices' request. --+--+-- -- /See:/ 'listVirtualMFADevicesResponse' smart constructor. data ListVirtualMFADevicesResponse = ListVirtualMFADevicesResponse'     { _lvmdrsMarker            :: !(Maybe Text)@@ -143,13 +145,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lvmdrsMarker'+-- * 'lvmdrsMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'lvmdrsIsTruncated'+-- * 'lvmdrsIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. ----- * 'lvmdrsResponseStatus'+-- * 'lvmdrsResponseStatus' - -- | The response status code. ----- * 'lvmdrsVirtualMFADevices'+-- * 'lvmdrsVirtualMFADevices' - The list of virtual MFA devices in the current account that match the @AssignmentStatus@ value that was passed in the request. listVirtualMFADevicesResponse     :: Int -- ^ 'lvmdrsResponseStatus'     -> ListVirtualMFADevicesResponse@@ -161,19 +163,19 @@     , _lvmdrsVirtualMFADevices = mempty     } --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. lvmdrsMarker :: Lens' ListVirtualMFADevicesResponse (Maybe Text) lvmdrsMarker = lens _lvmdrsMarker (\ s a -> s{_lvmdrsMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. lvmdrsIsTruncated :: Lens' ListVirtualMFADevicesResponse (Maybe Bool) lvmdrsIsTruncated = lens _lvmdrsIsTruncated (\ s a -> s{_lvmdrsIsTruncated = a}); --- | The response status code.+-- | -- | The response status code. lvmdrsResponseStatus :: Lens' ListVirtualMFADevicesResponse Int lvmdrsResponseStatus = lens _lvmdrsResponseStatus (\ s a -> s{_lvmdrsResponseStatus = a}); --- | The list of virtual MFA devices in the current account that match the 'AssignmentStatus' value that was passed in the request.+-- | The list of virtual MFA devices in the current account that match the @AssignmentStatus@ value that was passed in the request. lvmdrsVirtualMFADevices :: Lens' ListVirtualMFADevicesResponse [VirtualMFADevice] lvmdrsVirtualMFADevices = lens _lvmdrsVirtualMFADevices (\ s a -> s{_lvmdrsVirtualMFADevices = a}) . _Coerce; 
gen/Network/AWS/IAM/PutGroupPolicy.hs view
@@ -20,11 +20,11 @@ -- -- 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, 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/.+-- 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/ . ----- 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/.+-- 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/ .+-- module Network.AWS.IAM.PutGroupPolicy     (     -- * Creating a Request@@ -58,11 +58,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'pgpGroupName'+-- * 'pgpGroupName' - 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: =,.@- ----- * 'pgpPolicyName'+-- * 'pgpPolicyName' - 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: =,.@- ----- * 'pgpPolicyDocument'+-- * 'pgpPolicyDocument' - 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). putGroupPolicy     :: Text -- ^ 'pgpGroupName'     -> Text -- ^ 'pgpPolicyName'@@ -75,21 +75,15 @@     , _pgpPolicyDocument = pPolicyDocument_     } --- | 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: =,.\'-+-- | 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: =,.\'-+-- | 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).+-- | 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
@@ -20,13 +20,13 @@ -- -- 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 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, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html Managed Policies and Inline Policies> in the /IAM User Guide/.+-- 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> . ----- 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/.+-- 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/ . ----- 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/.+-- 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/ .+-- module Network.AWS.IAM.PutRolePolicy     (     -- * Creating a Request@@ -60,11 +60,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'prpRoleName'+-- * 'prpRoleName' - 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: =,.@- ----- * 'prpPolicyName'+-- * 'prpPolicyName' - 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: =,.@- ----- * 'prpPolicyDocument'+-- * 'prpPolicyDocument' - 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). putRolePolicy     :: Text -- ^ 'prpRoleName'     -> Text -- ^ 'prpPolicyName'@@ -77,21 +77,15 @@     , _prpPolicyDocument = pPolicyDocument_     } --- | 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: =,.\'-+-- | 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: =,.\'-+-- | 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).+-- | 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
@@ -20,11 +20,11 @@ -- -- Adds or updates an inline policy document that is embedded in the specified IAM user. ----- 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/.+-- 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/ . ----- 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/.+-- 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/ .+-- module Network.AWS.IAM.PutUserPolicy     (     -- * Creating a Request@@ -58,11 +58,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'pupUserName'+-- * 'pupUserName' - 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: =,.@- ----- * 'pupPolicyName'+-- * 'pupPolicyName' - 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: =,.@- ----- * 'pupPolicyDocument'+-- * 'pupPolicyDocument' - 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). putUserPolicy     :: Text -- ^ 'pupUserName'     -> Text -- ^ 'pupPolicyName'@@ -75,21 +75,15 @@     , _pupPolicyDocument = pPolicyDocument_     } --- | 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: =,.\'-+-- | 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: =,.\'-+-- | 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).+-- | 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
@@ -20,7 +20,9 @@ -- -- 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 does not exist.+-- module Network.AWS.IAM.RemoveClientIdFromOpenIdConnectProvider     (     -- * Creating a Request@@ -52,9 +54,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rcifoicpOpenIdConnectProviderARN'+-- * 'rcifoicpOpenIdConnectProviderARN' - 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/ . ----- * 'rcifoicpClientId'+-- * 'rcifoicpClientId' - The client ID (also known as audience) to remove from the IAM OIDC provider resource. For more information about client IDs, see 'CreateOpenIDConnectProvider' . removeClientIdFromOpenIdConnectProvider     :: Text -- ^ 'rcifoicpOpenIdConnectProviderARN'     -> Text -- ^ 'rcifoicpClientId'@@ -65,13 +67,11 @@     , _rcifoicpClientId = pClientId_     } --- | 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/.+-- | 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 OIDC provider resource. 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
@@ -20,9 +20,11 @@ -- -- 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 break any applications running on the instance. ----- 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>.+-- /Important:/ 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 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@@ -54,9 +56,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rrfipInstanceProfileName'+-- * 'rrfipInstanceProfileName' - 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: =,.@- ----- * 'rrfipRoleName'+-- * 'rrfipRoleName' - 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: =,.@- removeRoleFromInstanceProfile     :: Text -- ^ 'rrfipInstanceProfileName'     -> Text -- ^ 'rrfipRoleName'@@ -67,15 +69,11 @@     , _rrfipRoleName = pRoleName_     } --- | 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: =,.\'-+-- | 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: =,.\'-+-- | 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
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Removes the specified user from the specified group.+--+-- module Network.AWS.IAM.RemoveUserFromGroup     (     -- * Creating a Request@@ -50,9 +52,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rufgGroupName'+-- * 'rufgGroupName' - 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: =,.@- ----- * 'rufgUserName'+-- * 'rufgUserName' - 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: =,.@- removeUserFromGroup     :: Text -- ^ 'rufgGroupName'     -> Text -- ^ 'rufgUserName'@@ -63,15 +65,11 @@     , _rufgUserName = pUserName_     } --- | 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: =,.\'-+-- | 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: =,.\'-+-- | 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
@@ -20,7 +20,9 @@ -- -- 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 /IAM User 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@@ -56,13 +58,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rmdUserName'+-- * 'rmdUserName' - 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: =,.@- ----- * 'rmdSerialNumber'+-- * 'rmdSerialNumber' - 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: =,.@- ----- * 'rmdAuthenticationCode1'+-- * 'rmdAuthenticationCode1' - An authentication code emitted by the device. The format for this parameter is a sequence of six digits. ----- * 'rmdAuthenticationCode2'+-- * 'rmdAuthenticationCode2' - A subsequent authentication code emitted by the device. The format for this parameter is a sequence of six digits. resyncMFADevice     :: Text -- ^ 'rmdUserName'     -> Text -- ^ 'rmdSerialNumber'@@ -77,27 +79,19 @@     , _rmdAuthenticationCode2 = pAuthenticationCode2_     } --- | 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: =,.\'-+-- | 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: =,.\'-+-- | 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.+-- | 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.+-- | 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
@@ -18,11 +18,13 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Sets the specified version of the specified policy as the policy\'s default (operative) version.+-- Sets the specified version of the specified policy as the policy's default (operative) version. ----- 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, 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 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, 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@@ -54,9 +56,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'sdpvPolicyARN'+-- * 'sdpvPolicyARN' - 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/ . ----- * 'sdpvVersionId'+-- * 'sdpvVersionId' - The version of the policy to set as the default (operative) 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/ . setDefaultPolicyVersion     :: Text -- ^ 'sdpvPolicyARN'     -> Text -- ^ 'sdpvVersionId'@@ -67,15 +69,11 @@     , _sdpvVersionId = pVersionId_     } --- | 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/.+-- | 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}); --- | The version of the policy to set as the default (operative) 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/.+-- | The version of the policy to set as the default (operative) 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/ . sdpvVersionId :: Lens' SetDefaultPolicyVersion Text sdpvVersionId = lens _sdpvVersionId (\ s a -> s{_sdpvVersionId = a}); 
gen/Network/AWS/IAM/SimulateCustomPolicy.hs view
@@ -18,16 +18,18 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Simulate how a set of IAM policies and optionally a resource-based policy works with a list of API actions and AWS resources to determine the policies\' effective permissions. The policies are provided as strings.+-- Simulate how a set of IAM policies and optionally a resource-based policy works with a list of API actions and AWS resources to determine the policies' effective permissions. The policies are provided as strings. --+-- -- The simulation does not perform the API actions; it only checks the authorization to determine if the simulated policies allow or deny the actions. ----- If you want to simulate existing policies attached to an IAM user, group, or role, use < SimulatePrincipalPolicy> instead.+-- If you want to simulate existing policies attached to an IAM user, group, or role, use 'SimulatePrincipalPolicy' instead. ----- 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>.+-- 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.+-- 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     (@@ -81,25 +83,25 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'scpResourcePolicy'+-- * 'scpResourcePolicy' - 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). ----- * 'scpCallerARN'+-- * 'scpCallerARN' - 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. ----- * 'scpResourceHandlingOption'+-- * 'scpResourceHandlingOption' - Specifies the type of simulation to run. Different APIs that support resource-based policies require different combinations of resources. By specifying the type of simulation to run, you enable the policy simulator to enforce the presence of the required resources to ensure reliable simulation results. If your simulation does not match one of the following scenarios, then you can omit this parameter. The following list shows each of the supported scenario values and the resources that you must define to run the simulation. Each of the EC2 scenarios requires that you specify instance, image, and security-group resources. If your scenario includes an EBS volume, then you must specify that volume as a resource. If the EC2 scenario includes VPC, then you must supply the network-interface resource. If it includes an IP subnet, then you must specify the subnet resource. For more information on the EC2 scenario options, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html Supported Platforms> in the /AWS EC2 User Guide/ .     * __EC2-Classic-InstanceStore__  instance, image, security-group     * __EC2-Classic-EBS__  instance, image, security-group, volume     * __EC2-VPC-InstanceStore__  instance, image, security-group, network-interface     * __EC2-VPC-InstanceStore-Subnet__  instance, image, security-group, network-interface, subnet     * __EC2-VPC-EBS__  instance, image, security-group, network-interface, volume     * __EC2-VPC-EBS-Subnet__  instance, image, security-group, network-interface, subnet, volume ----- * 'scpResourceARNs'+-- * 'scpResourceARNs' - 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. 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/ . ----- * 'scpMarker'+-- * 'scpMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'scpMaxItems'+-- * 'scpMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. ----- * 'scpContextEntries'+-- * 'scpContextEntries' - 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. ----- * 'scpResourceOwner'+-- * 'scpResourceOwner' - An AWS account ID that specifies the owner of any simulated resource that does not identify its owner in the resource ARN, such as an S3 bucket or object. If @ResourceOwner@ is specified, it is also used as the account owner of any @ResourcePolicy@ included in the simulation. If the @ResourceOwner@ parameter is not specified, then the owner of the resources and the resource policy defaults to the account of the identity provided in @CallerArn@ . This parameter is required only if you specify a resource-based policy and account that owns the resource is different from the account that owns the simulated calling user @CallerArn@ . ----- * 'scpPolicyInputList'+-- * 'scpPolicyInputList' - 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). ----- * 'scpActionNames'+-- * 'scpActionNames' - 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@ . simulateCustomPolicy     :: SimulateCustomPolicy simulateCustomPolicy =@@ -116,66 +118,27 @@     , _scpActionNames = mempty     } --- | 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).+-- | 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 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.+-- | 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) scpCallerARN = lens _scpCallerARN (\ s a -> s{_scpCallerARN = a}); --- | Specifies the type of simulation to run. Different APIs that support resource-based policies require different combinations of resources. By specifying the type of simulation to run, you enable the policy simulator to enforce the presence of the required resources to ensure reliable simulation results. If your simulation does not match one of the following scenarios, then you can omit this parameter. The following list shows each of the supported scenario values and the resources that you must define to run the simulation.------ Each of the EC2 scenarios requires that you specify instance, image, and security-group resources. If your scenario includes an EBS volume, then you must specify that volume as a resource. If the EC2 scenario includes VPC, then you must supply the network-interface resource. If it includes an IP subnet, then you must specify the subnet resource. For more information on the EC2 scenario options, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html Supported Platforms> in the /AWS EC2 User Guide/.------ -   __EC2-Classic-InstanceStore__------     instance, image, security-group------ -   __EC2-Classic-EBS__------     instance, image, security-group, volume------ -   __EC2-VPC-InstanceStore__------     instance, image, security-group, network-interface------ -   __EC2-VPC-InstanceStore-Subnet__------     instance, image, security-group, network-interface, subnet------ -   __EC2-VPC-EBS__------     instance, image, security-group, network-interface, volume------ -   __EC2-VPC-EBS-Subnet__------     instance, image, security-group, network-interface, subnet, volume---+-- | Specifies the type of simulation to run. Different APIs that support resource-based policies require different combinations of resources. By specifying the type of simulation to run, you enable the policy simulator to enforce the presence of the required resources to ensure reliable simulation results. If your simulation does not match one of the following scenarios, then you can omit this parameter. The following list shows each of the supported scenario values and the resources that you must define to run the simulation. Each of the EC2 scenarios requires that you specify instance, image, and security-group resources. If your scenario includes an EBS volume, then you must specify that volume as a resource. If the EC2 scenario includes VPC, then you must supply the network-interface resource. If it includes an IP subnet, then you must specify the subnet resource. For more information on the EC2 scenario options, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html Supported Platforms> in the /AWS EC2 User Guide/ .     * __EC2-Classic-InstanceStore__  instance, image, security-group     * __EC2-Classic-EBS__  instance, image, security-group, volume     * __EC2-VPC-InstanceStore__  instance, image, security-group, network-interface     * __EC2-VPC-InstanceStore-Subnet__  instance, image, security-group, network-interface, subnet     * __EC2-VPC-EBS__  instance, image, security-group, network-interface, volume     * __EC2-VPC-EBS-Subnet__  instance, image, security-group, network-interface, subnet, volume scpResourceHandlingOption :: Lens' SimulateCustomPolicy (Maybe Text) scpResourceHandlingOption = lens _scpResourceHandlingOption (\ s a -> s{_scpResourceHandlingOption = a}); --- | 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.------ 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/.+-- | 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. 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; --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. scpMarker :: Lens' SimulateCustomPolicy (Maybe Text) scpMarker = lens _scpMarker (\ s a -> s{_scpMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. scpMaxItems :: Lens' SimulateCustomPolicy (Maybe Natural) scpMaxItems = lens _scpMaxItems (\ s a -> s{_scpMaxItems = a}) . mapping _Nat; @@ -183,17 +146,15 @@ scpContextEntries :: Lens' SimulateCustomPolicy [ContextEntry] scpContextEntries = lens _scpContextEntries (\ s a -> s{_scpContextEntries = a}) . _Default . _Coerce; --- | An AWS account ID that specifies the owner of any simulated resource that does not identify its owner in the resource ARN, such as an S3 bucket or object. If 'ResourceOwner' is specified, it is also used as the account owner of any 'ResourcePolicy' included in the simulation. If the 'ResourceOwner' parameter is not specified, then the owner of the resources and the resource policy defaults to the account of the identity provided in 'CallerArn'. This parameter is required only if you specify a resource-based policy and account that owns the resource is different from the account that owns the simulated calling user 'CallerArn'.+-- | An AWS account ID that specifies the owner of any simulated resource that does not identify its owner in the resource ARN, such as an S3 bucket or object. If @ResourceOwner@ is specified, it is also used as the account owner of any @ResourcePolicy@ included in the simulation. If the @ResourceOwner@ parameter is not specified, then the owner of the resources and the resource policy defaults to the account of the identity provided in @CallerArn@ . This parameter is required only if you specify a resource-based policy and account that owns the resource is different from the account that owns the simulated calling user @CallerArn@ . scpResourceOwner :: Lens' SimulateCustomPolicy (Maybe Text) 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).+-- | 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'.+-- | 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; 
gen/Network/AWS/IAM/SimulatePrincipalPolicy.hs view
@@ -18,20 +18,22 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Simulate how a set of IAM policies attached to an IAM entity works with a list of API actions and AWS resources to determine the policies\' effective permissions. The entity can be an IAM user, group, or role. If you specify a user, then the simulation also includes all of the policies that are attached to groups that the user belongs to .+-- Simulate how a set of IAM policies attached to an IAM entity works with a list of API actions and AWS resources to determine the policies' effective permissions. The entity can be an IAM user, group, or role. If you specify a user, then the simulation also includes all of the policies that are attached to groups that the user belongs to . ----- You can optionally include a list of one or more additional policies specified as strings to include in the simulation. If you want to simulate only policies specified as strings, use < SimulateCustomPolicy> instead. --+-- You can optionally include a list of one or more additional policies specified as strings to include in the simulation. If you want to simulate only policies specified as strings, use 'SimulateCustomPolicy' instead.+-- -- You can also optionally include one resource-based policy to be evaluated with each of the resources included in the simulation. -- -- The simulation does not perform the API actions, it only checks the authorization to determine if the simulated policies allow or deny the actions. ----- __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 < SimulateCustomPolicy> 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 'SimulateCustomPolicy' instead. ----- 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>.+-- 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.+-- 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     (@@ -87,27 +89,27 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'sppPolicyInputList'+-- * 'sppPolicyInputList' - 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). ----- * 'sppResourcePolicy'+-- * 'sppResourcePolicy' - 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). ----- * 'sppCallerARN'+-- * 'sppCallerARN' - 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/ . ----- * 'sppResourceHandlingOption'+-- * 'sppResourceHandlingOption' - Specifies the type of simulation to run. Different APIs that support resource-based policies require different combinations of resources. By specifying the type of simulation to run, you enable the policy simulator to enforce the presence of the required resources to ensure reliable simulation results. If your simulation does not match one of the following scenarios, then you can omit this parameter. The following list shows each of the supported scenario values and the resources that you must define to run the simulation. Each of the EC2 scenarios requires that you specify instance, image, and security-group resources. If your scenario includes an EBS volume, then you must specify that volume as a resource. If the EC2 scenario includes VPC, then you must supply the network-interface resource. If it includes an IP subnet, then you must specify the subnet resource. For more information on the EC2 scenario options, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html Supported Platforms> in the /AWS EC2 User Guide/ .     * __EC2-Classic-InstanceStore__  instance, image, security-group     * __EC2-Classic-EBS__  instance, image, security-group, volume     * __EC2-VPC-InstanceStore__  instance, image, security-group, network-interface     * __EC2-VPC-InstanceStore-Subnet__  instance, image, security-group, network-interface, subnet     * __EC2-VPC-EBS__  instance, image, security-group, network-interface, volume     * __EC2-VPC-EBS-Subnet__  instance, image, security-group, network-interface, subnet, volume ----- * 'sppResourceARNs'+-- * 'sppResourceARNs' - 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/ . ----- * 'sppMarker'+-- * 'sppMarker' - Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. ----- * 'sppMaxItems'+-- * 'sppMaxItems' - Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. ----- * 'sppContextEntries'+-- * 'sppContextEntries' - 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. ----- * 'sppResourceOwner'+-- * 'sppResourceOwner' - An AWS account ID that specifies the owner of any simulated resource that does not identify its owner in the resource ARN, such as an S3 bucket or object. If @ResourceOwner@ is specified, it is also used as the account owner of any @ResourcePolicy@ included in the simulation. If the @ResourceOwner@ parameter is not specified, then the owner of the resources and the resource policy defaults to the account of the identity provided in @CallerArn@ . This parameter is required only if you specify a resource-based policy and account that owns the resource is different from the account that owns the simulated calling user @CallerArn@ . ----- * 'sppPolicySourceARN'+-- * 'sppPolicySourceARN' - 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/ . ----- * 'sppActionNames'+-- * 'sppActionNames' - 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@ . simulatePrincipalPolicy     :: Text -- ^ 'sppPolicySourceARN'     -> SimulatePrincipalPolicy@@ -126,74 +128,31 @@     , _sppActionNames = mempty     } --- | 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).+-- | 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).+-- | 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 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/.+-- | 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}); --- | Specifies the type of simulation to run. Different APIs that support resource-based policies require different combinations of resources. By specifying the type of simulation to run, you enable the policy simulator to enforce the presence of the required resources to ensure reliable simulation results. If your simulation does not match one of the following scenarios, then you can omit this parameter. The following list shows each of the supported scenario values and the resources that you must define to run the simulation.------ Each of the EC2 scenarios requires that you specify instance, image, and security-group resources. If your scenario includes an EBS volume, then you must specify that volume as a resource. If the EC2 scenario includes VPC, then you must supply the network-interface resource. If it includes an IP subnet, then you must specify the subnet resource. For more information on the EC2 scenario options, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html Supported Platforms> in the /AWS EC2 User Guide/.------ -   __EC2-Classic-InstanceStore__------     instance, image, security-group------ -   __EC2-Classic-EBS__------     instance, image, security-group, volume------ -   __EC2-VPC-InstanceStore__------     instance, image, security-group, network-interface------ -   __EC2-VPC-InstanceStore-Subnet__------     instance, image, security-group, network-interface, subnet------ -   __EC2-VPC-EBS__------     instance, image, security-group, network-interface, volume------ -   __EC2-VPC-EBS-Subnet__------     instance, image, security-group, network-interface, subnet, volume---+-- | Specifies the type of simulation to run. Different APIs that support resource-based policies require different combinations of resources. By specifying the type of simulation to run, you enable the policy simulator to enforce the presence of the required resources to ensure reliable simulation results. If your simulation does not match one of the following scenarios, then you can omit this parameter. The following list shows each of the supported scenario values and the resources that you must define to run the simulation. Each of the EC2 scenarios requires that you specify instance, image, and security-group resources. If your scenario includes an EBS volume, then you must specify that volume as a resource. If the EC2 scenario includes VPC, then you must supply the network-interface resource. If it includes an IP subnet, then you must specify the subnet resource. For more information on the EC2 scenario options, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html Supported Platforms> in the /AWS EC2 User Guide/ .     * __EC2-Classic-InstanceStore__  instance, image, security-group     * __EC2-Classic-EBS__  instance, image, security-group, volume     * __EC2-VPC-InstanceStore__  instance, image, security-group, network-interface     * __EC2-VPC-InstanceStore-Subnet__  instance, image, security-group, network-interface, subnet     * __EC2-VPC-EBS__  instance, image, security-group, network-interface, volume     * __EC2-VPC-EBS-Subnet__  instance, image, security-group, network-interface, subnet, volume sppResourceHandlingOption :: Lens' SimulatePrincipalPolicy (Maybe Text) sppResourceHandlingOption = lens _sppResourceHandlingOption (\ s a -> s{_sppResourceHandlingOption = a}); --- | 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/.+-- | 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; --- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the 'Marker' element in the response that you received to indicate where the next call should start.+-- | Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the @Marker@ element in the response that you received to indicate where the next call should start. sppMarker :: Lens' SimulatePrincipalPolicy (Maybe Text) sppMarker = lens _sppMarker (\ s a -> s{_sppMarker = a}); --- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the 'IsTruncated' response element is 'true'.------ This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the 'IsTruncated' response element returns 'true' and 'Marker' contains a value to include in the subsequent call that tells the service where to continue from.+-- | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the @IsTruncated@ response element is @true@ . This parameter is optional. If you do not include it, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the @IsTruncated@ response element returns @true@ and @Marker@ contains a value to include in the subsequent call that tells the service where to continue from. sppMaxItems :: Lens' SimulatePrincipalPolicy (Maybe Natural) sppMaxItems = lens _sppMaxItems (\ s a -> s{_sppMaxItems = a}) . mapping _Nat; @@ -201,17 +160,15 @@ sppContextEntries :: Lens' SimulatePrincipalPolicy [ContextEntry] sppContextEntries = lens _sppContextEntries (\ s a -> s{_sppContextEntries = a}) . _Default . _Coerce; --- | An AWS account ID that specifies the owner of any simulated resource that does not identify its owner in the resource ARN, such as an S3 bucket or object. If 'ResourceOwner' is specified, it is also used as the account owner of any 'ResourcePolicy' included in the simulation. If the 'ResourceOwner' parameter is not specified, then the owner of the resources and the resource policy defaults to the account of the identity provided in 'CallerArn'. This parameter is required only if you specify a resource-based policy and account that owns the resource is different from the account that owns the simulated calling user 'CallerArn'.+-- | An AWS account ID that specifies the owner of any simulated resource that does not identify its owner in the resource ARN, such as an S3 bucket or object. If @ResourceOwner@ is specified, it is also used as the account owner of any @ResourcePolicy@ included in the simulation. If the @ResourceOwner@ parameter is not specified, then the owner of the resources and the resource policy defaults to the account of the identity provided in @CallerArn@ . This parameter is required only if you specify a resource-based policy and account that owns the resource is different from the account that owns the simulated calling user @CallerArn@ . sppResourceOwner :: Lens' SimulatePrincipalPolicy (Maybe Text) 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/.+-- | 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'.+-- | 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; 
gen/Network/AWS/IAM/Types.hs view
@@ -391,7 +391,7 @@ import           Network.AWS.Prelude import           Network.AWS.Sign.V4 --- | API version '2010-05-08' of the Amazon Identity and Access Management SDK configuration.+-- | API version @2010-05-08@ of the Amazon Identity and Access Management SDK configuration. iam :: Service iam =     Service@@ -425,110 +425,154 @@       | has (hasStatus 509) e = Just "limit_exceeded"       | otherwise = Nothing --- | The request was rejected because the credential report does not exist. To generate a credential report, use < GenerateCredentialReport>.+-- | The request was rejected because the credential report does not exist. To generate a credential report, use 'GenerateCredentialReport' .+--+-- _CredentialReportNotPresentException :: AsError a => Getting (First ServiceError) a ServiceError _CredentialReportNotPresentException =     _ServiceError . hasStatus 410 . hasCode "ReportNotPresent"  -- | The request was rejected because the credential report is still being generated.+--+-- _CredentialReportNotReadyException :: AsError a => Getting (First ServiceError) a ServiceError _CredentialReportNotReadyException =     _ServiceError . hasStatus 404 . hasCode "ReportInProgress"  -- | The request was rejected because the policy document was malformed. The error message describes the specific error.+--+-- _MalformedPolicyDocumentException :: AsError a => Getting (First ServiceError) a ServiceError _MalformedPolicyDocumentException =     _ServiceError . hasStatus 400 . hasCode "MalformedPolicyDocument"  -- | The request was rejected because it attempted to create a resource that already exists.+--+-- _EntityAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError _EntityAlreadyExistsException =     _ServiceError . hasStatus 409 . hasCode "EntityAlreadyExists"  -- | The request was rejected because the certificate was malformed or expired. The error message describes the specific error.+--+-- _MalformedCertificateException :: AsError a => Getting (First ServiceError) a ServiceError _MalformedCertificateException =     _ServiceError . hasStatus 400 . hasCode "MalformedCertificate" --- | The request was rejected because the most recent credential report has expired. To generate a new credential report, use < GenerateCredentialReport>. For more information about credential report expiration, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html Getting Credential Reports> in the /IAM User Guide/.+-- | The request was rejected because the most recent credential report has expired. To generate a new credential report, use 'GenerateCredentialReport' . For more information about credential report expiration, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html Getting Credential Reports> in the /IAM User Guide/ .+--+-- _CredentialReportExpiredException :: AsError a => Getting (First ServiceError) a ServiceError _CredentialReportExpiredException =     _ServiceError . hasStatus 410 . hasCode "ReportExpired"  -- | The request was rejected because the same certificate is associated with an IAM user in the account.+--+-- _DuplicateCertificateException :: AsError a => Getting (First ServiceError) a ServiceError _DuplicateCertificateException =     _ServiceError . hasStatus 409 . hasCode "DuplicateCertificate"  -- | The request was rejected because it attempted to delete a resource that has attached subordinate entities. The error message describes these entities.+--+-- _DeleteConflictException :: AsError a => Getting (First ServiceError) a ServiceError _DeleteConflictException =     _ServiceError . hasStatus 409 . hasCode "DeleteConflict"  -- | The request was rejected because it referenced an entity that does not exist. The error message describes the entity.+--+-- _NoSuchEntityException :: AsError a => Getting (First ServiceError) a ServiceError _NoSuchEntityException = _ServiceError . hasStatus 404 . hasCode "NoSuchEntity"  -- | The request was rejected because the certificate is invalid.+--+-- _InvalidCertificateException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidCertificateException =     _ServiceError . hasStatus 400 . hasCode "InvalidCertificate"  -- | The request was rejected because the public key encoding format is unsupported or unrecognized.+--+-- _UnrecognizedPublicKeyEncodingException :: AsError a => Getting (First ServiceError) a ServiceError _UnrecognizedPublicKeyEncodingException =     _ServiceError . hasStatus 400 . hasCode "UnrecognizedPublicKeyEncoding"  -- | The request was rejected because the type of user for the transaction was incorrect.+--+-- _InvalidUserTypeException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidUserTypeException =     _ServiceError . hasStatus 400 . hasCode "InvalidUserType"  -- | The request processing has failed because of an unknown error, exception or failure.+--+-- _ServiceFailureException :: AsError a => Getting (First ServiceError) a ServiceError _ServiceFailureException =     _ServiceError . hasStatus 500 . hasCode "ServiceFailure"  -- | The request was rejected because an invalid or out-of-range value was supplied for an input parameter.+--+-- _InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidInputException = _ServiceError . hasStatus 400 . hasCode "InvalidInput"  -- | The request was rejected because the public key is malformed or otherwise invalid.+--+-- _InvalidPublicKeyException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidPublicKeyException =     _ServiceError . hasStatus 400 . hasCode "InvalidPublicKey"  -- | The request was rejected because the authentication code was not recognized. The error message describes the specific error.+--+-- _InvalidAuthenticationCodeException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidAuthenticationCodeException =     _ServiceError . hasStatus 403 . hasCode "InvalidAuthenticationCode"  -- | The request was rejected because it referenced an entity that is temporarily unmodifiable, such as a user name that was deleted and then recreated. The error indicates that the request is likely to succeed if you try again after waiting several minutes. The error message describes the entity.+--+-- _EntityTemporarilyUnmodifiableException :: AsError a => Getting (First ServiceError) a ServiceError _EntityTemporarilyUnmodifiableException =     _ServiceError . hasStatus 409 . hasCode "EntityTemporarilyUnmodifiable"  -- | The request was rejected because the SSH public key is already associated with the specified IAM user.+--+-- _DuplicateSSHPublicKeyException :: AsError a => Getting (First ServiceError) a ServiceError _DuplicateSSHPublicKeyException =     _ServiceError . hasStatus 400 . hasCode "DuplicateSSHPublicKey"  -- | The request was rejected because the public key certificate and the private key do not match.+--+-- _KeyPairMismatchException :: AsError a => Getting (First ServiceError) a ServiceError _KeyPairMismatchException =     _ServiceError . hasStatus 400 . hasCode "KeyPairMismatch"  -- | The request failed because a provided policy could not be successfully evaluated. An additional detail message indicates the source of the failure.+--+-- _PolicyEvaluationException :: AsError a => Getting (First ServiceError) a ServiceError _PolicyEvaluationException =     _ServiceError . hasStatus 500 . hasCode "PolicyEvaluation"  -- | The request was rejected because the provided password did not meet the requirements imposed by the account password policy.+--+-- _PasswordPolicyViolationException :: AsError a => Getting (First ServiceError) a ServiceError _PasswordPolicyViolationException =     _ServiceError . hasStatus 400 . hasCode "PasswordPolicyViolation"  -- | The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.+--+-- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError _LimitExceededException =     _ServiceError . hasStatus 409 . hasCode "LimitExceeded"
gen/Network/AWS/IAM/Types/Product.hs view
@@ -23,10 +23,10 @@  -- | Contains information about an AWS access key. ----- This data type is used as a response element in the < CreateAccessKey> and < ListAccessKeys> actions. ----- The 'SecretAccessKey' value is returned only in response to < CreateAccessKey>. You can get a secret access key only when you first create an access key; you cannot recover the secret access key later. If you lose a secret access key, you must create a new access key.+-- This data type is used as a response element in the 'CreateAccessKey' and 'ListAccessKeys' actions. --+-- -- /See:/ 'accessKey' smart constructor. data AccessKey = AccessKey'     { _akCreateDate      :: !(Maybe ISO8601)@@ -40,15 +40,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'akCreateDate'+-- * 'akCreateDate' - The date when the access key was created. ----- * 'akUserName'+-- * 'akUserName' - The name of the IAM user that the access key is associated with. ----- * 'akAccessKeyId'+-- * 'akAccessKeyId' - The ID for this access key. ----- * 'akStatus'+-- * 'akStatus' - The status of the access key. @Active@ means the key is valid for API calls, while @Inactive@ means it is not. ----- * 'akSecretAccessKey'+-- * 'akSecretAccessKey' - The secret key used to sign requests. accessKey     :: Text -- ^ 'akUserName'     -> Text -- ^ 'akAccessKeyId'@@ -76,7 +76,7 @@ akAccessKeyId :: Lens' AccessKey Text akAccessKeyId = lens _akAccessKeyId (\ s a -> s{_akAccessKeyId = a}); --- | The status of the access key. 'Active' means the key is valid for API calls, while 'Inactive' means it is not.+-- | The status of the access key. @Active@ means the key is valid for API calls, while @Inactive@ means it is not. akStatus :: Lens' AccessKey StatusType akStatus = lens _akStatus (\ s a -> s{_akStatus = a}); @@ -98,8 +98,10 @@  -- | Contains information about the last time an AWS access key was used. ----- This data type is used as a response element in the < GetAccessKeyLastUsed> action. --+-- This data type is used as a response element in the 'GetAccessKeyLastUsed' action.+--+-- -- /See:/ 'accessKeyLastUsed' smart constructor. data AccessKeyLastUsed = AccessKeyLastUsed'     { _akluLastUsedDate :: !ISO8601@@ -111,11 +113,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'akluLastUsedDate'+-- * 'akluLastUsedDate' - The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the access key was most recently used. This field is null when:     * The user does not have an access key.     * An access key exists but has never been used, at least not since IAM started tracking this information on April 22nd, 2015.     * There is no sign-in data associated with the user ----- * 'akluServiceName'+-- * 'akluServiceName' - The name of the AWS service with which this access key was most recently used. This field is null when:     * The user does not have an access key.     * An access key exists but has never been used, at least not since IAM started tracking this information on April 22nd, 2015.     * There is no sign-in data associated with the user ----- * 'akluRegion'+-- * 'akluRegion' - The AWS region where this access key was most recently used. This field is null when:     * The user does not have an access key.     * An access key exists but has never been used, at least not since IAM started tracking this information on April 22nd, 2015.     * There is no sign-in data associated with the user For more information about AWS regions, see <http://docs.aws.amazon.com/general/latest/gr/rande.html Regions and Endpoints> in the Amazon Web Services General Reference. accessKeyLastUsed     :: UTCTime -- ^ 'akluLastUsedDate'     -> Text -- ^ 'akluServiceName'@@ -128,37 +130,15 @@     , _akluRegion = pRegion_     } --- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format>, when the access key was most recently used. This field is null when:------ -   The user does not have an access key.------ -   An access key exists but has never been used, at least not since IAM started tracking this information on April 22nd, 2015.------ -   There is no sign-in data associated with the user---+-- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the access key was most recently used. This field is null when:     * The user does not have an access key.     * An access key exists but has never been used, at least not since IAM started tracking this information on April 22nd, 2015.     * There is no sign-in data associated with the user akluLastUsedDate :: Lens' AccessKeyLastUsed UTCTime akluLastUsedDate = lens _akluLastUsedDate (\ s a -> s{_akluLastUsedDate = a}) . _Time; --- | The name of the AWS service with which this access key was most recently used. This field is null when:------ -   The user does not have an access key.------ -   An access key exists but has never been used, at least not since IAM started tracking this information on April 22nd, 2015.------ -   There is no sign-in data associated with the user---+-- | The name of the AWS service with which this access key was most recently used. This field is null when:     * The user does not have an access key.     * An access key exists but has never been used, at least not since IAM started tracking this information on April 22nd, 2015.     * There is no sign-in data associated with the user akluServiceName :: Lens' AccessKeyLastUsed Text akluServiceName = lens _akluServiceName (\ s a -> s{_akluServiceName = a}); --- | The AWS region where this access key was most recently used. This field is null when:------ -   The user does not have an access key.------ -   An access key exists but has never been used, at least not since IAM started tracking this information on April 22nd, 2015.------ -   There is no sign-in data associated with the user------ For more information about AWS regions, see <http://docs.aws.amazon.com/general/latest/gr/rande.html Regions and Endpoints> in the Amazon Web Services General Reference.+-- | The AWS region where this access key was most recently used. This field is null when:     * The user does not have an access key.     * An access key exists but has never been used, at least not since IAM started tracking this information on April 22nd, 2015.     * There is no sign-in data associated with the user For more information about AWS regions, see <http://docs.aws.amazon.com/general/latest/gr/rande.html Regions and Endpoints> in the Amazon Web Services General Reference. akluRegion :: Lens' AccessKeyLastUsed Text akluRegion = lens _akluRegion (\ s a -> s{_akluRegion = a}); @@ -174,8 +154,10 @@  -- | Contains information about an AWS access key, without its secret key. ----- This data type is used as a response element in the < ListAccessKeys> action. --+-- This data type is used as a response element in the 'ListAccessKeys' action.+--+-- -- /See:/ 'accessKeyMetadata' smart constructor. data AccessKeyMetadata = AccessKeyMetadata'     { _akmStatus      :: !(Maybe StatusType)@@ -188,13 +170,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'akmStatus'+-- * 'akmStatus' - The status of the access key. @Active@ means the key is valid for API calls; @Inactive@ means it is not. ----- * 'akmCreateDate'+-- * 'akmCreateDate' - The date when the access key was created. ----- * 'akmUserName'+-- * 'akmUserName' - The name of the IAM user that the key is associated with. ----- * 'akmAccessKeyId'+-- * 'akmAccessKeyId' - The ID for this access key. accessKeyMetadata     :: AccessKeyMetadata accessKeyMetadata =@@ -205,7 +187,7 @@     , _akmAccessKeyId = Nothing     } --- | The status of the access key. 'Active' means the key is valid for API calls; 'Inactive' means it is not.+-- | The status of the access key. @Active@ means the key is valid for API calls; @Inactive@ means it is not. akmStatus :: Lens' AccessKeyMetadata (Maybe StatusType) akmStatus = lens _akmStatus (\ s a -> s{_akmStatus = a}); @@ -234,10 +216,12 @@  -- | Contains information about an attached policy. ----- An attached policy is a managed policy that has been attached to a user, group, or role. This data type is used as a response element in the < ListAttachedGroupPolicies>, < ListAttachedRolePolicies>, < ListAttachedUserPolicies>, and < GetAccountAuthorizationDetails> actions. --+-- An attached policy is a managed policy that has been attached to a user, group, or role. This data type is used as a response element in the 'ListAttachedGroupPolicies' , 'ListAttachedRolePolicies' , 'ListAttachedUserPolicies' , and 'GetAccountAuthorizationDetails' actions.+-- -- 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 /Using IAM/ guide. --+-- -- /See:/ 'attachedPolicy' smart constructor. data AttachedPolicy = AttachedPolicy'     { _apPolicyName :: !(Maybe Text)@@ -248,9 +232,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'apPolicyName'+-- * 'apPolicyName' - The friendly name of the attached policy. ----- * 'apPolicyARN'+-- * 'apPolicyARN' - Undocumented member. attachedPolicy     :: AttachedPolicy attachedPolicy =@@ -276,10 +260,12 @@  instance NFData AttachedPolicy --- | 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.+-- | 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 ' SimulateCustomPolicy ' and ' SimulateCustomPolicy '. --+-- This data type is used as an input parameter to @'SimulateCustomPolicy' @ and @'SimulateCustomPolicy' @ .+--+-- -- /See:/ 'contextEntry' smart constructor. data ContextEntry = ContextEntry'     { _ceContextKeyValues :: !(Maybe [Text])@@ -291,11 +277,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ceContextKeyValues'+-- * 'ceContextKeyValues' - The value (or values, if the condition context key supports multiple values) to provide to the simulation for use when the key is referenced by a @Condition@ element in an input policy. ----- * 'ceContextKeyName'+-- * 'ceContextKeyName' - The full name of a condition context key, including the service prefix. For example, @aws:SourceIp@ or @s3:VersionId@ . ----- * 'ceContextKeyType'+-- * 'ceContextKeyType' - The data type of the value (or values) specified in the @ContextKeyValues@ parameter. contextEntry     :: ContextEntry contextEntry =@@ -305,15 +291,15 @@     , _ceContextKeyType = Nothing     } --- | The value (or values, if the condition context key supports multiple values) to provide to the simulation for use when the key is referenced by a 'Condition' element in an input policy.+-- | The value (or values, if the condition context key supports multiple values) to provide to the simulation for use when the key is referenced by a @Condition@ element in an input policy. ceContextKeyValues :: Lens' ContextEntry [Text] ceContextKeyValues = lens _ceContextKeyValues (\ s a -> s{_ceContextKeyValues = a}) . _Default . _Coerce; --- | The full name of a condition context key, including the service prefix. For example, 'aws:SourceIp' or 's3:VersionId'.+-- | The full name of a condition context key, including the service prefix. For example, @aws:SourceIp@ or @s3:VersionId@ . ceContextKeyName :: Lens' ContextEntry (Maybe Text) ceContextKeyName = lens _ceContextKeyName (\ s a -> s{_ceContextKeyName = a}); --- | The data type of the value (or values) specified in the 'ContextKeyValues' parameter.+-- | The data type of the value (or values) specified in the @ContextKeyValues@ parameter. ceContextKeyType :: Lens' ContextEntry (Maybe ContextKeyTypeEnum) ceContextKeyType = lens _ceContextKeyType (\ s a -> s{_ceContextKeyType = a}); @@ -332,8 +318,10 @@  -- | Contains the results of a simulation. ----- This data type is used by the return parameter of ' SimulateCustomPolicy ' and ' SimulatePrincipalPolicy '. --+-- This data type is used by the return parameter of @'SimulateCustomPolicy' @ and @'SimulatePrincipalPolicy' @ .+--+-- -- /See:/ 'evaluationResult' smart constructor. data EvaluationResult = EvaluationResult'     { _erMatchedStatements       :: !(Maybe [Statement])@@ -349,19 +337,19 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'erMatchedStatements'+-- * 'erMatchedStatements' - A list of the statements in the input policies that determine the result for this scenario. Remember that even if multiple statements allow the action on the resource, if only one statement denies that action, then the explicit deny overrides any allow, and the deny statement is the only entry included in the result. ----- * 'erEvalDecisionDetails'+-- * 'erEvalDecisionDetails' - Additional details about the results of the evaluation decision. When there are both IAM policies and resource policies, this parameter explains how each set of policies contributes to the final evaluation decision. When simulating cross-account access to a resource, both the resource-based policy and the caller's IAM policy must grant access. See <http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_compare-resource-policies.html How IAM Roles Differ from Resource-based Policies> ----- * 'erResourceSpecificResults'+-- * 'erResourceSpecificResults' - The individual results of the simulation of the API action specified in EvalActionName on each resource. ----- * 'erEvalResourceName'+-- * 'erEvalResourceName' - The ARN of the resource that the indicated API action was tested on. ----- * 'erMissingContextValues'+-- * 'erMissingContextValues' - 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' . ----- * 'erEvalActionName'+-- * 'erEvalActionName' - The name of the API action tested on the indicated resource. ----- * 'erEvalDecision'+-- * 'erEvalDecision' - The result of the simulation. evaluationResult     :: Text -- ^ 'erEvalActionName'     -> PolicyEvaluationDecisionType -- ^ 'erEvalDecision'@@ -381,7 +369,7 @@ erMatchedStatements :: Lens' EvaluationResult [Statement] erMatchedStatements = lens _erMatchedStatements (\ s a -> s{_erMatchedStatements = a}) . _Default . _Coerce; --- | Additional details about the results of the evaluation decision. When there are both IAM policies and resource policies, this parameter explains how each set of policies contributes to the final evaluation decision. When simulating cross-account access to a resource, both the resource-based policy and the caller\'s IAM policy must grant access. See <http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_compare-resource-policies.html How IAM Roles Differ from Resource-based Policies>+-- | Additional details about the results of the evaluation decision. When there are both IAM policies and resource policies, this parameter explains how each set of policies contributes to the final evaluation decision. When simulating cross-account access to a resource, both the resource-based policy and the caller's IAM policy must grant access. See <http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_compare-resource-policies.html How IAM Roles Differ from Resource-based Policies> erEvalDecisionDetails :: Lens' EvaluationResult (HashMap Text PolicyEvaluationDecisionType) erEvalDecisionDetails = lens _erEvalDecisionDetails (\ s a -> s{_erEvalDecisionDetails = a}) . _Default . _Map; @@ -393,7 +381,7 @@ erEvalResourceName :: Lens' EvaluationResult (Maybe Text) 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>.+-- | 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' . erMissingContextValues :: Lens' EvaluationResult [Text] erMissingContextValues = lens _erMissingContextValues (\ s a -> s{_erMissingContextValues = a}) . _Default . _Coerce; @@ -427,8 +415,10 @@  instance NFData EvaluationResult --- | Contains the response to a successful < GetContextKeysForPrincipalPolicy> or < GetContextKeysForCustomPolicy> request.+-- | Contains the response to a successful 'GetContextKeysForPrincipalPolicy' or 'GetContextKeysForCustomPolicy' request. --+--+-- -- /See:/ 'getContextKeysForPolicyResponse' smart constructor. newtype GetContextKeysForPolicyResponse = GetContextKeysForPolicyResponse'     { _gckfpContextKeyNames :: Maybe [Text]@@ -438,7 +428,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gckfpContextKeyNames'+-- * 'gckfpContextKeyNames' - The list of context keys that are referenced in the input policies. getContextKeysForPolicyResponse     :: GetContextKeysForPolicyResponse getContextKeysForPolicyResponse =@@ -463,15 +453,18 @@  -- | Contains information about an IAM group entity. --+-- -- This data type is used as a response element in the following actions: ----- -   < CreateGroup>+--     * 'CreateGroup' ----- -   < GetGroup>+--     * 'GetGroup' ----- -   < ListGroups>+--     * 'ListGroups' -- --+--+-- -- /See:/ 'group'' smart constructor. data Group = Group'     { _gPath       :: !Text@@ -485,15 +478,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gPath'+-- * 'gPath' - 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. ----- * 'gGroupName'+-- * 'gGroupName' - The friendly name that identifies the group. ----- * 'gGroupId'+-- * 'gGroupId' - The stable and unique string identifying the group. For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. ----- * 'gARN'+-- * 'gARN' - The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them in policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. ----- * 'gCreateDate'+-- * 'gCreateDate' - The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the group was created. group'     :: Text -- ^ 'gPath'     -> Text -- ^ 'gGroupName'@@ -526,7 +519,7 @@ gARN :: Lens' Group Text gARN = lens _gARN (\ s a -> s{_gARN = a}); --- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format>, when the group was created.+-- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the group was created. gCreateDate :: Lens' Group UTCTime gCreateDate = lens _gCreateDate (\ s a -> s{_gCreateDate = a}) . _Time; @@ -542,10 +535,12 @@  instance NFData Group --- | Contains information about an IAM group, including all of the group\'s policies.+-- | Contains information about an IAM group, including all of the group's policies. ----- This data type is used as a response element in the < GetAccountAuthorizationDetails> action. --+-- This data type is used as a response element in the 'GetAccountAuthorizationDetails' action.+--+-- -- /See:/ 'groupDetail' smart constructor. data GroupDetail = GroupDetail'     { _gdARN                     :: !(Maybe Text)@@ -561,19 +556,19 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gdARN'+-- * 'gdARN' - Undocumented member. ----- * 'gdPath'+-- * 'gdPath' - 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. ----- * 'gdCreateDate'+-- * 'gdCreateDate' - The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the group was created. ----- * 'gdGroupId'+-- * 'gdGroupId' - The stable and unique string identifying the group. For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. ----- * 'gdGroupPolicyList'+-- * 'gdGroupPolicyList' - A list of the inline policies embedded in the group. ----- * 'gdGroupName'+-- * 'gdGroupName' - The friendly name that identifies the group. ----- * 'gdAttachedManagedPolicies'+-- * 'gdAttachedManagedPolicies' - A list of the managed policies attached to the group. groupDetail     :: GroupDetail groupDetail =@@ -595,7 +590,7 @@ gdPath :: Lens' GroupDetail (Maybe Text) gdPath = lens _gdPath (\ s a -> s{_gdPath = a}); --- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format>, when the group was created.+-- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the group was created. gdCreateDate :: Lens' GroupDetail (Maybe UTCTime) gdCreateDate = lens _gdCreateDate (\ s a -> s{_gdCreateDate = a}) . mapping _Time; @@ -635,17 +630,20 @@  -- | Contains information about an instance profile. --+-- -- This data type is used as a response element in the following actions: ----- -   < CreateInstanceProfile>+--     * 'CreateInstanceProfile' ----- -   < GetInstanceProfile>+--     * 'GetInstanceProfile' ----- -   < ListInstanceProfiles>+--     * 'ListInstanceProfiles' ----- -   < ListInstanceProfilesForRole>+--     * 'ListInstanceProfilesForRole' -- --+--+-- -- /See:/ 'instanceProfile' smart constructor. data InstanceProfile = InstanceProfile'     { _ipPath                :: !Text@@ -660,17 +658,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ipPath'+-- * 'ipPath' - 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. ----- * 'ipInstanceProfileName'+-- * 'ipInstanceProfileName' - The name identifying the instance profile. ----- * 'ipInstanceProfileId'+-- * 'ipInstanceProfileId' - The stable and unique string identifying the instance profile. For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. ----- * 'ipARN'+-- * 'ipARN' - The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. ----- * 'ipCreateDate'+-- * 'ipCreateDate' - The date when the instance profile was created. ----- * 'ipRoles'+-- * 'ipRoles' - The role associated with the instance profile. instanceProfile     :: Text -- ^ 'ipPath'     -> Text -- ^ 'ipInstanceProfileName'@@ -728,8 +726,10 @@  -- | Contains the user name and password create date for a user. ----- This data type is used as a response element in the < CreateLoginProfile> and < GetLoginProfile> actions. --+-- This data type is used as a response element in the 'CreateLoginProfile' and 'GetLoginProfile' actions.+--+-- -- /See:/ 'loginProfile' smart constructor. data LoginProfile = LoginProfile'     { _lpPasswordResetRequired :: !(Maybe Bool)@@ -741,11 +741,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lpPasswordResetRequired'+-- * 'lpPasswordResetRequired' - Specifies whether the user is required to set a new password on next sign-in. ----- * 'lpUserName'+-- * 'lpUserName' - The name of the user, which can be used for signing in to the AWS Management Console. ----- * 'lpCreateDate'+-- * 'lpCreateDate' - The date when the password for the user was created. loginProfile     :: Text -- ^ 'lpUserName'     -> UTCTime -- ^ 'lpCreateDate'@@ -781,8 +781,10 @@  -- | Contains information about an MFA device. ----- This data type is used as a response element in the < ListMFADevices> action. --+-- This data type is used as a response element in the 'ListMFADevices' action.+--+-- -- /See:/ 'mfaDevice' smart constructor. data MFADevice = MFADevice'     { _mdUserName     :: !Text@@ -794,11 +796,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'mdUserName'+-- * 'mdUserName' - The user with whom the MFA device is associated. ----- * 'mdSerialNumber'+-- * 'mdSerialNumber' - The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN. ----- * 'mdEnableDate'+-- * 'mdEnableDate' - The date when the MFA device was enabled for the user. mfaDevice     :: Text -- ^ 'mdUserName'     -> Text -- ^ 'mdSerialNumber'@@ -833,12 +835,14 @@  instance NFData MFADevice --- | Contains information about a managed policy, including the policy\'s ARN, versions, and the number of principal entities (users, groups, and roles) that the policy is attached to.+-- | Contains information about a managed policy, including the policy's ARN, versions, and the number of principal entities (users, groups, and roles) that the policy is attached to. ----- This data type is used as a response element in the < GetAccountAuthorizationDetails> action. --+-- This data type is used as a response element in the 'GetAccountAuthorizationDetails' action.+-- -- 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 /Using IAM/ guide. --+-- -- /See:/ 'managedPolicyDetail' smart constructor. data ManagedPolicyDetail = ManagedPolicyDetail'     { _mpdPolicyName        :: !(Maybe Text)@@ -858,27 +862,27 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'mpdPolicyName'+-- * 'mpdPolicyName' - The friendly name (not ARN) identifying the policy. ----- * 'mpdARN'+-- * 'mpdARN' - Undocumented member. ----- * 'mpdUpdateDate'+-- * 'mpdUpdateDate' - The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the policy was last updated. When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created. ----- * 'mpdPolicyId'+-- * 'mpdPolicyId' - The stable and unique string identifying the policy. For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. ----- * 'mpdPath'+-- * 'mpdPath' - The path to the policy. For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. ----- * 'mpdPolicyVersionList'+-- * 'mpdPolicyVersionList' - A list containing information about the versions of the policy. ----- * 'mpdCreateDate'+-- * 'mpdCreateDate' - The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the policy was created. ----- * 'mpdIsAttachable'+-- * 'mpdIsAttachable' - Specifies whether the policy can be attached to an IAM user, group, or role. ----- * 'mpdDefaultVersionId'+-- * 'mpdDefaultVersionId' - The identifier for the version of the policy that is set as the default (operative) 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 /Using IAM/ guide. ----- * 'mpdAttachmentCount'+-- * 'mpdAttachmentCount' - The number of principal entities (users, groups, and roles) that the policy is attached to. ----- * 'mpdDescription'+-- * 'mpdDescription' - A friendly description of the policy. managedPolicyDetail     :: ManagedPolicyDetail managedPolicyDetail =@@ -904,21 +908,15 @@ mpdARN :: Lens' ManagedPolicyDetail (Maybe Text) mpdARN = lens _mpdARN (\ s a -> s{_mpdARN = a}); --- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format>, when the policy was last updated.------ When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.+-- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the policy was last updated. When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created. mpdUpdateDate :: Lens' ManagedPolicyDetail (Maybe UTCTime) mpdUpdateDate = lens _mpdUpdateDate (\ s a -> s{_mpdUpdateDate = a}) . mapping _Time; --- | The stable and unique string identifying the policy.------ For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide.+-- | The stable and unique string identifying the policy. For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. mpdPolicyId :: Lens' ManagedPolicyDetail (Maybe Text) mpdPolicyId = lens _mpdPolicyId (\ s a -> s{_mpdPolicyId = a}); --- | The path to the policy.------ 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 policy. For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. mpdPath :: Lens' ManagedPolicyDetail (Maybe Text) mpdPath = lens _mpdPath (\ s a -> s{_mpdPath = a}); @@ -926,7 +924,7 @@ mpdPolicyVersionList :: Lens' ManagedPolicyDetail [PolicyVersion] mpdPolicyVersionList = lens _mpdPolicyVersionList (\ s a -> s{_mpdPolicyVersionList = a}) . _Default . _Coerce; --- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format>, when the policy was created.+-- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the policy was created. mpdCreateDate :: Lens' ManagedPolicyDetail (Maybe UTCTime) mpdCreateDate = lens _mpdCreateDate (\ s a -> s{_mpdCreateDate = a}) . mapping _Time; @@ -934,9 +932,7 @@ mpdIsAttachable :: Lens' ManagedPolicyDetail (Maybe Bool) mpdIsAttachable = lens _mpdIsAttachable (\ s a -> s{_mpdIsAttachable = a}); --- | The identifier for the version of the policy that is set as the default (operative) 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 /Using IAM/ guide.+-- | The identifier for the version of the policy that is set as the default (operative) 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 /Using IAM/ guide. mpdDefaultVersionId :: Lens' ManagedPolicyDetail (Maybe Text) mpdDefaultVersionId = lens _mpdDefaultVersionId (\ s a -> s{_mpdDefaultVersionId = a}); @@ -970,6 +966,8 @@  -- | Contains the Amazon Resource Name (ARN) for an IAM OpenID Connect provider. --+--+-- -- /See:/ 'openIdConnectProviderListEntry' smart constructor. newtype OpenIdConnectProviderListEntry = OpenIdConnectProviderListEntry'     { _oicpleARN :: Maybe Text@@ -979,7 +977,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'oicpleARN'+-- * 'oicpleARN' - Undocumented member. openIdConnectProviderListEntry     :: OpenIdConnectProviderListEntry openIdConnectProviderListEntry =@@ -1001,8 +999,10 @@  -- | Contains information about the account password policy. ----- This data type is used as a response element in the < GetAccountPasswordPolicy> action. --+-- This data type is used as a response element in the 'GetAccountPasswordPolicy' action.+--+-- -- /See:/ 'passwordPolicy' smart constructor. data PasswordPolicy = PasswordPolicy'     { _ppExpirePasswords            :: !(Maybe Bool)@@ -1021,25 +1021,25 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ppExpirePasswords'+-- * 'ppExpirePasswords' - Indicates whether passwords in the account expire. Returns true if MaxPasswordAge is contains a value greater than 0. Returns false if MaxPasswordAge is 0 or not present. ----- * 'ppMinimumPasswordLength'+-- * 'ppMinimumPasswordLength' - Minimum length to require for IAM user passwords. ----- * 'ppRequireNumbers'+-- * 'ppRequireNumbers' - Specifies whether to require numbers for IAM user passwords. ----- * 'ppPasswordReusePrevention'+-- * 'ppPasswordReusePrevention' - Specifies the number of previous passwords that IAM users are prevented from reusing. ----- * 'ppRequireLowercaseCharacters'+-- * 'ppRequireLowercaseCharacters' - Specifies whether to require lowercase characters for IAM user passwords. ----- * 'ppMaxPasswordAge'+-- * 'ppMaxPasswordAge' - The number of days that an IAM user password is valid. ----- * 'ppHardExpiry'+-- * 'ppHardExpiry' - Specifies whether IAM users are prevented from setting a new password after their password has expired. ----- * 'ppRequireSymbols'+-- * 'ppRequireSymbols' - Specifies whether to require symbols for IAM user passwords. ----- * 'ppRequireUppercaseCharacters'+-- * 'ppRequireUppercaseCharacters' - Specifies whether to require uppercase characters for IAM user passwords. ----- * 'ppAllowUsersToChangePassword'+-- * 'ppAllowUsersToChangePassword' - Specifies whether IAM users are allowed to change their own password. passwordPolicy     :: PasswordPolicy passwordPolicy =@@ -1116,10 +1116,12 @@  -- | Contains information about a managed policy. ----- This data type is used as a response element in the < CreatePolicy>, < GetPolicy>, and < ListPolicies> actions. --+-- This data type is used as a response element in the 'CreatePolicy' , 'GetPolicy' , and 'ListPolicies' actions.+-- -- 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 /Using IAM/ guide. --+-- -- /See:/ 'policy' smart constructor. data Policy = Policy'     { _pPolicyName       :: !(Maybe Text)@@ -1138,25 +1140,25 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'pPolicyName'+-- * 'pPolicyName' - The friendly name (not ARN) identifying the policy. ----- * 'pARN'+-- * 'pARN' - Undocumented member. ----- * 'pUpdateDate'+-- * 'pUpdateDate' - The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the policy was last updated. When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created. ----- * 'pPolicyId'+-- * 'pPolicyId' - The stable and unique string identifying the policy. For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. ----- * 'pPath'+-- * 'pPath' - The path to the policy. For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. ----- * 'pCreateDate'+-- * 'pCreateDate' - The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the policy was created. ----- * 'pIsAttachable'+-- * 'pIsAttachable' - Specifies whether the policy can be attached to an IAM user, group, or role. ----- * 'pDefaultVersionId'+-- * 'pDefaultVersionId' - The identifier for the version of the policy that is set as the default version. ----- * 'pAttachmentCount'+-- * 'pAttachmentCount' - The number of entities (users, groups, and roles) that the policy is attached to. ----- * 'pDescription'+-- * 'pDescription' - A friendly description of the policy. This element is included in the response to the 'GetPolicy' operation. It is not included in the response to the 'ListPolicies' operation. policy     :: Policy policy =@@ -1181,25 +1183,19 @@ pARN :: Lens' Policy (Maybe Text) pARN = lens _pARN (\ s a -> s{_pARN = a}); --- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format>, when the policy was last updated.------ When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.+-- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the policy was last updated. When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created. pUpdateDate :: Lens' Policy (Maybe UTCTime) pUpdateDate = lens _pUpdateDate (\ s a -> s{_pUpdateDate = a}) . mapping _Time; --- | The stable and unique string identifying the policy.------ For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide.+-- | The stable and unique string identifying the policy. For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. pPolicyId :: Lens' Policy (Maybe Text) pPolicyId = lens _pPolicyId (\ s a -> s{_pPolicyId = a}); --- | The path to the policy.------ 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 policy. For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. pPath :: Lens' Policy (Maybe Text) pPath = lens _pPath (\ s a -> s{_pPath = a}); --- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format>, when the policy was created.+-- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the policy was created. pCreateDate :: Lens' Policy (Maybe UTCTime) pCreateDate = lens _pCreateDate (\ s a -> s{_pCreateDate = a}) . mapping _Time; @@ -1215,9 +1211,7 @@ pAttachmentCount :: Lens' Policy (Maybe Int) pAttachmentCount = lens _pAttachmentCount (\ s a -> s{_pAttachmentCount = a}); --- | A friendly description of the policy.------ This element is included in the response to the < GetPolicy> operation. It is not included in the response to the < ListPolicies> operation.+-- | A friendly description of the policy. This element is included in the response to the 'GetPolicy' operation. It is not included in the response to the 'ListPolicies' operation. pDescription :: Lens' Policy (Maybe Text) pDescription = lens _pDescription (\ s a -> s{_pDescription = a}); @@ -1240,8 +1234,10 @@  -- | Contains information about an IAM policy, including the policy document. ----- This data type is used as a response element in the < GetAccountAuthorizationDetails> action. --+-- This data type is used as a response element in the 'GetAccountAuthorizationDetails' action.+--+-- -- /See:/ 'policyDetail' smart constructor. data PolicyDetail = PolicyDetail'     { _pdPolicyDocument :: !(Maybe Text)@@ -1252,9 +1248,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'pdPolicyDocument'+-- * 'pdPolicyDocument' - The policy document. ----- * 'pdPolicyName'+-- * 'pdPolicyName' - The name of the policy. policyDetail     :: PolicyDetail policyDetail =@@ -1282,10 +1278,12 @@  -- | Contains information about a group that a managed policy is attached to. ----- This data type is used as a response element in the < ListEntitiesForPolicy> action. --+-- This data type is used as a response element in the 'ListEntitiesForPolicy' action.+-- -- 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 /Using IAM/ guide. --+-- -- /See:/ 'policyGroup' smart constructor. data PolicyGroup = PolicyGroup'     { _pgGroupId   :: !(Maybe Text)@@ -1296,9 +1294,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'pgGroupId'+-- * 'pgGroupId' - The stable and unique string identifying the group. For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html IAM Identifiers> in the /IAM User Guide/ . ----- * 'pgGroupName'+-- * 'pgGroupName' - The name (friendly name, not ARN) identifying the group. policyGroup     :: PolicyGroup policyGroup =@@ -1307,7 +1305,7 @@     , _pgGroupName = Nothing     } --- | The stable and unique string identifying the group. For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html IAM Identifiers> in the /IAM User Guide/.+-- | The stable and unique string identifying the group. For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html IAM Identifiers> in the /IAM User Guide/ . pgGroupId :: Lens' PolicyGroup (Maybe Text) pgGroupId = lens _pgGroupId (\ s a -> s{_pgGroupId = a}); @@ -1326,10 +1324,12 @@  -- | Contains information about a role that a managed policy is attached to. ----- This data type is used as a response element in the < ListEntitiesForPolicy> action. --+-- This data type is used as a response element in the 'ListEntitiesForPolicy' action.+-- -- 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 /Using IAM/ guide. --+-- -- /See:/ 'policyRole' smart constructor. data PolicyRole = PolicyRole'     { _prRoleName :: !(Maybe Text)@@ -1340,9 +1340,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'prRoleName'+-- * 'prRoleName' - The name (friendly name, not ARN) identifying the role. ----- * 'prRoleId'+-- * 'prRoleId' - The stable and unique string identifying the role. For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html IAM Identifiers> in the /IAM User Guide/ . policyRole     :: PolicyRole policyRole =@@ -1355,7 +1355,7 @@ prRoleName :: Lens' PolicyRole (Maybe Text) prRoleName = lens _prRoleName (\ s a -> s{_prRoleName = a}); --- | The stable and unique string identifying the role. For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html IAM Identifiers> in the /IAM User Guide/.+-- | The stable and unique string identifying the role. For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html IAM Identifiers> in the /IAM User Guide/ . prRoleId :: Lens' PolicyRole (Maybe Text) prRoleId = lens _prRoleId (\ s a -> s{_prRoleId = a}); @@ -1370,10 +1370,12 @@  -- | Contains information about a user that a managed policy is attached to. ----- This data type is used as a response element in the < ListEntitiesForPolicy> action. --+-- This data type is used as a response element in the 'ListEntitiesForPolicy' action.+-- -- 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 /Using IAM/ guide. --+-- -- /See:/ 'policyUser' smart constructor. data PolicyUser = PolicyUser'     { _puUserName :: !(Maybe Text)@@ -1384,9 +1386,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'puUserName'+-- * 'puUserName' - The name (friendly name, not ARN) identifying the user. ----- * 'puUserId'+-- * 'puUserId' - The stable and unique string identifying the user. For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html IAM Identifiers> in the /IAM User Guide/ . policyUser     :: PolicyUser policyUser =@@ -1399,7 +1401,7 @@ puUserName :: Lens' PolicyUser (Maybe Text) puUserName = lens _puUserName (\ s a -> s{_puUserName = a}); --- | The stable and unique string identifying the user. For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html IAM Identifiers> in the /IAM User Guide/.+-- | The stable and unique string identifying the user. For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html IAM Identifiers> in the /IAM User Guide/ . puUserId :: Lens' PolicyUser (Maybe Text) puUserId = lens _puUserId (\ s a -> s{_puUserId = a}); @@ -1414,10 +1416,12 @@  -- | Contains information about a version of a managed policy. ----- This data type is used as a response element in the < CreatePolicyVersion>, < GetPolicyVersion>, < ListPolicyVersions>, and < GetAccountAuthorizationDetails> actions. --+-- This data type is used as a response element in the 'CreatePolicyVersion' , 'GetPolicyVersion' , 'ListPolicyVersions' , and 'GetAccountAuthorizationDetails' actions.+-- -- 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 /Using IAM/ guide. --+-- -- /See:/ 'policyVersion' smart constructor. data PolicyVersion = PolicyVersion'     { _pvVersionId        :: !(Maybe Text)@@ -1430,13 +1434,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'pvVersionId'+-- * 'pvVersionId' - The identifier for the policy version. Policy version identifiers always begin with @v@ (always lowercase). When a policy is created, the first policy version is @v1@ . ----- * 'pvCreateDate'+-- * 'pvCreateDate' - The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the policy version was created. ----- * 'pvDocument'+-- * 'pvDocument' - The policy document. The policy document is returned in the response to the 'GetPolicyVersion' and 'GetAccountAuthorizationDetails' operations. It is not returned in the response to the 'CreatePolicyVersion' or 'ListPolicyVersions' operations. ----- * 'pvIsDefaultVersion'+-- * 'pvIsDefaultVersion' - Specifies whether the policy version is set as the policy's default version. policyVersion     :: PolicyVersion policyVersion =@@ -1447,23 +1451,19 @@     , _pvIsDefaultVersion = Nothing     } --- | The identifier for the policy version.------ Policy version identifiers always begin with 'v' (always lowercase). When a policy is created, the first policy version is 'v1'.+-- | The identifier for the policy version. Policy version identifiers always begin with @v@ (always lowercase). When a policy is created, the first policy version is @v1@ . pvVersionId :: Lens' PolicyVersion (Maybe Text) pvVersionId = lens _pvVersionId (\ s a -> s{_pvVersionId = a}); --- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format>, when the policy version was created.+-- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the policy version was created. pvCreateDate :: Lens' PolicyVersion (Maybe UTCTime) pvCreateDate = lens _pvCreateDate (\ s a -> s{_pvCreateDate = a}) . mapping _Time; --- | The policy document.------ The policy document is returned in the response to the < GetPolicyVersion> and < GetAccountAuthorizationDetails> operations. It is not returned in the response to the < CreatePolicyVersion> or < ListPolicyVersions> operations.+-- | The policy document. The policy document is returned in the response to the 'GetPolicyVersion' and 'GetAccountAuthorizationDetails' operations. It is not returned in the response to the 'CreatePolicyVersion' or 'ListPolicyVersions' operations. pvDocument :: Lens' PolicyVersion (Maybe Text) pvDocument = lens _pvDocument (\ s a -> s{_pvDocument = a}); --- | Specifies whether the policy version is set as the policy\'s default version.+-- | Specifies whether the policy version is set as the policy's default version. pvIsDefaultVersion :: Lens' PolicyVersion (Maybe Bool) pvIsDefaultVersion = lens _pvIsDefaultVersion (\ s a -> s{_pvIsDefaultVersion = a}); @@ -1478,10 +1478,12 @@  instance NFData PolicyVersion --- | Contains the row and column of a location of a 'Statement' element in a policy document.+-- | 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'     { _pLine   :: !(Maybe Int)@@ -1492,9 +1494,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'pLine'+-- * 'pLine' - The line containing the specified position in the document. ----- * 'pColumn'+-- * 'pColumn' - The column in the line containing the specified position in the document. position     :: Position position =@@ -1521,8 +1523,10 @@  -- | Contains the result of the simulation of a single API action call on a single resource. ----- This data type is used by a member of the < EvaluationResult> data type. --+-- This data type is used by a member of the 'EvaluationResult' data type.+--+-- -- /See:/ 'resourceSpecificResult' smart constructor. data ResourceSpecificResult = ResourceSpecificResult'     { _rsrMatchedStatements    :: !(Maybe [Statement])@@ -1536,15 +1540,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rsrMatchedStatements'+-- * 'rsrMatchedStatements' - A list of the statements in the input policies that determine the result for this part of the simulation. Remember that even if multiple statements allow the action on the resource, if /any/ statement denies that action, then the explicit deny overrides any allow, and the deny statement is the only entry included in the result. ----- * 'rsrEvalDecisionDetails'+-- * 'rsrEvalDecisionDetails' - Additional details about the results of the evaluation decision. When there are both IAM policies and resource policies, this parameter explains how each set of policies contributes to the final evaluation decision. When simulating cross-account access to a resource, both the resource-based policy and the caller's IAM policy must grant access. ----- * 'rsrMissingContextValues'+-- * 'rsrMissingContextValues' - 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 a list of ARNs is included in the @ResourceArns@ parameter instead of "*". If you do not specify individual resources, by setting @ResourceArns@ to "*" or by not including the @ResourceArns@ parameter, then any missing context values are instead included under the @EvaluationResults@ section. To discover the context keys used by a set of policies, you can call 'GetContextKeysForCustomPolicy' or 'GetContextKeysForPrincipalPolicy' . ----- * 'rsrEvalResourceName'+-- * 'rsrEvalResourceName' - The name of the simulated resource, in Amazon Resource Name (ARN) format. ----- * 'rsrEvalResourceDecision'+-- * 'rsrEvalResourceDecision' - The result of the simulation of the simulated API action on the resource specified in @EvalResourceName@ . resourceSpecificResult     :: Text -- ^ 'rsrEvalResourceName'     -> PolicyEvaluationDecisionType -- ^ 'rsrEvalResourceDecision'@@ -1562,11 +1566,11 @@ rsrMatchedStatements :: Lens' ResourceSpecificResult [Statement] rsrMatchedStatements = lens _rsrMatchedStatements (\ s a -> s{_rsrMatchedStatements = a}) . _Default . _Coerce; --- | Additional details about the results of the evaluation decision. When there are both IAM policies and resource policies, this parameter explains how each set of policies contributes to the final evaluation decision. When simulating cross-account access to a resource, both the resource-based policy and the caller\'s IAM policy must grant access.+-- | Additional details about the results of the evaluation decision. When there are both IAM policies and resource policies, this parameter explains how each set of policies contributes to the final evaluation decision. When simulating cross-account access to a resource, both the resource-based policy and the caller's IAM policy must grant access. rsrEvalDecisionDetails :: Lens' ResourceSpecificResult (HashMap Text PolicyEvaluationDecisionType) rsrEvalDecisionDetails = lens _rsrEvalDecisionDetails (\ s a -> s{_rsrEvalDecisionDetails = a}) . _Default . _Map; --- | 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 a list of ARNs is included in the 'ResourceArns' parameter instead of \"*\". If you do not specify individual resources, by setting 'ResourceArns' to \"*\" or by not including the 'ResourceArns' parameter, then any missing context values are instead included under the 'EvaluationResults' section. To discover the context keys used by a set of policies, you can call < GetContextKeysForCustomPolicy> or < GetContextKeysForPrincipalPolicy>.+-- | 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 a list of ARNs is included in the @ResourceArns@ parameter instead of "*". If you do not specify individual resources, by setting @ResourceArns@ to "*" or by not including the @ResourceArns@ parameter, then any missing context values are instead included under the @EvaluationResults@ section. To discover the context keys used by a set of policies, you can call 'GetContextKeysForCustomPolicy' or 'GetContextKeysForPrincipalPolicy' . rsrMissingContextValues :: Lens' ResourceSpecificResult [Text] rsrMissingContextValues = lens _rsrMissingContextValues (\ s a -> s{_rsrMissingContextValues = a}) . _Default . _Coerce; @@ -1574,7 +1578,7 @@ rsrEvalResourceName :: Lens' ResourceSpecificResult Text rsrEvalResourceName = lens _rsrEvalResourceName (\ s a -> s{_rsrEvalResourceName = a}); --- | The result of the simulation of the simulated API action on the resource specified in 'EvalResourceName'.+-- | The result of the simulation of the simulated API action on the resource specified in @EvalResourceName@ . rsrEvalResourceDecision :: Lens' ResourceSpecificResult PolicyEvaluationDecisionType rsrEvalResourceDecision = lens _rsrEvalResourceDecision (\ s a -> s{_rsrEvalResourceDecision = a}); @@ -1598,15 +1602,18 @@  -- | Contains information about an IAM role. --+-- -- This data type is used as a response element in the following actions: ----- -   < CreateRole>+--     * 'CreateRole' ----- -   < GetRole>+--     * 'GetRole' ----- -   < ListRoles>+--     * 'ListRoles' -- --+--+-- -- /See:/ 'role'' smart constructor. data Role = Role'     { _rAssumeRolePolicyDocument :: !(Maybe Text)@@ -1621,17 +1628,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rAssumeRolePolicyDocument'+-- * 'rAssumeRolePolicyDocument' - The policy that grants an entity permission to assume the role. ----- * 'rPath'+-- * 'rPath' - 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. ----- * 'rRoleName'+-- * 'rRoleName' - The friendly name that identifies the role. ----- * 'rRoleId'+-- * 'rRoleId' - The stable and unique string identifying the role. For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. ----- * 'rARN'+-- * 'rARN' - The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. ----- * 'rCreateDate'+-- * 'rCreateDate' - The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the role was created. role'     :: Text -- ^ 'rPath'     -> Text -- ^ 'rRoleName'@@ -1669,7 +1676,7 @@ rARN :: Lens' Role Text rARN = lens _rARN (\ s a -> s{_rARN = a}); --- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format>, when the role was created.+-- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the role was created. rCreateDate :: Lens' Role UTCTime rCreateDate = lens _rCreateDate (\ s a -> s{_rCreateDate = a}) . _Time; @@ -1686,10 +1693,12 @@  instance NFData Role --- | Contains information about an IAM role, including all of the role\'s policies.+-- | Contains information about an IAM role, including all of the role's policies. ----- This data type is used as a response element in the < GetAccountAuthorizationDetails> action. --+-- This data type is used as a response element in the 'GetAccountAuthorizationDetails' action.+--+-- -- /See:/ 'roleDetail' smart constructor. data RoleDetail = RoleDetail'     { _rdAssumeRolePolicyDocument :: !(Maybe Text)@@ -1707,23 +1716,23 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rdAssumeRolePolicyDocument'+-- * 'rdAssumeRolePolicyDocument' - The trust policy that grants permission to assume the role. ----- * 'rdARN'+-- * 'rdARN' - Undocumented member. ----- * 'rdPath'+-- * 'rdPath' - 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. ----- * 'rdInstanceProfileList'+-- * 'rdInstanceProfileList' - Undocumented member. ----- * 'rdCreateDate'+-- * 'rdCreateDate' - The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the role was created. ----- * 'rdRoleName'+-- * 'rdRoleName' - The friendly name that identifies the role. ----- * 'rdRoleId'+-- * 'rdRoleId' - The stable and unique string identifying the role. For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. ----- * 'rdRolePolicyList'+-- * 'rdRolePolicyList' - A list of inline policies embedded in the role. These policies are the role's access (permissions) policies. ----- * 'rdAttachedManagedPolicies'+-- * 'rdAttachedManagedPolicies' - A list of managed policies attached to the role. These policies are the role's access (permissions) policies. roleDetail     :: RoleDetail roleDetail =@@ -1755,7 +1764,7 @@ rdInstanceProfileList :: Lens' RoleDetail [InstanceProfile] rdInstanceProfileList = lens _rdInstanceProfileList (\ s a -> s{_rdInstanceProfileList = a}) . _Default . _Coerce; --- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format>, when the role was created.+-- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the role was created. rdCreateDate :: Lens' RoleDetail (Maybe UTCTime) rdCreateDate = lens _rdCreateDate (\ s a -> s{_rdCreateDate = a}) . mapping _Time; @@ -1767,11 +1776,11 @@ rdRoleId :: Lens' RoleDetail (Maybe Text) rdRoleId = lens _rdRoleId (\ s a -> s{_rdRoleId = a}); --- | A list of inline policies embedded in the role. These policies are the role\'s access (permissions) policies.+-- | A list of inline policies embedded in the role. These policies are the role's access (permissions) policies. rdRolePolicyList :: Lens' RoleDetail [PolicyDetail] rdRolePolicyList = lens _rdRolePolicyList (\ s a -> s{_rdRolePolicyList = a}) . _Default . _Coerce; --- | A list of managed policies attached to the role. These policies are the role\'s access (permissions) policies.+-- | A list of managed policies attached to the role. These policies are the role's access (permissions) policies. rdAttachedManagedPolicies :: Lens' RoleDetail [AttachedPolicy] rdAttachedManagedPolicies = lens _rdAttachedManagedPolicies (\ s a -> s{_rdAttachedManagedPolicies = a}) . _Default . _Coerce; @@ -1799,6 +1808,8 @@  -- | Contains the list of SAML providers for this account. --+--+-- -- /See:/ 'sAMLProviderListEntry' smart constructor. data SAMLProviderListEntry = SAMLProviderListEntry'     { _samlpleARN        :: !(Maybe Text)@@ -1810,11 +1821,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'samlpleARN'+-- * 'samlpleARN' - The Amazon Resource Name (ARN) of the SAML provider. ----- * 'samlpleCreateDate'+-- * 'samlpleCreateDate' - The date and time when the SAML provider was created. ----- * 'samlpleValidUntil'+-- * 'samlpleValidUntil' - The expiration date and time for the SAML provider. sAMLProviderListEntry     :: SAMLProviderListEntry sAMLProviderListEntry =@@ -1848,8 +1859,10 @@  -- | Contains information about an SSH public key. ----- This data type is used as a response element in the < GetSSHPublicKey> and < UploadSSHPublicKey> actions. --+-- This data type is used as a response element in the 'GetSSHPublicKey' and 'UploadSSHPublicKey' actions.+--+-- -- /See:/ 'sshPublicKey' smart constructor. data SSHPublicKey = SSHPublicKey'     { _spkUploadDate       :: !(Maybe ISO8601)@@ -1864,17 +1877,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'spkUploadDate'+-- * 'spkUploadDate' - The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the SSH public key was uploaded. ----- * 'spkUserName'+-- * 'spkUserName' - The name of the IAM user associated with the SSH public key. ----- * 'spkSSHPublicKeyId'+-- * 'spkSSHPublicKeyId' - The unique identifier for the SSH public key. ----- * 'spkFingerprint'+-- * 'spkFingerprint' - The MD5 message digest of the SSH public key. ----- * 'spkSSHPublicKeyBody'+-- * 'spkSSHPublicKeyBody' - The SSH public key. ----- * 'spkStatus'+-- * 'spkStatus' - The status of the SSH public key. @Active@ means the key can be used for authentication with an AWS CodeCommit repository. @Inactive@ means the key cannot be used. sshPublicKey     :: Text -- ^ 'spkUserName'     -> Text -- ^ 'spkSSHPublicKeyId'@@ -1892,7 +1905,7 @@     , _spkStatus = pStatus_     } --- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format>, when the SSH public key was uploaded.+-- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the SSH public key was uploaded. spkUploadDate :: Lens' SSHPublicKey (Maybe UTCTime) spkUploadDate = lens _spkUploadDate (\ s a -> s{_spkUploadDate = a}) . mapping _Time; @@ -1912,7 +1925,7 @@ spkSSHPublicKeyBody :: Lens' SSHPublicKey Text spkSSHPublicKeyBody = lens _spkSSHPublicKeyBody (\ s a -> s{_spkSSHPublicKeyBody = a}); --- | The status of the SSH public key. 'Active' means the key can be used for authentication with an AWS CodeCommit repository. 'Inactive' means the key cannot be used.+-- | The status of the SSH public key. @Active@ means the key can be used for authentication with an AWS CodeCommit repository. @Inactive@ means the key cannot be used. spkStatus :: Lens' SSHPublicKey StatusType spkStatus = lens _spkStatus (\ s a -> s{_spkStatus = a}); @@ -1929,10 +1942,12 @@  instance NFData SSHPublicKey --- | Contains information about an SSH public key, without the key\'s body or fingerprint.+-- | Contains information about an SSH public key, without the key's body or fingerprint. ----- This data type is used as a response element in the < ListSSHPublicKeys> action. --+-- This data type is used as a response element in the 'ListSSHPublicKeys' action.+--+-- -- /See:/ 'sshPublicKeyMetadata' smart constructor. data SSHPublicKeyMetadata = SSHPublicKeyMetadata'     { _spkmUserName       :: !Text@@ -1945,13 +1960,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'spkmUserName'+-- * 'spkmUserName' - The name of the IAM user associated with the SSH public key. ----- * 'spkmSSHPublicKeyId'+-- * 'spkmSSHPublicKeyId' - The unique identifier for the SSH public key. ----- * 'spkmStatus'+-- * 'spkmStatus' - The status of the SSH public key. @Active@ means the key can be used for authentication with an AWS CodeCommit repository. @Inactive@ means the key cannot be used. ----- * 'spkmUploadDate'+-- * 'spkmUploadDate' - The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the SSH public key was uploaded. sshPublicKeyMetadata     :: Text -- ^ 'spkmUserName'     -> Text -- ^ 'spkmSSHPublicKeyId'@@ -1974,11 +1989,11 @@ spkmSSHPublicKeyId :: Lens' SSHPublicKeyMetadata Text spkmSSHPublicKeyId = lens _spkmSSHPublicKeyId (\ s a -> s{_spkmSSHPublicKeyId = a}); --- | The status of the SSH public key. 'Active' means the key can be used for authentication with an AWS CodeCommit repository. 'Inactive' means the key cannot be used.+-- | The status of the SSH public key. @Active@ means the key can be used for authentication with an AWS CodeCommit repository. @Inactive@ means the key cannot be used. spkmStatus :: Lens' SSHPublicKeyMetadata StatusType spkmStatus = lens _spkmStatus (\ s a -> s{_spkmStatus = a}); --- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format>, when the SSH public key was uploaded.+-- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the SSH public key was uploaded. spkmUploadDate :: Lens' SSHPublicKeyMetadata UTCTime spkmUploadDate = lens _spkmUploadDate (\ s a -> s{_spkmUploadDate = a}) . _Time; @@ -1995,8 +2010,10 @@  -- | Contains information about a server certificate. ----- This data type is used as a response element in the < GetServerCertificate> action. --+-- This data type is used as a response element in the 'GetServerCertificate' action.+--+-- -- /See:/ 'serverCertificate' smart constructor. data ServerCertificate = ServerCertificate'     { _sCertificateChain          :: !(Maybe Text)@@ -2008,11 +2025,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'sCertificateChain'+-- * 'sCertificateChain' - The contents of the public key certificate chain. ----- * 'sServerCertificateMetadata'+-- * 'sServerCertificateMetadata' - The meta information of the server certificate, such as its name, path, ID, and ARN. ----- * 'sCertificateBody'+-- * 'sCertificateBody' - The contents of the public key certificate. serverCertificate     :: ServerCertificateMetadata -- ^ 'sServerCertificateMetadata'     -> Text -- ^ 'sCertificateBody'@@ -2049,8 +2066,10 @@  -- | Contains information about a server certificate without its certificate body, certificate chain, and private key. ----- This data type is used as a response element in the < UploadServerCertificate> and < ListServerCertificates> actions. --+-- This data type is used as a response element in the 'UploadServerCertificate' and 'ListServerCertificates' actions.+--+-- -- /See:/ 'serverCertificateMetadata' smart constructor. data ServerCertificateMetadata = ServerCertificateMetadata'     { _scmUploadDate            :: !(Maybe ISO8601)@@ -2065,17 +2084,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'scmUploadDate'+-- * 'scmUploadDate' - The date when the server certificate was uploaded. ----- * 'scmExpiration'+-- * 'scmExpiration' - The date on which the certificate is set to expire. ----- * 'scmPath'+-- * 'scmPath' - The path to the server certificate. For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. ----- * 'scmServerCertificateName'+-- * 'scmServerCertificateName' - The name that identifies the server certificate. ----- * 'scmServerCertificateId'+-- * 'scmServerCertificateId' - The stable and unique string identifying the server certificate. For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. ----- * 'scmARN'+-- * 'scmARN' - The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. serverCertificateMetadata     :: Text -- ^ 'scmPath'     -> Text -- ^ 'scmServerCertificateName'@@ -2131,8 +2150,10 @@  -- | Contains information about an X.509 signing certificate. ----- This data type is used as a response element in the < UploadSigningCertificate> and < ListSigningCertificates> actions. --+-- This data type is used as a response element in the 'UploadSigningCertificate' and 'ListSigningCertificates' actions.+--+-- -- /See:/ 'signingCertificate' smart constructor. data SigningCertificate = SigningCertificate'     { _scUploadDate      :: !(Maybe ISO8601)@@ -2146,15 +2167,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'scUploadDate'+-- * 'scUploadDate' - The date when the signing certificate was uploaded. ----- * 'scUserName'+-- * 'scUserName' - The name of the user the signing certificate is associated with. ----- * 'scCertificateId'+-- * 'scCertificateId' - The ID for the signing certificate. ----- * 'scCertificateBody'+-- * 'scCertificateBody' - The contents of the signing certificate. ----- * 'scStatus'+-- * 'scStatus' - The status of the signing certificate. @Active@ means the key is valid for API calls, while @Inactive@ means it is not. signingCertificate     :: Text -- ^ 'scUserName'     -> Text -- ^ 'scCertificateId'@@ -2186,7 +2207,7 @@ scCertificateBody :: Lens' SigningCertificate Text scCertificateBody = lens _scCertificateBody (\ s a -> s{_scCertificateBody = a}); --- | The status of the signing certificate. 'Active' means the key is valid for API calls, while 'Inactive' means it is not.+-- | The status of the signing certificate. @Active@ means the key is valid for API calls, while @Inactive@ means it is not. scStatus :: Lens' SigningCertificate StatusType scStatus = lens _scStatus (\ s a -> s{_scStatus = a}); @@ -2202,8 +2223,10 @@  instance NFData SigningCertificate --- | Contains the response to a successful < SimulatePrincipalPolicy> or < SimulateCustomPolicy> request.+-- | Contains the response to a successful 'SimulatePrincipalPolicy' or 'SimulateCustomPolicy' request. --+--+-- -- /See:/ 'simulatePolicyResponse' smart constructor. data SimulatePolicyResponse = SimulatePolicyResponse'     { _spEvaluationResults :: !(Maybe [EvaluationResult])@@ -2215,11 +2238,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'spEvaluationResults'+-- * 'spEvaluationResults' - The results of the simulation. ----- * 'spMarker'+-- * 'spMarker' - When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. ----- * 'spIsTruncated'+-- * 'spIsTruncated' - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. simulatePolicyResponse     :: SimulatePolicyResponse simulatePolicyResponse =@@ -2233,11 +2256,11 @@ spEvaluationResults :: Lens' SimulatePolicyResponse [EvaluationResult] spEvaluationResults = lens _spEvaluationResults (\ s a -> s{_spEvaluationResults = a}) . _Default . _Coerce; --- | When 'IsTruncated' is 'true', this element is present and contains the value to use for the 'Marker' parameter in a subsequent pagination request.+-- | When @IsTruncated@ is @true@ , this element is present and contains the value to use for the @Marker@ parameter in a subsequent pagination request. spMarker :: Lens' SimulatePolicyResponse (Maybe Text) spMarker = lens _spMarker (\ s a -> s{_spMarker = a}); --- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the 'Marker' request parameter to retrieve more items. Note that IAM might return fewer than the 'MaxItems' number of results even when there are more results available. We recommend that you check 'IsTruncated' after every call to ensure that you receive all of your results.+-- | A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the @Marker@ request parameter to retrieve more items. Note that IAM might return fewer than the @MaxItems@ number of results even when there are more results available. We recommend that you check @IsTruncated@ after every call to ensure that you receive all of your results. spIsTruncated :: Lens' SimulatePolicyResponse (Maybe Bool) spIsTruncated = lens _spIsTruncated (\ s a -> s{_spIsTruncated = a}); @@ -2253,10 +2276,12 @@  instance NFData SimulatePolicyResponse --- | Contains a reference to a 'Statement' element in a policy document that determines the result of the simulation.+-- | 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'     { _sSourcePolicyType :: !(Maybe PolicySourceType)@@ -2269,13 +2294,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'sSourcePolicyType'+-- * 'sSourcePolicyType' - The type of the policy. ----- * 'sSourcePolicyId'+-- * 'sSourcePolicyId' - The identifier of the policy that was provided as an input. ----- * 'sEndPosition'+-- * 'sEndPosition' - The row and column of the end of a @Statement@ in an IAM policy. ----- * 'sStartPosition'+-- * 'sStartPosition' - The row and column of the beginning of the @Statement@ in an IAM policy. statement     :: Statement statement =@@ -2294,11 +2319,11 @@ sSourcePolicyId :: Lens' Statement (Maybe Text) sSourcePolicyId = lens _sSourcePolicyId (\ s a -> s{_sSourcePolicyId = a}); --- | The row and column of the end of a 'Statement' in an IAM policy.+-- | The row and column of the end of a @Statement@ in an IAM policy. sEndPosition :: Lens' Statement (Maybe Position) sEndPosition = lens _sEndPosition (\ s a -> s{_sEndPosition = a}); --- | The row and column of the beginning of the 'Statement' in an IAM policy.+-- | The row and column of the beginning of the @Statement@ in an IAM policy. sStartPosition :: Lens' Statement (Maybe Position) sStartPosition = lens _sStartPosition (\ s a -> s{_sStartPosition = a}); @@ -2316,15 +2341,18 @@  -- | Contains information about an IAM user entity. --+-- -- This data type is used as a response element in the following actions: ----- -   < CreateUser>+--     * 'CreateUser' ----- -   < GetUser>+--     * 'GetUser' ----- -   < ListUsers>+--     * 'ListUsers' -- --+--+-- -- /See:/ 'user' smart constructor. data User = User'     { _uPasswordLastUsed :: !(Maybe ISO8601)@@ -2339,17 +2367,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uPasswordLastUsed'+-- * 'uPasswordLastUsed' - The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the user's password was last used to sign in to an AWS website. For a list of AWS websites that capture a user's last sign-in time, see the <http://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html Credential Reports> topic in the /Using IAM/ guide. If a password is used more than once in a five-minute span, only the first use is returned in this field. This field is null (not present) when:     * The user does not have a password     * The password exists but has never been used (at least not since IAM started tracking this information on October 20th, 2014     * there is no sign-in data associated with the user This value is returned only in the 'GetUser' and 'ListUsers' actions. ----- * 'uPath'+-- * 'uPath' - The path to the user. For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. ----- * 'uUserName'+-- * 'uUserName' - The friendly name identifying the user. ----- * 'uUserId'+-- * 'uUserId' - The stable and unique string identifying the user. For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. ----- * 'uARN'+-- * 'uARN' - The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use ARNs in policies, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. ----- * 'uCreateDate'+-- * 'uCreateDate' - The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the user was created. user     :: Text -- ^ 'uPath'     -> Text -- ^ 'uUserName'@@ -2367,15 +2395,7 @@     , _uCreateDate = _Time # pCreateDate_     } --- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format>, when the user\'s password was last used to sign in to an AWS website. For a list of AWS websites that capture a user\'s last sign-in time, see the <http://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html Credential Reports> topic in the /Using IAM/ guide. If a password is used more than once in a five-minute span, only the first use is returned in this field. This field is null (not present) when:------ -   The user does not have a password------ -   The password exists but has never been used (at least not since IAM started tracking this information on October 20th, 2014------ -   there is no sign-in data associated with the user------ This value is returned only in the < GetUser> and < ListUsers> actions.+-- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the user's password was last used to sign in to an AWS website. For a list of AWS websites that capture a user's last sign-in time, see the <http://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html Credential Reports> topic in the /Using IAM/ guide. If a password is used more than once in a five-minute span, only the first use is returned in this field. This field is null (not present) when:     * The user does not have a password     * The password exists but has never been used (at least not since IAM started tracking this information on October 20th, 2014     * there is no sign-in data associated with the user This value is returned only in the 'GetUser' and 'ListUsers' actions. uPasswordLastUsed :: Lens' User (Maybe UTCTime) uPasswordLastUsed = lens _uPasswordLastUsed (\ s a -> s{_uPasswordLastUsed = a}) . mapping _Time; @@ -2395,7 +2415,7 @@ uARN :: Lens' User Text uARN = lens _uARN (\ s a -> s{_uARN = a}); --- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format>, when the user was created.+-- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the user was created. uCreateDate :: Lens' User UTCTime uCreateDate = lens _uCreateDate (\ s a -> s{_uCreateDate = a}) . _Time; @@ -2412,10 +2432,12 @@  instance NFData User --- | Contains information about an IAM user, including all the user\'s policies and all the IAM groups the user is in.+-- | Contains information about an IAM user, including all the user's policies and all the IAM groups the user is in. ----- This data type is used as a response element in the < GetAccountAuthorizationDetails> action. --+-- This data type is used as a response element in the 'GetAccountAuthorizationDetails' action.+--+-- -- /See:/ 'userDetail' smart constructor. data UserDetail = UserDetail'     { _udGroupList               :: !(Maybe [Text])@@ -2432,21 +2454,21 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'udGroupList'+-- * 'udGroupList' - A list of IAM groups that the user is in. ----- * 'udARN'+-- * 'udARN' - Undocumented member. ----- * 'udPath'+-- * 'udPath' - The path to the user. For more information about paths, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. ----- * 'udCreateDate'+-- * 'udCreateDate' - The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the user was created. ----- * 'udUserName'+-- * 'udUserName' - The friendly name identifying the user. ----- * 'udUserId'+-- * 'udUserId' - The stable and unique string identifying the user. For more information about IDs, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html IAM Identifiers> in the /Using IAM/ guide. ----- * 'udUserPolicyList'+-- * 'udUserPolicyList' - A list of the inline policies embedded in the user. ----- * 'udAttachedManagedPolicies'+-- * 'udAttachedManagedPolicies' - A list of the managed policies attached to the user. userDetail     :: UserDetail userDetail =@@ -2473,7 +2495,7 @@ udPath :: Lens' UserDetail (Maybe Text) udPath = lens _udPath (\ s a -> s{_udPath = a}); --- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format>, when the user was created.+-- | The date and time, in <http://www.iso.org/iso/iso8601 ISO 8601 date-time format> , when the user was created. udCreateDate :: Lens' UserDetail (Maybe UTCTime) udCreateDate = lens _udCreateDate (\ s a -> s{_udCreateDate = a}) . mapping _Time; @@ -2516,6 +2538,8 @@  -- | Contains information about a virtual MFA device. --+--+-- -- /See:/ 'virtualMFADevice' smart constructor. data VirtualMFADevice = VirtualMFADevice'     { _vmdQRCodePNG        :: !(Maybe (Sensitive Base64))@@ -2529,15 +2553,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'vmdQRCodePNG'+-- * 'vmdQRCodePNG' - A QR code PNG image that encodes @otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String@ where @> virtualMFADeviceName@ is one of the create call arguments, @AccountName@ is the user name if set (otherwise, the account ID otherwise), and @Base32String@ is the seed in Base32 format. The @Base32String@ value is Base64-encoded. -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This 'Lens' accepts and returns only raw unencoded data. ----- * 'vmdBase32StringSeed'+-- * 'vmdBase32StringSeed' - The Base32 seed defined as specified in <http://www.ietf.org/rfc/rfc3548.txt RFC3548> . The @Base32StringSeed@ is Base64-encoded. -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This 'Lens' accepts and returns only raw unencoded data. ----- * 'vmdUser'+-- * 'vmdUser' - Undocumented member. ----- * 'vmdEnableDate'+-- * 'vmdEnableDate' - The date and time on which the virtual MFA device was enabled. ----- * 'vmdSerialNumber'+-- * 'vmdSerialNumber' - The serial number associated with @VirtualMFADevice@ . virtualMFADevice     :: Text -- ^ 'vmdSerialNumber'     -> VirtualMFADevice@@ -2550,23 +2574,11 @@     , _vmdSerialNumber = pSerialNumber_     } --- | A QR code PNG image that encodes 'otpauth:\/\/totp\/>virtualMFADeviceName\'>AccountName?secret=>Base32String' where '>virtualMFADeviceName' is one of the create call arguments, 'AccountName' is the user name if set (otherwise, the account ID otherwise), and 'Base32String' is the seed in Base32 format. The 'Base32String' value is Base64-encoded.------ /Note:/ This 'Lens' automatically encodes and decodes Base64 data,--- despite what the AWS documentation might say.--- The underlying isomorphism will encode to Base64 representation during--- serialisation, and decode from Base64 representation during deserialisation.--- This 'Lens' accepts and returns only raw unencoded data.+-- | A QR code PNG image that encodes @otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String@ where @> virtualMFADeviceName@ is one of the create call arguments, @AccountName@ is the user name if set (otherwise, the account ID otherwise), and @Base32String@ is the seed in Base32 format. The @Base32String@ value is Base64-encoded. -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This 'Lens' accepts and returns only raw unencoded data. vmdQRCodePNG :: Lens' VirtualMFADevice (Maybe ByteString) vmdQRCodePNG = lens _vmdQRCodePNG (\ s a -> s{_vmdQRCodePNG = a}) . mapping (_Sensitive . _Base64); --- | The Base32 seed defined as specified in <http://www.ietf.org/rfc/rfc3548.txt RFC3548>. The 'Base32StringSeed' is Base64-encoded.------ /Note:/ This 'Lens' automatically encodes and decodes Base64 data,--- despite what the AWS documentation might say.--- The underlying isomorphism will encode to Base64 representation during--- serialisation, and decode from Base64 representation during deserialisation.--- This 'Lens' accepts and returns only raw unencoded data.+-- | The Base32 seed defined as specified in <http://www.ietf.org/rfc/rfc3548.txt RFC3548> . The @Base32StringSeed@ is Base64-encoded. -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This 'Lens' accepts and returns only raw unencoded data. vmdBase32StringSeed :: Lens' VirtualMFADevice (Maybe ByteString) vmdBase32StringSeed = lens _vmdBase32StringSeed (\ s a -> s{_vmdBase32StringSeed = a}) . mapping (_Sensitive . _Base64); @@ -2578,7 +2590,7 @@ vmdEnableDate :: Lens' VirtualMFADevice (Maybe UTCTime) vmdEnableDate = lens _vmdEnableDate (\ s a -> s{_vmdEnableDate = a}) . mapping _Time; --- | The serial number associated with 'VirtualMFADevice'.+-- | The serial number associated with @VirtualMFADevice@ . vmdSerialNumber :: Lens' VirtualMFADevice Text vmdSerialNumber = lens _vmdSerialNumber (\ s a -> s{_vmdSerialNumber = a}); 
gen/Network/AWS/IAM/UpdateAccessKey.hs view
@@ -18,11 +18,13 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Changes the status of the specified access key from Active to Inactive, or vice versa. This action can be used to disable a user\'s key as part of a key rotation work flow.+-- Changes the status of the specified access key from Active to Inactive, or vice versa. This action can be used to disable a user's key as part of a key rotation work flow. ----- If the 'UserName' field is not specified, the UserName is determined implicitly based on the AWS access key ID used to sign the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users. ----- For information about rotating keys, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/ManagingCredentials.html Managing Keys and Certificates> in the /IAM User Guide/.+-- If the @UserName@ field is not specified, the UserName is determined implicitly based on the AWS access key ID used to sign the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users.+--+-- For information about rotating keys, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/ManagingCredentials.html Managing Keys and Certificates> in the /IAM User Guide/ .+-- module Network.AWS.IAM.UpdateAccessKey     (     -- * Creating a Request@@ -56,11 +58,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uakUserName'+-- * 'uakUserName' - 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: =,.@- ----- * 'uakAccessKeyId'+-- * 'uakAccessKeyId' - 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. ----- * 'uakStatus'+-- * 'uakStatus' - The status you want to assign to the secret access key. @Active@ means the key can be used for API calls to AWS, while @Inactive@ means the key cannot be used. updateAccessKey     :: Text -- ^ 'uakAccessKeyId'     -> StatusType -- ^ 'uakStatus'@@ -72,19 +74,15 @@     , _uakStatus = pStatus_     } --- | 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: =,.\'-+-- | 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.+-- | 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}); --- | The status you want to assign to the secret access key. 'Active' means the key can be used for API calls to AWS, while 'Inactive' means the key cannot be used.+-- | The status you want to assign to the secret access key. @Active@ means the key can be used for API calls to AWS, while @Inactive@ means the key cannot be used. uakStatus :: Lens' UpdateAccessKey StatusType uakStatus = lens _uakStatus (\ s a -> s{_uakStatus = a}); 
gen/Network/AWS/IAM/UpdateAccountPasswordPolicy.hs view
@@ -20,9 +20,9 @@ -- -- Updates the password policy settings for the AWS account. ----- This action does not support partial updates. No parameters are required, but if you do not specify a parameter, that parameter\'s value reverts to its default value. See the __Request Parameters__ section for each parameter\'s default value. ----- For more information about using a password policy, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingPasswordPolicies.html Managing an IAM Password Policy> in the /IAM User Guide/.+-- For more information about using a password policy, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingPasswordPolicies.html Managing an IAM Password Policy> in the /IAM User Guide/ .+-- module Network.AWS.IAM.UpdateAccountPasswordPolicy     (     -- * Creating a Request@@ -68,23 +68,23 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uappMinimumPasswordLength'+-- * 'uappMinimumPasswordLength' - The minimum number of characters allowed in an IAM user password. Default value: 6 ----- * 'uappRequireNumbers'+-- * 'uappRequireNumbers' - Specifies whether IAM user passwords must contain at least one numeric character (0 to 9). Default value: false ----- * 'uappPasswordReusePrevention'+-- * 'uappPasswordReusePrevention' - Specifies the number of previous passwords that IAM users are prevented from reusing. The default value of 0 means IAM users are not prevented from reusing previous passwords. Default value: 0 ----- * 'uappRequireLowercaseCharacters'+-- * 'uappRequireLowercaseCharacters' - Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z). Default value: false ----- * 'uappMaxPasswordAge'+-- * 'uappMaxPasswordAge' - The number of days that an IAM user password is valid. The default value of 0 means IAM user passwords never expire. Default value: 0 ----- * 'uappHardExpiry'+-- * 'uappHardExpiry' - Prevents IAM users from setting a new password after their password has expired. Default value: false ----- * 'uappRequireSymbols'+-- * 'uappRequireSymbols' - Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters: ! @ # $ % ^ &amp; * ( ) _ + - = [ ] { } | ' Default value: false ----- * 'uappRequireUppercaseCharacters'+-- * 'uappRequireUppercaseCharacters' - Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z). Default value: false ----- * 'uappAllowUsersToChangePassword'+-- * 'uappAllowUsersToChangePassword' - Allows all IAM users in your account to use the AWS Management Console to change their own passwords. For more information, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/HowToPwdIAMUser.html Letting IAM Users Change Their Own Passwords> in the /IAM User Guide/ . Default value: false updateAccountPasswordPolicy     :: UpdateAccountPasswordPolicy updateAccountPasswordPolicy =@@ -100,59 +100,39 @@     , _uappAllowUsersToChangePassword = Nothing     } --- | The minimum number of characters allowed in an IAM user password.------ Default value: 6+-- | The minimum number of characters allowed in an IAM user password. Default value: 6 uappMinimumPasswordLength :: Lens' UpdateAccountPasswordPolicy (Maybe Natural) uappMinimumPasswordLength = lens _uappMinimumPasswordLength (\ s a -> s{_uappMinimumPasswordLength = a}) . mapping _Nat; --- | Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).------ Default value: false+-- | Specifies whether IAM user passwords must contain at least one numeric character (0 to 9). Default value: false uappRequireNumbers :: Lens' UpdateAccountPasswordPolicy (Maybe Bool) uappRequireNumbers = lens _uappRequireNumbers (\ s a -> s{_uappRequireNumbers = a}); --- | Specifies the number of previous passwords that IAM users are prevented from reusing. The default value of 0 means IAM users are not prevented from reusing previous passwords.------ Default value: 0+-- | Specifies the number of previous passwords that IAM users are prevented from reusing. The default value of 0 means IAM users are not prevented from reusing previous passwords. Default value: 0 uappPasswordReusePrevention :: Lens' UpdateAccountPasswordPolicy (Maybe Natural) uappPasswordReusePrevention = lens _uappPasswordReusePrevention (\ s a -> s{_uappPasswordReusePrevention = a}) . mapping _Nat; --- | Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).------ Default value: false+-- | Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z). Default value: false uappRequireLowercaseCharacters :: Lens' UpdateAccountPasswordPolicy (Maybe Bool) uappRequireLowercaseCharacters = lens _uappRequireLowercaseCharacters (\ s a -> s{_uappRequireLowercaseCharacters = a}); --- | The number of days that an IAM user password is valid. The default value of 0 means IAM user passwords never expire.------ Default value: 0+-- | The number of days that an IAM user password is valid. The default value of 0 means IAM user passwords never expire. Default value: 0 uappMaxPasswordAge :: Lens' UpdateAccountPasswordPolicy (Maybe Natural) uappMaxPasswordAge = lens _uappMaxPasswordAge (\ s a -> s{_uappMaxPasswordAge = a}) . mapping _Nat; --- | Prevents IAM users from setting a new password after their password has expired.------ Default value: false+-- | Prevents IAM users from setting a new password after their password has expired. Default value: false uappHardExpiry :: Lens' UpdateAccountPasswordPolicy (Maybe Bool) uappHardExpiry = lens _uappHardExpiry (\ s a -> s{_uappHardExpiry = a}); --- | Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:------ ! \' # > % ^ &amp; * ( ) _ + - = [ ] { } | \'------ Default value: false+-- | Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters: ! @ # $ % ^ &amp; * ( ) _ + - = [ ] { } | ' Default value: false uappRequireSymbols :: Lens' UpdateAccountPasswordPolicy (Maybe Bool) uappRequireSymbols = lens _uappRequireSymbols (\ s a -> s{_uappRequireSymbols = a}); --- | Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z).------ Default value: false+-- | Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z). Default value: false uappRequireUppercaseCharacters :: Lens' UpdateAccountPasswordPolicy (Maybe Bool) uappRequireUppercaseCharacters = lens _uappRequireUppercaseCharacters (\ s a -> s{_uappRequireUppercaseCharacters = a}); --- | Allows all IAM users in your account to use the AWS Management Console to change their own passwords. For more information, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/HowToPwdIAMUser.html Letting IAM Users Change Their Own Passwords> in the /IAM User Guide/.------ Default value: false+-- | Allows all IAM users in your account to use the AWS Management Console to change their own passwords. For more information, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/HowToPwdIAMUser.html Letting IAM Users Change Their Own Passwords> in the /IAM User Guide/ . Default value: false uappAllowUsersToChangePassword :: Lens' UpdateAccountPasswordPolicy (Maybe Bool) uappAllowUsersToChangePassword = lens _uappAllowUsersToChangePassword (\ s a -> s{_uappAllowUsersToChangePassword = a}); 
gen/Network/AWS/IAM/UpdateAssumeRolePolicy.hs view
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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>.+-- 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@@ -50,9 +52,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uarpRoleName'+-- * 'uarpRoleName' - 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: =,.@- ----- * 'uarpPolicyDocument'+-- * 'uarpPolicyDocument' - 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). updateAssumeRolePolicy     :: Text -- ^ 'uarpRoleName'     -> Text -- ^ 'uarpPolicyDocument'@@ -63,15 +65,11 @@     , _uarpPolicyDocument = pPolicyDocument_     } --- | 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: =,.\'-+-- | 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).+-- | 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 IAM 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 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>.+-- /Important:/ 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/ .+-- module Network.AWS.IAM.UpdateGroup     (     -- * Creating a Request@@ -56,11 +56,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ugNewGroupName'+-- * 'ugNewGroupName' - 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: =,.@- ----- * 'ugNewPath'+-- * 'ugNewPath' - 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. ----- * 'ugGroupName'+-- * 'ugGroupName' - 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: =,.@- updateGroup     :: Text -- ^ 'ugGroupName'     -> UpdateGroup@@ -71,21 +71,15 @@     , _ugGroupName = pGroupName_     } --- | 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: =,.\'-+-- | 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 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.+-- | 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 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: =,.\'-+-- | 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
@@ -20,7 +20,9 @@ -- -- Changes the password for the specified IAM user. ----- 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/.+--+-- 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@@ -54,11 +56,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ulpPassword'+-- * 'ulpPassword' - 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' . ----- * 'ulpPasswordResetRequired'+-- * 'ulpPasswordResetRequired' - Allows this new password to be used only once by requiring the specified IAM user to set a new password on next sign-in. ----- * 'ulpUserName'+-- * 'ulpUserName' - 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: =,.@- updateLoginProfile     :: Text -- ^ 'ulpUserName'     -> UpdateLoginProfile@@ -69,9 +71,7 @@     , _ulpUserName = pUserName_     } --- | 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>.+-- | 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; @@ -79,9 +79,7 @@ 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: =,.\'-+-- | 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
@@ -20,11 +20,11 @@ -- -- 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 fails 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 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@@ -56,9 +56,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uoicptOpenIdConnectProviderARN'+-- * 'uoicptOpenIdConnectProviderARN' - 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/ . ----- * 'uoicptThumbprintList'+-- * 'uoicptThumbprintList' - A list of certificate thumbprints that are associated with the specified IAM OpenID Connect provider. For more information, see 'CreateOpenIDConnectProvider' . updateOpenIdConnectProviderThumbprint     :: Text -- ^ 'uoicptOpenIdConnectProviderARN'     -> UpdateOpenIdConnectProviderThumbprint@@ -68,13 +68,11 @@     , _uoicptThumbprintList = mempty     } --- | 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/.+-- | 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}); --- | A list of certificate thumbprints that are associated with the specified IAM OpenID Connect provider. For more information, see < CreateOpenIDConnectProvider>.+-- | A list of certificate thumbprints that are associated with the specified IAM OpenID Connect provider. For more information, see 'CreateOpenIDConnectProvider' . uoicptThumbprintList :: Lens' UpdateOpenIdConnectProviderThumbprint [Text] uoicptThumbprintList = lens _uoicptThumbprintList (\ s a -> s{_uoicptThumbprintList = a}) . _Coerce; 
gen/Network/AWS/IAM/UpdateSAMLProvider.hs view
@@ -20,7 +20,7 @@ -- -- 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     (     -- * Creating a Request@@ -55,9 +55,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'usamlpSAMLMetadataDocument'+-- * 'usamlpSAMLMetadataDocument' - An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP. ----- * 'usamlpSAMLProviderARN'+-- * 'usamlpSAMLProviderARN' - 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/ . updateSAMLProvider     :: Text -- ^ 'usamlpSAMLMetadataDocument'     -> Text -- ^ 'usamlpSAMLProviderARN'@@ -68,13 +68,11 @@     , _usamlpSAMLProviderARN = pSAMLProviderARN_     } --- | An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer\'s name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization\'s IdP.+-- | An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP. usamlpSAMLMetadataDocument :: Lens' UpdateSAMLProvider Text usamlpSAMLMetadataDocument = lens _usamlpSAMLMetadataDocument (\ 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/.+-- | 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}); @@ -107,8 +105,10 @@                  _usamlpSAMLMetadataDocument,                "SAMLProviderArn" =: _usamlpSAMLProviderARN] --- | Contains the response to a successful < UpdateSAMLProvider> request.+-- | Contains the response to a successful 'UpdateSAMLProvider' request. --+--+-- -- /See:/ 'updateSAMLProviderResponse' smart constructor. data UpdateSAMLProviderResponse = UpdateSAMLProviderResponse'     { _usamlprsSAMLProviderARN :: !(Maybe Text)@@ -119,9 +119,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'usamlprsSAMLProviderARN'+-- * 'usamlprsSAMLProviderARN' - The Amazon Resource Name (ARN) of the SAML provider that was updated. ----- * 'usamlprsResponseStatus'+-- * 'usamlprsResponseStatus' - -- | The response status code. updateSAMLProviderResponse     :: Int -- ^ 'usamlprsResponseStatus'     -> UpdateSAMLProviderResponse@@ -135,7 +135,7 @@ usamlprsSAMLProviderARN :: Lens' UpdateSAMLProviderResponse (Maybe Text) usamlprsSAMLProviderARN = lens _usamlprsSAMLProviderARN (\ s a -> s{_usamlprsSAMLProviderARN = a}); --- | The response status code.+-- | -- | The response status code. usamlprsResponseStatus :: Lens' UpdateSAMLProviderResponse Int usamlprsResponseStatus = lens _usamlprsResponseStatus (\ s a -> s{_usamlprsResponseStatus = a}); 
gen/Network/AWS/IAM/UpdateSSHPublicKey.hs view
@@ -18,9 +18,11 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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/.+--+-- 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     (     -- * Creating a Request@@ -54,11 +56,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uspkUserName'+-- * 'uspkUserName' - 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: =,.@- ----- * 'uspkSSHPublicKeyId'+-- * 'uspkSSHPublicKeyId' - 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. ----- * 'uspkStatus'+-- * 'uspkStatus' - The status to assign to the SSH public key. @Active@ means the key can be used for authentication with an AWS CodeCommit repository. @Inactive@ means the key cannot be used. updateSSHPublicKey     :: Text -- ^ 'uspkUserName'     -> Text -- ^ 'uspkSSHPublicKeyId'@@ -71,19 +73,15 @@     , _uspkStatus = pStatus_     } --- | 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: =,.\'-+-- | 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.+-- | 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}); --- | The status to assign to the SSH public key. 'Active' means the key can be used for authentication with an AWS CodeCommit repository. 'Inactive' means the key cannot be used.+-- | The status to assign to the SSH public key. @Active@ means the key can be used for authentication with an AWS CodeCommit repository. @Inactive@ means the key cannot be used. uspkStatus :: Lens' UpdateSSHPublicKey StatusType uspkStatus = lens _uspkStatus (\ s a -> s{_uspkStatus = 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 stored in IAM.+-- 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/.+-- 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/ . ----- 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/.+-- /Important:/ 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/ .+-- module Network.AWS.IAM.UpdateServerCertificate     (     -- * Creating a Request@@ -58,11 +58,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uNewServerCertificateName'+-- * 'uNewServerCertificateName' - 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: =,.@- ----- * 'uNewPath'+-- * 'uNewPath' - 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. ----- * 'uServerCertificateName'+-- * 'uServerCertificateName' - 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: =,.@- updateServerCertificate     :: Text -- ^ 'uServerCertificateName'     -> UpdateServerCertificate@@ -73,21 +73,15 @@     , _uServerCertificateName = pServerCertificateName_     } --- | 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: =,.\'-+-- | 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.+-- | 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: =,.\'-+-- | 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,9 +18,11 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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.+--+-- 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     (     -- * Creating a Request@@ -54,11 +56,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uscUserName'+-- * 'uscUserName' - 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: =,.@- ----- * 'uscCertificateId'+-- * 'uscCertificateId' - 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. ----- * 'uscStatus'+-- * 'uscStatus' - The status you want to assign to the certificate. @Active@ means the certificate can be used for API calls to AWS, while @Inactive@ means the certificate cannot be used. updateSigningCertificate     :: Text -- ^ 'uscCertificateId'     -> StatusType -- ^ 'uscStatus'@@ -70,19 +72,15 @@     , _uscStatus = pStatus_     } --- | 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: =,.\'-+-- | 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.+-- | 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}); --- | The status you want to assign to the certificate. 'Active' means the certificate can be used for API calls to AWS, while 'Inactive' means the certificate cannot be used.+-- | The status you want to assign to the certificate. @Active@ means the certificate can be used for API calls to AWS, while @Inactive@ means the certificate cannot be used. uscStatus :: Lens' UpdateSigningCertificate StatusType uscStatus = lens _uscStatus (\ s a -> s{_uscStatus = a}); 
gen/Network/AWS/IAM/UpdateUser.hs view
@@ -18,11 +18,11 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Updates the name and\/or the path of the specified IAM user.+-- Updates the name and/or the path of the specified IAM user. ----- 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>.+-- /Important:/ 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/ .+-- module Network.AWS.IAM.UpdateUser     (     -- * Creating a Request@@ -56,11 +56,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uuNewUserName'+-- * 'uuNewUserName' - 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: =,.@- ----- * 'uuNewPath'+-- * 'uuNewPath' - 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. ----- * 'uuUserName'+-- * 'uuUserName' - 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: =,.@- updateUser     :: Text -- ^ 'uuUserName'     -> UpdateUser@@ -71,21 +71,15 @@     , _uuUserName = pUserName_     } --- | 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: =,.\'-+-- | 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 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.+-- | 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: =,.\'-+-- | 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
@@ -20,7 +20,9 @@ -- -- Uploads an SSH public key and associates it with the specified IAM user. ----- The SSH public key uploaded by this action can be 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/.+--+-- The SSH public key uploaded by this action can be 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.UploadSSHPublicKey     (     -- * Creating a Request@@ -55,9 +57,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'usshpkUserName'+-- * 'usshpkUserName' - 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: =,.@- ----- * 'usshpkSSHPublicKeyBody'+-- * 'usshpkSSHPublicKeyBody' - 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). uploadSSHPublicKey     :: Text -- ^ 'usshpkUserName'     -> Text -- ^ 'usshpkSSHPublicKeyBody'@@ -68,15 +70,11 @@     , _usshpkSSHPublicKeyBody = pSSHPublicKeyBody_     } --- | 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: =,.\'-+-- | 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).+-- | 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}); @@ -108,8 +106,10 @@                "UserName" =: _usshpkUserName,                "SSHPublicKeyBody" =: _usshpkSSHPublicKeyBody] --- | Contains the response to a successful < UploadSSHPublicKey> request.+-- | Contains the response to a successful 'UploadSSHPublicKey' request. --+--+-- -- /See:/ 'uploadSSHPublicKeyResponse' smart constructor. data UploadSSHPublicKeyResponse = UploadSSHPublicKeyResponse'     { _uspkrsSSHPublicKey   :: !(Maybe SSHPublicKey)@@ -120,9 +120,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uspkrsSSHPublicKey'+-- * 'uspkrsSSHPublicKey' - Contains information about the SSH public key. ----- * 'uspkrsResponseStatus'+-- * 'uspkrsResponseStatus' - -- | The response status code. uploadSSHPublicKeyResponse     :: Int -- ^ 'uspkrsResponseStatus'     -> UploadSSHPublicKeyResponse@@ -136,7 +136,7 @@ uspkrsSSHPublicKey :: Lens' UploadSSHPublicKeyResponse (Maybe SSHPublicKey) uspkrsSSHPublicKey = lens _uspkrsSSHPublicKey (\ s a -> s{_uspkrsSSHPublicKey = a}); --- | The response status code.+-- | -- | The response status code. uspkrsResponseStatus :: Lens' UploadSSHPublicKeyResponse Int uspkrsResponseStatus = lens _uspkrsResponseStatus (\ s a -> s{_uspkrsResponseStatus = a}); 
gen/Network/AWS/IAM/UploadServerCertificate.hs view
@@ -20,11 +20,11 @@ -- -- Uploads a server certificate entity for the AWS account. The server certificate entity includes a public key certificate, a private key, and an optional certificate chain, which should all be PEM-encoded. ----- For 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/. ----- For information about the number of server certificates you can upload, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html Limitations on IAM Entities and Objects> in the /IAM User Guide/.+-- 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/ . ----- Because the body of the public key certificate, private key, and the certificate chain can be large, you should use POST rather than GET when calling 'UploadServerCertificate'. 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/programming.html Calling the API by Making HTTP Query Requests> in the /IAM User Guide/.+-- For information about the number of server certificates you can upload, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html Limitations on IAM Entities and Objects> in the /IAM User Guide/ .+-- module Network.AWS.IAM.UploadServerCertificate     (     -- * Creating a Request@@ -65,15 +65,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uscPath'+-- * 'uscPath' - 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 (/). 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. ----- * 'uscCertificateChain'+-- * 'uscCertificateChain' - 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). ----- * 'uscServerCertificateName'+-- * 'uscServerCertificateName' - 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: =,.@- ----- * 'uscCertificateBody'+-- * 'uscCertificateBody' - 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). ----- * 'uscPrivateKey'+-- * 'uscPrivateKey' - 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). uploadServerCertificate     :: Text -- ^ 'uscServerCertificateName'     -> Text -- ^ 'uscCertificateBody'@@ -88,35 +88,23 @@     , _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 /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.------ 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\/').+-- | 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 (/). 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. 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).+-- | 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: =,.\'-+-- | 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).+-- | 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).+-- | 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; @@ -153,8 +141,10 @@                "CertificateBody" =: _uscCertificateBody,                "PrivateKey" =: _uscPrivateKey] --- | Contains the response to a successful < UploadServerCertificate> request.+-- | Contains the response to a successful 'UploadServerCertificate' request. --+--+-- -- /See:/ 'uploadServerCertificateResponse' smart constructor. data UploadServerCertificateResponse = UploadServerCertificateResponse'     { _ursServerCertificateMetadata :: !(Maybe ServerCertificateMetadata)@@ -165,9 +155,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ursServerCertificateMetadata'+-- * 'ursServerCertificateMetadata' - The meta information of the uploaded server certificate without its certificate body, certificate chain, and private key. ----- * 'ursResponseStatus'+-- * 'ursResponseStatus' - -- | The response status code. uploadServerCertificateResponse     :: Int -- ^ 'ursResponseStatus'     -> UploadServerCertificateResponse@@ -181,7 +171,7 @@ ursServerCertificateMetadata :: Lens' UploadServerCertificateResponse (Maybe ServerCertificateMetadata) ursServerCertificateMetadata = lens _ursServerCertificateMetadata (\ s a -> s{_ursServerCertificateMetadata = a}); --- | The response status code.+-- | -- | The response status code. ursResponseStatus :: Lens' UploadServerCertificateResponse Int ursResponseStatus = lens _ursResponseStatus (\ s a -> s{_ursResponseStatus = a}); 
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 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'.+-- 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 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 /IAM User Guide/.+-- 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.+-- module Network.AWS.IAM.UploadSigningCertificate     (     -- * Creating a Request@@ -57,9 +57,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uplUserName'+-- * 'uplUserName' - 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: =,.@- ----- * 'uplCertificateBody'+-- * 'uplCertificateBody' - 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). uploadSigningCertificate     :: Text -- ^ 'uplCertificateBody'     -> UploadSigningCertificate@@ -69,15 +69,11 @@     , _uplCertificateBody = pCertificateBody_     } --- | 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: =,.\'-+-- | 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).+-- | 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}); @@ -110,8 +106,10 @@                "UserName" =: _uplUserName,                "CertificateBody" =: _uplCertificateBody] --- | Contains the response to a successful < UploadSigningCertificate> request.+-- | Contains the response to a successful 'UploadSigningCertificate' request. --+--+-- -- /See:/ 'uploadSigningCertificateResponse' smart constructor. data UploadSigningCertificateResponse = UploadSigningCertificateResponse'     { _uscrsResponseStatus :: !Int@@ -122,9 +120,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uscrsResponseStatus'+-- * 'uscrsResponseStatus' - -- | The response status code. ----- * 'uscrsCertificate'+-- * 'uscrsCertificate' - Information about the certificate. uploadSigningCertificateResponse     :: Int -- ^ 'uscrsResponseStatus'     -> SigningCertificate -- ^ 'uscrsCertificate'@@ -135,7 +133,7 @@     , _uscrsCertificate = pCertificate_     } --- | The response status code.+-- | -- | The response status code. uscrsResponseStatus :: Lens' UploadSigningCertificateResponse Int uscrsResponseStatus = lens _uscrsResponseStatus (\ s a -> s{_uscrsResponseStatus = a}); 
gen/Network/AWS/IAM/Waiters.hs view
@@ -22,8 +22,7 @@ import           Network.AWS.Prelude import           Network.AWS.Waiter --- | Polls 'Network.AWS.IAM.GetInstanceProfile' every 1 seconds until a--- successful state is reached. An error is returned after 40 failed checks.+-- | Polls 'Network.AWS.IAM.GetInstanceProfile' every 1 seconds until a successful state is reached. An error is returned after 40 failed checks. instanceProfileExists :: Wait GetInstanceProfile instanceProfileExists =     Wait@@ -34,8 +33,7 @@                        , matchStatus 404 AcceptRetry]     } --- | Polls 'Network.AWS.IAM.GetUser' every 1 seconds until a--- successful state is reached. An error is returned after 20 failed checks.+-- | Polls 'Network.AWS.IAM.GetUser' every 1 seconds until a successful state is reached. An error is returned after 20 failed checks. userExists :: Wait GetUser userExists =     Wait