| 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.LicenseManagerUserSubscriptions.ListUserAssociations
Description
Lists user associations for an identity provider.
This operation returns paginated results.
Synopsis
- data ListUserAssociations = ListUserAssociations' {
- filters :: Maybe [Filter]
- maxResults :: Maybe Int
- nextToken :: Maybe Text
- identityProvider :: IdentityProvider
- instanceId :: Text
- newListUserAssociations :: IdentityProvider -> Text -> ListUserAssociations
- listUserAssociations_filters :: Lens' ListUserAssociations (Maybe [Filter])
- listUserAssociations_maxResults :: Lens' ListUserAssociations (Maybe Int)
- listUserAssociations_nextToken :: Lens' ListUserAssociations (Maybe Text)
- listUserAssociations_identityProvider :: Lens' ListUserAssociations IdentityProvider
- listUserAssociations_instanceId :: Lens' ListUserAssociations Text
- data ListUserAssociationsResponse = ListUserAssociationsResponse' {}
- newListUserAssociationsResponse :: Int -> ListUserAssociationsResponse
- listUserAssociationsResponse_instanceUserSummaries :: Lens' ListUserAssociationsResponse (Maybe [InstanceUserSummary])
- listUserAssociationsResponse_nextToken :: Lens' ListUserAssociationsResponse (Maybe Text)
- listUserAssociationsResponse_httpStatus :: Lens' ListUserAssociationsResponse Int
Creating a Request
data ListUserAssociations Source #
See: newListUserAssociations smart constructor.
Constructors
| ListUserAssociations' | |
Fields
| |
Instances
newListUserAssociations Source #
Create a value of ListUserAssociations 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:filters:ListUserAssociations', listUserAssociations_filters - An array of structures that you can use to filter the results to those
that match one or more sets of key-value pairs that you specify.
$sel:maxResults:ListUserAssociations', listUserAssociations_maxResults - Maximum number of results to return in a single call.
ListUserAssociations, listUserAssociations_nextToken - Token for the next set of results.
ListUserAssociations, listUserAssociations_identityProvider - An object that specifies details for the identity provider.
ListUserAssociations, listUserAssociations_instanceId - The ID of the EC2 instance, which provides user-based subscriptions.
Request Lenses
listUserAssociations_filters :: Lens' ListUserAssociations (Maybe [Filter]) Source #
An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify.
listUserAssociations_maxResults :: Lens' ListUserAssociations (Maybe Int) Source #
Maximum number of results to return in a single call.
listUserAssociations_nextToken :: Lens' ListUserAssociations (Maybe Text) Source #
Token for the next set of results.
listUserAssociations_identityProvider :: Lens' ListUserAssociations IdentityProvider Source #
An object that specifies details for the identity provider.
listUserAssociations_instanceId :: Lens' ListUserAssociations Text Source #
The ID of the EC2 instance, which provides user-based subscriptions.
Destructuring the Response
data ListUserAssociationsResponse Source #
See: newListUserAssociationsResponse smart constructor.
Constructors
| ListUserAssociationsResponse' | |
Fields
| |
Instances
newListUserAssociationsResponse Source #
Create a value of ListUserAssociationsResponse 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:instanceUserSummaries:ListUserAssociationsResponse', listUserAssociationsResponse_instanceUserSummaries - Metadata that describes the list user association operation.
ListUserAssociations, listUserAssociationsResponse_nextToken - Token for the next set of results.
$sel:httpStatus:ListUserAssociationsResponse', listUserAssociationsResponse_httpStatus - The response's http status code.
Response Lenses
listUserAssociationsResponse_instanceUserSummaries :: Lens' ListUserAssociationsResponse (Maybe [InstanceUserSummary]) Source #
Metadata that describes the list user association operation.
listUserAssociationsResponse_nextToken :: Lens' ListUserAssociationsResponse (Maybe Text) Source #
Token for the next set of results.
listUserAssociationsResponse_httpStatus :: Lens' ListUserAssociationsResponse Int Source #
The response's http status code.