| 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.ManagedBlockChain.RejectInvitation
Description
Rejects an invitation to join a network. This action can be called by a principal in an Amazon Web Services 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.
Constructors
| RejectInvitation' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> RejectInvitation |
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:
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.
Constructors
| RejectInvitationResponse' | |
Fields
| |
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.