| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AppStream.DescribeEntitlements
Description
Retrieves a list that describes one of more entitlements.
Synopsis
- data DescribeEntitlements = DescribeEntitlements' {}
- newDescribeEntitlements :: Text -> DescribeEntitlements
- describeEntitlements_maxResults :: Lens' DescribeEntitlements (Maybe Int)
- describeEntitlements_name :: Lens' DescribeEntitlements (Maybe Text)
- describeEntitlements_nextToken :: Lens' DescribeEntitlements (Maybe Text)
- describeEntitlements_stackName :: Lens' DescribeEntitlements Text
- data DescribeEntitlementsResponse = DescribeEntitlementsResponse' {
- entitlements :: Maybe [Entitlement]
- nextToken :: Maybe Text
- httpStatus :: Int
- newDescribeEntitlementsResponse :: Int -> DescribeEntitlementsResponse
- describeEntitlementsResponse_entitlements :: Lens' DescribeEntitlementsResponse (Maybe [Entitlement])
- describeEntitlementsResponse_nextToken :: Lens' DescribeEntitlementsResponse (Maybe Text)
- describeEntitlementsResponse_httpStatus :: Lens' DescribeEntitlementsResponse Int
Creating a Request
data DescribeEntitlements Source #
See: newDescribeEntitlements smart constructor.
Constructors
| DescribeEntitlements' | |
Fields | |
Instances
newDescribeEntitlements Source #
Arguments
| :: Text | |
| -> DescribeEntitlements |
Create a value of DescribeEntitlements with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxResults:DescribeEntitlements', describeEntitlements_maxResults - The maximum size of each page of results.
DescribeEntitlements, describeEntitlements_name - The name of the entitlement.
DescribeEntitlements, describeEntitlements_nextToken - The pagination token used to retrieve the next page of results for this
operation.
DescribeEntitlements, describeEntitlements_stackName - The name of the stack with which the entitlement is associated.
Request Lenses
describeEntitlements_maxResults :: Lens' DescribeEntitlements (Maybe Int) Source #
The maximum size of each page of results.
describeEntitlements_name :: Lens' DescribeEntitlements (Maybe Text) Source #
The name of the entitlement.
describeEntitlements_nextToken :: Lens' DescribeEntitlements (Maybe Text) Source #
The pagination token used to retrieve the next page of results for this operation.
describeEntitlements_stackName :: Lens' DescribeEntitlements Text Source #
The name of the stack with which the entitlement is associated.
Destructuring the Response
data DescribeEntitlementsResponse Source #
See: newDescribeEntitlementsResponse smart constructor.
Constructors
| DescribeEntitlementsResponse' | |
Fields
| |
Instances
newDescribeEntitlementsResponse Source #
Create a value of DescribeEntitlementsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:entitlements:DescribeEntitlementsResponse', describeEntitlementsResponse_entitlements - The entitlements.
DescribeEntitlements, describeEntitlementsResponse_nextToken - The pagination token used to retrieve the next page of results for this
operation.
$sel:httpStatus:DescribeEntitlementsResponse', describeEntitlementsResponse_httpStatus - The response's http status code.
Response Lenses
describeEntitlementsResponse_entitlements :: Lens' DescribeEntitlementsResponse (Maybe [Entitlement]) Source #
The entitlements.
describeEntitlementsResponse_nextToken :: Lens' DescribeEntitlementsResponse (Maybe Text) Source #
The pagination token used to retrieve the next page of results for this operation.
describeEntitlementsResponse_httpStatus :: Lens' DescribeEntitlementsResponse Int Source #
The response's http status code.