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 all versions of the specified license.
Synopsis
- data ListLicenseVersions = ListLicenseVersions' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- licenseArn :: Text
- newListLicenseVersions :: Text -> ListLicenseVersions
- listLicenseVersions_maxResults :: Lens' ListLicenseVersions (Maybe Natural)
- listLicenseVersions_nextToken :: Lens' ListLicenseVersions (Maybe Text)
- listLicenseVersions_licenseArn :: Lens' ListLicenseVersions Text
- data ListLicenseVersionsResponse = ListLicenseVersionsResponse' {}
- newListLicenseVersionsResponse :: Int -> ListLicenseVersionsResponse
- listLicenseVersionsResponse_licenses :: Lens' ListLicenseVersionsResponse (Maybe [License])
- listLicenseVersionsResponse_nextToken :: Lens' ListLicenseVersionsResponse (Maybe Text)
- listLicenseVersionsResponse_httpStatus :: Lens' ListLicenseVersionsResponse Int
Creating a Request
data ListLicenseVersions Source #
See: newListLicenseVersions
smart constructor.
ListLicenseVersions' | |
|
Instances
newListLicenseVersions Source #
Create a value of ListLicenseVersions
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:ListLicenseVersions'
, listLicenseVersions_maxResults
- Maximum number of results to return in a single call.
ListLicenseVersions
, listLicenseVersions_nextToken
- Token for the next set of results.
ListLicenseVersions
, listLicenseVersions_licenseArn
- Amazon Resource Name (ARN) of the license.
Request Lenses
listLicenseVersions_maxResults :: Lens' ListLicenseVersions (Maybe Natural) Source #
Maximum number of results to return in a single call.
listLicenseVersions_nextToken :: Lens' ListLicenseVersions (Maybe Text) Source #
Token for the next set of results.
listLicenseVersions_licenseArn :: Lens' ListLicenseVersions Text Source #
Amazon Resource Name (ARN) of the license.
Destructuring the Response
data ListLicenseVersionsResponse Source #
See: newListLicenseVersionsResponse
smart constructor.
Instances
newListLicenseVersionsResponse Source #
Create a value of ListLicenseVersionsResponse
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:licenses:ListLicenseVersionsResponse'
, listLicenseVersionsResponse_licenses
- License details.
ListLicenseVersions
, listLicenseVersionsResponse_nextToken
- Token for the next set of results.
$sel:httpStatus:ListLicenseVersionsResponse'
, listLicenseVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listLicenseVersionsResponse_licenses :: Lens' ListLicenseVersionsResponse (Maybe [License]) Source #
License details.
listLicenseVersionsResponse_nextToken :: Lens' ListLicenseVersionsResponse (Maybe Text) Source #
Token for the next set of results.
listLicenseVersionsResponse_httpStatus :: Lens' ListLicenseVersionsResponse Int Source #
The response's http status code.