Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Describes one or more launch templates.
- describeLaunchTemplates :: DescribeLaunchTemplates
- data DescribeLaunchTemplates
- dltsFilters :: Lens' DescribeLaunchTemplates [Filter]
- dltsNextToken :: Lens' DescribeLaunchTemplates (Maybe Text)
- dltsLaunchTemplateIds :: Lens' DescribeLaunchTemplates [Text]
- dltsDryRun :: Lens' DescribeLaunchTemplates (Maybe Bool)
- dltsMaxResults :: Lens' DescribeLaunchTemplates (Maybe Int)
- dltsLaunchTemplateNames :: Lens' DescribeLaunchTemplates [Text]
- describeLaunchTemplatesResponse :: Int -> DescribeLaunchTemplatesResponse
- data DescribeLaunchTemplatesResponse
- dltsrsLaunchTemplates :: Lens' DescribeLaunchTemplatesResponse [LaunchTemplate]
- dltsrsNextToken :: Lens' DescribeLaunchTemplatesResponse (Maybe Text)
- dltsrsResponseStatus :: Lens' DescribeLaunchTemplatesResponse Int
Creating a Request
describeLaunchTemplates :: DescribeLaunchTemplates Source #
Creates a value of DescribeLaunchTemplates
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dltsFilters
- One or more filters. *create-time
- The time the launch template was created. *launch-template-name
- The name of the launch template. *tag
:key =value - The keyvalue combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specifytag:Purpose
for the filter name andX
for the filter value. *tag-key
- The key of a tag assigned to the resource. This filter is independent of thetag-value
filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of the tag's key). If you want to list only resources where Purpose is X, see thetag
:key =value/ filter.dltsNextToken
- The token to request the next page of results.dltsLaunchTemplateIds
- One or more launch template IDs.dltsDryRun
- 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.dltsMaxResults
- The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returnedNextToken
value. This value can be between 5 and 1000.dltsLaunchTemplateNames
- One or more launch template names.
data DescribeLaunchTemplates Source #
See: describeLaunchTemplates
smart constructor.
Request Lenses
dltsFilters :: Lens' DescribeLaunchTemplates [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 =value - The keyvalue combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify tag:Purpose
for the filter name and X
for the filter value. * tag-key
- The key of a tag assigned to the resource. This filter is independent of the tag-value
filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of the tag's key). If you want to list only resources where Purpose is X, see the tag
:key =value/ filter.
dltsNextToken :: Lens' DescribeLaunchTemplates (Maybe Text) Source #
The token to request the next page of results.
dltsLaunchTemplateIds :: Lens' DescribeLaunchTemplates [Text] Source #
One or more launch template IDs.
dltsDryRun :: 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
.
dltsMaxResults :: Lens' DescribeLaunchTemplates (Maybe Int) 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 5 and 1000.
dltsLaunchTemplateNames :: Lens' DescribeLaunchTemplates [Text] Source #
One or more launch template names.
Destructuring the Response
describeLaunchTemplatesResponse Source #
Creates a value of DescribeLaunchTemplatesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dltsrsLaunchTemplates
- Information about the launch templates.dltsrsNextToken
- The token to use to retrieve the next page of results. This value isnull
when there are no more results to return.dltsrsResponseStatus
- -- | The response status code.
data DescribeLaunchTemplatesResponse Source #
See: describeLaunchTemplatesResponse
smart constructor.
Response Lenses
dltsrsLaunchTemplates :: Lens' DescribeLaunchTemplatesResponse [LaunchTemplate] Source #
Information about the launch templates.
dltsrsNextToken :: 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.
dltsrsResponseStatus :: Lens' DescribeLaunchTemplatesResponse Int Source #
- - | The response status code.