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.Types.ServiceLimit

Description

 
Synopsis

Documentation

data ServiceLimit Source #

Specifies a current quota for an Amazon Macie account.

See: newServiceLimit smart constructor.

Constructors

ServiceLimit' 

Fields

  • isServiceLimited :: Maybe Bool

    Specifies whether the account has met the quota that corresponds to the metric specified by the UsageByAccount.type field in the response.

  • unit :: Maybe Unit

    The unit of measurement for the value specified by the value field.

  • value :: Maybe Integer

    The value for the metric specified by the UsageByAccount.type field in the response.

Instances

Instances details
FromJSON ServiceLimit Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServiceLimit

Generic ServiceLimit Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServiceLimit

Associated Types

type Rep ServiceLimit :: Type -> Type #

Read ServiceLimit Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServiceLimit

Show ServiceLimit Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServiceLimit

NFData ServiceLimit Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServiceLimit

Methods

rnf :: ServiceLimit -> () #

Eq ServiceLimit Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServiceLimit

Hashable ServiceLimit Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServiceLimit

type Rep ServiceLimit Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServiceLimit

type Rep ServiceLimit = D1 ('MetaData "ServiceLimit" "Amazonka.MacieV2.Types.ServiceLimit" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "ServiceLimit'" 'PrefixI 'True) (S1 ('MetaSel ('Just "isServiceLimited") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Unit)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))

newServiceLimit :: ServiceLimit Source #

Create a value of ServiceLimit 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:isServiceLimited:ServiceLimit', serviceLimit_isServiceLimited - Specifies whether the account has met the quota that corresponds to the metric specified by the UsageByAccount.type field in the response.

$sel:unit:ServiceLimit', serviceLimit_unit - The unit of measurement for the value specified by the value field.

$sel:value:ServiceLimit', serviceLimit_value - The value for the metric specified by the UsageByAccount.type field in the response.

serviceLimit_isServiceLimited :: Lens' ServiceLimit (Maybe Bool) Source #

Specifies whether the account has met the quota that corresponds to the metric specified by the UsageByAccount.type field in the response.

serviceLimit_unit :: Lens' ServiceLimit (Maybe Unit) Source #

The unit of measurement for the value specified by the value field.

serviceLimit_value :: Lens' ServiceLimit (Maybe Integer) Source #

The value for the metric specified by the UsageByAccount.type field in the response.