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 distribution configurations.
Synopsis
- data ListDistributionConfigurations = ListDistributionConfigurations' {}
- newListDistributionConfigurations :: ListDistributionConfigurations
- listDistributionConfigurations_filters :: Lens' ListDistributionConfigurations (Maybe (NonEmpty Filter))
- listDistributionConfigurations_nextToken :: Lens' ListDistributionConfigurations (Maybe Text)
- listDistributionConfigurations_maxResults :: Lens' ListDistributionConfigurations (Maybe Natural)
- data ListDistributionConfigurationsResponse = ListDistributionConfigurationsResponse' {}
- newListDistributionConfigurationsResponse :: Int -> ListDistributionConfigurationsResponse
- listDistributionConfigurationsResponse_requestId :: Lens' ListDistributionConfigurationsResponse (Maybe Text)
- listDistributionConfigurationsResponse_distributionConfigurationSummaryList :: Lens' ListDistributionConfigurationsResponse (Maybe [DistributionConfigurationSummary])
- listDistributionConfigurationsResponse_nextToken :: Lens' ListDistributionConfigurationsResponse (Maybe Text)
- listDistributionConfigurationsResponse_httpStatus :: Lens' ListDistributionConfigurationsResponse Int
Creating a Request
data ListDistributionConfigurations Source #
See: newListDistributionConfigurations
smart constructor.
Instances
newListDistributionConfigurations :: ListDistributionConfigurations Source #
Create a value of ListDistributionConfigurations
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:ListDistributionConfigurations'
, listDistributionConfigurations_filters
- You can filter on name
to streamline results.
$sel:nextToken:ListDistributionConfigurations'
, listDistributionConfigurations_nextToken
- A token to specify where to start paginating. This is the NextToken from
a previously truncated response.
$sel:maxResults:ListDistributionConfigurations'
, listDistributionConfigurations_maxResults
- The maximum items to return in a request.
Request Lenses
listDistributionConfigurations_filters :: Lens' ListDistributionConfigurations (Maybe (NonEmpty Filter)) Source #
You can filter on name
to streamline results.
listDistributionConfigurations_nextToken :: Lens' ListDistributionConfigurations (Maybe Text) Source #
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
listDistributionConfigurations_maxResults :: Lens' ListDistributionConfigurations (Maybe Natural) Source #
The maximum items to return in a request.
Destructuring the Response
data ListDistributionConfigurationsResponse Source #
See: newListDistributionConfigurationsResponse
smart constructor.
ListDistributionConfigurationsResponse' | |
|
Instances
newListDistributionConfigurationsResponse Source #
Create a value of ListDistributionConfigurationsResponse
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:requestId:ListDistributionConfigurationsResponse'
, listDistributionConfigurationsResponse_requestId
- The request ID that uniquely identifies this request.
$sel:distributionConfigurationSummaryList:ListDistributionConfigurationsResponse'
, listDistributionConfigurationsResponse_distributionConfigurationSummaryList
- The list of distributions.
$sel:nextToken:ListDistributionConfigurations'
, listDistributionConfigurationsResponse_nextToken
- The next token used for paginated responses. When this is not empty,
there are additional elements that the service has not included in this
request. Use this token with the next request to retrieve additional
objects.
$sel:httpStatus:ListDistributionConfigurationsResponse'
, listDistributionConfigurationsResponse_httpStatus
- The response's http status code.
Response Lenses
listDistributionConfigurationsResponse_requestId :: Lens' ListDistributionConfigurationsResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
listDistributionConfigurationsResponse_distributionConfigurationSummaryList :: Lens' ListDistributionConfigurationsResponse (Maybe [DistributionConfigurationSummary]) Source #
The list of distributions.
listDistributionConfigurationsResponse_nextToken :: Lens' ListDistributionConfigurationsResponse (Maybe Text) Source #
The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.
listDistributionConfigurationsResponse_httpStatus :: Lens' ListDistributionConfigurationsResponse Int Source #
The response's http status code.