amazonka-guardduty-2.0: Amazon GuardDuty 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.GuardDuty.AcceptAdministratorInvitation

Description

Accepts the invitation to be a member account and get monitored by a GuardDuty administrator account that sent the invitation.

Synopsis

Creating a Request

data AcceptAdministratorInvitation Source #

See: newAcceptAdministratorInvitation smart constructor.

Constructors

AcceptAdministratorInvitation' 

Fields

  • detectorId :: Text

    The unique ID of the detector of the GuardDuty member account.

  • administratorId :: Text

    The account ID of the GuardDuty administrator account whose invitation you're accepting.

  • invitationId :: Text

    The value that is used to validate the administrator account to the member account.

Instances

Instances details
ToJSON AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptAdministratorInvitation

ToHeaders AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptAdministratorInvitation

ToPath AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptAdministratorInvitation

ToQuery AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptAdministratorInvitation

AWSRequest AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptAdministratorInvitation

Generic AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptAdministratorInvitation

Associated Types

type Rep AcceptAdministratorInvitation :: Type -> Type #

Read AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptAdministratorInvitation

Show AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptAdministratorInvitation

NFData AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptAdministratorInvitation

Eq AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptAdministratorInvitation

Hashable AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptAdministratorInvitation

type AWSResponse AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptAdministratorInvitation

type Rep AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptAdministratorInvitation

type Rep AcceptAdministratorInvitation = D1 ('MetaData "AcceptAdministratorInvitation" "Amazonka.GuardDuty.AcceptAdministratorInvitation" "amazonka-guardduty-2.0-2NN502sGcQRH5risQZb24c" 'False) (C1 ('MetaCons "AcceptAdministratorInvitation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "detectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "administratorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "invitationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newAcceptAdministratorInvitation Source #

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

AcceptAdministratorInvitation, acceptAdministratorInvitation_detectorId - The unique ID of the detector of the GuardDuty member account.

AcceptAdministratorInvitation, acceptAdministratorInvitation_administratorId - The account ID of the GuardDuty administrator account whose invitation you're accepting.

AcceptAdministratorInvitation, acceptAdministratorInvitation_invitationId - The value that is used to validate the administrator account to the member account.

Request Lenses

acceptAdministratorInvitation_detectorId :: Lens' AcceptAdministratorInvitation Text Source #

The unique ID of the detector of the GuardDuty member account.

acceptAdministratorInvitation_administratorId :: Lens' AcceptAdministratorInvitation Text Source #

The account ID of the GuardDuty administrator account whose invitation you're accepting.

acceptAdministratorInvitation_invitationId :: Lens' AcceptAdministratorInvitation Text Source #

The value that is used to validate the administrator account to the member account.

Destructuring the Response

data AcceptAdministratorInvitationResponse Source #

Constructors

AcceptAdministratorInvitationResponse' 

Fields

Instances

Instances details
Generic AcceptAdministratorInvitationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptAdministratorInvitation

Read AcceptAdministratorInvitationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptAdministratorInvitation

Show AcceptAdministratorInvitationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptAdministratorInvitation

NFData AcceptAdministratorInvitationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptAdministratorInvitation

Eq AcceptAdministratorInvitationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptAdministratorInvitation

type Rep AcceptAdministratorInvitationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptAdministratorInvitation

type Rep AcceptAdministratorInvitationResponse = D1 ('MetaData "AcceptAdministratorInvitationResponse" "Amazonka.GuardDuty.AcceptAdministratorInvitation" "amazonka-guardduty-2.0-2NN502sGcQRH5risQZb24c" 'False) (C1 ('MetaCons "AcceptAdministratorInvitationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAcceptAdministratorInvitationResponse Source #

Create a value of AcceptAdministratorInvitationResponse 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:AcceptAdministratorInvitationResponse', acceptAdministratorInvitationResponse_httpStatus - The response's http status code.

Response Lenses