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 package.
Synopsis
- data DeletePackage = DeletePackage' {}
- newDeletePackage :: Text -> DeletePackage
- deletePackage_packageID :: Lens' DeletePackage Text
- data DeletePackageResponse = DeletePackageResponse' {}
- newDeletePackageResponse :: Int -> DeletePackageResponse
- deletePackageResponse_packageDetails :: Lens' DeletePackageResponse (Maybe PackageDetails)
- deletePackageResponse_httpStatus :: Lens' DeletePackageResponse Int
Creating a Request
data DeletePackage Source #
Container for the request parameters to the DeletePackage
operation.
See: newDeletePackage
smart constructor.
Instances
Create a value of DeletePackage
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:packageID:DeletePackage'
, deletePackage_packageID
- The internal ID of the package you want to delete. Use
DescribePackages
to find this value.
Request Lenses
deletePackage_packageID :: Lens' DeletePackage Text Source #
The internal ID of the package you want to delete. Use
DescribePackages
to find this value.
Destructuring the Response
data DeletePackageResponse Source #
Container for the response parameters to the DeletePackage
operation.
See: newDeletePackageResponse
smart constructor.
DeletePackageResponse' | |
|
Instances
newDeletePackageResponse Source #
Create a value of DeletePackageResponse
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:packageDetails:DeletePackageResponse'
, deletePackageResponse_packageDetails
- PackageDetails
$sel:httpStatus:DeletePackageResponse'
, deletePackageResponse_httpStatus
- The response's http status code.
Response Lenses
deletePackageResponse_packageDetails :: Lens' DeletePackageResponse (Maybe PackageDetails) Source #
PackageDetails
deletePackageResponse_httpStatus :: Lens' DeletePackageResponse Int Source #
The response's http status code.