| Copyright | (c) 2013-2017 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 |
Network.AWS.Inspector.DescribeCrossAccountAccessRole
Description
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.
Instances
Destructuring the Response
describeCrossAccountAccessRoleResponse Source #
Arguments
| :: 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:
dcaarrsResponseStatus- -- | The response status code.dcaarrsRoleARN- The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.dcaarrsValid- A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.dcaarrsRegisteredAt- The date when the cross-account access role was registered.
data DescribeCrossAccountAccessRoleResponse Source #
See: describeCrossAccountAccessRoleResponse smart constructor.
Instances
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.