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 |
Lists the resource policies in this account.
This operation returns paginated results.
Synopsis
- data DescribeResourcePolicies = DescribeResourcePolicies' {}
- newDescribeResourcePolicies :: DescribeResourcePolicies
- describeResourcePolicies_nextToken :: Lens' DescribeResourcePolicies (Maybe Text)
- describeResourcePolicies_limit :: Lens' DescribeResourcePolicies (Maybe Natural)
- data DescribeResourcePoliciesResponse = DescribeResourcePoliciesResponse' {}
- newDescribeResourcePoliciesResponse :: Int -> DescribeResourcePoliciesResponse
- describeResourcePoliciesResponse_resourcePolicies :: Lens' DescribeResourcePoliciesResponse (Maybe [ResourcePolicy])
- describeResourcePoliciesResponse_nextToken :: Lens' DescribeResourcePoliciesResponse (Maybe Text)
- describeResourcePoliciesResponse_httpStatus :: Lens' DescribeResourcePoliciesResponse Int
Creating a Request
data DescribeResourcePolicies Source #
See: newDescribeResourcePolicies
smart constructor.
Instances
newDescribeResourcePolicies :: DescribeResourcePolicies Source #
Create a value of DescribeResourcePolicies
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:nextToken:DescribeResourcePolicies'
, describeResourcePolicies_nextToken
- Undocumented member.
$sel:limit:DescribeResourcePolicies'
, describeResourcePolicies_limit
- The maximum number of resource policies to be displayed with one call of
this API.
Request Lenses
describeResourcePolicies_nextToken :: Lens' DescribeResourcePolicies (Maybe Text) Source #
Undocumented member.
describeResourcePolicies_limit :: Lens' DescribeResourcePolicies (Maybe Natural) Source #
The maximum number of resource policies to be displayed with one call of this API.
Destructuring the Response
data DescribeResourcePoliciesResponse Source #
See: newDescribeResourcePoliciesResponse
smart constructor.
DescribeResourcePoliciesResponse' | |
|
Instances
newDescribeResourcePoliciesResponse Source #
Create a value of DescribeResourcePoliciesResponse
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:resourcePolicies:DescribeResourcePoliciesResponse'
, describeResourcePoliciesResponse_resourcePolicies
- The resource policies that exist in this account.
$sel:nextToken:DescribeResourcePolicies'
, describeResourcePoliciesResponse_nextToken
- Undocumented member.
$sel:httpStatus:DescribeResourcePoliciesResponse'
, describeResourcePoliciesResponse_httpStatus
- The response's http status code.
Response Lenses
describeResourcePoliciesResponse_resourcePolicies :: Lens' DescribeResourcePoliciesResponse (Maybe [ResourcePolicy]) Source #
The resource policies that exist in this account.
describeResourcePoliciesResponse_nextToken :: Lens' DescribeResourcePoliciesResponse (Maybe Text) Source #
Undocumented member.
describeResourcePoliciesResponse_httpStatus :: Lens' DescribeResourcePoliciesResponse Int Source #
The response's http status code.