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 |
Retrieves the configuration data of the specified instance. You can use this data to create a launch template.
Synopsis
- getLaunchTemplateData :: Text -> GetLaunchTemplateData
- data GetLaunchTemplateData
- gltdDryRun :: Lens' GetLaunchTemplateData (Maybe Bool)
- gltdInstanceId :: Lens' GetLaunchTemplateData Text
- getLaunchTemplateDataResponse :: Int -> GetLaunchTemplateDataResponse
- data GetLaunchTemplateDataResponse
- gltdrsLaunchTemplateData :: Lens' GetLaunchTemplateDataResponse (Maybe ResponseLaunchTemplateData)
- gltdrsResponseStatus :: Lens' GetLaunchTemplateDataResponse Int
Creating a Request
getLaunchTemplateData Source #
Creates a value of GetLaunchTemplateData
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gltdDryRun
- 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
.gltdInstanceId
- The ID of the instance.
data GetLaunchTemplateData Source #
See: getLaunchTemplateData
smart constructor.
Instances
Request Lenses
gltdDryRun :: Lens' GetLaunchTemplateData (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
.
gltdInstanceId :: Lens' GetLaunchTemplateData Text Source #
The ID of the instance.
Destructuring the Response
getLaunchTemplateDataResponse Source #
Creates a value of GetLaunchTemplateDataResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gltdrsLaunchTemplateData
- The instance data.gltdrsResponseStatus
- -- | The response status code.
data GetLaunchTemplateDataResponse Source #
See: getLaunchTemplateDataResponse
smart constructor.
Instances
Response Lenses
gltdrsLaunchTemplateData :: Lens' GetLaunchTemplateDataResponse (Maybe ResponseLaunchTemplateData) Source #
The instance data.
gltdrsResponseStatus :: Lens' GetLaunchTemplateDataResponse Int Source #
- - | The response status code.