Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets information about the access policies that control access to the domain's document and search endpoints. By default, shows the configuration with any pending changes. Set the Deployed
option to true
to show the active configuration and exclude pending changes. For more information, see Configuring Access for a Search Domain in the Amazon CloudSearch Developer Guide.
- describeServiceAccessPolicies :: Text -> DescribeServiceAccessPolicies
- data DescribeServiceAccessPolicies
- dsapDeployed :: Lens' DescribeServiceAccessPolicies (Maybe Bool)
- dsapDomainName :: Lens' DescribeServiceAccessPolicies Text
- describeServiceAccessPoliciesResponse :: Int -> AccessPoliciesStatus -> DescribeServiceAccessPoliciesResponse
- data DescribeServiceAccessPoliciesResponse
- dsaprsResponseStatus :: Lens' DescribeServiceAccessPoliciesResponse Int
- dsaprsAccessPolicies :: Lens' DescribeServiceAccessPoliciesResponse AccessPoliciesStatus
Creating a Request
describeServiceAccessPolicies Source #
Creates a value of DescribeServiceAccessPolicies
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeServiceAccessPolicies Source #
Container for the parameters to the DescribeServiceAccessPolicies
operation. Specifies the name of the domain you want to describe. To show the active configuration and exclude any pending changes, set the Deployed
option to true
.
See: describeServiceAccessPolicies
smart constructor.
Request Lenses
dsapDeployed :: Lens' DescribeServiceAccessPolicies (Maybe Bool) Source #
Whether to display the deployed configuration (true
) or include any pending changes (false
). Defaults to false
.
dsapDomainName :: Lens' DescribeServiceAccessPolicies Text Source #
The name of the domain you want to describe.
Destructuring the Response
describeServiceAccessPoliciesResponse Source #
Creates a value of DescribeServiceAccessPoliciesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeServiceAccessPoliciesResponse Source #
The result of a DescribeServiceAccessPolicies
request.
See: describeServiceAccessPoliciesResponse
smart constructor.
Response Lenses
dsaprsResponseStatus :: Lens' DescribeServiceAccessPoliciesResponse Int Source #
The response status code.
dsaprsAccessPolicies :: Lens' DescribeServiceAccessPoliciesResponse AccessPoliciesStatus Source #
The access rules configured for the domain specified in the request.