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 new configuration. Once created, a customer can apply the configuration to devices.
See: Android Device Provisioning Partner API Reference for androiddeviceprovisioning.customers.configurations.create
.
Synopsis
- type CustomersConfigurationsCreateResource = "v1" :> (Capture "parent" Text :> ("configurations" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Configuration :> Post '[JSON] Configuration)))))))))
- customersConfigurationsCreate :: Text -> Configuration -> CustomersConfigurationsCreate
- data CustomersConfigurationsCreate
- cccParent :: Lens' CustomersConfigurationsCreate Text
- cccXgafv :: Lens' CustomersConfigurationsCreate (Maybe Xgafv)
- cccUploadProtocol :: Lens' CustomersConfigurationsCreate (Maybe Text)
- cccAccessToken :: Lens' CustomersConfigurationsCreate (Maybe Text)
- cccUploadType :: Lens' CustomersConfigurationsCreate (Maybe Text)
- cccPayload :: Lens' CustomersConfigurationsCreate Configuration
- cccCallback :: Lens' CustomersConfigurationsCreate (Maybe Text)
REST Resource
type CustomersConfigurationsCreateResource = "v1" :> (Capture "parent" Text :> ("configurations" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Configuration :> Post '[JSON] Configuration))))))))) Source #
A resource alias for androiddeviceprovisioning.customers.configurations.create
method which the
CustomersConfigurationsCreate
request conforms to.
Creating a Request
customersConfigurationsCreate Source #
Creates a value of CustomersConfigurationsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CustomersConfigurationsCreate Source #
Creates a new configuration. Once created, a customer can apply the configuration to devices.
See: customersConfigurationsCreate
smart constructor.
Instances
Request Lenses
cccParent :: Lens' CustomersConfigurationsCreate Text Source #
Required. The customer that manages the configuration. An API resource name in the format `customers/[CUSTOMER_ID]`.
cccUploadProtocol :: Lens' CustomersConfigurationsCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
cccAccessToken :: Lens' CustomersConfigurationsCreate (Maybe Text) Source #
OAuth access token.
cccUploadType :: Lens' CustomersConfigurationsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
cccPayload :: Lens' CustomersConfigurationsCreate Configuration Source #
Multipart request metadata.
cccCallback :: Lens' CustomersConfigurationsCreate (Maybe Text) Source #
JSONP