Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <[email protected]> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.CodeDeploy.GetDeploymentInstance
Description
Gets information about an instance as part of a deployment.
See: AWS API Reference for GetDeploymentInstance.
- getDeploymentInstance :: Text -> Text -> GetDeploymentInstance
- data GetDeploymentInstance
- gdiDeploymentId :: Lens' GetDeploymentInstance Text
- gdiInstanceId :: Lens' GetDeploymentInstance Text
- getDeploymentInstanceResponse :: Int -> GetDeploymentInstanceResponse
- data GetDeploymentInstanceResponse
- gdirsInstanceSummary :: Lens' GetDeploymentInstanceResponse (Maybe InstanceSummary)
- gdirsStatus :: Lens' GetDeploymentInstanceResponse Int
Creating a Request
Arguments
:: Text | |
-> Text | |
-> GetDeploymentInstance |
Creates a value of GetDeploymentInstance
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetDeploymentInstance Source
Represents the input of a get deployment instance operation.
See: getDeploymentInstance
smart constructor.
Instances
Request Lenses
gdiDeploymentId :: Lens' GetDeploymentInstance Text Source
The unique ID of a deployment.
gdiInstanceId :: Lens' GetDeploymentInstance Text Source
The unique ID of an instance in the deployment's deployment group.
Destructuring the Response
getDeploymentInstanceResponse Source
Arguments
:: Int | |
-> GetDeploymentInstanceResponse |
Creates a value of GetDeploymentInstanceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetDeploymentInstanceResponse Source
Represents the output of a get deployment instance operation.
See: getDeploymentInstanceResponse
smart constructor.
Response Lenses
gdirsInstanceSummary :: Lens' GetDeploymentInstanceResponse (Maybe InstanceSummary) Source
Information about the instance.
gdirsStatus :: Lens' GetDeploymentInstanceResponse Int Source
The response status code.