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 |
Gets information about the launch configurations in the account and Region.
This operation returns paginated results.
Synopsis
- data DescribeLaunchConfigurations = DescribeLaunchConfigurations' {}
- newDescribeLaunchConfigurations :: DescribeLaunchConfigurations
- describeLaunchConfigurations_launchConfigurationNames :: Lens' DescribeLaunchConfigurations (Maybe [Text])
- describeLaunchConfigurations_nextToken :: Lens' DescribeLaunchConfigurations (Maybe Text)
- describeLaunchConfigurations_maxRecords :: Lens' DescribeLaunchConfigurations (Maybe Int)
- data DescribeLaunchConfigurationsResponse = DescribeLaunchConfigurationsResponse' {}
- newDescribeLaunchConfigurationsResponse :: Int -> DescribeLaunchConfigurationsResponse
- describeLaunchConfigurationsResponse_nextToken :: Lens' DescribeLaunchConfigurationsResponse (Maybe Text)
- describeLaunchConfigurationsResponse_httpStatus :: Lens' DescribeLaunchConfigurationsResponse Int
- describeLaunchConfigurationsResponse_launchConfigurations :: Lens' DescribeLaunchConfigurationsResponse [LaunchConfiguration]
Creating a Request
data DescribeLaunchConfigurations Source #
See: newDescribeLaunchConfigurations
smart constructor.
DescribeLaunchConfigurations' | |
|
Instances
newDescribeLaunchConfigurations :: DescribeLaunchConfigurations Source #
Create a value of DescribeLaunchConfigurations
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:launchConfigurationNames:DescribeLaunchConfigurations'
, describeLaunchConfigurations_launchConfigurationNames
- The launch configuration names. If you omit this parameter, all launch
configurations are described.
Array Members: Maximum number of 50 items.
$sel:nextToken:DescribeLaunchConfigurations'
, describeLaunchConfigurations_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:maxRecords:DescribeLaunchConfigurations'
, describeLaunchConfigurations_maxRecords
- The maximum number of items to return with this call. The default value
is 50
and the maximum value is 100
.
Request Lenses
describeLaunchConfigurations_launchConfigurationNames :: Lens' DescribeLaunchConfigurations (Maybe [Text]) Source #
The launch configuration names. If you omit this parameter, all launch configurations are described.
Array Members: Maximum number of 50 items.
describeLaunchConfigurations_nextToken :: Lens' DescribeLaunchConfigurations (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
describeLaunchConfigurations_maxRecords :: Lens' DescribeLaunchConfigurations (Maybe Int) Source #
The maximum number of items to return with this call. The default value
is 50
and the maximum value is 100
.
Destructuring the Response
data DescribeLaunchConfigurationsResponse Source #
See: newDescribeLaunchConfigurationsResponse
smart constructor.
DescribeLaunchConfigurationsResponse' | |
|
Instances
newDescribeLaunchConfigurationsResponse Source #
Create a value of DescribeLaunchConfigurationsResponse
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:DescribeLaunchConfigurations'
, describeLaunchConfigurationsResponse_nextToken
- A string that indicates that the response contains more items than can
be returned in a single response. To receive additional items, specify
this string for the NextToken
value when requesting the next set of
items. This value is null when there are no more items to return.
$sel:httpStatus:DescribeLaunchConfigurationsResponse'
, describeLaunchConfigurationsResponse_httpStatus
- The response's http status code.
$sel:launchConfigurations:DescribeLaunchConfigurationsResponse'
, describeLaunchConfigurationsResponse_launchConfigurations
- The launch configurations.
Response Lenses
describeLaunchConfigurationsResponse_nextToken :: Lens' DescribeLaunchConfigurationsResponse (Maybe Text) Source #
A string that indicates that the response contains more items than can
be returned in a single response. To receive additional items, specify
this string for the NextToken
value when requesting the next set of
items. This value is null when there are no more items to return.
describeLaunchConfigurationsResponse_httpStatus :: Lens' DescribeLaunchConfigurationsResponse Int Source #
The response's http status code.
describeLaunchConfigurationsResponse_launchConfigurations :: Lens' DescribeLaunchConfigurationsResponse [LaunchConfiguration] Source #
The launch configurations.