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.AcceptInvitation

Description

Accepts an invitation for the member account to contribute data to a behavior graph. This operation can only be called by an invited member account.

The request provides the ARN of behavior graph.

The member account status in the graph must be INVITED.

Synopsis

Creating a Request

data AcceptInvitation Source #

See: newAcceptInvitation smart constructor.

Constructors

AcceptInvitation' 

Fields

  • graphArn :: Text

    The ARN of the behavior graph that the member account is accepting the invitation for.

    The member account status in the behavior graph must be INVITED.

Instances

Instances details
ToJSON AcceptInvitation Source # 
Instance details

Defined in Amazonka.Detective.AcceptInvitation

ToHeaders AcceptInvitation Source # 
Instance details

Defined in Amazonka.Detective.AcceptInvitation

ToPath AcceptInvitation Source # 
Instance details

Defined in Amazonka.Detective.AcceptInvitation

ToQuery AcceptInvitation Source # 
Instance details

Defined in Amazonka.Detective.AcceptInvitation

AWSRequest AcceptInvitation Source # 
Instance details

Defined in Amazonka.Detective.AcceptInvitation

Associated Types

type AWSResponse AcceptInvitation #

Generic AcceptInvitation Source # 
Instance details

Defined in Amazonka.Detective.AcceptInvitation

Associated Types

type Rep AcceptInvitation :: Type -> Type #

Read AcceptInvitation Source # 
Instance details

Defined in Amazonka.Detective.AcceptInvitation

Show AcceptInvitation Source # 
Instance details

Defined in Amazonka.Detective.AcceptInvitation

NFData AcceptInvitation Source # 
Instance details

Defined in Amazonka.Detective.AcceptInvitation

Methods

rnf :: AcceptInvitation -> () #

Eq AcceptInvitation Source # 
Instance details

Defined in Amazonka.Detective.AcceptInvitation

Hashable AcceptInvitation Source # 
Instance details

Defined in Amazonka.Detective.AcceptInvitation

type AWSResponse AcceptInvitation Source # 
Instance details

Defined in Amazonka.Detective.AcceptInvitation

type Rep AcceptInvitation Source # 
Instance details

Defined in Amazonka.Detective.AcceptInvitation

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

newAcceptInvitation Source #

Create a value of AcceptInvitation 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:

AcceptInvitation, acceptInvitation_graphArn - The ARN of the behavior graph that the member account is accepting the invitation for.

The member account status in the behavior graph must be INVITED.

Request Lenses

acceptInvitation_graphArn :: Lens' AcceptInvitation Text Source #

The ARN of the behavior graph that the member account is accepting the invitation for.

The member account status in the behavior graph must be INVITED.

Destructuring the Response

data AcceptInvitationResponse Source #

See: newAcceptInvitationResponse smart constructor.

Instances

Instances details
Generic AcceptInvitationResponse Source # 
Instance details

Defined in Amazonka.Detective.AcceptInvitation

Associated Types

type Rep AcceptInvitationResponse :: Type -> Type #

Read AcceptInvitationResponse Source # 
Instance details

Defined in Amazonka.Detective.AcceptInvitation

Show AcceptInvitationResponse Source # 
Instance details

Defined in Amazonka.Detective.AcceptInvitation

NFData AcceptInvitationResponse Source # 
Instance details

Defined in Amazonka.Detective.AcceptInvitation

Eq AcceptInvitationResponse Source # 
Instance details

Defined in Amazonka.Detective.AcceptInvitation

type Rep AcceptInvitationResponse Source # 
Instance details

Defined in Amazonka.Detective.AcceptInvitation

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

newAcceptInvitationResponse :: AcceptInvitationResponse Source #

Create a value of AcceptInvitationResponse with all optional fields omitted.

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