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 |
Lists the user-based subscription products available from an identity provider.
This operation returns paginated results.
Synopsis
- data ListProductSubscriptions = ListProductSubscriptions' {
- filters :: Maybe [Filter]
- maxResults :: Maybe Int
- nextToken :: Maybe Text
- identityProvider :: IdentityProvider
- product :: Text
- newListProductSubscriptions :: IdentityProvider -> Text -> ListProductSubscriptions
- listProductSubscriptions_filters :: Lens' ListProductSubscriptions (Maybe [Filter])
- listProductSubscriptions_maxResults :: Lens' ListProductSubscriptions (Maybe Int)
- listProductSubscriptions_nextToken :: Lens' ListProductSubscriptions (Maybe Text)
- listProductSubscriptions_identityProvider :: Lens' ListProductSubscriptions IdentityProvider
- listProductSubscriptions_product :: Lens' ListProductSubscriptions Text
- data ListProductSubscriptionsResponse = ListProductSubscriptionsResponse' {}
- newListProductSubscriptionsResponse :: Int -> ListProductSubscriptionsResponse
- listProductSubscriptionsResponse_nextToken :: Lens' ListProductSubscriptionsResponse (Maybe Text)
- listProductSubscriptionsResponse_productUserSummaries :: Lens' ListProductSubscriptionsResponse (Maybe [ProductUserSummary])
- listProductSubscriptionsResponse_httpStatus :: Lens' ListProductSubscriptionsResponse Int
Creating a Request
data ListProductSubscriptions Source #
See: newListProductSubscriptions
smart constructor.
ListProductSubscriptions' | |
|
Instances
newListProductSubscriptions Source #
Create a value of ListProductSubscriptions
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:ListProductSubscriptions'
, listProductSubscriptions_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:ListProductSubscriptions'
, listProductSubscriptions_maxResults
- Maximum number of results to return in a single call.
ListProductSubscriptions
, listProductSubscriptions_nextToken
- Token for the next set of results.
ListProductSubscriptions
, listProductSubscriptions_identityProvider
- An object that specifies details for the identity provider.
ListProductSubscriptions
, listProductSubscriptions_product
- The name of the user-based subscription product.
Request Lenses
listProductSubscriptions_filters :: Lens' ListProductSubscriptions (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.
listProductSubscriptions_maxResults :: Lens' ListProductSubscriptions (Maybe Int) Source #
Maximum number of results to return in a single call.
listProductSubscriptions_nextToken :: Lens' ListProductSubscriptions (Maybe Text) Source #
Token for the next set of results.
listProductSubscriptions_identityProvider :: Lens' ListProductSubscriptions IdentityProvider Source #
An object that specifies details for the identity provider.
listProductSubscriptions_product :: Lens' ListProductSubscriptions Text Source #
The name of the user-based subscription product.
Destructuring the Response
data ListProductSubscriptionsResponse Source #
See: newListProductSubscriptionsResponse
smart constructor.
ListProductSubscriptionsResponse' | |
|
Instances
newListProductSubscriptionsResponse Source #
Create a value of ListProductSubscriptionsResponse
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:
ListProductSubscriptions
, listProductSubscriptionsResponse_nextToken
- Token for the next set of results.
$sel:productUserSummaries:ListProductSubscriptionsResponse'
, listProductSubscriptionsResponse_productUserSummaries
- Metadata that describes the list product subscriptions operation.
$sel:httpStatus:ListProductSubscriptionsResponse'
, listProductSubscriptionsResponse_httpStatus
- The response's http status code.
Response Lenses
listProductSubscriptionsResponse_nextToken :: Lens' ListProductSubscriptionsResponse (Maybe Text) Source #
Token for the next set of results.
listProductSubscriptionsResponse_productUserSummaries :: Lens' ListProductSubscriptionsResponse (Maybe [ProductUserSummary]) Source #
Metadata that describes the list product subscriptions operation.
listProductSubscriptionsResponse_httpStatus :: Lens' ListProductSubscriptionsResponse Int Source #
The response's http status code.