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 |
List license assignments for given product and sku of the customer.
See: Enterprise License Manager API Reference for licensing.licenseAssignments.listForProductAndSku
.
Synopsis
- type LicenseAssignmentsListForProductAndSKUResource = "apps" :> ("licensing" :> ("v1" :> ("product" :> (Capture "productId" Text :> ("sku" :> (Capture "skuId" Text :> ("users" :> (QueryParam "customerId" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] LicenseAssignmentList)))))))))))
- licenseAssignmentsListForProductAndSKU :: Text -> Text -> Text -> LicenseAssignmentsListForProductAndSKU
- data LicenseAssignmentsListForProductAndSKU
- lalfpaskuSKUId :: Lens' LicenseAssignmentsListForProductAndSKU Text
- lalfpaskuCustomerId :: Lens' LicenseAssignmentsListForProductAndSKU Text
- lalfpaskuPageToken :: Lens' LicenseAssignmentsListForProductAndSKU Text
- lalfpaskuProductId :: Lens' LicenseAssignmentsListForProductAndSKU Text
- lalfpaskuMaxResults :: Lens' LicenseAssignmentsListForProductAndSKU Word32
REST Resource
type LicenseAssignmentsListForProductAndSKUResource = "apps" :> ("licensing" :> ("v1" :> ("product" :> (Capture "productId" Text :> ("sku" :> (Capture "skuId" Text :> ("users" :> (QueryParam "customerId" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] LicenseAssignmentList))))))))))) Source #
A resource alias for licensing.licenseAssignments.listForProductAndSku
method which the
LicenseAssignmentsListForProductAndSKU
request conforms to.
Creating a Request
licenseAssignmentsListForProductAndSKU Source #
Creates a value of LicenseAssignmentsListForProductAndSKU
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LicenseAssignmentsListForProductAndSKU Source #
List license assignments for given product and sku of the customer.
See: licenseAssignmentsListForProductAndSKU
smart constructor.
Instances
Request Lenses
lalfpaskuSKUId :: Lens' LicenseAssignmentsListForProductAndSKU Text Source #
Name for sku
lalfpaskuCustomerId :: Lens' LicenseAssignmentsListForProductAndSKU Text Source #
CustomerId represents the customer for whom licenseassignments are queried
lalfpaskuPageToken :: Lens' LicenseAssignmentsListForProductAndSKU Text Source #
Token to fetch the next page.Optional. By default server will return first page
lalfpaskuProductId :: Lens' LicenseAssignmentsListForProductAndSKU Text Source #
Name for product
lalfpaskuMaxResults :: Lens' LicenseAssignmentsListForProductAndSKU Word32 Source #
Maximum number of campaigns to return at one time. Must be positive. Optional. Default value is 100.