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 infrastructure configurations.
Synopsis
- data ListInfrastructureConfigurations = ListInfrastructureConfigurations' {}
- newListInfrastructureConfigurations :: ListInfrastructureConfigurations
- listInfrastructureConfigurations_filters :: Lens' ListInfrastructureConfigurations (Maybe (NonEmpty Filter))
- listInfrastructureConfigurations_nextToken :: Lens' ListInfrastructureConfigurations (Maybe Text)
- listInfrastructureConfigurations_maxResults :: Lens' ListInfrastructureConfigurations (Maybe Natural)
- data ListInfrastructureConfigurationsResponse = ListInfrastructureConfigurationsResponse' {}
- newListInfrastructureConfigurationsResponse :: Int -> ListInfrastructureConfigurationsResponse
- listInfrastructureConfigurationsResponse_requestId :: Lens' ListInfrastructureConfigurationsResponse (Maybe Text)
- listInfrastructureConfigurationsResponse_infrastructureConfigurationSummaryList :: Lens' ListInfrastructureConfigurationsResponse (Maybe [InfrastructureConfigurationSummary])
- listInfrastructureConfigurationsResponse_nextToken :: Lens' ListInfrastructureConfigurationsResponse (Maybe Text)
- listInfrastructureConfigurationsResponse_httpStatus :: Lens' ListInfrastructureConfigurationsResponse Int
Creating a Request
data ListInfrastructureConfigurations Source #
See: newListInfrastructureConfigurations
smart constructor.
Instances
newListInfrastructureConfigurations :: ListInfrastructureConfigurations Source #
Create a value of ListInfrastructureConfigurations
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:ListInfrastructureConfigurations'
, listInfrastructureConfigurations_filters
- You can filter on name
to streamline results.
$sel:nextToken:ListInfrastructureConfigurations'
, listInfrastructureConfigurations_nextToken
- A token to specify where to start paginating. This is the NextToken from
a previously truncated response.
$sel:maxResults:ListInfrastructureConfigurations'
, listInfrastructureConfigurations_maxResults
- The maximum items to return in a request.
Request Lenses
listInfrastructureConfigurations_filters :: Lens' ListInfrastructureConfigurations (Maybe (NonEmpty Filter)) Source #
You can filter on name
to streamline results.
listInfrastructureConfigurations_nextToken :: Lens' ListInfrastructureConfigurations (Maybe Text) Source #
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
listInfrastructureConfigurations_maxResults :: Lens' ListInfrastructureConfigurations (Maybe Natural) Source #
The maximum items to return in a request.
Destructuring the Response
data ListInfrastructureConfigurationsResponse Source #
See: newListInfrastructureConfigurationsResponse
smart constructor.
ListInfrastructureConfigurationsResponse' | |
|
Instances
newListInfrastructureConfigurationsResponse Source #
Create a value of ListInfrastructureConfigurationsResponse
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:ListInfrastructureConfigurationsResponse'
, listInfrastructureConfigurationsResponse_requestId
- The request ID that uniquely identifies this request.
$sel:infrastructureConfigurationSummaryList:ListInfrastructureConfigurationsResponse'
, listInfrastructureConfigurationsResponse_infrastructureConfigurationSummaryList
- The list of infrastructure configurations.
$sel:nextToken:ListInfrastructureConfigurations'
, listInfrastructureConfigurationsResponse_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:ListInfrastructureConfigurationsResponse'
, listInfrastructureConfigurationsResponse_httpStatus
- The response's http status code.
Response Lenses
listInfrastructureConfigurationsResponse_requestId :: Lens' ListInfrastructureConfigurationsResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
listInfrastructureConfigurationsResponse_infrastructureConfigurationSummaryList :: Lens' ListInfrastructureConfigurationsResponse (Maybe [InfrastructureConfigurationSummary]) Source #
The list of infrastructure configurations.
listInfrastructureConfigurationsResponse_nextToken :: Lens' ListInfrastructureConfigurationsResponse (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.
listInfrastructureConfigurationsResponse_httpStatus :: Lens' ListInfrastructureConfigurationsResponse Int Source #
The response's http status code.