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 |
Enumerate Changes to a ResourceRecordSet collection.
See: Google Cloud DNS API Reference for dns.changes.list
.
Synopsis
- type ChangesListResource = "dns" :> ("v2beta1" :> ("projects" :> (Capture "project" Text :> ("managedZones" :> (Capture "managedZone" Text :> ("changes" :> (QueryParam "sortOrder" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "sortBy" ChangesListSortBy :> (QueryParam "alt" AltJSON :> Get '[JSON] ChangesListResponse)))))))))))
- changesList :: Text -> Text -> ChangesList
- data ChangesList
- clProject :: Lens' ChangesList Text
- clSortOrder :: Lens' ChangesList (Maybe Text)
- clPageToken :: Lens' ChangesList (Maybe Text)
- clManagedZone :: Lens' ChangesList Text
- clMaxResults :: Lens' ChangesList (Maybe Int32)
- clSortBy :: Lens' ChangesList ChangesListSortBy
REST Resource
type ChangesListResource = "dns" :> ("v2beta1" :> ("projects" :> (Capture "project" Text :> ("managedZones" :> (Capture "managedZone" Text :> ("changes" :> (QueryParam "sortOrder" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "sortBy" ChangesListSortBy :> (QueryParam "alt" AltJSON :> Get '[JSON] ChangesListResponse))))))))))) Source #
A resource alias for dns.changes.list
method which the
ChangesList
request conforms to.
Creating a Request
Creates a value of ChangesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ChangesList Source #
Enumerate Changes to a ResourceRecordSet collection.
See: changesList
smart constructor.
Instances
Request Lenses
clSortOrder :: Lens' ChangesList (Maybe Text) Source #
Sorting order direction: 'ascending' or 'descending'.
clPageToken :: Lens' ChangesList (Maybe Text) Source #
Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.
clManagedZone :: Lens' ChangesList Text Source #
Identifies the managed zone addressed by this request. Can be the managed zone name or id.
clMaxResults :: Lens' ChangesList (Maybe Int32) Source #
Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.
clSortBy :: Lens' ChangesList ChangesListSortBy Source #
Sorting criterion. The only supported value is change sequence.