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 Linux subscriptions that have been discovered. If you have linked your organization, the returned results will include data aggregated across your accounts in Organizations.
This operation returns paginated results.
Synopsis
- data ListLinuxSubscriptions = ListLinuxSubscriptions' {}
- newListLinuxSubscriptions :: ListLinuxSubscriptions
- listLinuxSubscriptions_filters :: Lens' ListLinuxSubscriptions (Maybe [Filter])
- listLinuxSubscriptions_maxResults :: Lens' ListLinuxSubscriptions (Maybe Int)
- listLinuxSubscriptions_nextToken :: Lens' ListLinuxSubscriptions (Maybe Text)
- data ListLinuxSubscriptionsResponse = ListLinuxSubscriptionsResponse' {
- nextToken :: Maybe Text
- subscriptions :: Maybe [Subscription]
- httpStatus :: Int
- newListLinuxSubscriptionsResponse :: Int -> ListLinuxSubscriptionsResponse
- listLinuxSubscriptionsResponse_nextToken :: Lens' ListLinuxSubscriptionsResponse (Maybe Text)
- listLinuxSubscriptionsResponse_subscriptions :: Lens' ListLinuxSubscriptionsResponse (Maybe [Subscription])
- listLinuxSubscriptionsResponse_httpStatus :: Lens' ListLinuxSubscriptionsResponse Int
Creating a Request
data ListLinuxSubscriptions Source #
NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.
See: newListLinuxSubscriptions
smart constructor.
ListLinuxSubscriptions' | |
|
Instances
newListLinuxSubscriptions :: ListLinuxSubscriptions Source #
Create a value of ListLinuxSubscriptions
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:ListLinuxSubscriptions'
, listLinuxSubscriptions_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. For
example, you can filter by the name of Subscription
with an optional
operator to see subscriptions that match, partially match, or don't
match a certain subscription's name.
The valid names for this filter are:
Subscription
The valid Operators for this filter are:
contains
equals
Notequal
$sel:maxResults:ListLinuxSubscriptions'
, listLinuxSubscriptions_maxResults
- Maximum number of results to return in a single call.
ListLinuxSubscriptions
, listLinuxSubscriptions_nextToken
- Token for the next set of results.
Request Lenses
listLinuxSubscriptions_filters :: Lens' ListLinuxSubscriptions (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. For
example, you can filter by the name of Subscription
with an optional
operator to see subscriptions that match, partially match, or don't
match a certain subscription's name.
The valid names for this filter are:
Subscription
The valid Operators for this filter are:
contains
equals
Notequal
listLinuxSubscriptions_maxResults :: Lens' ListLinuxSubscriptions (Maybe Int) Source #
Maximum number of results to return in a single call.
listLinuxSubscriptions_nextToken :: Lens' ListLinuxSubscriptions (Maybe Text) Source #
Token for the next set of results.
Destructuring the Response
data ListLinuxSubscriptionsResponse Source #
See: newListLinuxSubscriptionsResponse
smart constructor.
ListLinuxSubscriptionsResponse' | |
|
Instances
newListLinuxSubscriptionsResponse Source #
Create a value of ListLinuxSubscriptionsResponse
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:
ListLinuxSubscriptions
, listLinuxSubscriptionsResponse_nextToken
- Token for the next set of results.
$sel:subscriptions:ListLinuxSubscriptionsResponse'
, listLinuxSubscriptionsResponse_subscriptions
- An array that contains subscription objects.
$sel:httpStatus:ListLinuxSubscriptionsResponse'
, listLinuxSubscriptionsResponse_httpStatus
- The response's http status code.
Response Lenses
listLinuxSubscriptionsResponse_nextToken :: Lens' ListLinuxSubscriptionsResponse (Maybe Text) Source #
Token for the next set of results.
listLinuxSubscriptionsResponse_subscriptions :: Lens' ListLinuxSubscriptionsResponse (Maybe [Subscription]) Source #
An array that contains subscription objects.
listLinuxSubscriptionsResponse_httpStatus :: Lens' ListLinuxSubscriptionsResponse Int Source #
The response's http status code.