| 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 |
Amazonka.OpenSearch.DescribeOutboundConnections
Description
Lists all the outbound cross-cluster connections for a local domain.
Synopsis
- data DescribeOutboundConnections = DescribeOutboundConnections' {}
- newDescribeOutboundConnections :: DescribeOutboundConnections
- describeOutboundConnections_filters :: Lens' DescribeOutboundConnections (Maybe [Filter])
- describeOutboundConnections_nextToken :: Lens' DescribeOutboundConnections (Maybe Text)
- describeOutboundConnections_maxResults :: Lens' DescribeOutboundConnections (Maybe Int)
- data DescribeOutboundConnectionsResponse = DescribeOutboundConnectionsResponse' {}
- newDescribeOutboundConnectionsResponse :: Int -> DescribeOutboundConnectionsResponse
- describeOutboundConnectionsResponse_connections :: Lens' DescribeOutboundConnectionsResponse (Maybe [OutboundConnection])
- describeOutboundConnectionsResponse_nextToken :: Lens' DescribeOutboundConnectionsResponse (Maybe Text)
- describeOutboundConnectionsResponse_httpStatus :: Lens' DescribeOutboundConnectionsResponse Int
Creating a Request
data DescribeOutboundConnections Source #
Container for the parameters to the DescribeOutboundConnections
operation.
See: newDescribeOutboundConnections smart constructor.
Constructors
| DescribeOutboundConnections' | |
Fields
| |
Instances
newDescribeOutboundConnections :: DescribeOutboundConnections Source #
Create a value of DescribeOutboundConnections 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:filters:DescribeOutboundConnections', describeOutboundConnections_filters - A list of filters used to match properties for outbound cross-cluster
connections. Available Filter names for this operation are:
- connection-id
- remote-domain-info.domain-name
- remote-domain-info.owner-id
- remote-domain-info.region
- local-domain-info.domain-name
$sel:nextToken:DescribeOutboundConnections', describeOutboundConnections_nextToken - NextToken is sent in case the earlier API call results contain the
NextToken parameter. Used for pagination.
$sel:maxResults:DescribeOutboundConnections', describeOutboundConnections_maxResults - Set this value to limit the number of results returned. If not
specified, defaults to 100.
Request Lenses
describeOutboundConnections_filters :: Lens' DescribeOutboundConnections (Maybe [Filter]) Source #
A list of filters used to match properties for outbound cross-cluster
connections. Available Filter names for this operation are:
- connection-id
- remote-domain-info.domain-name
- remote-domain-info.owner-id
- remote-domain-info.region
- local-domain-info.domain-name
describeOutboundConnections_nextToken :: Lens' DescribeOutboundConnections (Maybe Text) Source #
NextToken is sent in case the earlier API call results contain the NextToken parameter. Used for pagination.
describeOutboundConnections_maxResults :: Lens' DescribeOutboundConnections (Maybe Int) Source #
Set this value to limit the number of results returned. If not specified, defaults to 100.
Destructuring the Response
data DescribeOutboundConnectionsResponse Source #
The result of a DescribeOutboundConnections request. Contains the
list of connections matching the filter criteria.
See: newDescribeOutboundConnectionsResponse smart constructor.
Constructors
| DescribeOutboundConnectionsResponse' | |
Fields
| |
Instances
newDescribeOutboundConnectionsResponse Source #
Arguments
| :: Int | |
| -> DescribeOutboundConnectionsResponse |
Create a value of DescribeOutboundConnectionsResponse 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:connections:DescribeOutboundConnectionsResponse', describeOutboundConnectionsResponse_connections - A list of OutboundConnection matching the specified filter criteria.
$sel:nextToken:DescribeOutboundConnections', describeOutboundConnectionsResponse_nextToken - If more results are available and NextToken is present, make the next
request to the same API with the received NextToken to paginate the
remaining results.
$sel:httpStatus:DescribeOutboundConnectionsResponse', describeOutboundConnectionsResponse_httpStatus - The response's http status code.
Response Lenses
describeOutboundConnectionsResponse_connections :: Lens' DescribeOutboundConnectionsResponse (Maybe [OutboundConnection]) Source #
A list of OutboundConnection matching the specified filter criteria.
describeOutboundConnectionsResponse_nextToken :: Lens' DescribeOutboundConnectionsResponse (Maybe Text) Source #
If more results are available and NextToken is present, make the next request to the same API with the received NextToken to paginate the remaining results.
describeOutboundConnectionsResponse_httpStatus :: Lens' DescribeOutboundConnectionsResponse Int Source #
The response's http status code.