libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MacieV2.UpdateMemberSession

Description

Enables an Amazon Macie administrator to suspend or re-enable a member account.

Synopsis

Creating a Request

data UpdateMemberSession Source #

See: newUpdateMemberSession smart constructor.

Constructors

UpdateMemberSession' 

Fields

  • id :: Text

    The unique identifier for the Amazon Macie resource or account that the request applies to.

  • status :: MacieStatus

    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.

Instances

Instances details
Eq UpdateMemberSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMemberSession

Read UpdateMemberSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMemberSession

Show UpdateMemberSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMemberSession

Generic UpdateMemberSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMemberSession

Associated Types

type Rep UpdateMemberSession :: Type -> Type #

NFData UpdateMemberSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMemberSession

Methods

rnf :: UpdateMemberSession -> () #

Hashable UpdateMemberSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMemberSession

ToJSON UpdateMemberSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMemberSession

AWSRequest UpdateMemberSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMemberSession

Associated Types

type AWSResponse UpdateMemberSession #

ToHeaders UpdateMemberSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMemberSession

ToPath UpdateMemberSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMemberSession

ToQuery UpdateMemberSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMemberSession

type Rep UpdateMemberSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMemberSession

type Rep UpdateMemberSession = D1 ('MetaData "UpdateMemberSession" "Amazonka.MacieV2.UpdateMemberSession" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "UpdateMemberSession'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MacieStatus)))
type AWSResponse UpdateMemberSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMemberSession

newUpdateMemberSession Source #

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.

Constructors

UpdateMemberSessionResponse' 

Fields

Instances

Instances details
Eq UpdateMemberSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMemberSession

Read UpdateMemberSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMemberSession

Show UpdateMemberSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMemberSession

Generic UpdateMemberSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMemberSession

Associated Types

type Rep UpdateMemberSessionResponse :: Type -> Type #

NFData UpdateMemberSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMemberSession

type Rep UpdateMemberSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMemberSession

type Rep UpdateMemberSessionResponse = D1 ('MetaData "UpdateMemberSessionResponse" "Amazonka.MacieV2.UpdateMemberSession" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "UpdateMemberSessionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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