| 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.GetLicense
Description
Gets detailed information about the specified license.
Synopsis
- data GetLicense = GetLicense' {
- version :: Maybe Text
- licenseArn :: Text
- newGetLicense :: Text -> GetLicense
- getLicense_version :: Lens' GetLicense (Maybe Text)
- getLicense_licenseArn :: Lens' GetLicense Text
- data GetLicenseResponse = GetLicenseResponse' {
- license :: Maybe License
- httpStatus :: Int
- newGetLicenseResponse :: Int -> GetLicenseResponse
- getLicenseResponse_license :: Lens' GetLicenseResponse (Maybe License)
- getLicenseResponse_httpStatus :: Lens' GetLicenseResponse Int
Creating a Request
data GetLicense Source #
See: newGetLicense smart constructor.
Constructors
| GetLicense' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetLicense |
Create a value of GetLicense 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:
GetLicense, getLicense_version - License version.
GetLicense, getLicense_licenseArn - Amazon Resource Name (ARN) of the license.
Request Lenses
getLicense_version :: Lens' GetLicense (Maybe Text) Source #
License version.
getLicense_licenseArn :: Lens' GetLicense Text Source #
Amazon Resource Name (ARN) of the license.
Destructuring the Response
data GetLicenseResponse Source #
See: newGetLicenseResponse smart constructor.
Constructors
| GetLicenseResponse' | |
Fields
| |
Instances
newGetLicenseResponse Source #
Arguments
| :: Int | |
| -> GetLicenseResponse |
Create a value of GetLicenseResponse 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:license:GetLicenseResponse', getLicenseResponse_license - License details.
$sel:httpStatus:GetLicenseResponse', getLicenseResponse_httpStatus - The response's http status code.
Response Lenses
getLicenseResponse_license :: Lens' GetLicenseResponse (Maybe License) Source #
License details.
getLicenseResponse_httpStatus :: Lens' GetLicenseResponse Int Source #
The response's http status code.