| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.Route53AutoNaming.GetInstance
Description
Gets information about a specified instance.
- getInstance :: Text -> Text -> GetInstance
- data GetInstance
- giServiceId :: Lens' GetInstance Text
- giInstanceId :: Lens' GetInstance Text
- getInstanceResponse :: Int -> GetInstanceResponse
- data GetInstanceResponse
- girsInstance :: Lens' GetInstanceResponse (Maybe Instance)
- girsResponseStatus :: Lens' GetInstanceResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> GetInstance |
Creates a value of GetInstance with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
giServiceId- The ID of the service that the instance is associated with.giInstanceId- The ID of the instance that you want to get information about.
data GetInstance Source #
See: getInstance smart constructor.
Instances
Request Lenses
giServiceId :: Lens' GetInstance Text Source #
The ID of the service that the instance is associated with.
giInstanceId :: Lens' GetInstance Text Source #
The ID of the instance that you want to get information about.
Destructuring the Response
Arguments
| :: Int | |
| -> GetInstanceResponse |
Creates a value of GetInstanceResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
girsInstance- A complex type that contains information about a specified instance.girsResponseStatus- -- | The response status code.
data GetInstanceResponse Source #
See: getInstanceResponse smart constructor.
Response Lenses
girsInstance :: Lens' GetInstanceResponse (Maybe Instance) Source #
A complex type that contains information about a specified instance.
girsResponseStatus :: Lens' GetInstanceResponse Int Source #
- - | The response status code.