| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
- 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.
Constructors
| StartMonitoringMember' | |
Instances
newStartMonitoringMember Source #
Arguments
| :: 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:
StartMonitoringMember, startMonitoringMember_graphArn - The ARN of the behavior graph.
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.
Constructors
| StartMonitoringMemberResponse' | |
Instances
| Generic StartMonitoringMemberResponse Source # | |
Defined in Amazonka.Detective.StartMonitoringMember Associated Types type Rep StartMonitoringMemberResponse :: Type -> Type # | |
| Read StartMonitoringMemberResponse Source # | |
| Show StartMonitoringMemberResponse Source # | |
Defined in Amazonka.Detective.StartMonitoringMember Methods showsPrec :: Int -> StartMonitoringMemberResponse -> ShowS # show :: StartMonitoringMemberResponse -> String # showList :: [StartMonitoringMemberResponse] -> ShowS # | |
| NFData StartMonitoringMemberResponse Source # | |
Defined in Amazonka.Detective.StartMonitoringMember Methods rnf :: StartMonitoringMemberResponse -> () # | |
| Eq StartMonitoringMemberResponse Source # | |
Defined in Amazonka.Detective.StartMonitoringMember | |
| type Rep StartMonitoringMemberResponse Source # | |
Defined in Amazonka.Detective.StartMonitoringMember | |
newStartMonitoringMemberResponse :: StartMonitoringMemberResponse Source #
Create a value of StartMonitoringMemberResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.