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 an invitation to join a network. This action can be called by a principal in an AWS account that has received an invitation to create a member and join a network.
Applies only to Hyperledger Fabric.
Synopsis
- data RejectInvitation = RejectInvitation' {
- invitationId :: Text
- newRejectInvitation :: Text -> RejectInvitation
- rejectInvitation_invitationId :: Lens' RejectInvitation Text
- data RejectInvitationResponse = RejectInvitationResponse' {
- httpStatus :: Int
- newRejectInvitationResponse :: Int -> RejectInvitationResponse
- rejectInvitationResponse_httpStatus :: Lens' RejectInvitationResponse Int
Creating a Request
data RejectInvitation Source #
See: newRejectInvitation
smart constructor.
RejectInvitation' | |
|
Instances
Create a value of RejectInvitation
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:invitationId:RejectInvitation'
, rejectInvitation_invitationId
- The unique identifier of the invitation to reject.
Request Lenses
rejectInvitation_invitationId :: Lens' RejectInvitation Text Source #
The unique identifier of the invitation to reject.
Destructuring the Response
data RejectInvitationResponse Source #
See: newRejectInvitationResponse
smart constructor.
RejectInvitationResponse' | |
|
Instances
newRejectInvitationResponse Source #
Create a value of RejectInvitationResponse
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:httpStatus:RejectInvitationResponse'
, rejectInvitationResponse_httpStatus
- The response's http status code.
Response Lenses
rejectInvitationResponse_httpStatus :: Lens' RejectInvitationResponse Int Source #
The response's http status code.