| 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.ListEntitledApplications
Description
Retrieves a list of entitled applications.
Synopsis
- data ListEntitledApplications = ListEntitledApplications' {
- maxResults :: Maybe Int
- nextToken :: Maybe Text
- stackName :: Text
- entitlementName :: Text
- newListEntitledApplications :: Text -> Text -> ListEntitledApplications
- listEntitledApplications_maxResults :: Lens' ListEntitledApplications (Maybe Int)
- listEntitledApplications_nextToken :: Lens' ListEntitledApplications (Maybe Text)
- listEntitledApplications_stackName :: Lens' ListEntitledApplications Text
- listEntitledApplications_entitlementName :: Lens' ListEntitledApplications Text
- data ListEntitledApplicationsResponse = ListEntitledApplicationsResponse' {}
- newListEntitledApplicationsResponse :: Int -> ListEntitledApplicationsResponse
- listEntitledApplicationsResponse_entitledApplications :: Lens' ListEntitledApplicationsResponse (Maybe [EntitledApplication])
- listEntitledApplicationsResponse_nextToken :: Lens' ListEntitledApplicationsResponse (Maybe Text)
- listEntitledApplicationsResponse_httpStatus :: Lens' ListEntitledApplicationsResponse Int
Creating a Request
data ListEntitledApplications Source #
See: newListEntitledApplications smart constructor.
Constructors
| ListEntitledApplications' | |
Fields
| |
Instances
newListEntitledApplications Source #
Arguments
| :: Text | |
| -> Text | |
| -> ListEntitledApplications |
Create a value of ListEntitledApplications 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:ListEntitledApplications', listEntitledApplications_maxResults - The maximum size of each page of results.
ListEntitledApplications, listEntitledApplications_nextToken - The pagination token used to retrieve the next page of results for this
operation.
ListEntitledApplications, listEntitledApplications_stackName - The name of the stack with which the entitlement is associated.
$sel:entitlementName:ListEntitledApplications', listEntitledApplications_entitlementName - The name of the entitlement.
Request Lenses
listEntitledApplications_maxResults :: Lens' ListEntitledApplications (Maybe Int) Source #
The maximum size of each page of results.
listEntitledApplications_nextToken :: Lens' ListEntitledApplications (Maybe Text) Source #
The pagination token used to retrieve the next page of results for this operation.
listEntitledApplications_stackName :: Lens' ListEntitledApplications Text Source #
The name of the stack with which the entitlement is associated.
listEntitledApplications_entitlementName :: Lens' ListEntitledApplications Text Source #
The name of the entitlement.
Destructuring the Response
data ListEntitledApplicationsResponse Source #
See: newListEntitledApplicationsResponse smart constructor.
Constructors
| ListEntitledApplicationsResponse' | |
Fields
| |
Instances
newListEntitledApplicationsResponse Source #
Create a value of ListEntitledApplicationsResponse 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:entitledApplications:ListEntitledApplicationsResponse', listEntitledApplicationsResponse_entitledApplications - The entitled applications.
ListEntitledApplications, listEntitledApplicationsResponse_nextToken - The pagination token used to retrieve the next page of results for this
operation.
$sel:httpStatus:ListEntitledApplicationsResponse', listEntitledApplicationsResponse_httpStatus - The response's http status code.
Response Lenses
listEntitledApplicationsResponse_entitledApplications :: Lens' ListEntitledApplicationsResponse (Maybe [EntitledApplication]) Source #
The entitled applications.
listEntitledApplicationsResponse_nextToken :: Lens' ListEntitledApplicationsResponse (Maybe Text) Source #
The pagination token used to retrieve the next page of results for this operation.
listEntitledApplicationsResponse_httpStatus :: Lens' ListEntitledApplicationsResponse Int Source #
The response's http status code.