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 |
Describes which data sources are enabled for the member account's detector.
Synopsis
- data GetMemberDetectors = GetMemberDetectors' {
- detectorId :: Text
- accountIds :: NonEmpty Text
- newGetMemberDetectors :: Text -> NonEmpty Text -> GetMemberDetectors
- getMemberDetectors_detectorId :: Lens' GetMemberDetectors Text
- getMemberDetectors_accountIds :: Lens' GetMemberDetectors (NonEmpty Text)
- data GetMemberDetectorsResponse = GetMemberDetectorsResponse' {}
- newGetMemberDetectorsResponse :: Int -> NonEmpty MemberDataSourceConfiguration -> GetMemberDetectorsResponse
- getMemberDetectorsResponse_httpStatus :: Lens' GetMemberDetectorsResponse Int
- getMemberDetectorsResponse_memberDataSourceConfigurations :: Lens' GetMemberDetectorsResponse (NonEmpty MemberDataSourceConfiguration)
- getMemberDetectorsResponse_unprocessedAccounts :: Lens' GetMemberDetectorsResponse [UnprocessedAccount]
Creating a Request
data GetMemberDetectors Source #
See: newGetMemberDetectors
smart constructor.
GetMemberDetectors' | |
|
Instances
newGetMemberDetectors Source #
:: Text | |
-> NonEmpty Text | |
-> GetMemberDetectors |
Create a value of GetMemberDetectors
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:GetMemberDetectors'
, getMemberDetectors_detectorId
- The detector ID for the administrator account.
$sel:accountIds:GetMemberDetectors'
, getMemberDetectors_accountIds
- The account ID of the member account.
Request Lenses
getMemberDetectors_detectorId :: Lens' GetMemberDetectors Text Source #
The detector ID for the administrator account.
getMemberDetectors_accountIds :: Lens' GetMemberDetectors (NonEmpty Text) Source #
The account ID of the member account.
Destructuring the Response
data GetMemberDetectorsResponse Source #
See: newGetMemberDetectorsResponse
smart constructor.
GetMemberDetectorsResponse' | |
|
Instances
newGetMemberDetectorsResponse Source #
:: Int | |
-> NonEmpty MemberDataSourceConfiguration |
|
-> GetMemberDetectorsResponse |
Create a value of GetMemberDetectorsResponse
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:GetMemberDetectorsResponse'
, getMemberDetectorsResponse_httpStatus
- The response's http status code.
$sel:memberDataSourceConfigurations:GetMemberDetectorsResponse'
, getMemberDetectorsResponse_memberDataSourceConfigurations
- An object that describes which data sources are enabled for a member
account.
$sel:unprocessedAccounts:GetMemberDetectorsResponse'
, getMemberDetectorsResponse_unprocessedAccounts
- A list of member account IDs that were unable to be processed along with
an explanation for why they were not processed.
Response Lenses
getMemberDetectorsResponse_httpStatus :: Lens' GetMemberDetectorsResponse Int Source #
The response's http status code.
getMemberDetectorsResponse_memberDataSourceConfigurations :: Lens' GetMemberDetectorsResponse (NonEmpty MemberDataSourceConfiguration) Source #
An object that describes which data sources are enabled for a member account.
getMemberDetectorsResponse_unprocessedAccounts :: Lens' GetMemberDetectorsResponse [UnprocessedAccount] Source #
A list of member account IDs that were unable to be processed along with an explanation for why they were not processed.