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 |
Describes the resource groups that are specified by the ARNs of the resource groups.
Synopsis
- data DescribeResourceGroups = DescribeResourceGroups' {}
- newDescribeResourceGroups :: NonEmpty Text -> DescribeResourceGroups
- describeResourceGroups_resourceGroupArns :: Lens' DescribeResourceGroups (NonEmpty Text)
- data DescribeResourceGroupsResponse = DescribeResourceGroupsResponse' {}
- newDescribeResourceGroupsResponse :: Int -> DescribeResourceGroupsResponse
- describeResourceGroupsResponse_httpStatus :: Lens' DescribeResourceGroupsResponse Int
- describeResourceGroupsResponse_resourceGroups :: Lens' DescribeResourceGroupsResponse [ResourceGroup]
- describeResourceGroupsResponse_failedItems :: Lens' DescribeResourceGroupsResponse (HashMap Text FailedItemDetails)
Creating a Request
data DescribeResourceGroups Source #
See: newDescribeResourceGroups
smart constructor.
DescribeResourceGroups' | |
|
Instances
newDescribeResourceGroups Source #
Create a value of DescribeResourceGroups
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:resourceGroupArns:DescribeResourceGroups'
, describeResourceGroups_resourceGroupArns
- The ARN that specifies the resource group that you want to describe.
Request Lenses
describeResourceGroups_resourceGroupArns :: Lens' DescribeResourceGroups (NonEmpty Text) Source #
The ARN that specifies the resource group that you want to describe.
Destructuring the Response
data DescribeResourceGroupsResponse Source #
See: newDescribeResourceGroupsResponse
smart constructor.
DescribeResourceGroupsResponse' | |
|
Instances
newDescribeResourceGroupsResponse Source #
Create a value of DescribeResourceGroupsResponse
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:httpStatus:DescribeResourceGroupsResponse'
, describeResourceGroupsResponse_httpStatus
- The response's http status code.
$sel:resourceGroups:DescribeResourceGroupsResponse'
, describeResourceGroupsResponse_resourceGroups
- Information about a resource group.
$sel:failedItems:DescribeResourceGroupsResponse'
, describeResourceGroupsResponse_failedItems
- Resource group details that cannot be described. An error code is
provided for each failed item.
Response Lenses
describeResourceGroupsResponse_httpStatus :: Lens' DescribeResourceGroupsResponse Int Source #
The response's http status code.
describeResourceGroupsResponse_resourceGroups :: Lens' DescribeResourceGroupsResponse [ResourceGroup] Source #
Information about a resource group.
describeResourceGroupsResponse_failedItems :: Lens' DescribeResourceGroupsResponse (HashMap Text FailedItemDetails) Source #
Resource group details that cannot be described. An error code is provided for each failed item.