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