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 |
Contains information on member accounts to be updated.
Synopsis
- data UpdateMemberDetectors = UpdateMemberDetectors' {}
- newUpdateMemberDetectors :: Text -> NonEmpty Text -> UpdateMemberDetectors
- updateMemberDetectors_dataSources :: Lens' UpdateMemberDetectors (Maybe DataSourceConfigurations)
- updateMemberDetectors_detectorId :: Lens' UpdateMemberDetectors Text
- updateMemberDetectors_accountIds :: Lens' UpdateMemberDetectors (NonEmpty Text)
- data UpdateMemberDetectorsResponse = UpdateMemberDetectorsResponse' {}
- newUpdateMemberDetectorsResponse :: Int -> UpdateMemberDetectorsResponse
- updateMemberDetectorsResponse_httpStatus :: Lens' UpdateMemberDetectorsResponse Int
- updateMemberDetectorsResponse_unprocessedAccounts :: Lens' UpdateMemberDetectorsResponse [UnprocessedAccount]
Creating a Request
data UpdateMemberDetectors Source #
See: newUpdateMemberDetectors
smart constructor.
UpdateMemberDetectors' | |
|
Instances
newUpdateMemberDetectors Source #
:: Text | |
-> NonEmpty Text | |
-> UpdateMemberDetectors |
Create a value of UpdateMemberDetectors
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:dataSources:UpdateMemberDetectors'
, updateMemberDetectors_dataSources
- Describes which data sources will be updated.
$sel:detectorId:UpdateMemberDetectors'
, updateMemberDetectors_detectorId
- The detector ID of the administrator account.
$sel:accountIds:UpdateMemberDetectors'
, updateMemberDetectors_accountIds
- A list of member account IDs to be updated.
Request Lenses
updateMemberDetectors_dataSources :: Lens' UpdateMemberDetectors (Maybe DataSourceConfigurations) Source #
Describes which data sources will be updated.
updateMemberDetectors_detectorId :: Lens' UpdateMemberDetectors Text Source #
The detector ID of the administrator account.
updateMemberDetectors_accountIds :: Lens' UpdateMemberDetectors (NonEmpty Text) Source #
A list of member account IDs to be updated.
Destructuring the Response
data UpdateMemberDetectorsResponse Source #
See: newUpdateMemberDetectorsResponse
smart constructor.
UpdateMemberDetectorsResponse' | |
|
Instances
newUpdateMemberDetectorsResponse Source #
Create a value of UpdateMemberDetectorsResponse
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:UpdateMemberDetectorsResponse'
, updateMemberDetectorsResponse_httpStatus
- The response's http status code.
$sel:unprocessedAccounts:UpdateMemberDetectorsResponse'
, updateMemberDetectorsResponse_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
updateMemberDetectorsResponse_httpStatus :: Lens' UpdateMemberDetectorsResponse Int Source #
The response's http status code.
updateMemberDetectorsResponse_unprocessedAccounts :: Lens' UpdateMemberDetectorsResponse [UnprocessedAccount] Source #
A list of member account IDs that were unable to be processed along with an explanation for why they were not processed.