Copyright | (c) 2013-2021 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 |
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.
GetOnPremisesInstance' | |
|
Instances
newGetOnPremisesInstance Source #
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:
$sel:instanceName: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.
GetOnPremisesInstanceResponse' | |
|
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.