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.StartMonitoringMembers

Description

Turns on GuardDuty monitoring of the specified member accounts. Use this operation to restart monitoring of accounts that you stopped monitoring with the StopMonitoringMembers operation.

Synopsis

Creating a Request

data StartMonitoringMembers Source #

See: newStartMonitoringMembers smart constructor.

Constructors

StartMonitoringMembers' 

Fields

  • detectorId :: Text

    The unique ID of the detector of the GuardDuty administrator account associated with the member accounts to monitor.

  • accountIds :: NonEmpty Text

    A list of account IDs of the GuardDuty member accounts to start monitoring.

Instances

Instances details
Eq StartMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StartMonitoringMembers

Read StartMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StartMonitoringMembers

Show StartMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StartMonitoringMembers

Generic StartMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StartMonitoringMembers

Associated Types

type Rep StartMonitoringMembers :: Type -> Type #

NFData StartMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StartMonitoringMembers

Methods

rnf :: StartMonitoringMembers -> () #

Hashable StartMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StartMonitoringMembers

ToJSON StartMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StartMonitoringMembers

AWSRequest StartMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StartMonitoringMembers

Associated Types

type AWSResponse StartMonitoringMembers #

ToHeaders StartMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StartMonitoringMembers

ToPath StartMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StartMonitoringMembers

ToQuery StartMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StartMonitoringMembers

type Rep StartMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StartMonitoringMembers

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

Defined in Amazonka.GuardDuty.StartMonitoringMembers

newStartMonitoringMembers Source #

Create a value of StartMonitoringMembers 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:StartMonitoringMembers', startMonitoringMembers_detectorId - The unique ID of the detector of the GuardDuty administrator account associated with the member accounts to monitor.

$sel:accountIds:StartMonitoringMembers', startMonitoringMembers_accountIds - A list of account IDs of the GuardDuty member accounts to start monitoring.

Request Lenses

startMonitoringMembers_detectorId :: Lens' StartMonitoringMembers Text Source #

The unique ID of the detector of the GuardDuty administrator account associated with the member accounts to monitor.

startMonitoringMembers_accountIds :: Lens' StartMonitoringMembers (NonEmpty Text) Source #

A list of account IDs of the GuardDuty member accounts to start monitoring.

Destructuring the Response

data StartMonitoringMembersResponse Source #

See: newStartMonitoringMembersResponse smart constructor.

Constructors

StartMonitoringMembersResponse' 

Fields

Instances

Instances details
Eq StartMonitoringMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.StartMonitoringMembers

Read StartMonitoringMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.StartMonitoringMembers

Show StartMonitoringMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.StartMonitoringMembers

Generic StartMonitoringMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.StartMonitoringMembers

Associated Types

type Rep StartMonitoringMembersResponse :: Type -> Type #

NFData StartMonitoringMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.StartMonitoringMembers

type Rep StartMonitoringMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.StartMonitoringMembers

type Rep StartMonitoringMembersResponse = D1 ('MetaData "StartMonitoringMembersResponse" "Amazonka.GuardDuty.StartMonitoringMembers" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "StartMonitoringMembersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "unprocessedAccounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [UnprocessedAccount])))

newStartMonitoringMembersResponse Source #

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

$sel:unprocessedAccounts:StartMonitoringMembersResponse', startMonitoringMembersResponse_unprocessedAccounts - A list of objects that contain the unprocessed account and a result string that explains why it was unprocessed.

Response Lenses

startMonitoringMembersResponse_unprocessedAccounts :: Lens' StartMonitoringMembersResponse [UnprocessedAccount] Source #

A list of objects that contain the unprocessed account and a result string that explains why it was unprocessed.