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

Description

Returns information about a specified resource group.

Minimum permissions

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

  • resource-groups:GetGroup
Synopsis

Creating a Request

data GetGroup Source #

See: newGetGroup smart constructor.

Constructors

GetGroup' 

Fields

Instances

Instances details
Eq GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Read GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Show GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Generic GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Associated Types

type Rep GetGroup :: Type -> Type #

Methods

from :: GetGroup -> Rep GetGroup x #

to :: Rep GetGroup x -> GetGroup #

NFData GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Methods

rnf :: GetGroup -> () #

Hashable GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Methods

hashWithSalt :: Int -> GetGroup -> Int #

hash :: GetGroup -> Int #

ToJSON GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

AWSRequest GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Associated Types

type AWSResponse GetGroup #

ToHeaders GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Methods

toHeaders :: GetGroup -> [Header] #

ToPath GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

ToQuery GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

type Rep GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

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

Defined in Amazonka.ResourceGroups.GetGroup

newGetGroup :: GetGroup Source #

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

$sel:groupName:GetGroup', getGroup_groupName - Deprecated - don't use this parameter. Use Group instead.

Request Lenses

getGroup_group :: Lens' GetGroup (Maybe Text) Source #

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

getGroup_groupName :: Lens' GetGroup (Maybe Text) Source #

Deprecated - don't use this parameter. Use Group instead.

Destructuring the Response

data GetGroupResponse Source #

See: newGetGroupResponse smart constructor.

Constructors

GetGroupResponse' 

Fields

Instances

Instances details
Eq GetGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Read GetGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Show GetGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Generic GetGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Associated Types

type Rep GetGroupResponse :: Type -> Type #

NFData GetGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Methods

rnf :: GetGroupResponse -> () #

type Rep GetGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

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

newGetGroupResponse Source #

Create a value of GetGroupResponse 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':GetGroup', getGroupResponse_group - A full description of the resource group.

$sel:httpStatus:GetGroupResponse', getGroupResponse_httpStatus - The response's http status code.

Response Lenses

getGroupResponse_group :: Lens' GetGroupResponse (Maybe Group) Source #

A full description of the resource group.

getGroupResponse_httpStatus :: Lens' GetGroupResponse Int Source #

The response's http status code.