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.GetOnPremisesInstance
Description
Gets information about an on-premises instance.
See: AWS API Reference for GetOnPremisesInstance.
- getOnPremisesInstance :: Text -> GetOnPremisesInstance
- data GetOnPremisesInstance
- gopiInstanceName :: Lens' GetOnPremisesInstance Text
- getOnPremisesInstanceResponse :: Int -> GetOnPremisesInstanceResponse
- data GetOnPremisesInstanceResponse
- gopirsInstanceInfo :: Lens' GetOnPremisesInstanceResponse (Maybe InstanceInfo)
- gopirsStatus :: Lens' GetOnPremisesInstanceResponse Int
Creating a Request
Arguments
:: Text | |
-> GetOnPremisesInstance |
Creates a value of GetOnPremisesInstance
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetOnPremisesInstance Source
Represents the input of a get on-premises instance operation.
See: getOnPremisesInstance
smart constructor.
Instances
Request Lenses
gopiInstanceName :: Lens' GetOnPremisesInstance Text Source
The name of the on-premises instance to get information about
Destructuring the Response
getOnPremisesInstanceResponse Source
Arguments
:: Int | |
-> GetOnPremisesInstanceResponse |
Creates a value of GetOnPremisesInstanceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetOnPremisesInstanceResponse Source
Represents the output of a get on-premises instance operation.
See: getOnPremisesInstanceResponse
smart constructor.
Response Lenses
gopirsInstanceInfo :: Lens' GetOnPremisesInstanceResponse (Maybe InstanceInfo) Source
Information about the on-premises instance.
gopirsStatus :: Lens' GetOnPremisesInstanceResponse Int Source
The response status code.