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 |
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.
GetLicenseUsage' | |
|
Instances
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:
$sel:licenseArn: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.
GetLicenseUsageResponse' | |
|
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.