Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Configures the access rules that control access to the domain's document and search endpoints. For more information, see Configuring Access for an Amazon CloudSearch Domain .
- updateServiceAccessPolicies :: Text -> Text -> UpdateServiceAccessPolicies
- data UpdateServiceAccessPolicies
- usapDomainName :: Lens' UpdateServiceAccessPolicies Text
- usapAccessPolicies :: Lens' UpdateServiceAccessPolicies Text
- updateServiceAccessPoliciesResponse :: Int -> AccessPoliciesStatus -> UpdateServiceAccessPoliciesResponse
- data UpdateServiceAccessPoliciesResponse
- usaprsResponseStatus :: Lens' UpdateServiceAccessPoliciesResponse Int
- usaprsAccessPolicies :: Lens' UpdateServiceAccessPoliciesResponse AccessPoliciesStatus
Creating a Request
updateServiceAccessPolicies Source #
Creates a value of UpdateServiceAccessPolicies
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
usapDomainName
- Undocumented member.usapAccessPolicies
- The access rules you want to configure. These rules replace any existing rules.
data UpdateServiceAccessPolicies Source #
Container for the parameters to the
operation. Specifies the name of the domain you want to update and the access rules you want to configure.UpdateServiceAccessPolicies
See: updateServiceAccessPolicies
smart constructor.
Request Lenses
usapDomainName :: Lens' UpdateServiceAccessPolicies Text Source #
Undocumented member.
usapAccessPolicies :: Lens' UpdateServiceAccessPolicies Text Source #
The access rules you want to configure. These rules replace any existing rules.
Destructuring the Response
updateServiceAccessPoliciesResponse Source #
Creates a value of UpdateServiceAccessPoliciesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
usaprsResponseStatus
- -- | The response status code.usaprsAccessPolicies
- The access rules configured for the domain.
data UpdateServiceAccessPoliciesResponse Source #
The result of an UpdateServiceAccessPolicies
request. Contains the new access policies.
See: updateServiceAccessPoliciesResponse
smart constructor.
Response Lenses
usaprsResponseStatus :: Lens' UpdateServiceAccessPoliciesResponse Int Source #
- - | The response status code.
usaprsAccessPolicies :: Lens' UpdateServiceAccessPoliciesResponse AccessPoliciesStatus Source #
The access rules configured for the domain.