| 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.GetLicenseUsage
Description
Gets detailed information about the usage of the specified license.
Synopsis
- data GetLicenseUsage = GetLicenseUsage' {
- licenseArn :: Text
- newGetLicenseUsage :: Text -> GetLicenseUsage
- getLicenseUsage_licenseArn :: Lens' GetLicenseUsage Text
- data GetLicenseUsageResponse = GetLicenseUsageResponse' {}
- newGetLicenseUsageResponse :: Int -> GetLicenseUsageResponse
- getLicenseUsageResponse_licenseUsage :: Lens' GetLicenseUsageResponse (Maybe LicenseUsage)
- getLicenseUsageResponse_httpStatus :: Lens' GetLicenseUsageResponse Int
Creating a Request
data GetLicenseUsage Source #
See: newGetLicenseUsage smart constructor.
Constructors
| GetLicenseUsage' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetLicenseUsage |
Create a value of GetLicenseUsage 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:
GetLicenseUsage, getLicenseUsage_licenseArn - Amazon Resource Name (ARN) of the license.
Request Lenses
getLicenseUsage_licenseArn :: Lens' GetLicenseUsage Text Source #
Amazon Resource Name (ARN) of the license.
Destructuring the Response
data GetLicenseUsageResponse Source #
See: newGetLicenseUsageResponse smart constructor.
Constructors
| GetLicenseUsageResponse' | |
Fields
| |
Instances
newGetLicenseUsageResponse Source #
Create a value of GetLicenseUsageResponse 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:licenseUsage:GetLicenseUsageResponse', getLicenseUsageResponse_licenseUsage - License usage details.
$sel:httpStatus:GetLicenseUsageResponse', getLicenseUsageResponse_httpStatus - The response's http status code.
Response Lenses
getLicenseUsageResponse_licenseUsage :: Lens' GetLicenseUsageResponse (Maybe LicenseUsage) Source #
License usage details.
getLicenseUsageResponse_httpStatus :: Lens' GetLicenseUsageResponse Int Source #
The response's http status code.