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 |
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_status :: Lens' DeleteLicenseResponse (Maybe LicenseDeletionStatus)
- deleteLicenseResponse_deletionDate :: Lens' DeleteLicenseResponse (Maybe Text)
- deleteLicenseResponse_httpStatus :: Lens' DeleteLicenseResponse Int
Creating a Request
data DeleteLicense Source #
See: newDeleteLicense
smart constructor.
DeleteLicense' | |
|
Instances
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:
$sel:licenseArn: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.
DeleteLicenseResponse' | |
|
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:status:DeleteLicenseResponse'
, deleteLicenseResponse_status
- License status.
$sel:deletionDate:DeleteLicenseResponse'
, deleteLicenseResponse_deletionDate
- Date when the license is deleted.
$sel:httpStatus:DeleteLicenseResponse'
, deleteLicenseResponse_httpStatus
- The response's http status code.
Response Lenses
deleteLicenseResponse_status :: Lens' DeleteLicenseResponse (Maybe LicenseDeletionStatus) Source #
License status.
deleteLicenseResponse_deletionDate :: Lens' DeleteLicenseResponse (Maybe Text) Source #
Date when the license is deleted.
deleteLicenseResponse_httpStatus :: Lens' DeleteLicenseResponse Int Source #
The response's http status code.