libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups
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.ResourceGroups.Types.GroupQuery

Description

 
Synopsis

Documentation

data GroupQuery Source #

A mapping of a query attached to a resource group that determines the AWS resources that are members of the group.

See: newGroupQuery smart constructor.

Constructors

GroupQuery' 

Fields

  • groupName :: Text

    The name of the resource group that is associated with the specified resource query.

  • resourceQuery :: ResourceQuery

    The resource query that determines which AWS resources are members of the associated resource group.

Instances

Instances details
Eq GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

Read GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

Show GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

Generic GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

Associated Types

type Rep GroupQuery :: Type -> Type #

NFData GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

Methods

rnf :: GroupQuery -> () #

Hashable GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

FromJSON GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

type Rep GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

type Rep GroupQuery = D1 ('MetaData "GroupQuery" "Amazonka.ResourceGroups.Types.GroupQuery" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "GroupQuery'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceQuery)))

newGroupQuery Source #

Create a value of GroupQuery 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:groupName:GroupQuery', groupQuery_groupName - The name of the resource group that is associated with the specified resource query.

$sel:resourceQuery:GroupQuery', groupQuery_resourceQuery - The resource query that determines which AWS resources are members of the associated resource group.

groupQuery_groupName :: Lens' GroupQuery Text Source #

The name of the resource group that is associated with the specified resource query.

groupQuery_resourceQuery :: Lens' GroupQuery ResourceQuery Source #

The resource query that determines which AWS resources are members of the associated resource group.