| 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.ListLicenseConfigurations
Description
Lists the license configurations for your account.
This operation returns paginated results.
Synopsis
- data ListLicenseConfigurations = ListLicenseConfigurations' {}
- newListLicenseConfigurations :: ListLicenseConfigurations
- listLicenseConfigurations_filters :: Lens' ListLicenseConfigurations (Maybe [Filter])
- listLicenseConfigurations_licenseConfigurationArns :: Lens' ListLicenseConfigurations (Maybe [Text])
- listLicenseConfigurations_maxResults :: Lens' ListLicenseConfigurations (Maybe Int)
- listLicenseConfigurations_nextToken :: Lens' ListLicenseConfigurations (Maybe Text)
- data ListLicenseConfigurationsResponse = ListLicenseConfigurationsResponse' {}
- newListLicenseConfigurationsResponse :: Int -> ListLicenseConfigurationsResponse
- listLicenseConfigurationsResponse_licenseConfigurations :: Lens' ListLicenseConfigurationsResponse (Maybe [LicenseConfiguration])
- listLicenseConfigurationsResponse_nextToken :: Lens' ListLicenseConfigurationsResponse (Maybe Text)
- listLicenseConfigurationsResponse_httpStatus :: Lens' ListLicenseConfigurationsResponse Int
Creating a Request
data ListLicenseConfigurations Source #
See: newListLicenseConfigurations smart constructor.
Constructors
| ListLicenseConfigurations' | |
Fields
| |
Instances
newListLicenseConfigurations :: ListLicenseConfigurations Source #
Create a value of ListLicenseConfigurations 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:filters:ListLicenseConfigurations', listLicenseConfigurations_filters - Filters to scope the results. The following filters and logical
operators are supported:
licenseCountingType- The dimension for which licenses are counted. Possible values arevCPU|Instance|Core|Socket. Logical operators areEQUALS|NOT_EQUALS.enforceLicenseCount- A Boolean value that indicates whether hard license enforcement is used. Logical operators areEQUALS|NOT_EQUALS.usagelimitExceeded- A Boolean value that indicates whether the available licenses have been exceeded. Logical operators areEQUALS|NOT_EQUALS.
ListLicenseConfigurations, listLicenseConfigurations_licenseConfigurationArns - Amazon Resource Names (ARN) of the license configurations.
$sel:maxResults:ListLicenseConfigurations', listLicenseConfigurations_maxResults - Maximum number of results to return in a single call.
ListLicenseConfigurations, listLicenseConfigurations_nextToken - Token for the next set of results.
Request Lenses
listLicenseConfigurations_filters :: Lens' ListLicenseConfigurations (Maybe [Filter]) Source #
Filters to scope the results. The following filters and logical operators are supported:
licenseCountingType- The dimension for which licenses are counted. Possible values arevCPU|Instance|Core|Socket. Logical operators areEQUALS|NOT_EQUALS.enforceLicenseCount- A Boolean value that indicates whether hard license enforcement is used. Logical operators areEQUALS|NOT_EQUALS.usagelimitExceeded- A Boolean value that indicates whether the available licenses have been exceeded. Logical operators areEQUALS|NOT_EQUALS.
listLicenseConfigurations_licenseConfigurationArns :: Lens' ListLicenseConfigurations (Maybe [Text]) Source #
Amazon Resource Names (ARN) of the license configurations.
listLicenseConfigurations_maxResults :: Lens' ListLicenseConfigurations (Maybe Int) Source #
Maximum number of results to return in a single call.
listLicenseConfigurations_nextToken :: Lens' ListLicenseConfigurations (Maybe Text) Source #
Token for the next set of results.
Destructuring the Response
data ListLicenseConfigurationsResponse Source #
See: newListLicenseConfigurationsResponse smart constructor.
Constructors
| ListLicenseConfigurationsResponse' | |
Fields
| |
Instances
newListLicenseConfigurationsResponse Source #
Arguments
| :: Int | |
| -> ListLicenseConfigurationsResponse |
Create a value of ListLicenseConfigurationsResponse 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:licenseConfigurations:ListLicenseConfigurationsResponse', listLicenseConfigurationsResponse_licenseConfigurations - Information about the license configurations.
ListLicenseConfigurations, listLicenseConfigurationsResponse_nextToken - Token for the next set of results.
$sel:httpStatus:ListLicenseConfigurationsResponse', listLicenseConfigurationsResponse_httpStatus - The response's http status code.
Response Lenses
listLicenseConfigurationsResponse_licenseConfigurations :: Lens' ListLicenseConfigurationsResponse (Maybe [LicenseConfiguration]) Source #
Information about the license configurations.
listLicenseConfigurationsResponse_nextToken :: Lens' ListLicenseConfigurationsResponse (Maybe Text) Source #
Token for the next set of results.
listLicenseConfigurationsResponse_httpStatus :: Lens' ListLicenseConfigurationsResponse Int Source #
The response's http status code.