| 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.ListAssociationsForLicenseConfiguration
Description
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_maxResults :: Lens' ListAssociationsForLicenseConfiguration (Maybe Int)
- listAssociationsForLicenseConfiguration_nextToken :: Lens' ListAssociationsForLicenseConfiguration (Maybe Text)
- 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.
Constructors
| ListAssociationsForLicenseConfiguration' | |
Fields
| |
Instances
newListAssociationsForLicenseConfiguration Source #
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:maxResults:ListAssociationsForLicenseConfiguration', listAssociationsForLicenseConfiguration_maxResults - Maximum number of results to return in a single call.
ListAssociationsForLicenseConfiguration, listAssociationsForLicenseConfiguration_nextToken - Token for the next set of results.
ListAssociationsForLicenseConfiguration, listAssociationsForLicenseConfiguration_licenseConfigurationArn - Amazon Resource Name (ARN) of a license configuration.
Request Lenses
listAssociationsForLicenseConfiguration_maxResults :: Lens' ListAssociationsForLicenseConfiguration (Maybe Int) Source #
Maximum number of results to return in a single call.
listAssociationsForLicenseConfiguration_nextToken :: Lens' ListAssociationsForLicenseConfiguration (Maybe Text) Source #
Token for the next set of results.
listAssociationsForLicenseConfiguration_licenseConfigurationArn :: Lens' ListAssociationsForLicenseConfiguration Text Source #
Amazon Resource Name (ARN) of a license configuration.
Destructuring the Response
data ListAssociationsForLicenseConfigurationResponse Source #
See: newListAssociationsForLicenseConfigurationResponse smart constructor.
Constructors
| ListAssociationsForLicenseConfigurationResponse' | |
Fields
| |
Instances
newListAssociationsForLicenseConfigurationResponse Source #
Arguments
| :: 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.
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.