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

  • value :: Maybe Integer

    The value for 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.

Instances

Instances details
Eq ServiceLimit Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServiceLimit

Read ServiceLimit Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServiceLimit

Show 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 #

NFData ServiceLimit Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServiceLimit

Methods

rnf :: ServiceLimit -> () #

Hashable ServiceLimit Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServiceLimit

FromJSON 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" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "ServiceLimit'" 'PrefixI 'True) (S1 ('MetaSel ('Just "isServiceLimited") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Unit)))))

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:value:ServiceLimit', serviceLimit_value - The value for 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.

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_value :: Lens' ServiceLimit (Maybe Integer) Source #

The value for 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.