| Copyright | (c) 2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.DNS.Changes.Get
Description
Fetch the representation of an existing Change.
See: Google Cloud DNS API Reference for dns.changes.get.
- type ChangesGetResource = "dns" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("managedZones" :> (Capture "managedZone" Text :> ("changes" :> (Capture "changeId" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` Change))))))))
- changesGet :: Text -> Text -> Text -> ChangesGet
- data ChangesGet
- cgProject :: Lens' ChangesGet Text
- cgChangeId :: Lens' ChangesGet Text
- cgManagedZone :: Lens' ChangesGet Text
REST Resource
type ChangesGetResource = "dns" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("managedZones" :> (Capture "managedZone" Text :> ("changes" :> (Capture "changeId" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` Change)))))))) Source
A resource alias for dns.changes.get method which the
ChangesGet request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> ChangesGet |
Creates a value of ChangesGet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ChangesGet Source
Fetch the representation of an existing Change.
See: changesGet smart constructor.
Instances
Request Lenses
cgProject :: Lens' ChangesGet Text Source
Identifies the project addressed by this request.
cgChangeId :: Lens' ChangesGet Text Source
The identifier of the requested change, from a previous ResourceRecordSetsChangeResponse.
cgManagedZone :: Lens' ChangesGet Text Source
Identifies the managed zone addressed by this request. Can be the managed zone name or id.