Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns information about a specified resource group.
Minimum permissions
To run this command, you must have the following permissions:
resource-groups:GetGroup
Synopsis
- data GetGroup = GetGroup' {}
- newGetGroup :: GetGroup
- getGroup_group :: Lens' GetGroup (Maybe Text)
- getGroup_groupName :: Lens' GetGroup (Maybe Text)
- data GetGroupResponse = GetGroupResponse' {
- group' :: Maybe Group
- httpStatus :: Int
- newGetGroupResponse :: Int -> GetGroupResponse
- getGroupResponse_group :: Lens' GetGroupResponse (Maybe Group)
- getGroupResponse_httpStatus :: Lens' GetGroupResponse Int
Creating a Request
See: newGetGroup
smart constructor.
Instances
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.
GetGroupResponse' | |
|
Instances
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.