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 |
Enables an Amazon Macie administrator to suspend or re-enable a member account.
Synopsis
- data UpdateMemberSession = UpdateMemberSession' {
- id :: Text
- status :: MacieStatus
- newUpdateMemberSession :: Text -> MacieStatus -> UpdateMemberSession
- updateMemberSession_id :: Lens' UpdateMemberSession Text
- updateMemberSession_status :: Lens' UpdateMemberSession MacieStatus
- data UpdateMemberSessionResponse = UpdateMemberSessionResponse' {
- httpStatus :: Int
- newUpdateMemberSessionResponse :: Int -> UpdateMemberSessionResponse
- updateMemberSessionResponse_httpStatus :: Lens' UpdateMemberSessionResponse Int
Creating a Request
data UpdateMemberSession Source #
See: newUpdateMemberSession
smart constructor.
UpdateMemberSession' | |
|
Instances
newUpdateMemberSession Source #
:: Text | |
-> MacieStatus | |
-> UpdateMemberSession |
Create a value of UpdateMemberSession
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:id:UpdateMemberSession'
, updateMemberSession_id
- The unique identifier for the Amazon Macie resource or account that the
request applies to.
$sel:status:UpdateMemberSession'
, updateMemberSession_status
- Specifies the new status for the account. Valid values are: ENABLED,
resume all Amazon Macie activities for the account; and, PAUSED, suspend
all Macie activities for the account.
Request Lenses
updateMemberSession_id :: Lens' UpdateMemberSession Text Source #
The unique identifier for the Amazon Macie resource or account that the request applies to.
updateMemberSession_status :: Lens' UpdateMemberSession MacieStatus Source #
Specifies the new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.
Destructuring the Response
data UpdateMemberSessionResponse Source #
See: newUpdateMemberSessionResponse
smart constructor.
UpdateMemberSessionResponse' | |
|
Instances
newUpdateMemberSessionResponse Source #
Create a value of UpdateMemberSessionResponse
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:UpdateMemberSessionResponse'
, updateMemberSessionResponse_httpStatus
- The response's http status code.
Response Lenses
updateMemberSessionResponse_httpStatus :: Lens' UpdateMemberSessionResponse Int Source #
The response's http status code.