| Copyright | (c) 2013-2018 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.
Synopsis
- getOnPremisesInstance :: Text -> GetOnPremisesInstance
- data GetOnPremisesInstance
- gopiInstanceName :: Lens' GetOnPremisesInstance Text
- getOnPremisesInstanceResponse :: Int -> GetOnPremisesInstanceResponse
- data GetOnPremisesInstanceResponse
- gopirsInstanceInfo :: Lens' GetOnPremisesInstanceResponse (Maybe InstanceInfo)
- gopirsResponseStatus :: Lens' GetOnPremisesInstanceResponse Int
Creating a Request
getOnPremisesInstance Source #
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:
gopiInstanceName- The name of the on-premises instance about which to get information.
data GetOnPremisesInstance Source #
Represents the input of a GetOnPremisesInstance operation.
See: getOnPremisesInstance smart constructor.
Instances
Request Lenses
gopiInstanceName :: Lens' GetOnPremisesInstance Text Source #
The name of the on-premises instance about which to get information.
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:
gopirsInstanceInfo- Information about the on-premises instance.gopirsResponseStatus- -- | The response status code.
data GetOnPremisesInstanceResponse Source #
Represents the output of a GetOnPremisesInstance operation.
See: getOnPremisesInstanceResponse smart constructor.
Instances
Response Lenses
gopirsInstanceInfo :: Lens' GetOnPremisesInstanceResponse (Maybe InstanceInfo) Source #
Information about the on-premises instance.
gopirsResponseStatus :: Lens' GetOnPremisesInstanceResponse Int Source #
- - | The response status code.