libZSservicesZSamazonka-detectiveZSamazonka-detective
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.Detective.StartMonitoringMember

Description

Sends a request to enable data ingest for a member account that has a status of ACCEPTED_BUT_DISABLED.

For valid member accounts, the status is updated as follows.

  • If Detective enabled the member account, then the new status is ENABLED.
  • If Detective cannot enable the member account, the status remains ACCEPTED_BUT_DISABLED.
Synopsis

Creating a Request

data StartMonitoringMember Source #

See: newStartMonitoringMember smart constructor.

Constructors

StartMonitoringMember' 

Fields

  • graphArn :: Text

    The ARN of the behavior graph.

  • accountId :: Text

    The account ID of the member account to try to enable.

    The account must be an invited member account with a status of ACCEPTED_BUT_DISABLED.

Instances

Instances details
Eq StartMonitoringMember Source # 
Instance details

Defined in Amazonka.Detective.StartMonitoringMember

Read StartMonitoringMember Source # 
Instance details

Defined in Amazonka.Detective.StartMonitoringMember

Show StartMonitoringMember Source # 
Instance details

Defined in Amazonka.Detective.StartMonitoringMember

Generic StartMonitoringMember Source # 
Instance details

Defined in Amazonka.Detective.StartMonitoringMember

Associated Types

type Rep StartMonitoringMember :: Type -> Type #

NFData StartMonitoringMember Source # 
Instance details

Defined in Amazonka.Detective.StartMonitoringMember

Methods

rnf :: StartMonitoringMember -> () #

Hashable StartMonitoringMember Source # 
Instance details

Defined in Amazonka.Detective.StartMonitoringMember

ToJSON StartMonitoringMember Source # 
Instance details

Defined in Amazonka.Detective.StartMonitoringMember

AWSRequest StartMonitoringMember Source # 
Instance details

Defined in Amazonka.Detective.StartMonitoringMember

Associated Types

type AWSResponse StartMonitoringMember #

ToHeaders StartMonitoringMember Source # 
Instance details

Defined in Amazonka.Detective.StartMonitoringMember

ToPath StartMonitoringMember Source # 
Instance details

Defined in Amazonka.Detective.StartMonitoringMember

ToQuery StartMonitoringMember Source # 
Instance details

Defined in Amazonka.Detective.StartMonitoringMember

type Rep StartMonitoringMember Source # 
Instance details

Defined in Amazonka.Detective.StartMonitoringMember

type Rep StartMonitoringMember = D1 ('MetaData "StartMonitoringMember" "Amazonka.Detective.StartMonitoringMember" "libZSservicesZSamazonka-detectiveZSamazonka-detective" 'False) (C1 ('MetaCons "StartMonitoringMember'" 'PrefixI 'True) (S1 ('MetaSel ('Just "graphArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse StartMonitoringMember Source # 
Instance details

Defined in Amazonka.Detective.StartMonitoringMember

newStartMonitoringMember Source #

Create a value of StartMonitoringMember 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:graphArn:StartMonitoringMember', startMonitoringMember_graphArn - The ARN of the behavior graph.

$sel:accountId:StartMonitoringMember', startMonitoringMember_accountId - The account ID of the member account to try to enable.

The account must be an invited member account with a status of ACCEPTED_BUT_DISABLED.

Request Lenses

startMonitoringMember_accountId :: Lens' StartMonitoringMember Text Source #

The account ID of the member account to try to enable.

The account must be an invited member account with a status of ACCEPTED_BUT_DISABLED.

Destructuring the Response

data StartMonitoringMemberResponse Source #

See: newStartMonitoringMemberResponse smart constructor.

Instances

Instances details
Eq StartMonitoringMemberResponse Source # 
Instance details

Defined in Amazonka.Detective.StartMonitoringMember

Read StartMonitoringMemberResponse Source # 
Instance details

Defined in Amazonka.Detective.StartMonitoringMember

Show StartMonitoringMemberResponse Source # 
Instance details

Defined in Amazonka.Detective.StartMonitoringMember

Generic StartMonitoringMemberResponse Source # 
Instance details

Defined in Amazonka.Detective.StartMonitoringMember

Associated Types

type Rep StartMonitoringMemberResponse :: Type -> Type #

NFData StartMonitoringMemberResponse Source # 
Instance details

Defined in Amazonka.Detective.StartMonitoringMember

type Rep StartMonitoringMemberResponse Source # 
Instance details

Defined in Amazonka.Detective.StartMonitoringMember

type Rep StartMonitoringMemberResponse = D1 ('MetaData "StartMonitoringMemberResponse" "Amazonka.Detective.StartMonitoringMember" "libZSservicesZSamazonka-detectiveZSamazonka-detective" 'False) (C1 ('MetaCons "StartMonitoringMemberResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newStartMonitoringMemberResponse :: StartMonitoringMemberResponse Source #

Create a value of StartMonitoringMemberResponse with all optional fields omitted.

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