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 |
Returns a list of publishing destinations associated with the specified
dectectorId
.
Synopsis
- data ListPublishingDestinations = ListPublishingDestinations' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- detectorId :: Text
- newListPublishingDestinations :: Text -> ListPublishingDestinations
- listPublishingDestinations_nextToken :: Lens' ListPublishingDestinations (Maybe Text)
- listPublishingDestinations_maxResults :: Lens' ListPublishingDestinations (Maybe Natural)
- listPublishingDestinations_detectorId :: Lens' ListPublishingDestinations Text
- data ListPublishingDestinationsResponse = ListPublishingDestinationsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- destinations :: [Destination]
- newListPublishingDestinationsResponse :: Int -> ListPublishingDestinationsResponse
- listPublishingDestinationsResponse_nextToken :: Lens' ListPublishingDestinationsResponse (Maybe Text)
- listPublishingDestinationsResponse_httpStatus :: Lens' ListPublishingDestinationsResponse Int
- listPublishingDestinationsResponse_destinations :: Lens' ListPublishingDestinationsResponse [Destination]
Creating a Request
data ListPublishingDestinations Source #
See: newListPublishingDestinations
smart constructor.
ListPublishingDestinations' | |
|
Instances
newListPublishingDestinations Source #
Create a value of ListPublishingDestinations
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:nextToken:ListPublishingDestinations'
, listPublishingDestinations_nextToken
- A token to use for paginating results that are returned in the response.
Set the value of this parameter to null for the first request to a list
action. For subsequent calls, use the NextToken
value returned from
the previous request to continue listing results after the first page.
$sel:maxResults:ListPublishingDestinations'
, listPublishingDestinations_maxResults
- The maximum number of results to return in the response.
$sel:detectorId:ListPublishingDestinations'
, listPublishingDestinations_detectorId
- The ID of the detector to retrieve publishing destinations for.
Request Lenses
listPublishingDestinations_nextToken :: Lens' ListPublishingDestinations (Maybe Text) Source #
A token to use for paginating results that are returned in the response.
Set the value of this parameter to null for the first request to a list
action. For subsequent calls, use the NextToken
value returned from
the previous request to continue listing results after the first page.
listPublishingDestinations_maxResults :: Lens' ListPublishingDestinations (Maybe Natural) Source #
The maximum number of results to return in the response.
listPublishingDestinations_detectorId :: Lens' ListPublishingDestinations Text Source #
The ID of the detector to retrieve publishing destinations for.
Destructuring the Response
data ListPublishingDestinationsResponse Source #
See: newListPublishingDestinationsResponse
smart constructor.
ListPublishingDestinationsResponse' | |
|
Instances
newListPublishingDestinationsResponse Source #
Create a value of ListPublishingDestinationsResponse
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:nextToken:ListPublishingDestinations'
, listPublishingDestinationsResponse_nextToken
- A token to use for paginating results that are returned in the response.
Set the value of this parameter to null for the first request to a list
action. For subsequent calls, use the NextToken
value returned from
the previous request to continue listing results after the first page.
$sel:httpStatus:ListPublishingDestinationsResponse'
, listPublishingDestinationsResponse_httpStatus
- The response's http status code.
$sel:destinations:ListPublishingDestinationsResponse'
, listPublishingDestinationsResponse_destinations
- A Destinations
object that includes information about each publishing
destination returned.
Response Lenses
listPublishingDestinationsResponse_nextToken :: Lens' ListPublishingDestinationsResponse (Maybe Text) Source #
A token to use for paginating results that are returned in the response.
Set the value of this parameter to null for the first request to a list
action. For subsequent calls, use the NextToken
value returned from
the previous request to continue listing results after the first page.
listPublishingDestinationsResponse_httpStatus :: Lens' ListPublishingDestinationsResponse Int Source #
The response's http status code.
listPublishingDestinationsResponse_destinations :: Lens' ListPublishingDestinationsResponse [Destination] Source #
A Destinations
object that includes information about each publishing
destination returned.