amazonka-maciev2-2.0: Amazon Macie 2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MacieV2.GetMacieSession

Description

Retrieves the status and configuration settings for an Amazon Macie account.

Synopsis

Creating a Request

data GetMacieSession Source #

See: newGetMacieSession smart constructor.

Constructors

GetMacieSession' 

Instances

Instances details
ToHeaders GetMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

ToPath GetMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

ToQuery GetMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

AWSRequest GetMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

Associated Types

type AWSResponse GetMacieSession #

Generic GetMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

Associated Types

type Rep GetMacieSession :: Type -> Type #

Read GetMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

Show GetMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

NFData GetMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

Methods

rnf :: GetMacieSession -> () #

Eq GetMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

Hashable GetMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

type AWSResponse GetMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

type Rep GetMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

type Rep GetMacieSession = D1 ('MetaData "GetMacieSession" "Amazonka.MacieV2.GetMacieSession" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "GetMacieSession'" 'PrefixI 'False) (U1 :: Type -> Type))

newGetMacieSession :: GetMacieSession Source #

Create a value of GetMacieSession with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

Destructuring the Response

data GetMacieSessionResponse Source #

See: newGetMacieSessionResponse smart constructor.

Constructors

GetMacieSessionResponse' 

Fields

  • createdAt :: Maybe ISO8601

    The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.

  • findingPublishingFrequency :: Maybe FindingPublishingFrequency

    The frequency with which Amazon Macie publishes updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).

  • serviceRole :: Maybe Text

    The Amazon Resource Name (ARN) of the service-linked role that allows Amazon Macie to monitor and analyze data in Amazon Web Services resources for the account.

  • status :: Maybe MacieStatus

    The current status of the Amazon Macie account. Possible values are: PAUSED, the account is enabled but all Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all Macie activities are enabled for the account.

  • updatedAt :: Maybe ISO8601

    The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the Amazon Macie account.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic GetMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

Associated Types

type Rep GetMacieSessionResponse :: Type -> Type #

Read GetMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

Show GetMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

NFData GetMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

Methods

rnf :: GetMacieSessionResponse -> () #

Eq GetMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

type Rep GetMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

type Rep GetMacieSessionResponse = D1 ('MetaData "GetMacieSessionResponse" "Amazonka.MacieV2.GetMacieSession" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "GetMacieSessionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "findingPublishingFrequency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FindingPublishingFrequency)) :*: S1 ('MetaSel ('Just "serviceRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MacieStatus)) :*: (S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetMacieSessionResponse Source #

Create a value of GetMacieSessionResponse 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:

GetMacieSessionResponse, getMacieSessionResponse_createdAt - The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.

$sel:findingPublishingFrequency:GetMacieSessionResponse', getMacieSessionResponse_findingPublishingFrequency - The frequency with which Amazon Macie publishes updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).

$sel:serviceRole:GetMacieSessionResponse', getMacieSessionResponse_serviceRole - The Amazon Resource Name (ARN) of the service-linked role that allows Amazon Macie to monitor and analyze data in Amazon Web Services resources for the account.

GetMacieSessionResponse, getMacieSessionResponse_status - The current status of the Amazon Macie account. Possible values are: PAUSED, the account is enabled but all Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all Macie activities are enabled for the account.

GetMacieSessionResponse, getMacieSessionResponse_updatedAt - The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the Amazon Macie account.

$sel:httpStatus:GetMacieSessionResponse', getMacieSessionResponse_httpStatus - The response's http status code.

Response Lenses

getMacieSessionResponse_createdAt :: Lens' GetMacieSessionResponse (Maybe UTCTime) Source #

The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.

getMacieSessionResponse_findingPublishingFrequency :: Lens' GetMacieSessionResponse (Maybe FindingPublishingFrequency) Source #

The frequency with which Amazon Macie publishes updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).

getMacieSessionResponse_serviceRole :: Lens' GetMacieSessionResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the service-linked role that allows Amazon Macie to monitor and analyze data in Amazon Web Services resources for the account.

getMacieSessionResponse_status :: Lens' GetMacieSessionResponse (Maybe MacieStatus) Source #

The current status of the Amazon Macie account. Possible values are: PAUSED, the account is enabled but all Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all Macie activities are enabled for the account.

getMacieSessionResponse_updatedAt :: Lens' GetMacieSessionResponse (Maybe UTCTime) Source #

The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the Amazon Macie account.