amazonka-detective-2.0: Amazon Detective SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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.

Synopsis

Creating a Request

data RejectInvitation Source #

See: newRejectInvitation smart constructor.

Constructors

RejectInvitation' 

Fields

  • graphArn :: Text

    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.

Instances

Instances details
ToJSON RejectInvitation Source # 
Instance details

Defined in Amazonka.Detective.RejectInvitation

ToHeaders RejectInvitation Source # 
Instance details

Defined in Amazonka.Detective.RejectInvitation

ToPath RejectInvitation Source # 
Instance details

Defined in Amazonka.Detective.RejectInvitation

ToQuery RejectInvitation Source # 
Instance details

Defined in Amazonka.Detective.RejectInvitation

AWSRequest RejectInvitation Source # 
Instance details

Defined in Amazonka.Detective.RejectInvitation

Associated Types

type AWSResponse RejectInvitation #

Generic RejectInvitation Source # 
Instance details

Defined in Amazonka.Detective.RejectInvitation

Associated Types

type Rep RejectInvitation :: Type -> Type #

Read RejectInvitation Source # 
Instance details

Defined in Amazonka.Detective.RejectInvitation

Show RejectInvitation Source # 
Instance details

Defined in Amazonka.Detective.RejectInvitation

NFData RejectInvitation Source # 
Instance details

Defined in Amazonka.Detective.RejectInvitation

Methods

rnf :: RejectInvitation -> () #

Eq RejectInvitation Source # 
Instance details

Defined in Amazonka.Detective.RejectInvitation

Hashable RejectInvitation Source # 
Instance details

Defined in Amazonka.Detective.RejectInvitation

type AWSResponse RejectInvitation Source # 
Instance details

Defined in Amazonka.Detective.RejectInvitation

type Rep RejectInvitation Source # 
Instance details

Defined in Amazonka.Detective.RejectInvitation

type Rep RejectInvitation = D1 ('MetaData "RejectInvitation" "Amazonka.Detective.RejectInvitation" "amazonka-detective-2.0-7OiRDHTBp2P6vp0DOMdDcL" 'False) (C1 ('MetaCons "RejectInvitation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "graphArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRejectInvitation Source #

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.

Instances

Instances details
Generic RejectInvitationResponse Source # 
Instance details

Defined in Amazonka.Detective.RejectInvitation

Associated Types

type Rep RejectInvitationResponse :: Type -> Type #

Read RejectInvitationResponse Source # 
Instance details

Defined in Amazonka.Detective.RejectInvitation

Show RejectInvitationResponse Source # 
Instance details

Defined in Amazonka.Detective.RejectInvitation

NFData RejectInvitationResponse Source # 
Instance details

Defined in Amazonka.Detective.RejectInvitation

Eq RejectInvitationResponse Source # 
Instance details

Defined in Amazonka.Detective.RejectInvitation

type Rep RejectInvitationResponse Source # 
Instance details

Defined in Amazonka.Detective.RejectInvitation

type Rep RejectInvitationResponse = D1 ('MetaData "RejectInvitationResponse" "Amazonka.Detective.RejectInvitation" "amazonka-detective-2.0-7OiRDHTBp2P6vp0DOMdDcL" 'False) (C1 ('MetaCons "RejectInvitationResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newRejectInvitationResponse :: RejectInvitationResponse Source #

Create a value of RejectInvitationResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.