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 |
Assign License.
See: Enterprise License Manager API Reference for licensing.licenseAssignments.update
.
Synopsis
- type LicenseAssignmentsUpdateResource = "apps" :> ("licensing" :> ("v1" :> ("product" :> (Capture "productId" Text :> ("sku" :> (Capture "skuId" Text :> ("user" :> (Capture "userId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LicenseAssignment :> Put '[JSON] LicenseAssignment))))))))))
- licenseAssignmentsUpdate :: Text -> LicenseAssignment -> Text -> Text -> LicenseAssignmentsUpdate
- data LicenseAssignmentsUpdate
- lauSKUId :: Lens' LicenseAssignmentsUpdate Text
- lauPayload :: Lens' LicenseAssignmentsUpdate LicenseAssignment
- lauUserId :: Lens' LicenseAssignmentsUpdate Text
- lauProductId :: Lens' LicenseAssignmentsUpdate Text
REST Resource
type LicenseAssignmentsUpdateResource = "apps" :> ("licensing" :> ("v1" :> ("product" :> (Capture "productId" Text :> ("sku" :> (Capture "skuId" Text :> ("user" :> (Capture "userId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LicenseAssignment :> Put '[JSON] LicenseAssignment)))))))))) Source #
A resource alias for licensing.licenseAssignments.update
method which the
LicenseAssignmentsUpdate
request conforms to.
Creating a Request
licenseAssignmentsUpdate Source #
:: Text | |
-> LicenseAssignment | |
-> Text | |
-> Text | |
-> LicenseAssignmentsUpdate |
Creates a value of LicenseAssignmentsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LicenseAssignmentsUpdate Source #
Assign License.
See: licenseAssignmentsUpdate
smart constructor.
Instances
Request Lenses
lauSKUId :: Lens' LicenseAssignmentsUpdate Text Source #
Name for sku for which license would be revoked
lauPayload :: Lens' LicenseAssignmentsUpdate LicenseAssignment Source #
Multipart request metadata.
lauProductId :: Lens' LicenseAssignmentsUpdate Text Source #
Name for product