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 |
Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains.
See: App Engine Admin API Reference for appengine.apps.domainMappings.create
.
Synopsis
- type AppsDomainMAppingsCreateResource = "v1" :> ("apps" :> (Capture "appsId" Text :> ("domainMappings" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "overrideStrategy" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DomainMApping :> Post '[JSON] Operation)))))))))))
- appsDomainMAppingsCreate :: DomainMApping -> Text -> AppsDomainMAppingsCreate
- data AppsDomainMAppingsCreate
- admacXgafv :: Lens' AppsDomainMAppingsCreate (Maybe Xgafv)
- admacUploadProtocol :: Lens' AppsDomainMAppingsCreate (Maybe Text)
- admacAccessToken :: Lens' AppsDomainMAppingsCreate (Maybe Text)
- admacUploadType :: Lens' AppsDomainMAppingsCreate (Maybe Text)
- admacPayload :: Lens' AppsDomainMAppingsCreate DomainMApping
- admacOverrideStrategy :: Lens' AppsDomainMAppingsCreate (Maybe Text)
- admacAppsId :: Lens' AppsDomainMAppingsCreate Text
- admacCallback :: Lens' AppsDomainMAppingsCreate (Maybe Text)
REST Resource
type AppsDomainMAppingsCreateResource = "v1" :> ("apps" :> (Capture "appsId" Text :> ("domainMappings" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "overrideStrategy" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DomainMApping :> Post '[JSON] Operation))))))))))) Source #
A resource alias for appengine.apps.domainMappings.create
method which the
AppsDomainMAppingsCreate
request conforms to.
Creating a Request
appsDomainMAppingsCreate Source #
Creates a value of AppsDomainMAppingsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AppsDomainMAppingsCreate Source #
Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains.
See: appsDomainMAppingsCreate
smart constructor.
Instances
Request Lenses
admacXgafv :: Lens' AppsDomainMAppingsCreate (Maybe Xgafv) Source #
V1 error format.
admacUploadProtocol :: Lens' AppsDomainMAppingsCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
admacAccessToken :: Lens' AppsDomainMAppingsCreate (Maybe Text) Source #
OAuth access token.
admacUploadType :: Lens' AppsDomainMAppingsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
admacPayload :: Lens' AppsDomainMAppingsCreate DomainMApping Source #
Multipart request metadata.
admacOverrideStrategy :: Lens' AppsDomainMAppingsCreate (Maybe Text) Source #
Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.
admacAppsId :: Lens' AppsDomainMAppingsCreate Text Source #
Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
admacCallback :: Lens' AppsDomainMAppingsCreate (Maybe Text) Source #
JSONP