Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Describes the resource groups that are specified by the ARNs of the resource groups.
- describeResourceGroups :: NonEmpty Text -> DescribeResourceGroups
- data DescribeResourceGroups
- drgResourceGroupARNs :: Lens' DescribeResourceGroups (NonEmpty Text)
- describeResourceGroupsResponse :: Int -> DescribeResourceGroupsResponse
- data DescribeResourceGroupsResponse
- drgrsResponseStatus :: Lens' DescribeResourceGroupsResponse Int
- drgrsResourceGroups :: Lens' DescribeResourceGroupsResponse [ResourceGroup]
- drgrsFailedItems :: Lens' DescribeResourceGroupsResponse (HashMap Text FailedItemDetails)
Creating a Request
describeResourceGroups Source #
Creates a value of DescribeResourceGroups
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drgResourceGroupARNs
- The ARN that specifies the resource group that you want to describe.
data DescribeResourceGroups Source #
See: describeResourceGroups
smart constructor.
Request Lenses
drgResourceGroupARNs :: Lens' DescribeResourceGroups (NonEmpty Text) Source #
The ARN that specifies the resource group that you want to describe.
Destructuring the Response
describeResourceGroupsResponse Source #
Creates a value of DescribeResourceGroupsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drgrsResponseStatus
- -- | The response status code.drgrsResourceGroups
- Information about a resource group.drgrsFailedItems
- Resource group details that cannot be described. An error code is provided for each failed item.
data DescribeResourceGroupsResponse Source #
See: describeResourceGroupsResponse
smart constructor.
Response Lenses
drgrsResponseStatus :: Lens' DescribeResourceGroupsResponse Int Source #
- - | The response status code.
drgrsResourceGroups :: Lens' DescribeResourceGroupsResponse [ResourceGroup] Source #
Information about a resource group.
drgrsFailedItems :: Lens' DescribeResourceGroupsResponse (HashMap Text FailedItemDetails) Source #
Resource group details that cannot be described. An error code is provided for each failed item.