Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes the IAM role that enables Inspector to access your AWS account.
See: AWS API Reference for DescribeCrossAccountAccessRole.
- describeCrossAccountAccessRole :: DescribeCrossAccountAccessRole
- data DescribeCrossAccountAccessRole
- describeCrossAccountAccessRoleResponse :: Int -> DescribeCrossAccountAccessRoleResponse
- data DescribeCrossAccountAccessRoleResponse
- dcaarrsValid :: Lens' DescribeCrossAccountAccessRoleResponse (Maybe Bool)
- dcaarrsRoleARN :: Lens' DescribeCrossAccountAccessRoleResponse (Maybe Text)
- dcaarrsResponseStatus :: Lens' DescribeCrossAccountAccessRoleResponse Int
Creating a Request
describeCrossAccountAccessRole :: DescribeCrossAccountAccessRole Source
Creates a value of DescribeCrossAccountAccessRole
with the minimum fields required to make a request.
data DescribeCrossAccountAccessRole Source
See: describeCrossAccountAccessRole
smart constructor.
Destructuring the Response
describeCrossAccountAccessRoleResponse Source
Creates a value of DescribeCrossAccountAccessRoleResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeCrossAccountAccessRoleResponse Source
See: describeCrossAccountAccessRoleResponse
smart constructor.
Response Lenses
dcaarrsValid :: Lens' DescribeCrossAccountAccessRoleResponse (Maybe Bool) Source
A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Inspector to access your AWS account.
dcaarrsRoleARN :: Lens' DescribeCrossAccountAccessRoleResponse (Maybe Text) Source
The ARN specifying the IAM role that Inspector uses to access your AWS account.
dcaarrsResponseStatus :: Lens' DescribeCrossAccountAccessRoleResponse Int Source
The response status code.