Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Lists the versions of a subscription definition.
This operation returns paginated results.
Synopsis
- data ListSubscriptionDefinitionVersions = ListSubscriptionDefinitionVersions' {}
- newListSubscriptionDefinitionVersions :: Text -> ListSubscriptionDefinitionVersions
- listSubscriptionDefinitionVersions_nextToken :: Lens' ListSubscriptionDefinitionVersions (Maybe Text)
- listSubscriptionDefinitionVersions_maxResults :: Lens' ListSubscriptionDefinitionVersions (Maybe Text)
- listSubscriptionDefinitionVersions_subscriptionDefinitionId :: Lens' ListSubscriptionDefinitionVersions Text
- data ListSubscriptionDefinitionVersionsResponse = ListSubscriptionDefinitionVersionsResponse' {
- versions :: Maybe [VersionInformation]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListSubscriptionDefinitionVersionsResponse :: Int -> ListSubscriptionDefinitionVersionsResponse
- listSubscriptionDefinitionVersionsResponse_versions :: Lens' ListSubscriptionDefinitionVersionsResponse (Maybe [VersionInformation])
- listSubscriptionDefinitionVersionsResponse_nextToken :: Lens' ListSubscriptionDefinitionVersionsResponse (Maybe Text)
- 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:nextToken:ListSubscriptionDefinitionVersions'
, listSubscriptionDefinitionVersions_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:maxResults:ListSubscriptionDefinitionVersions'
, listSubscriptionDefinitionVersions_maxResults
- The maximum number of results to be returned per request.
$sel:subscriptionDefinitionId:ListSubscriptionDefinitionVersions'
, listSubscriptionDefinitionVersions_subscriptionDefinitionId
- The ID of the subscription definition.
Request Lenses
listSubscriptionDefinitionVersions_nextToken :: Lens' ListSubscriptionDefinitionVersions (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listSubscriptionDefinitionVersions_maxResults :: Lens' ListSubscriptionDefinitionVersions (Maybe Text) Source #
The maximum number of results to be returned per request.
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:
$sel:versions:ListSubscriptionDefinitionVersionsResponse'
, listSubscriptionDefinitionVersionsResponse_versions
- Information about a version.
$sel:nextToken:ListSubscriptionDefinitionVersions'
, listSubscriptionDefinitionVersionsResponse_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:httpStatus:ListSubscriptionDefinitionVersionsResponse'
, listSubscriptionDefinitionVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listSubscriptionDefinitionVersionsResponse_versions :: Lens' ListSubscriptionDefinitionVersionsResponse (Maybe [VersionInformation]) Source #
Information about a version.
listSubscriptionDefinitionVersionsResponse_nextToken :: Lens' ListSubscriptionDefinitionVersionsResponse (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listSubscriptionDefinitionVersionsResponse_httpStatus :: Lens' ListSubscriptionDefinitionVersionsResponse Int Source #
The response's http status code.