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.GetMacieSession

Description

Retrieves the current 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
Eq GetMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

Read GetMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

Show GetMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

Generic GetMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

Associated Types

type Rep GetMacieSession :: Type -> Type #

NFData GetMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

Methods

rnf :: GetMacieSession -> () #

Hashable GetMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

AWSRequest GetMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

Associated Types

type AWSResponse GetMacieSession #

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

type Rep GetMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

type Rep GetMacieSession = D1 ('MetaData "GetMacieSession" "Amazonka.MacieV2.GetMacieSession" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "GetMacieSession'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse GetMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

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

  • status :: Maybe MacieStatus

    The current status of the 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.

  • createdAt :: Maybe POSIX

    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 Macie publishes updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).

  • updatedAt :: Maybe POSIX

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

  • serviceRole :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

Read GetMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

Show GetMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

Generic GetMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

Associated Types

type Rep GetMacieSessionResponse :: Type -> Type #

NFData GetMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

Methods

rnf :: GetMacieSessionResponse -> () #

type Rep GetMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMacieSession

type Rep GetMacieSessionResponse = D1 ('MetaData "GetMacieSessionResponse" "Amazonka.MacieV2.GetMacieSession" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "GetMacieSessionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MacieStatus)) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "findingPublishingFrequency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FindingPublishingFrequency)))) :*: (S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "serviceRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:

$sel:status:GetMacieSessionResponse', getMacieSessionResponse_status - The current status of the 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.

$sel:createdAt: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 Macie publishes updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).

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

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

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

Response Lenses

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

The current status of the 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_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 Macie publishes updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).

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 Macie account.

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

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