libZSservicesZSamazonka-securityhubZSamazonka-securityhub
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.SecurityHub.AcceptAdministratorInvitation

Description

Accepts the invitation to be a member account and be monitored by the Security Hub administrator account that the invitation was sent from.

This operation is only used by member accounts that are not added through Organizations.

When the member account accepts the invitation, permission is granted to the administrator account to view findings generated in the member account.

Synopsis

Creating a Request

data AcceptAdministratorInvitation Source #

See: newAcceptAdministratorInvitation smart constructor.

Constructors

AcceptAdministratorInvitation' 

Fields

  • administratorId :: Text

    The account ID of the Security Hub administrator account that sent the invitation.

  • invitationId :: Text

    The identifier of the invitation sent from the Security Hub administrator account.

Instances

Instances details
Eq AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.SecurityHub.AcceptAdministratorInvitation

Read AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.SecurityHub.AcceptAdministratorInvitation

Show AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.SecurityHub.AcceptAdministratorInvitation

Generic AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.SecurityHub.AcceptAdministratorInvitation

Associated Types

type Rep AcceptAdministratorInvitation :: Type -> Type #

NFData AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.SecurityHub.AcceptAdministratorInvitation

Hashable AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.SecurityHub.AcceptAdministratorInvitation

ToJSON AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.SecurityHub.AcceptAdministratorInvitation

AWSRequest AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.SecurityHub.AcceptAdministratorInvitation

ToHeaders AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.SecurityHub.AcceptAdministratorInvitation

ToPath AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.SecurityHub.AcceptAdministratorInvitation

ToQuery AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.SecurityHub.AcceptAdministratorInvitation

type Rep AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.SecurityHub.AcceptAdministratorInvitation

type Rep AcceptAdministratorInvitation = D1 ('MetaData "AcceptAdministratorInvitation" "Amazonka.SecurityHub.AcceptAdministratorInvitation" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AcceptAdministratorInvitation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "administratorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "invitationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse AcceptAdministratorInvitation Source # 
Instance details

Defined in Amazonka.SecurityHub.AcceptAdministratorInvitation

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:

$sel:administratorId:AcceptAdministratorInvitation', acceptAdministratorInvitation_administratorId - The account ID of the Security Hub administrator account that sent the invitation.

$sel:invitationId:AcceptAdministratorInvitation', acceptAdministratorInvitation_invitationId - The identifier of the invitation sent from the Security Hub administrator account.

Request Lenses

acceptAdministratorInvitation_administratorId :: Lens' AcceptAdministratorInvitation Text Source #

The account ID of the Security Hub administrator account that sent the invitation.

acceptAdministratorInvitation_invitationId :: Lens' AcceptAdministratorInvitation Text Source #

The identifier of the invitation sent from the Security Hub administrator account.

Destructuring the Response

data AcceptAdministratorInvitationResponse Source #

Constructors

AcceptAdministratorInvitationResponse' 

Fields

Instances

Instances details
Eq AcceptAdministratorInvitationResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.AcceptAdministratorInvitation

Read AcceptAdministratorInvitationResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.AcceptAdministratorInvitation

Show AcceptAdministratorInvitationResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.AcceptAdministratorInvitation

Generic AcceptAdministratorInvitationResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.AcceptAdministratorInvitation

NFData AcceptAdministratorInvitationResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.AcceptAdministratorInvitation

type Rep AcceptAdministratorInvitationResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.AcceptAdministratorInvitation

type Rep AcceptAdministratorInvitationResponse = D1 ('MetaData "AcceptAdministratorInvitationResponse" "Amazonka.SecurityHub.AcceptAdministratorInvitation" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" '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