Copyright | (c) 2013-2021 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 |
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.
Synopsis
- data UpdateServiceAccessPolicies = UpdateServiceAccessPolicies' {
- domainName :: Text
- accessPolicies :: Text
- newUpdateServiceAccessPolicies :: Text -> Text -> UpdateServiceAccessPolicies
- updateServiceAccessPolicies_domainName :: Lens' UpdateServiceAccessPolicies Text
- updateServiceAccessPolicies_accessPolicies :: Lens' UpdateServiceAccessPolicies Text
- data UpdateServiceAccessPoliciesResponse = UpdateServiceAccessPoliciesResponse' {}
- newUpdateServiceAccessPoliciesResponse :: Int -> AccessPoliciesStatus -> UpdateServiceAccessPoliciesResponse
- updateServiceAccessPoliciesResponse_httpStatus :: Lens' UpdateServiceAccessPoliciesResponse Int
- updateServiceAccessPoliciesResponse_accessPolicies :: Lens' UpdateServiceAccessPoliciesResponse AccessPoliciesStatus
Creating a Request
data UpdateServiceAccessPolicies Source #
Container for the parameters to the UpdateServiceAccessPolicies
operation. Specifies the name of the domain you want to update and the
access rules you want to configure.
See: newUpdateServiceAccessPolicies
smart constructor.
UpdateServiceAccessPolicies' | |
|
Instances
newUpdateServiceAccessPolicies Source #
:: Text | |
-> Text | |
-> UpdateServiceAccessPolicies |
Create a value of UpdateServiceAccessPolicies
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:domainName:UpdateServiceAccessPolicies'
, updateServiceAccessPolicies_domainName
- Undocumented member.
$sel:accessPolicies:UpdateServiceAccessPolicies'
, updateServiceAccessPolicies_accessPolicies
- The access rules you want to configure. These rules replace any existing
rules.
Request Lenses
updateServiceAccessPolicies_domainName :: Lens' UpdateServiceAccessPolicies Text Source #
Undocumented member.
updateServiceAccessPolicies_accessPolicies :: Lens' UpdateServiceAccessPolicies Text Source #
The access rules you want to configure. These rules replace any existing rules.
Destructuring the Response
data UpdateServiceAccessPoliciesResponse Source #
The result of an UpdateServiceAccessPolicies
request. Contains the new
access policies.
See: newUpdateServiceAccessPoliciesResponse
smart constructor.
UpdateServiceAccessPoliciesResponse' | |
|
Instances
newUpdateServiceAccessPoliciesResponse Source #
Create a value of UpdateServiceAccessPoliciesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateServiceAccessPoliciesResponse'
, updateServiceAccessPoliciesResponse_httpStatus
- The response's http status code.
$sel:accessPolicies:UpdateServiceAccessPolicies'
, updateServiceAccessPoliciesResponse_accessPolicies
- The access rules configured for the domain.
Response Lenses
updateServiceAccessPoliciesResponse_httpStatus :: Lens' UpdateServiceAccessPoliciesResponse Int Source #
The response's http status code.
updateServiceAccessPoliciesResponse_accessPolicies :: Lens' UpdateServiceAccessPoliciesResponse AccessPoliciesStatus Source #
The access rules configured for the domain.