| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ElasticSearch.ListVpcEndpointAccess
Description
Retrieves information about each principal that is allowed to access a given Amazon OpenSearch Service domain through the use of an interface VPC endpoint.
Synopsis
- data ListVpcEndpointAccess = ListVpcEndpointAccess' {
- nextToken :: Maybe Text
- domainName :: Text
- newListVpcEndpointAccess :: Text -> ListVpcEndpointAccess
- listVpcEndpointAccess_nextToken :: Lens' ListVpcEndpointAccess (Maybe Text)
- listVpcEndpointAccess_domainName :: Lens' ListVpcEndpointAccess Text
- data ListVpcEndpointAccessResponse = ListVpcEndpointAccessResponse' {}
- newListVpcEndpointAccessResponse :: Int -> Text -> ListVpcEndpointAccessResponse
- listVpcEndpointAccessResponse_httpStatus :: Lens' ListVpcEndpointAccessResponse Int
- listVpcEndpointAccessResponse_authorizedPrincipalList :: Lens' ListVpcEndpointAccessResponse [AuthorizedPrincipal]
- listVpcEndpointAccessResponse_nextToken :: Lens' ListVpcEndpointAccessResponse Text
Creating a Request
data ListVpcEndpointAccess Source #
Retrieves information about each principal that is allowed to access a given Amazon OpenSearch Service domain through the use of an interface VPC endpoint
See: newListVpcEndpointAccess smart constructor.
Constructors
| ListVpcEndpointAccess' | |
Fields
| |
Instances
newListVpcEndpointAccess Source #
Arguments
| :: Text | |
| -> ListVpcEndpointAccess |
Create a value of ListVpcEndpointAccess 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:
ListVpcEndpointAccess, listVpcEndpointAccess_nextToken - Provides an identifier to allow retrieval of paginated results.
ListVpcEndpointAccess, listVpcEndpointAccess_domainName - The name of the OpenSearch Service domain to retrieve access information
for.
Request Lenses
listVpcEndpointAccess_nextToken :: Lens' ListVpcEndpointAccess (Maybe Text) Source #
Provides an identifier to allow retrieval of paginated results.
listVpcEndpointAccess_domainName :: Lens' ListVpcEndpointAccess Text Source #
The name of the OpenSearch Service domain to retrieve access information for.
Destructuring the Response
data ListVpcEndpointAccessResponse Source #
Container for response parameters to the ListVpcEndpointAccess
operation. Returns a list of accounts id and account type authorized to
manage VPC endpoints.
See: newListVpcEndpointAccessResponse smart constructor.
Constructors
| ListVpcEndpointAccessResponse' | |
Fields
| |
Instances
newListVpcEndpointAccessResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> ListVpcEndpointAccessResponse |
Create a value of ListVpcEndpointAccessResponse 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:ListVpcEndpointAccessResponse', listVpcEndpointAccessResponse_httpStatus - The response's http status code.
$sel:authorizedPrincipalList:ListVpcEndpointAccessResponse', listVpcEndpointAccessResponse_authorizedPrincipalList - List of AuthorizedPrincipal describing the details of the permissions
to manage VPC endpoints against the specified domain.
ListVpcEndpointAccess, listVpcEndpointAccessResponse_nextToken - Provides an identifier to allow retrieval of paginated results.
Response Lenses
listVpcEndpointAccessResponse_httpStatus :: Lens' ListVpcEndpointAccessResponse Int Source #
The response's http status code.
listVpcEndpointAccessResponse_authorizedPrincipalList :: Lens' ListVpcEndpointAccessResponse [AuthorizedPrincipal] Source #
List of AuthorizedPrincipal describing the details of the permissions
to manage VPC endpoints against the specified domain.
listVpcEndpointAccessResponse_nextToken :: Lens' ListVpcEndpointAccessResponse Text Source #
Provides an identifier to allow retrieval of paginated results.