libZSservicesZSamazonka-guarddutyZSamazonka-guardduty
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.GuardDuty.AcceptInvitation

Description

Accepts the invitation to be monitored by a GuardDuty administrator account.

Synopsis

Creating a Request

data AcceptInvitation Source #

See: newAcceptInvitation smart constructor.

Constructors

AcceptInvitation' 

Fields

  • detectorId :: Text

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

  • masterId :: 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
Eq AcceptInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptInvitation

Read AcceptInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptInvitation

Show AcceptInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptInvitation

Generic AcceptInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptInvitation

Associated Types

type Rep AcceptInvitation :: Type -> Type #

NFData AcceptInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptInvitation

Methods

rnf :: AcceptInvitation -> () #

Hashable AcceptInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptInvitation

ToJSON AcceptInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptInvitation

AWSRequest AcceptInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptInvitation

Associated Types

type AWSResponse AcceptInvitation #

ToHeaders AcceptInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptInvitation

ToPath AcceptInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptInvitation

ToQuery AcceptInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptInvitation

type Rep AcceptInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptInvitation

type Rep AcceptInvitation = D1 ('MetaData "AcceptInvitation" "Amazonka.GuardDuty.AcceptInvitation" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "AcceptInvitation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "detectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "masterId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "invitationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse AcceptInvitation Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptInvitation

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:

$sel:detectorId:AcceptInvitation', acceptInvitation_detectorId - The unique ID of the detector of the GuardDuty member account.

$sel:masterId:AcceptInvitation', acceptInvitation_masterId - The account ID of the GuardDuty administrator account whose invitation you're accepting.

$sel:invitationId:AcceptInvitation', acceptInvitation_invitationId - The value that is used to validate the administrator account to the member account.

Request Lenses

acceptInvitation_detectorId :: Lens' AcceptInvitation Text Source #

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

acceptInvitation_masterId :: Lens' AcceptInvitation Text Source #

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

acceptInvitation_invitationId :: Lens' AcceptInvitation Text Source #

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

Destructuring the Response

data AcceptInvitationResponse Source #

See: newAcceptInvitationResponse smart constructor.

Constructors

AcceptInvitationResponse' 

Fields

Instances

Instances details
Eq AcceptInvitationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptInvitation

Read AcceptInvitationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptInvitation

Show AcceptInvitationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptInvitation

Generic AcceptInvitationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptInvitation

Associated Types

type Rep AcceptInvitationResponse :: Type -> Type #

NFData AcceptInvitationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptInvitation

type Rep AcceptInvitationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.AcceptInvitation

type Rep AcceptInvitationResponse = D1 ('MetaData "AcceptInvitationResponse" "Amazonka.GuardDuty.AcceptInvitation" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "AcceptInvitationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAcceptInvitationResponse Source #

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

Response Lenses