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 |
Describes the license configurations for the specified resource.
This operation returns paginated results.
Synopsis
- data ListLicenseSpecificationsForResource = ListLicenseSpecificationsForResource' {
- nextToken :: Maybe Text
- maxResults :: Maybe Int
- resourceArn :: Text
- newListLicenseSpecificationsForResource :: Text -> ListLicenseSpecificationsForResource
- listLicenseSpecificationsForResource_nextToken :: Lens' ListLicenseSpecificationsForResource (Maybe Text)
- listLicenseSpecificationsForResource_maxResults :: Lens' ListLicenseSpecificationsForResource (Maybe Int)
- listLicenseSpecificationsForResource_resourceArn :: Lens' ListLicenseSpecificationsForResource Text
- data ListLicenseSpecificationsForResourceResponse = ListLicenseSpecificationsForResourceResponse' {}
- newListLicenseSpecificationsForResourceResponse :: Int -> ListLicenseSpecificationsForResourceResponse
- listLicenseSpecificationsForResourceResponse_licenseSpecifications :: Lens' ListLicenseSpecificationsForResourceResponse (Maybe [LicenseSpecification])
- listLicenseSpecificationsForResourceResponse_nextToken :: Lens' ListLicenseSpecificationsForResourceResponse (Maybe Text)
- listLicenseSpecificationsForResourceResponse_httpStatus :: Lens' ListLicenseSpecificationsForResourceResponse Int
Creating a Request
data ListLicenseSpecificationsForResource Source #
See: newListLicenseSpecificationsForResource
smart constructor.
ListLicenseSpecificationsForResource' | |
|
Instances
newListLicenseSpecificationsForResource Source #
Create a value of ListLicenseSpecificationsForResource
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:ListLicenseSpecificationsForResource'
, listLicenseSpecificationsForResource_nextToken
- Token for the next set of results.
$sel:maxResults:ListLicenseSpecificationsForResource'
, listLicenseSpecificationsForResource_maxResults
- Maximum number of results to return in a single call.
$sel:resourceArn:ListLicenseSpecificationsForResource'
, listLicenseSpecificationsForResource_resourceArn
- Amazon Resource Name (ARN) of a resource that has an associated license
configuration.
Request Lenses
listLicenseSpecificationsForResource_nextToken :: Lens' ListLicenseSpecificationsForResource (Maybe Text) Source #
Token for the next set of results.
listLicenseSpecificationsForResource_maxResults :: Lens' ListLicenseSpecificationsForResource (Maybe Int) Source #
Maximum number of results to return in a single call.
listLicenseSpecificationsForResource_resourceArn :: Lens' ListLicenseSpecificationsForResource Text Source #
Amazon Resource Name (ARN) of a resource that has an associated license configuration.
Destructuring the Response
data ListLicenseSpecificationsForResourceResponse Source #
See: newListLicenseSpecificationsForResourceResponse
smart constructor.
ListLicenseSpecificationsForResourceResponse' | |
|
Instances
newListLicenseSpecificationsForResourceResponse Source #
:: Int |
|
-> ListLicenseSpecificationsForResourceResponse |
Create a value of ListLicenseSpecificationsForResourceResponse
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:licenseSpecifications:ListLicenseSpecificationsForResourceResponse'
, listLicenseSpecificationsForResourceResponse_licenseSpecifications
- License configurations associated with a resource.
$sel:nextToken:ListLicenseSpecificationsForResource'
, listLicenseSpecificationsForResourceResponse_nextToken
- Token for the next set of results.
$sel:httpStatus:ListLicenseSpecificationsForResourceResponse'
, listLicenseSpecificationsForResourceResponse_httpStatus
- The response's http status code.
Response Lenses
listLicenseSpecificationsForResourceResponse_licenseSpecifications :: Lens' ListLicenseSpecificationsForResourceResponse (Maybe [LicenseSpecification]) Source #
License configurations associated with a resource.
listLicenseSpecificationsForResourceResponse_nextToken :: Lens' ListLicenseSpecificationsForResourceResponse (Maybe Text) Source #
Token for the next set of results.
listLicenseSpecificationsForResourceResponse_httpStatus :: Lens' ListLicenseSpecificationsForResourceResponse Int Source #
The response's http status code.