amazonka-backup-2.0: Amazon Backup 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.Backup.Types.Conditions

Description

 
Synopsis

Documentation

data Conditions Source #

Contains information about which resources to include or exclude from a backup plan using their tags. Conditions are case sensitive.

See: newConditions smart constructor.

Constructors

Conditions' 

Fields

  • stringEquals :: Maybe [ConditionParameter]

    Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."

  • stringLike :: Maybe [ConditionParameter]

    Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string. For example, "prod*" or "*rod*" matches the tag value "production".

  • stringNotEquals :: Maybe [ConditionParameter]

    Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."

  • stringNotLike :: Maybe [ConditionParameter]

    Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.

Instances

Instances details
FromJSON Conditions Source # 
Instance details

Defined in Amazonka.Backup.Types.Conditions

ToJSON Conditions Source # 
Instance details

Defined in Amazonka.Backup.Types.Conditions

Generic Conditions Source # 
Instance details

Defined in Amazonka.Backup.Types.Conditions

Associated Types

type Rep Conditions :: Type -> Type #

Read Conditions Source # 
Instance details

Defined in Amazonka.Backup.Types.Conditions

Show Conditions Source # 
Instance details

Defined in Amazonka.Backup.Types.Conditions

NFData Conditions Source # 
Instance details

Defined in Amazonka.Backup.Types.Conditions

Methods

rnf :: Conditions -> () #

Eq Conditions Source # 
Instance details

Defined in Amazonka.Backup.Types.Conditions

Hashable Conditions Source # 
Instance details

Defined in Amazonka.Backup.Types.Conditions

type Rep Conditions Source # 
Instance details

Defined in Amazonka.Backup.Types.Conditions

type Rep Conditions = D1 ('MetaData "Conditions" "Amazonka.Backup.Types.Conditions" "amazonka-backup-2.0-LovIt41tphM6jvgQJhTyRf" 'False) (C1 ('MetaCons "Conditions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "stringEquals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ConditionParameter])) :*: S1 ('MetaSel ('Just "stringLike") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ConditionParameter]))) :*: (S1 ('MetaSel ('Just "stringNotEquals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ConditionParameter])) :*: S1 ('MetaSel ('Just "stringNotLike") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ConditionParameter])))))

newConditions :: Conditions Source #

Create a value of Conditions 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:stringEquals:Conditions', conditions_stringEquals - Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."

$sel:stringLike:Conditions', conditions_stringLike - Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string. For example, "prod*" or "*rod*" matches the tag value "production".

$sel:stringNotEquals:Conditions', conditions_stringNotEquals - Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."

$sel:stringNotLike:Conditions', conditions_stringNotLike - Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.

conditions_stringEquals :: Lens' Conditions (Maybe [ConditionParameter]) Source #

Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."

conditions_stringLike :: Lens' Conditions (Maybe [ConditionParameter]) Source #

Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string. For example, "prod*" or "*rod*" matches the tag value "production".

conditions_stringNotEquals :: Lens' Conditions (Maybe [ConditionParameter]) Source #

Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."

conditions_stringNotLike :: Lens' Conditions (Maybe [ConditionParameter]) Source #

Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.