| 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.DeleteLicense
Description
Deletes the specified license.
Synopsis
- data DeleteLicense = DeleteLicense' {
- licenseArn :: Text
- sourceVersion :: Text
- newDeleteLicense :: Text -> Text -> DeleteLicense
- deleteLicense_licenseArn :: Lens' DeleteLicense Text
- deleteLicense_sourceVersion :: Lens' DeleteLicense Text
- data DeleteLicenseResponse = DeleteLicenseResponse' {}
- newDeleteLicenseResponse :: Int -> DeleteLicenseResponse
- deleteLicenseResponse_deletionDate :: Lens' DeleteLicenseResponse (Maybe Text)
- deleteLicenseResponse_status :: Lens' DeleteLicenseResponse (Maybe LicenseDeletionStatus)
- deleteLicenseResponse_httpStatus :: Lens' DeleteLicenseResponse Int
Creating a Request
data DeleteLicense Source #
See: newDeleteLicense smart constructor.
Constructors
| DeleteLicense' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteLicense |
Create a value of DeleteLicense 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:
DeleteLicense, deleteLicense_licenseArn - Amazon Resource Name (ARN) of the license.
$sel:sourceVersion:DeleteLicense', deleteLicense_sourceVersion - Current version of the license.
Request Lenses
deleteLicense_licenseArn :: Lens' DeleteLicense Text Source #
Amazon Resource Name (ARN) of the license.
deleteLicense_sourceVersion :: Lens' DeleteLicense Text Source #
Current version of the license.
Destructuring the Response
data DeleteLicenseResponse Source #
See: newDeleteLicenseResponse smart constructor.
Constructors
| DeleteLicenseResponse' | |
Fields
| |
Instances
newDeleteLicenseResponse Source #
Create a value of DeleteLicenseResponse 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:deletionDate:DeleteLicenseResponse', deleteLicenseResponse_deletionDate - Date when the license is deleted.
DeleteLicenseResponse, deleteLicenseResponse_status - License status.
$sel:httpStatus:DeleteLicenseResponse', deleteLicenseResponse_httpStatus - The response's http status code.
Response Lenses
deleteLicenseResponse_deletionDate :: Lens' DeleteLicenseResponse (Maybe Text) Source #
Date when the license is deleted.
deleteLicenseResponse_status :: Lens' DeleteLicenseResponse (Maybe LicenseDeletionStatus) Source #
License status.
deleteLicenseResponse_httpStatus :: Lens' DeleteLicenseResponse Int Source #
The response's http status code.