| 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 |
Amazonka.LicenseManager.ListLicenseSpecificationsForResource
Description
Describes the license configurations for the specified resource.
This operation returns paginated results.
Synopsis
- data ListLicenseSpecificationsForResource = ListLicenseSpecificationsForResource' {
- maxResults :: Maybe Int
- nextToken :: Maybe Text
- resourceArn :: Text
- newListLicenseSpecificationsForResource :: Text -> ListLicenseSpecificationsForResource
- listLicenseSpecificationsForResource_maxResults :: Lens' ListLicenseSpecificationsForResource (Maybe Int)
- listLicenseSpecificationsForResource_nextToken :: Lens' ListLicenseSpecificationsForResource (Maybe Text)
- 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.
Constructors
| ListLicenseSpecificationsForResource' | |
Fields
| |
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:maxResults:ListLicenseSpecificationsForResource', listLicenseSpecificationsForResource_maxResults - Maximum number of results to return in a single call.
ListLicenseSpecificationsForResource, listLicenseSpecificationsForResource_nextToken - Token for the next set of results.
ListLicenseSpecificationsForResource, listLicenseSpecificationsForResource_resourceArn - Amazon Resource Name (ARN) of a resource that has an associated license
configuration.
Request Lenses
listLicenseSpecificationsForResource_maxResults :: Lens' ListLicenseSpecificationsForResource (Maybe Int) Source #
Maximum number of results to return in a single call.
listLicenseSpecificationsForResource_nextToken :: Lens' ListLicenseSpecificationsForResource (Maybe Text) Source #
Token for the next set of results.
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.
Constructors
| ListLicenseSpecificationsForResourceResponse' | |
Fields
| |
Instances
newListLicenseSpecificationsForResourceResponse Source #
Arguments
| :: 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.
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.