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 |
Updates the schema of a data source.
See: Cloud Search API Reference for cloudsearch.indexing.datasources.updateSchema
.
Synopsis
- type IndexingDatasourcesUpdateSchemaResource = "v1" :> ("indexing" :> (Capture "name" Text :> ("schema" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UpdateSchemaRequest :> Put '[JSON] Operation))))))))))
- indexingDatasourcesUpdateSchema :: UpdateSchemaRequest -> Text -> IndexingDatasourcesUpdateSchema
- data IndexingDatasourcesUpdateSchema
- idusXgafv :: Lens' IndexingDatasourcesUpdateSchema (Maybe Xgafv)
- idusUploadProtocol :: Lens' IndexingDatasourcesUpdateSchema (Maybe Text)
- idusAccessToken :: Lens' IndexingDatasourcesUpdateSchema (Maybe Text)
- idusUploadType :: Lens' IndexingDatasourcesUpdateSchema (Maybe Text)
- idusPayload :: Lens' IndexingDatasourcesUpdateSchema UpdateSchemaRequest
- idusName :: Lens' IndexingDatasourcesUpdateSchema Text
- idusCallback :: Lens' IndexingDatasourcesUpdateSchema (Maybe Text)
REST Resource
type IndexingDatasourcesUpdateSchemaResource = "v1" :> ("indexing" :> (Capture "name" Text :> ("schema" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UpdateSchemaRequest :> Put '[JSON] Operation)))))))))) Source #
A resource alias for cloudsearch.indexing.datasources.updateSchema
method which the
IndexingDatasourcesUpdateSchema
request conforms to.
Creating a Request
indexingDatasourcesUpdateSchema Source #
Creates a value of IndexingDatasourcesUpdateSchema
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data IndexingDatasourcesUpdateSchema Source #
Updates the schema of a data source.
See: indexingDatasourcesUpdateSchema
smart constructor.
Instances
Request Lenses
idusUploadProtocol :: Lens' IndexingDatasourcesUpdateSchema (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
idusAccessToken :: Lens' IndexingDatasourcesUpdateSchema (Maybe Text) Source #
OAuth access token.
idusUploadType :: Lens' IndexingDatasourcesUpdateSchema (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
idusPayload :: Lens' IndexingDatasourcesUpdateSchema UpdateSchemaRequest Source #
Multipart request metadata.
idusName :: Lens' IndexingDatasourcesUpdateSchema Text Source #
Name of the data source to update Schema. Format: datasources/{source_id}
idusCallback :: Lens' IndexingDatasourcesUpdateSchema (Maybe Text) Source #
JSONP