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 |
Pushes an item onto a queue for later polling and updating.
See: Cloud Search API Reference for cloudsearch.indexing.datasources.items.push
.
Synopsis
- type IndexingDatasourcesItemsPushResource = "v1" :> ("indexing" :> (CaptureMode "name" "push" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PushItemRequest :> Post '[JSON] Item)))))))))
- indexingDatasourcesItemsPush :: PushItemRequest -> Text -> IndexingDatasourcesItemsPush
- data IndexingDatasourcesItemsPush
- idipXgafv :: Lens' IndexingDatasourcesItemsPush (Maybe Xgafv)
- idipUploadProtocol :: Lens' IndexingDatasourcesItemsPush (Maybe Text)
- idipAccessToken :: Lens' IndexingDatasourcesItemsPush (Maybe Text)
- idipUploadType :: Lens' IndexingDatasourcesItemsPush (Maybe Text)
- idipPayload :: Lens' IndexingDatasourcesItemsPush PushItemRequest
- idipName :: Lens' IndexingDatasourcesItemsPush Text
- idipCallback :: Lens' IndexingDatasourcesItemsPush (Maybe Text)
REST Resource
type IndexingDatasourcesItemsPushResource = "v1" :> ("indexing" :> (CaptureMode "name" "push" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PushItemRequest :> Post '[JSON] Item))))))))) Source #
A resource alias for cloudsearch.indexing.datasources.items.push
method which the
IndexingDatasourcesItemsPush
request conforms to.
Creating a Request
indexingDatasourcesItemsPush Source #
Creates a value of IndexingDatasourcesItemsPush
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data IndexingDatasourcesItemsPush Source #
Pushes an item onto a queue for later polling and updating.
See: indexingDatasourcesItemsPush
smart constructor.
Instances
Request Lenses
idipUploadProtocol :: Lens' IndexingDatasourcesItemsPush (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
idipAccessToken :: Lens' IndexingDatasourcesItemsPush (Maybe Text) Source #
OAuth access token.
idipUploadType :: Lens' IndexingDatasourcesItemsPush (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
idipPayload :: Lens' IndexingDatasourcesItemsPush PushItemRequest Source #
Multipart request metadata.
idipName :: Lens' IndexingDatasourcesItemsPush Text Source #
Name of the item to push into the indexing queue. Format: datasources/{source_id}/items/{ID} This is a required field. The maximum length is 1536 characters.
idipCallback :: Lens' IndexingDatasourcesItemsPush (Maybe Text) Source #
JSONP