| 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.DeleteGrant
Description
Deletes the specified grant.
Synopsis
- data DeleteGrant = DeleteGrant' {}
- newDeleteGrant :: Text -> Text -> DeleteGrant
- deleteGrant_statusReason :: Lens' DeleteGrant (Maybe Text)
- deleteGrant_grantArn :: Lens' DeleteGrant Text
- deleteGrant_version :: Lens' DeleteGrant Text
- data DeleteGrantResponse = DeleteGrantResponse' {}
- newDeleteGrantResponse :: Int -> DeleteGrantResponse
- deleteGrantResponse_grantArn :: Lens' DeleteGrantResponse (Maybe Text)
- deleteGrantResponse_status :: Lens' DeleteGrantResponse (Maybe GrantStatus)
- deleteGrantResponse_version :: Lens' DeleteGrantResponse (Maybe Text)
- deleteGrantResponse_httpStatus :: Lens' DeleteGrantResponse Int
Creating a Request
data DeleteGrant Source #
See: newDeleteGrant smart constructor.
Constructors
| DeleteGrant' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteGrant |
Create a value of DeleteGrant 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:
DeleteGrant, deleteGrant_statusReason - The Status reason for the delete request.
DeleteGrant, deleteGrant_grantArn - Amazon Resource Name (ARN) of the grant.
DeleteGrant, deleteGrant_version - Current version of the grant.
Request Lenses
deleteGrant_statusReason :: Lens' DeleteGrant (Maybe Text) Source #
The Status reason for the delete request.
deleteGrant_grantArn :: Lens' DeleteGrant Text Source #
Amazon Resource Name (ARN) of the grant.
deleteGrant_version :: Lens' DeleteGrant Text Source #
Current version of the grant.
Destructuring the Response
data DeleteGrantResponse Source #
See: newDeleteGrantResponse smart constructor.
Constructors
| DeleteGrantResponse' | |
Instances
newDeleteGrantResponse Source #
Arguments
| :: Int | |
| -> DeleteGrantResponse |
Create a value of DeleteGrantResponse 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:
DeleteGrant, deleteGrantResponse_grantArn - Grant ARN.
DeleteGrantResponse, deleteGrantResponse_status - Grant status.
DeleteGrant, deleteGrantResponse_version - Grant version.
$sel:httpStatus:DeleteGrantResponse', deleteGrantResponse_httpStatus - The response's http status code.
Response Lenses
deleteGrantResponse_grantArn :: Lens' DeleteGrantResponse (Maybe Text) Source #
Grant ARN.
deleteGrantResponse_status :: Lens' DeleteGrantResponse (Maybe GrantStatus) Source #
Grant status.
deleteGrantResponse_version :: Lens' DeleteGrantResponse (Maybe Text) Source #
Grant version.
deleteGrantResponse_httpStatus :: Lens' DeleteGrantResponse Int Source #
The response's http status code.