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

Description

Stops GuardDuty monitoring for the specified member accounts. Use the StartMonitoringMembers operation to restart monitoring for those accounts.

Synopsis

Creating a Request

data StopMonitoringMembers Source #

See: newStopMonitoringMembers smart constructor.

Constructors

StopMonitoringMembers' 

Fields

  • detectorId :: Text

    The unique ID of the detector associated with the GuardDuty administrator account that is monitoring member accounts.

  • accountIds :: NonEmpty Text

    A list of account IDs for the member accounts to stop monitoring.

Instances

Instances details
Eq StopMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StopMonitoringMembers

Read StopMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StopMonitoringMembers

Show StopMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StopMonitoringMembers

Generic StopMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StopMonitoringMembers

Associated Types

type Rep StopMonitoringMembers :: Type -> Type #

NFData StopMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StopMonitoringMembers

Methods

rnf :: StopMonitoringMembers -> () #

Hashable StopMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StopMonitoringMembers

ToJSON StopMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StopMonitoringMembers

AWSRequest StopMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StopMonitoringMembers

Associated Types

type AWSResponse StopMonitoringMembers #

ToHeaders StopMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StopMonitoringMembers

ToPath StopMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StopMonitoringMembers

ToQuery StopMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StopMonitoringMembers

type Rep StopMonitoringMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.StopMonitoringMembers

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

Defined in Amazonka.GuardDuty.StopMonitoringMembers

newStopMonitoringMembers Source #

Create a value of StopMonitoringMembers 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:StopMonitoringMembers', stopMonitoringMembers_detectorId - The unique ID of the detector associated with the GuardDuty administrator account that is monitoring member accounts.

$sel:accountIds:StopMonitoringMembers', stopMonitoringMembers_accountIds - A list of account IDs for the member accounts to stop monitoring.

Request Lenses

stopMonitoringMembers_detectorId :: Lens' StopMonitoringMembers Text Source #

The unique ID of the detector associated with the GuardDuty administrator account that is monitoring member accounts.

stopMonitoringMembers_accountIds :: Lens' StopMonitoringMembers (NonEmpty Text) Source #

A list of account IDs for the member accounts to stop monitoring.

Destructuring the Response

data StopMonitoringMembersResponse Source #

See: newStopMonitoringMembersResponse smart constructor.

Constructors

StopMonitoringMembersResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • unprocessedAccounts :: [UnprocessedAccount]

    A list of objects that contain an accountId for each account that could not be processed, and a result string that indicates why the account was not processed.

Instances

Instances details
Eq StopMonitoringMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.StopMonitoringMembers

Read StopMonitoringMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.StopMonitoringMembers

Show StopMonitoringMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.StopMonitoringMembers

Generic StopMonitoringMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.StopMonitoringMembers

Associated Types

type Rep StopMonitoringMembersResponse :: Type -> Type #

NFData StopMonitoringMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.StopMonitoringMembers

type Rep StopMonitoringMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.StopMonitoringMembers

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

newStopMonitoringMembersResponse Source #

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

$sel:unprocessedAccounts:StopMonitoringMembersResponse', stopMonitoringMembersResponse_unprocessedAccounts - A list of objects that contain an accountId for each account that could not be processed, and a result string that indicates why the account was not processed.

Response Lenses

stopMonitoringMembersResponse_unprocessedAccounts :: Lens' StopMonitoringMembersResponse [UnprocessedAccount] Source #

A list of objects that contain an accountId for each account that could not be processed, and a result string that indicates why the account was not processed.