Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Describes one or more launch templates.
This operation returns paginated results.
Synopsis
- data DescribeLaunchTemplates = DescribeLaunchTemplates' {}
- newDescribeLaunchTemplates :: DescribeLaunchTemplates
- describeLaunchTemplates_dryRun :: Lens' DescribeLaunchTemplates (Maybe Bool)
- describeLaunchTemplates_filters :: Lens' DescribeLaunchTemplates (Maybe [Filter])
- describeLaunchTemplates_launchTemplateIds :: Lens' DescribeLaunchTemplates (Maybe [Text])
- describeLaunchTemplates_launchTemplateNames :: Lens' DescribeLaunchTemplates (Maybe [Text])
- describeLaunchTemplates_maxResults :: Lens' DescribeLaunchTemplates (Maybe Natural)
- describeLaunchTemplates_nextToken :: Lens' DescribeLaunchTemplates (Maybe Text)
- data DescribeLaunchTemplatesResponse = DescribeLaunchTemplatesResponse' {}
- newDescribeLaunchTemplatesResponse :: Int -> DescribeLaunchTemplatesResponse
- describeLaunchTemplatesResponse_launchTemplates :: Lens' DescribeLaunchTemplatesResponse (Maybe [LaunchTemplate])
- describeLaunchTemplatesResponse_nextToken :: Lens' DescribeLaunchTemplatesResponse (Maybe Text)
- describeLaunchTemplatesResponse_httpStatus :: Lens' DescribeLaunchTemplatesResponse Int
Creating a Request
data DescribeLaunchTemplates Source #
See: newDescribeLaunchTemplates
smart constructor.
DescribeLaunchTemplates' | |
|
Instances
newDescribeLaunchTemplates :: DescribeLaunchTemplates Source #
Create a value of DescribeLaunchTemplates
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:dryRun:DescribeLaunchTemplates'
, describeLaunchTemplates_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
$sel:filters:DescribeLaunchTemplates'
, describeLaunchTemplates_filters
- One or more filters.
create-time
- The time the launch template was created.launch-template-name
- The name of the launch template.tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
$sel:launchTemplateIds:DescribeLaunchTemplates'
, describeLaunchTemplates_launchTemplateIds
- One or more launch template IDs.
$sel:launchTemplateNames:DescribeLaunchTemplates'
, describeLaunchTemplates_launchTemplateNames
- One or more launch template names.
$sel:maxResults:DescribeLaunchTemplates'
, describeLaunchTemplates_maxResults
- The maximum number of results to return in a single call. To retrieve
the remaining results, make another call with the returned NextToken
value. This value can be between 1 and 200.
DescribeLaunchTemplates
, describeLaunchTemplates_nextToken
- The token to request the next page of results.
Request Lenses
describeLaunchTemplates_dryRun :: Lens' DescribeLaunchTemplates (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
describeLaunchTemplates_filters :: Lens' DescribeLaunchTemplates (Maybe [Filter]) Source #
One or more filters.
create-time
- The time the launch template was created.launch-template-name
- The name of the launch template.tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
describeLaunchTemplates_launchTemplateIds :: Lens' DescribeLaunchTemplates (Maybe [Text]) Source #
One or more launch template IDs.
describeLaunchTemplates_launchTemplateNames :: Lens' DescribeLaunchTemplates (Maybe [Text]) Source #
One or more launch template names.
describeLaunchTemplates_maxResults :: Lens' DescribeLaunchTemplates (Maybe Natural) Source #
The maximum number of results to return in a single call. To retrieve
the remaining results, make another call with the returned NextToken
value. This value can be between 1 and 200.
describeLaunchTemplates_nextToken :: Lens' DescribeLaunchTemplates (Maybe Text) Source #
The token to request the next page of results.
Destructuring the Response
data DescribeLaunchTemplatesResponse Source #
See: newDescribeLaunchTemplatesResponse
smart constructor.
DescribeLaunchTemplatesResponse' | |
|
Instances
newDescribeLaunchTemplatesResponse Source #
Create a value of DescribeLaunchTemplatesResponse
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:launchTemplates:DescribeLaunchTemplatesResponse'
, describeLaunchTemplatesResponse_launchTemplates
- Information about the launch templates.
DescribeLaunchTemplates
, describeLaunchTemplatesResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
$sel:httpStatus:DescribeLaunchTemplatesResponse'
, describeLaunchTemplatesResponse_httpStatus
- The response's http status code.
Response Lenses
describeLaunchTemplatesResponse_launchTemplates :: Lens' DescribeLaunchTemplatesResponse (Maybe [LaunchTemplate]) Source #
Information about the launch templates.
describeLaunchTemplatesResponse_nextToken :: Lens' DescribeLaunchTemplatesResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
describeLaunchTemplatesResponse_httpStatus :: Lens' DescribeLaunchTemplatesResponse Int Source #
The response's http status code.