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 versions of a subscription definition.
This operation returns paginated results.
Synopsis
- data ListSubscriptionDefinitionVersions = ListSubscriptionDefinitionVersions' {}
- newListSubscriptionDefinitionVersions :: Text -> ListSubscriptionDefinitionVersions
- listSubscriptionDefinitionVersions_maxResults :: Lens' ListSubscriptionDefinitionVersions (Maybe Text)
- listSubscriptionDefinitionVersions_nextToken :: Lens' ListSubscriptionDefinitionVersions (Maybe Text)
- listSubscriptionDefinitionVersions_subscriptionDefinitionId :: Lens' ListSubscriptionDefinitionVersions Text
- data ListSubscriptionDefinitionVersionsResponse = ListSubscriptionDefinitionVersionsResponse' {
- nextToken :: Maybe Text
- versions :: Maybe [VersionInformation]
- httpStatus :: Int
- newListSubscriptionDefinitionVersionsResponse :: Int -> ListSubscriptionDefinitionVersionsResponse
- listSubscriptionDefinitionVersionsResponse_nextToken :: Lens' ListSubscriptionDefinitionVersionsResponse (Maybe Text)
- listSubscriptionDefinitionVersionsResponse_versions :: Lens' ListSubscriptionDefinitionVersionsResponse (Maybe [VersionInformation])
- listSubscriptionDefinitionVersionsResponse_httpStatus :: Lens' ListSubscriptionDefinitionVersionsResponse Int
Creating a Request
data ListSubscriptionDefinitionVersions Source #
See: newListSubscriptionDefinitionVersions
smart constructor.
ListSubscriptionDefinitionVersions' | |
|
Instances
newListSubscriptionDefinitionVersions Source #
:: Text |
|
-> ListSubscriptionDefinitionVersions |
Create a value of ListSubscriptionDefinitionVersions
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:ListSubscriptionDefinitionVersions'
, listSubscriptionDefinitionVersions_maxResults
- The maximum number of results to be returned per request.
ListSubscriptionDefinitionVersions
, listSubscriptionDefinitionVersions_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:subscriptionDefinitionId:ListSubscriptionDefinitionVersions'
, listSubscriptionDefinitionVersions_subscriptionDefinitionId
- The ID of the subscription definition.
Request Lenses
listSubscriptionDefinitionVersions_maxResults :: Lens' ListSubscriptionDefinitionVersions (Maybe Text) Source #
The maximum number of results to be returned per request.
listSubscriptionDefinitionVersions_nextToken :: Lens' ListSubscriptionDefinitionVersions (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listSubscriptionDefinitionVersions_subscriptionDefinitionId :: Lens' ListSubscriptionDefinitionVersions Text Source #
The ID of the subscription definition.
Destructuring the Response
data ListSubscriptionDefinitionVersionsResponse Source #
See: newListSubscriptionDefinitionVersionsResponse
smart constructor.
ListSubscriptionDefinitionVersionsResponse' | |
|
Instances
newListSubscriptionDefinitionVersionsResponse Source #
Create a value of ListSubscriptionDefinitionVersionsResponse
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:
ListSubscriptionDefinitionVersions
, listSubscriptionDefinitionVersionsResponse_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:versions:ListSubscriptionDefinitionVersionsResponse'
, listSubscriptionDefinitionVersionsResponse_versions
- Information about a version.
$sel:httpStatus:ListSubscriptionDefinitionVersionsResponse'
, listSubscriptionDefinitionVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listSubscriptionDefinitionVersionsResponse_nextToken :: Lens' ListSubscriptionDefinitionVersionsResponse (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listSubscriptionDefinitionVersionsResponse_versions :: Lens' ListSubscriptionDefinitionVersionsResponse (Maybe [VersionInformation]) Source #
Information about a version.
listSubscriptionDefinitionVersionsResponse_httpStatus :: Lens' ListSubscriptionDefinitionVersionsResponse Int Source #
The response's http status code.