libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
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.MacieV2.AcceptInvitation

Description

Accepts an Amazon Macie membership invitation that was received from a specific account.

Synopsis

Creating a Request

data AcceptInvitation Source #

See: newAcceptInvitation smart constructor.

Constructors

AcceptInvitation' 

Fields

  • administratorAccountId :: Maybe Text

    The Amazon Web Services account ID for the account that sent the invitation.

  • masterAccount :: Maybe Text

    (Deprecated) The Amazon Web Services account ID for the account that sent the invitation. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.

  • invitationId :: Text

    The unique identifier for the invitation to accept.

Instances

Instances details
Eq AcceptInvitation Source # 
Instance details

Defined in Amazonka.MacieV2.AcceptInvitation

Read AcceptInvitation Source # 
Instance details

Defined in Amazonka.MacieV2.AcceptInvitation

Show AcceptInvitation Source # 
Instance details

Defined in Amazonka.MacieV2.AcceptInvitation

Generic AcceptInvitation Source # 
Instance details

Defined in Amazonka.MacieV2.AcceptInvitation

Associated Types

type Rep AcceptInvitation :: Type -> Type #

NFData AcceptInvitation Source # 
Instance details

Defined in Amazonka.MacieV2.AcceptInvitation

Methods

rnf :: AcceptInvitation -> () #

Hashable AcceptInvitation Source # 
Instance details

Defined in Amazonka.MacieV2.AcceptInvitation

ToJSON AcceptInvitation Source # 
Instance details

Defined in Amazonka.MacieV2.AcceptInvitation

AWSRequest AcceptInvitation Source # 
Instance details

Defined in Amazonka.MacieV2.AcceptInvitation

Associated Types

type AWSResponse AcceptInvitation #

ToHeaders AcceptInvitation Source # 
Instance details

Defined in Amazonka.MacieV2.AcceptInvitation

ToPath AcceptInvitation Source # 
Instance details

Defined in Amazonka.MacieV2.AcceptInvitation

ToQuery AcceptInvitation Source # 
Instance details

Defined in Amazonka.MacieV2.AcceptInvitation

type Rep AcceptInvitation Source # 
Instance details

Defined in Amazonka.MacieV2.AcceptInvitation

type Rep AcceptInvitation = D1 ('MetaData "AcceptInvitation" "Amazonka.MacieV2.AcceptInvitation" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "AcceptInvitation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "administratorAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "masterAccount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "invitationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse AcceptInvitation Source # 
Instance details

Defined in Amazonka.MacieV2.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:administratorAccountId:AcceptInvitation', acceptInvitation_administratorAccountId - The Amazon Web Services account ID for the account that sent the invitation.

$sel:masterAccount:AcceptInvitation', acceptInvitation_masterAccount - (Deprecated) The Amazon Web Services account ID for the account that sent the invitation. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.

$sel:invitationId:AcceptInvitation', acceptInvitation_invitationId - The unique identifier for the invitation to accept.

Request Lenses

acceptInvitation_administratorAccountId :: Lens' AcceptInvitation (Maybe Text) Source #

The Amazon Web Services account ID for the account that sent the invitation.

acceptInvitation_masterAccount :: Lens' AcceptInvitation (Maybe Text) Source #

(Deprecated) The Amazon Web Services account ID for the account that sent the invitation. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.

acceptInvitation_invitationId :: Lens' AcceptInvitation Text Source #

The unique identifier for the invitation to accept.

Destructuring the Response

data AcceptInvitationResponse Source #

See: newAcceptInvitationResponse smart constructor.

Constructors

AcceptInvitationResponse' 

Fields

Instances

Instances details
Eq AcceptInvitationResponse Source # 
Instance details

Defined in Amazonka.MacieV2.AcceptInvitation

Read AcceptInvitationResponse Source # 
Instance details

Defined in Amazonka.MacieV2.AcceptInvitation

Show AcceptInvitationResponse Source # 
Instance details

Defined in Amazonka.MacieV2.AcceptInvitation

Generic AcceptInvitationResponse Source # 
Instance details

Defined in Amazonka.MacieV2.AcceptInvitation

Associated Types

type Rep AcceptInvitationResponse :: Type -> Type #

NFData AcceptInvitationResponse Source # 
Instance details

Defined in Amazonka.MacieV2.AcceptInvitation

type Rep AcceptInvitationResponse Source # 
Instance details

Defined in Amazonka.MacieV2.AcceptInvitation

type Rep AcceptInvitationResponse = D1 ('MetaData "AcceptInvitationResponse" "Amazonka.MacieV2.AcceptInvitation" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" '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