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 a search application.
See: Cloud Search API Reference for cloudsearch.settings.searchapplications.update
.
Synopsis
- type SettingsSearchApplicationsUpdateResource = "v1" :> ("settings" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SearchApplication :> Put '[JSON] Operation)))))))))
- settingsSearchApplicationsUpdate :: SearchApplication -> Text -> SettingsSearchApplicationsUpdate
- data SettingsSearchApplicationsUpdate
- ssauXgafv :: Lens' SettingsSearchApplicationsUpdate (Maybe Xgafv)
- ssauUploadProtocol :: Lens' SettingsSearchApplicationsUpdate (Maybe Text)
- ssauAccessToken :: Lens' SettingsSearchApplicationsUpdate (Maybe Text)
- ssauUploadType :: Lens' SettingsSearchApplicationsUpdate (Maybe Text)
- ssauPayload :: Lens' SettingsSearchApplicationsUpdate SearchApplication
- ssauName :: Lens' SettingsSearchApplicationsUpdate Text
- ssauCallback :: Lens' SettingsSearchApplicationsUpdate (Maybe Text)
REST Resource
type SettingsSearchApplicationsUpdateResource = "v1" :> ("settings" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SearchApplication :> Put '[JSON] Operation))))))))) Source #
A resource alias for cloudsearch.settings.searchapplications.update
method which the
SettingsSearchApplicationsUpdate
request conforms to.
Creating a Request
settingsSearchApplicationsUpdate Source #
Creates a value of SettingsSearchApplicationsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SettingsSearchApplicationsUpdate Source #
Updates a search application.
See: settingsSearchApplicationsUpdate
smart constructor.
Instances
Request Lenses
ssauUploadProtocol :: Lens' SettingsSearchApplicationsUpdate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ssauAccessToken :: Lens' SettingsSearchApplicationsUpdate (Maybe Text) Source #
OAuth access token.
ssauUploadType :: Lens' SettingsSearchApplicationsUpdate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ssauPayload :: Lens' SettingsSearchApplicationsUpdate SearchApplication Source #
Multipart request metadata.