Copyright | (c) 2015-2016 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 |
Atomically update the ResourceRecordSet collection.
See: Google Cloud DNS API Reference for dns.changes.create
.
Synopsis
- type ChangesCreateResource = "dns" :> ("v2beta1" :> ("projects" :> (Capture "project" Text :> ("managedZones" :> (Capture "managedZone" Text :> ("changes" :> (QueryParam "clientOperationId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Change :> Post '[JSON] Change)))))))))
- changesCreate :: Text -> Change -> Text -> ChangesCreate
- data ChangesCreate
- ccProject :: Lens' ChangesCreate Text
- ccPayload :: Lens' ChangesCreate Change
- ccManagedZone :: Lens' ChangesCreate Text
- ccClientOperationId :: Lens' ChangesCreate (Maybe Text)
REST Resource
type ChangesCreateResource = "dns" :> ("v2beta1" :> ("projects" :> (Capture "project" Text :> ("managedZones" :> (Capture "managedZone" Text :> ("changes" :> (QueryParam "clientOperationId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Change :> Post '[JSON] Change))))))))) Source #
A resource alias for dns.changes.create
method which the
ChangesCreate
request conforms to.
Creating a Request
Creates a value of ChangesCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ChangesCreate Source #
Atomically update the ResourceRecordSet collection.
See: changesCreate
smart constructor.
Instances
Request Lenses
ccManagedZone :: Lens' ChangesCreate Text Source #
Identifies the managed zone addressed by this request. Can be the managed zone name or id.
ccClientOperationId :: Lens' ChangesCreate (Maybe Text) Source #
For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.