Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data StartMonitoringMember = StartMonitoringMember' {}
- newStartMonitoringMember :: Text -> Text -> StartMonitoringMember
- startMonitoringMember_graphArn :: Lens' StartMonitoringMember Text
- startMonitoringMember_accountId :: Lens' StartMonitoringMember Text
- data StartMonitoringMemberResponse = StartMonitoringMemberResponse' {
- newStartMonitoringMemberResponse :: StartMonitoringMemberResponse
Creating a Request
data StartMonitoringMember Source #
See: newStartMonitoringMember
smart constructor.
Instances
newStartMonitoringMember Source #
:: Text | |
-> Text | |
-> StartMonitoringMember |
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_graphArn :: Lens' StartMonitoringMember Text Source #
The ARN of the behavior graph.
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
newStartMonitoringMemberResponse :: StartMonitoringMemberResponse Source #
Create a value of StartMonitoringMemberResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.