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 |
Creates a search application.
See: Cloud Search API Reference for cloudsearch.settings.searchapplications.create
.
Synopsis
- type SettingsSearchApplicationsCreateResource = "v1" :> ("settings" :> ("searchapplications" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SearchApplication :> Post '[JSON] Operation)))))))))
- settingsSearchApplicationsCreate :: SearchApplication -> SettingsSearchApplicationsCreate
- data SettingsSearchApplicationsCreate
- ssacXgafv :: Lens' SettingsSearchApplicationsCreate (Maybe Xgafv)
- ssacUploadProtocol :: Lens' SettingsSearchApplicationsCreate (Maybe Text)
- ssacAccessToken :: Lens' SettingsSearchApplicationsCreate (Maybe Text)
- ssacUploadType :: Lens' SettingsSearchApplicationsCreate (Maybe Text)
- ssacPayload :: Lens' SettingsSearchApplicationsCreate SearchApplication
- ssacCallback :: Lens' SettingsSearchApplicationsCreate (Maybe Text)
REST Resource
type SettingsSearchApplicationsCreateResource = "v1" :> ("settings" :> ("searchapplications" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SearchApplication :> Post '[JSON] Operation))))))))) Source #
A resource alias for cloudsearch.settings.searchapplications.create
method which the
SettingsSearchApplicationsCreate
request conforms to.
Creating a Request
settingsSearchApplicationsCreate Source #
Creates a value of SettingsSearchApplicationsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SettingsSearchApplicationsCreate Source #
Creates a search application.
See: settingsSearchApplicationsCreate
smart constructor.
Instances
Request Lenses
ssacUploadProtocol :: Lens' SettingsSearchApplicationsCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ssacAccessToken :: Lens' SettingsSearchApplicationsCreate (Maybe Text) Source #
OAuth access token.
ssacUploadType :: Lens' SettingsSearchApplicationsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ssacPayload :: Lens' SettingsSearchApplicationsCreate SearchApplication Source #
Multipart request metadata.