| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeDeploy.GetOnPremisesInstance
Description
Gets information about an on-premises instance.
Synopsis
- data GetOnPremisesInstance = GetOnPremisesInstance' {
- instanceName :: Text
- newGetOnPremisesInstance :: Text -> GetOnPremisesInstance
- getOnPremisesInstance_instanceName :: Lens' GetOnPremisesInstance Text
- data GetOnPremisesInstanceResponse = GetOnPremisesInstanceResponse' {}
- newGetOnPremisesInstanceResponse :: Int -> GetOnPremisesInstanceResponse
- getOnPremisesInstanceResponse_instanceInfo :: Lens' GetOnPremisesInstanceResponse (Maybe InstanceInfo)
- getOnPremisesInstanceResponse_httpStatus :: Lens' GetOnPremisesInstanceResponse Int
Creating a Request
data GetOnPremisesInstance Source #
Represents the input of a GetOnPremisesInstance operation.
See: newGetOnPremisesInstance smart constructor.
Constructors
| GetOnPremisesInstance' | |
Fields
| |
Instances
newGetOnPremisesInstance Source #
Arguments
| :: Text | |
| -> GetOnPremisesInstance |
Create a value of GetOnPremisesInstance with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetOnPremisesInstance, getOnPremisesInstance_instanceName - The name of the on-premises instance about which to get information.
Request Lenses
getOnPremisesInstance_instanceName :: Lens' GetOnPremisesInstance Text Source #
The name of the on-premises instance about which to get information.
Destructuring the Response
data GetOnPremisesInstanceResponse Source #
Represents the output of a GetOnPremisesInstance operation.
See: newGetOnPremisesInstanceResponse smart constructor.
Constructors
| GetOnPremisesInstanceResponse' | |
Fields
| |
Instances
newGetOnPremisesInstanceResponse Source #
Create a value of GetOnPremisesInstanceResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:instanceInfo:GetOnPremisesInstanceResponse', getOnPremisesInstanceResponse_instanceInfo - Information about the on-premises instance.
$sel:httpStatus:GetOnPremisesInstanceResponse', getOnPremisesInstanceResponse_httpStatus - The response's http status code.
Response Lenses
getOnPremisesInstanceResponse_instanceInfo :: Lens' GetOnPremisesInstanceResponse (Maybe InstanceInfo) Source #
Information about the on-premises instance.
getOnPremisesInstanceResponse_httpStatus :: Lens' GetOnPremisesInstanceResponse Int Source #
The response's http status code.