| 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 |
Network.AWS.EC2.GetLaunchTemplateData
Description
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
Arguments
| :: Text | |
| -> GetLaunchTemplateData |
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 #
See: getLaunchTemplateData smart constructor.
Instances
Request Lenses
gltdDryRun :: Lens' GetLaunchTemplateData (Maybe Bool) #
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 #
The ID of the instance.
Destructuring the Response
getLaunchTemplateDataResponse #
Arguments
| :: Int | |
| -> GetLaunchTemplateDataResponse |
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 #
See: getLaunchTemplateDataResponse smart constructor.
Instances
Response Lenses
gltdrsLaunchTemplateData :: Lens' GetLaunchTemplateDataResponse (Maybe ResponseLaunchTemplateData) #
The instance data.
gltdrsResponseStatus :: Lens' GetLaunchTemplateDataResponse Int #
- - | The response status code.