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 license configurations for your account.
This operation returns paginated results.
Synopsis
- data ListLicenseConfigurations = ListLicenseConfigurations' {}
- newListLicenseConfigurations :: ListLicenseConfigurations
- listLicenseConfigurations_filters :: Lens' ListLicenseConfigurations (Maybe [Filter])
- listLicenseConfigurations_nextToken :: Lens' ListLicenseConfigurations (Maybe Text)
- listLicenseConfigurations_licenseConfigurationArns :: Lens' ListLicenseConfigurations (Maybe [Text])
- listLicenseConfigurations_maxResults :: Lens' ListLicenseConfigurations (Maybe Int)
- data ListLicenseConfigurationsResponse = ListLicenseConfigurationsResponse' {}
- newListLicenseConfigurationsResponse :: Int -> ListLicenseConfigurationsResponse
- listLicenseConfigurationsResponse_nextToken :: Lens' ListLicenseConfigurationsResponse (Maybe Text)
- listLicenseConfigurationsResponse_licenseConfigurations :: Lens' ListLicenseConfigurationsResponse (Maybe [LicenseConfiguration])
- listLicenseConfigurationsResponse_httpStatus :: Lens' ListLicenseConfigurationsResponse Int
Creating a Request
data ListLicenseConfigurations Source #
See: newListLicenseConfigurations
smart constructor.
ListLicenseConfigurations' | |
|
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
.
$sel:nextToken:ListLicenseConfigurations'
, listLicenseConfigurations_nextToken
- Token for the next set of results.
$sel:licenseConfigurationArns: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.
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_nextToken :: Lens' ListLicenseConfigurations (Maybe Text) Source #
Token for the next set of results.
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.
Destructuring the Response
data ListLicenseConfigurationsResponse Source #
See: newListLicenseConfigurationsResponse
smart constructor.
ListLicenseConfigurationsResponse' | |
|
Instances
newListLicenseConfigurationsResponse Source #
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:nextToken:ListLicenseConfigurations'
, listLicenseConfigurationsResponse_nextToken
- Token for the next set of results.
$sel:licenseConfigurations:ListLicenseConfigurationsResponse'
, listLicenseConfigurationsResponse_licenseConfigurations
- Information about the license configurations.
$sel:httpStatus:ListLicenseConfigurationsResponse'
, listLicenseConfigurationsResponse_httpStatus
- The response's http status code.
Response Lenses
listLicenseConfigurationsResponse_nextToken :: Lens' ListLicenseConfigurationsResponse (Maybe Text) Source #
Token for the next set of results.
listLicenseConfigurationsResponse_licenseConfigurations :: Lens' ListLicenseConfigurationsResponse (Maybe [LicenseConfiguration]) Source #
Information about the license configurations.
listLicenseConfigurationsResponse_httpStatus :: Lens' ListLicenseConfigurationsResponse Int Source #
The response's http status code.