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 |
Retrieves information about each Amazon Web Services 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 #
See: newListVpcEndpointAccess
smart constructor.
ListVpcEndpointAccess' | |
|
Instances
newListVpcEndpointAccess Source #
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
- If your initial ListVpcEndpointAccess
operation returns a nextToken
,
you can include the returned nextToken
in subsequent
ListVpcEndpointAccess
operations, which returns results in the next
page.
ListVpcEndpointAccess
, listVpcEndpointAccess_domainName
- The name of the OpenSearch Service domain to retrieve access information
for.
Request Lenses
listVpcEndpointAccess_nextToken :: Lens' ListVpcEndpointAccess (Maybe Text) Source #
If your initial ListVpcEndpointAccess
operation returns a nextToken
,
you can include the returned nextToken
in subsequent
ListVpcEndpointAccess
operations, which returns results in the next
page.
listVpcEndpointAccess_domainName :: Lens' ListVpcEndpointAccess Text Source #
The name of the OpenSearch Service domain to retrieve access information for.
Destructuring the Response
data ListVpcEndpointAccessResponse Source #
See: newListVpcEndpointAccessResponse
smart constructor.
ListVpcEndpointAccessResponse' | |
|
Instances
newListVpcEndpointAccessResponse Source #
:: 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
- A list of
IAM principals
that can currently access the domain.
ListVpcEndpointAccess
, listVpcEndpointAccessResponse_nextToken
- When nextToken
is returned, there are more results available. The
value of nextToken
is a unique pagination token for each page. Make
the call again using the returned token to retrieve the next page.
Response Lenses
listVpcEndpointAccessResponse_httpStatus :: Lens' ListVpcEndpointAccessResponse Int Source #
The response's http status code.
listVpcEndpointAccessResponse_authorizedPrincipalList :: Lens' ListVpcEndpointAccessResponse [AuthorizedPrincipal] Source #
A list of IAM principals that can currently access the domain.
listVpcEndpointAccessResponse_nextToken :: Lens' ListVpcEndpointAccessResponse Text Source #
When nextToken
is returned, there are more results available. The
value of nextToken
is a unique pagination token for each page. Make
the call again using the returned token to retrieve the next page.