| 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.RejectGrant
Description
Rejects the specified grant.
Synopsis
- data RejectGrant = RejectGrant' {}
- newRejectGrant :: Text -> RejectGrant
- rejectGrant_grantArn :: Lens' RejectGrant Text
- data RejectGrantResponse = RejectGrantResponse' {}
- newRejectGrantResponse :: Int -> RejectGrantResponse
- rejectGrantResponse_grantArn :: Lens' RejectGrantResponse (Maybe Text)
- rejectGrantResponse_status :: Lens' RejectGrantResponse (Maybe GrantStatus)
- rejectGrantResponse_version :: Lens' RejectGrantResponse (Maybe Text)
- rejectGrantResponse_httpStatus :: Lens' RejectGrantResponse Int
Creating a Request
data RejectGrant Source #
See: newRejectGrant smart constructor.
Constructors
| RejectGrant' | |
Instances
Arguments
| :: Text | |
| -> RejectGrant |
Create a value of RejectGrant 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:
RejectGrant, rejectGrant_grantArn - Amazon Resource Name (ARN) of the grant.
Request Lenses
rejectGrant_grantArn :: Lens' RejectGrant Text Source #
Amazon Resource Name (ARN) of the grant.
Destructuring the Response
data RejectGrantResponse Source #
See: newRejectGrantResponse smart constructor.
Constructors
| RejectGrantResponse' | |
Instances
newRejectGrantResponse Source #
Arguments
| :: Int | |
| -> RejectGrantResponse |
Create a value of RejectGrantResponse 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:
RejectGrant, rejectGrantResponse_grantArn - Grant ARN.
RejectGrantResponse, rejectGrantResponse_status - Grant status.
RejectGrantResponse, rejectGrantResponse_version - Grant version.
$sel:httpStatus:RejectGrantResponse', rejectGrantResponse_httpStatus - The response's http status code.
Response Lenses
rejectGrantResponse_grantArn :: Lens' RejectGrantResponse (Maybe Text) Source #
Grant ARN.
rejectGrantResponse_status :: Lens' RejectGrantResponse (Maybe GrantStatus) Source #
Grant status.
rejectGrantResponse_version :: Lens' RejectGrantResponse (Maybe Text) Source #
Grant version.
rejectGrantResponse_httpStatus :: Lens' RejectGrantResponse Int Source #
The response's http status code.