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 versions of a specified launch template. You can describe all versions, individual versions, or a range of versions.
Synopsis
- describeLaunchTemplateVersions :: DescribeLaunchTemplateVersions
- data DescribeLaunchTemplateVersions
- dltvsLaunchTemplateName :: Lens' DescribeLaunchTemplateVersions (Maybe Text)
- dltvsLaunchTemplateId :: Lens' DescribeLaunchTemplateVersions (Maybe Text)
- dltvsMinVersion :: Lens' DescribeLaunchTemplateVersions (Maybe Text)
- dltvsFilters :: Lens' DescribeLaunchTemplateVersions [Filter]
- dltvsMaxVersion :: Lens' DescribeLaunchTemplateVersions (Maybe Text)
- dltvsVersions :: Lens' DescribeLaunchTemplateVersions [Text]
- dltvsNextToken :: Lens' DescribeLaunchTemplateVersions (Maybe Text)
- dltvsDryRun :: Lens' DescribeLaunchTemplateVersions (Maybe Bool)
- dltvsMaxResults :: Lens' DescribeLaunchTemplateVersions (Maybe Int)
- describeLaunchTemplateVersionsResponse :: Int -> DescribeLaunchTemplateVersionsResponse
- data DescribeLaunchTemplateVersionsResponse
- dltvrsNextToken :: Lens' DescribeLaunchTemplateVersionsResponse (Maybe Text)
- dltvrsLaunchTemplateVersions :: Lens' DescribeLaunchTemplateVersionsResponse [LaunchTemplateVersion]
- dltvrsResponseStatus :: Lens' DescribeLaunchTemplateVersionsResponse Int
Creating a Request
describeLaunchTemplateVersions :: DescribeLaunchTemplateVersions Source #
Creates a value of DescribeLaunchTemplateVersions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dltvsLaunchTemplateName
- The name of the launch template. You must specify either the launch template ID or launch template name in the request.dltvsLaunchTemplateId
- The ID of the launch template. You must specify either the launch template ID or launch template name in the request.dltvsMinVersion
- The version number after which to describe launch template versions.dltvsFilters
- One or more filters. *create-time
- The time the launch template version was created. *ebs-optimized
- A boolean that indicates whether the instance is optimized for Amazon EBS I/O. *iam-instance-profile
- The ARN of the IAM instance profile. *image-id
- The ID of the AMI. *instance-type
- The instance type. *is-default-version
- A boolean that indicates whether the launch template version is the default version. *kernel-id
- The kernel ID. *ram-disk-id
- The RAM disk ID.dltvsMaxVersion
- The version number up to which to describe launch template versions.dltvsVersions
- One or more versions of the launch template.dltvsNextToken
- The token to request the next page of results.dltvsDryRun
- 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
.dltvsMaxResults
- 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.
data DescribeLaunchTemplateVersions Source #
See: describeLaunchTemplateVersions
smart constructor.
Instances
Request Lenses
dltvsLaunchTemplateName :: Lens' DescribeLaunchTemplateVersions (Maybe Text) Source #
The name of the launch template. You must specify either the launch template ID or launch template name in the request.
dltvsLaunchTemplateId :: Lens' DescribeLaunchTemplateVersions (Maybe Text) Source #
The ID of the launch template. You must specify either the launch template ID or launch template name in the request.
dltvsMinVersion :: Lens' DescribeLaunchTemplateVersions (Maybe Text) Source #
The version number after which to describe launch template versions.
dltvsFilters :: Lens' DescribeLaunchTemplateVersions [Filter] Source #
One or more filters. * create-time
- The time the launch template version was created. * ebs-optimized
- A boolean that indicates whether the instance is optimized for Amazon EBS I/O. * iam-instance-profile
- The ARN of the IAM instance profile. * image-id
- The ID of the AMI. * instance-type
- The instance type. * is-default-version
- A boolean that indicates whether the launch template version is the default version. * kernel-id
- The kernel ID. * ram-disk-id
- The RAM disk ID.
dltvsMaxVersion :: Lens' DescribeLaunchTemplateVersions (Maybe Text) Source #
The version number up to which to describe launch template versions.
dltvsVersions :: Lens' DescribeLaunchTemplateVersions [Text] Source #
One or more versions of the launch template.
dltvsNextToken :: Lens' DescribeLaunchTemplateVersions (Maybe Text) Source #
The token to request the next page of results.
dltvsDryRun :: Lens' DescribeLaunchTemplateVersions (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
.
dltvsMaxResults :: Lens' DescribeLaunchTemplateVersions (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.
Destructuring the Response
describeLaunchTemplateVersionsResponse Source #
Creates a value of DescribeLaunchTemplateVersionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dltvrsNextToken
- The token to use to retrieve the next page of results. This value isnull
when there are no more results to return.dltvrsLaunchTemplateVersions
- Information about the launch template versions.dltvrsResponseStatus
- -- | The response status code.
data DescribeLaunchTemplateVersionsResponse Source #
See: describeLaunchTemplateVersionsResponse
smart constructor.
Instances
Response Lenses
dltvrsNextToken :: Lens' DescribeLaunchTemplateVersionsResponse (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.
dltvrsLaunchTemplateVersions :: Lens' DescribeLaunchTemplateVersionsResponse [LaunchTemplateVersion] Source #
Information about the launch template versions.
dltvrsResponseStatus :: Lens' DescribeLaunchTemplateVersionsResponse Int Source #
- - | The response status code.