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

Description

Retrieves the resource query associated with the specified resource group. For more information about resource queries, see Create a tag-based group in Resource Groups.

Minimum permissions

To run this command, you must have the following permissions:

  • resource-groups:GetGroupQuery
Synopsis

Creating a Request

data GetGroupQuery Source #

See: newGetGroupQuery smart constructor.

Constructors

GetGroupQuery' 

Fields

Instances

Instances details
Eq GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Read GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Show GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Generic GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Associated Types

type Rep GetGroupQuery :: Type -> Type #

NFData GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Methods

rnf :: GetGroupQuery -> () #

Hashable GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

ToJSON GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

AWSRequest GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Associated Types

type AWSResponse GetGroupQuery #

ToHeaders GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

ToPath GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

ToQuery GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

type Rep GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

type Rep GetGroupQuery = D1 ('MetaData "GetGroupQuery" "Amazonka.ResourceGroups.GetGroupQuery" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "GetGroupQuery'" 'PrefixI 'True) (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

newGetGroupQuery :: GetGroupQuery Source #

Create a value of GetGroupQuery 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:group':GetGroupQuery', getGroupQuery_group - The name or the ARN of the resource group to query.

$sel:groupName:GetGroupQuery', getGroupQuery_groupName - Don't use this parameter. Use Group instead.

Request Lenses

getGroupQuery_group :: Lens' GetGroupQuery (Maybe Text) Source #

The name or the ARN of the resource group to query.

getGroupQuery_groupName :: Lens' GetGroupQuery (Maybe Text) Source #

Don't use this parameter. Use Group instead.

Destructuring the Response

data GetGroupQueryResponse Source #

See: newGetGroupQueryResponse smart constructor.

Constructors

GetGroupQueryResponse' 

Fields

Instances

Instances details
Eq GetGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Read GetGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Show GetGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Generic GetGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Associated Types

type Rep GetGroupQueryResponse :: Type -> Type #

NFData GetGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Methods

rnf :: GetGroupQueryResponse -> () #

type Rep GetGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

type Rep GetGroupQueryResponse = D1 ('MetaData "GetGroupQueryResponse" "Amazonka.ResourceGroups.GetGroupQuery" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "GetGroupQueryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GroupQuery)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetGroupQueryResponse Source #

Create a value of GetGroupQueryResponse 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:groupQuery:GetGroupQueryResponse', getGroupQueryResponse_groupQuery - The resource query associated with the specified group. For more information about resource queries, see Create a tag-based group in Resource Groups.

$sel:httpStatus:GetGroupQueryResponse', getGroupQueryResponse_httpStatus - The response's http status code.

Response Lenses

getGroupQueryResponse_groupQuery :: Lens' GetGroupQueryResponse (Maybe GroupQuery) Source #

The resource query associated with the specified group. For more information about resource queries, see Create a tag-based group in Resource Groups.