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 App Runner automatic scaling configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all configurations in your account. You can optionally query only the latest revision of each requested name.
Synopsis
- data ListAutoScalingConfigurations = ListAutoScalingConfigurations' {}
- newListAutoScalingConfigurations :: ListAutoScalingConfigurations
- listAutoScalingConfigurations_autoScalingConfigurationName :: Lens' ListAutoScalingConfigurations (Maybe Text)
- listAutoScalingConfigurations_nextToken :: Lens' ListAutoScalingConfigurations (Maybe Text)
- listAutoScalingConfigurations_latestOnly :: Lens' ListAutoScalingConfigurations (Maybe Bool)
- listAutoScalingConfigurations_maxResults :: Lens' ListAutoScalingConfigurations (Maybe Natural)
- data ListAutoScalingConfigurationsResponse = ListAutoScalingConfigurationsResponse' {}
- newListAutoScalingConfigurationsResponse :: Int -> ListAutoScalingConfigurationsResponse
- listAutoScalingConfigurationsResponse_nextToken :: Lens' ListAutoScalingConfigurationsResponse (Maybe Text)
- listAutoScalingConfigurationsResponse_httpStatus :: Lens' ListAutoScalingConfigurationsResponse Int
- listAutoScalingConfigurationsResponse_autoScalingConfigurationSummaryList :: Lens' ListAutoScalingConfigurationsResponse [AutoScalingConfigurationSummary]
Creating a Request
data ListAutoScalingConfigurations Source #
See: newListAutoScalingConfigurations
smart constructor.
ListAutoScalingConfigurations' | |
|
Instances
newListAutoScalingConfigurations :: ListAutoScalingConfigurations Source #
Create a value of ListAutoScalingConfigurations
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:autoScalingConfigurationName:ListAutoScalingConfigurations'
, listAutoScalingConfigurations_autoScalingConfigurationName
- The name of the App Runner auto scaling configuration that you want to
list. If specified, App Runner lists revisions that share this name. If
not specified, App Runner returns revisions of all configurations.
$sel:nextToken:ListAutoScalingConfigurations'
, listAutoScalingConfigurations_nextToken
- A token from a previous result page. It's used for a paginated request.
The request retrieves the next result page. All other parameter values
must be identical to the ones that are specified in the initial request.
If you don't specify NextToken
, the request retrieves the first
result page.
$sel:latestOnly:ListAutoScalingConfigurations'
, listAutoScalingConfigurations_latestOnly
- Set to true
to list only the latest revision for each requested
configuration name.
Keep as false
to list all revisions for each requested configuration
name.
Default: false
$sel:maxResults:ListAutoScalingConfigurations'
, listAutoScalingConfigurations_maxResults
- The maximum number of results to include in each response (result page).
It's used for a paginated request.
If you don't specify MaxResults
, the request retrieves all available
results in a single response.
Request Lenses
listAutoScalingConfigurations_autoScalingConfigurationName :: Lens' ListAutoScalingConfigurations (Maybe Text) Source #
The name of the App Runner auto scaling configuration that you want to list. If specified, App Runner lists revisions that share this name. If not specified, App Runner returns revisions of all configurations.
listAutoScalingConfigurations_nextToken :: Lens' ListAutoScalingConfigurations (Maybe Text) Source #
A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones that are specified in the initial request.
If you don't specify NextToken
, the request retrieves the first
result page.
listAutoScalingConfigurations_latestOnly :: Lens' ListAutoScalingConfigurations (Maybe Bool) Source #
Set to true
to list only the latest revision for each requested
configuration name.
Keep as false
to list all revisions for each requested configuration
name.
Default: false
listAutoScalingConfigurations_maxResults :: Lens' ListAutoScalingConfigurations (Maybe Natural) Source #
The maximum number of results to include in each response (result page). It's used for a paginated request.
If you don't specify MaxResults
, the request retrieves all available
results in a single response.
Destructuring the Response
data ListAutoScalingConfigurationsResponse Source #
See: newListAutoScalingConfigurationsResponse
smart constructor.
ListAutoScalingConfigurationsResponse' | |
|
Instances
newListAutoScalingConfigurationsResponse Source #
Create a value of ListAutoScalingConfigurationsResponse
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:ListAutoScalingConfigurations'
, listAutoScalingConfigurationsResponse_nextToken
- The token that you can pass in a subsequent request to get the next
result page. It's returned in a paginated request.
$sel:httpStatus:ListAutoScalingConfigurationsResponse'
, listAutoScalingConfigurationsResponse_httpStatus
- The response's http status code.
$sel:autoScalingConfigurationSummaryList:ListAutoScalingConfigurationsResponse'
, listAutoScalingConfigurationsResponse_autoScalingConfigurationSummaryList
- A list of summary information records for auto scaling configurations.
In a paginated request, the request returns up to MaxResults
records
for each call.
Response Lenses
listAutoScalingConfigurationsResponse_nextToken :: Lens' ListAutoScalingConfigurationsResponse (Maybe Text) Source #
The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
listAutoScalingConfigurationsResponse_httpStatus :: Lens' ListAutoScalingConfigurationsResponse Int Source #
The response's http status code.
listAutoScalingConfigurationsResponse_autoScalingConfigurationSummaryList :: Lens' ListAutoScalingConfigurationsResponse [AutoScalingConfigurationSummary] Source #
A list of summary information records for auto scaling configurations.
In a paginated request, the request returns up to MaxResults
records
for each call.