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