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 resource associations for the specified license configuration.
Resource associations need not consume licenses from a license configuration. For example, an AMI or a stopped instance might not consume a license (depending on the license rules).
This operation returns paginated results.
Synopsis
- data ListAssociationsForLicenseConfiguration = ListAssociationsForLicenseConfiguration' {}
- newListAssociationsForLicenseConfiguration :: Text -> ListAssociationsForLicenseConfiguration
- listAssociationsForLicenseConfiguration_nextToken :: Lens' ListAssociationsForLicenseConfiguration (Maybe Text)
- listAssociationsForLicenseConfiguration_maxResults :: Lens' ListAssociationsForLicenseConfiguration (Maybe Int)
- listAssociationsForLicenseConfiguration_licenseConfigurationArn :: Lens' ListAssociationsForLicenseConfiguration Text
- data ListAssociationsForLicenseConfigurationResponse = ListAssociationsForLicenseConfigurationResponse' {}
- newListAssociationsForLicenseConfigurationResponse :: Int -> ListAssociationsForLicenseConfigurationResponse
- listAssociationsForLicenseConfigurationResponse_licenseConfigurationAssociations :: Lens' ListAssociationsForLicenseConfigurationResponse (Maybe [LicenseConfigurationAssociation])
- listAssociationsForLicenseConfigurationResponse_nextToken :: Lens' ListAssociationsForLicenseConfigurationResponse (Maybe Text)
- listAssociationsForLicenseConfigurationResponse_httpStatus :: Lens' ListAssociationsForLicenseConfigurationResponse Int
Creating a Request
data ListAssociationsForLicenseConfiguration Source #
See: newListAssociationsForLicenseConfiguration
smart constructor.
ListAssociationsForLicenseConfiguration' | |
|
Instances
newListAssociationsForLicenseConfiguration Source #
:: Text |
|
-> ListAssociationsForLicenseConfiguration |
Create a value of ListAssociationsForLicenseConfiguration
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:ListAssociationsForLicenseConfiguration'
, listAssociationsForLicenseConfiguration_nextToken
- Token for the next set of results.
$sel:maxResults:ListAssociationsForLicenseConfiguration'
, listAssociationsForLicenseConfiguration_maxResults
- Maximum number of results to return in a single call.
$sel:licenseConfigurationArn:ListAssociationsForLicenseConfiguration'
, listAssociationsForLicenseConfiguration_licenseConfigurationArn
- Amazon Resource Name (ARN) of a license configuration.
Request Lenses
listAssociationsForLicenseConfiguration_nextToken :: Lens' ListAssociationsForLicenseConfiguration (Maybe Text) Source #
Token for the next set of results.
listAssociationsForLicenseConfiguration_maxResults :: Lens' ListAssociationsForLicenseConfiguration (Maybe Int) Source #
Maximum number of results to return in a single call.
listAssociationsForLicenseConfiguration_licenseConfigurationArn :: Lens' ListAssociationsForLicenseConfiguration Text Source #
Amazon Resource Name (ARN) of a license configuration.
Destructuring the Response
data ListAssociationsForLicenseConfigurationResponse Source #
See: newListAssociationsForLicenseConfigurationResponse
smart constructor.
ListAssociationsForLicenseConfigurationResponse' | |
|
Instances
newListAssociationsForLicenseConfigurationResponse Source #
:: Int |
|
-> ListAssociationsForLicenseConfigurationResponse |
Create a value of ListAssociationsForLicenseConfigurationResponse
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:licenseConfigurationAssociations:ListAssociationsForLicenseConfigurationResponse'
, listAssociationsForLicenseConfigurationResponse_licenseConfigurationAssociations
- Information about the associations for the license configuration.
$sel:nextToken:ListAssociationsForLicenseConfiguration'
, listAssociationsForLicenseConfigurationResponse_nextToken
- Token for the next set of results.
$sel:httpStatus:ListAssociationsForLicenseConfigurationResponse'
, listAssociationsForLicenseConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
listAssociationsForLicenseConfigurationResponse_licenseConfigurationAssociations :: Lens' ListAssociationsForLicenseConfigurationResponse (Maybe [LicenseConfigurationAssociation]) Source #
Information about the associations for the license configuration.
listAssociationsForLicenseConfigurationResponse_nextToken :: Lens' ListAssociationsForLicenseConfigurationResponse (Maybe Text) Source #
Token for the next set of results.
listAssociationsForLicenseConfigurationResponse_httpStatus :: Lens' ListAssociationsForLicenseConfigurationResponse Int Source #
The response's http status code.