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 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.
GetLicense' | |
|
Instances
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:
$sel:version:GetLicense'
, getLicense_version
- License version.
$sel:licenseArn: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.
GetLicenseResponse' | |
|
Instances
newGetLicenseResponse Source #
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.