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 |
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
- data GetGroupQuery = GetGroupQuery' {}
- newGetGroupQuery :: GetGroupQuery
- getGroupQuery_group :: Lens' GetGroupQuery (Maybe Text)
- getGroupQuery_groupName :: Lens' GetGroupQuery (Maybe Text)
- data GetGroupQueryResponse = GetGroupQueryResponse' {}
- newGetGroupQueryResponse :: Int -> GetGroupQueryResponse
- getGroupQueryResponse_groupQuery :: Lens' GetGroupQueryResponse (Maybe GroupQuery)
- getGroupQueryResponse_httpStatus :: Lens' GetGroupQueryResponse Int
Creating a Request
data GetGroupQuery Source #
See: newGetGroupQuery
smart constructor.
Instances
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.
GetGroupQueryResponse' | |
|
Instances
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.
getGroupQueryResponse_httpStatus :: Lens' GetGroupQueryResponse Int Source #
The response's http status code.