Copyright | (c) 2013-2016 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 Amazon Inspector to access your AWS account.
- describeCrossAccountAccessRole :: DescribeCrossAccountAccessRole
- data DescribeCrossAccountAccessRole
- describeCrossAccountAccessRoleResponse :: Int -> Text -> Bool -> UTCTime -> DescribeCrossAccountAccessRoleResponse
- data DescribeCrossAccountAccessRoleResponse
- dcaarrsResponseStatus :: Lens' DescribeCrossAccountAccessRoleResponse Int
- dcaarrsRoleARN :: Lens' DescribeCrossAccountAccessRoleResponse Text
- dcaarrsValid :: Lens' DescribeCrossAccountAccessRoleResponse Bool
- dcaarrsRegisteredAt :: Lens' DescribeCrossAccountAccessRoleResponse UTCTime
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 #
:: Int | |
-> Text | |
-> Bool | |
-> UTCTime | |
-> DescribeCrossAccountAccessRoleResponse |
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
dcaarrsResponseStatus :: Lens' DescribeCrossAccountAccessRoleResponse Int Source #
The response status code.
dcaarrsRoleARN :: Lens' DescribeCrossAccountAccessRoleResponse Text Source #
The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.
dcaarrsValid :: Lens' DescribeCrossAccountAccessRoleResponse Bool Source #
A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.
dcaarrsRegisteredAt :: Lens' DescribeCrossAccountAccessRoleResponse UTCTime Source #
The date when the cross-account access role was registered.