| 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.Detective.RejectInvitation
Description
Rejects an invitation to contribute the account data to a behavior
graph. This operation must be called by an invited member account that
has the INVITED status.
RejectInvitation cannot be called by an organization account in the
organization behavior graph. In the organization behavior graph,
organization accounts do not receive an invitation.
Creating a Request
data RejectInvitation Source #
See: newRejectInvitation smart constructor.
Constructors
| RejectInvitation' | |
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_graphArn - The ARN of the behavior graph to reject the invitation to.
The member account's current member status in the behavior graph must
be INVITED.
Request Lenses
rejectInvitation_graphArn :: Lens' RejectInvitation Text Source #
The ARN of the behavior graph to reject the invitation to.
The member account's current member status in the behavior graph must
be INVITED.
Destructuring the Response
data RejectInvitationResponse Source #
See: newRejectInvitationResponse smart constructor.
Constructors
| RejectInvitationResponse' | |
Instances
newRejectInvitationResponse :: RejectInvitationResponse Source #
Create a value of RejectInvitationResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.