libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer
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.ComputeOptimizer.Types.AccountEnrollmentStatus

Description

 
Synopsis

Documentation

data AccountEnrollmentStatus Source #

Describes the enrollment status of an organization's member accounts in Compute Optimizer.

See: newAccountEnrollmentStatus smart constructor.

Constructors

AccountEnrollmentStatus' 

Fields

  • status :: Maybe Status

    The account enrollment status.

  • accountId :: Maybe Text

    The Amazon Web Services account ID.

  • statusReason :: Maybe Text

    The reason for the account enrollment status.

    For example, an account might show a status of Pending because member accounts of an organization require more time to be enrolled in the service.

  • lastUpdatedTimestamp :: Maybe POSIX

    The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.

Instances

Instances details
Eq AccountEnrollmentStatus Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.AccountEnrollmentStatus

Read AccountEnrollmentStatus Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.AccountEnrollmentStatus

Show AccountEnrollmentStatus Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.AccountEnrollmentStatus

Generic AccountEnrollmentStatus Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.AccountEnrollmentStatus

Associated Types

type Rep AccountEnrollmentStatus :: Type -> Type #

NFData AccountEnrollmentStatus Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.AccountEnrollmentStatus

Methods

rnf :: AccountEnrollmentStatus -> () #

Hashable AccountEnrollmentStatus Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.AccountEnrollmentStatus

FromJSON AccountEnrollmentStatus Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.AccountEnrollmentStatus

type Rep AccountEnrollmentStatus Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.AccountEnrollmentStatus

type Rep AccountEnrollmentStatus = D1 ('MetaData "AccountEnrollmentStatus" "Amazonka.ComputeOptimizer.Types.AccountEnrollmentStatus" "libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer" 'False) (C1 ('MetaCons "AccountEnrollmentStatus'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Status)) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "statusReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastUpdatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

newAccountEnrollmentStatus :: AccountEnrollmentStatus Source #

Create a value of AccountEnrollmentStatus 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:AccountEnrollmentStatus', accountEnrollmentStatus_status - The account enrollment status.

$sel:accountId:AccountEnrollmentStatus', accountEnrollmentStatus_accountId - The Amazon Web Services account ID.

$sel:statusReason:AccountEnrollmentStatus', accountEnrollmentStatus_statusReason - The reason for the account enrollment status.

For example, an account might show a status of Pending because member accounts of an organization require more time to be enrolled in the service.

$sel:lastUpdatedTimestamp:AccountEnrollmentStatus', accountEnrollmentStatus_lastUpdatedTimestamp - The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.

accountEnrollmentStatus_statusReason :: Lens' AccountEnrollmentStatus (Maybe Text) Source #

The reason for the account enrollment status.

For example, an account might show a status of Pending because member accounts of an organization require more time to be enrolled in the service.

accountEnrollmentStatus_lastUpdatedTimestamp :: Lens' AccountEnrollmentStatus (Maybe UTCTime) Source #

The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.