amazonka-compute-optimizer-2.0: Amazon Compute Optimizer 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.ComputeOptimizer.Types.EnrollmentFilter

Description

 
Synopsis

Documentation

data EnrollmentFilter Source #

Describes a filter that returns a more specific list of account enrollment statuses. Use this filter with the GetEnrollmentStatusesForOrganization action.

See: newEnrollmentFilter smart constructor.

Constructors

EnrollmentFilter' 

Fields

  • name :: Maybe EnrollmentFilterName

    The name of the filter.

    Specify Status to return accounts with a specific enrollment status (for example, Active).

  • values :: Maybe [Text]

    The value of the filter.

    The valid values are Active, Inactive, Pending, and Failed.

Instances

Instances details
ToJSON EnrollmentFilter Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.EnrollmentFilter

Generic EnrollmentFilter Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.EnrollmentFilter

Associated Types

type Rep EnrollmentFilter :: Type -> Type #

Read EnrollmentFilter Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.EnrollmentFilter

Show EnrollmentFilter Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.EnrollmentFilter

NFData EnrollmentFilter Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.EnrollmentFilter

Methods

rnf :: EnrollmentFilter -> () #

Eq EnrollmentFilter Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.EnrollmentFilter

Hashable EnrollmentFilter Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.EnrollmentFilter

type Rep EnrollmentFilter Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.EnrollmentFilter

type Rep EnrollmentFilter = D1 ('MetaData "EnrollmentFilter" "Amazonka.ComputeOptimizer.Types.EnrollmentFilter" "amazonka-compute-optimizer-2.0-5JAMFRZoNrnJ0UCJqIgHbk" 'False) (C1 ('MetaCons "EnrollmentFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnrollmentFilterName)) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newEnrollmentFilter :: EnrollmentFilter Source #

Create a value of EnrollmentFilter 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:name:EnrollmentFilter', enrollmentFilter_name - The name of the filter.

Specify Status to return accounts with a specific enrollment status (for example, Active).

$sel:values:EnrollmentFilter', enrollmentFilter_values - The value of the filter.

The valid values are Active, Inactive, Pending, and Failed.

enrollmentFilter_name :: Lens' EnrollmentFilter (Maybe EnrollmentFilterName) Source #

The name of the filter.

Specify Status to return accounts with a specific enrollment status (for example, Active).

enrollmentFilter_values :: Lens' EnrollmentFilter (Maybe [Text]) Source #

The value of the filter.

The valid values are Active, Inactive, Pending, and Failed.