Copyright | (c) 2013-2018 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 |
Retrieves the role associated with a particular group.
Synopsis
- getAssociatedRole :: Text -> GetAssociatedRole
- data GetAssociatedRole
- garGroupId :: Lens' GetAssociatedRole Text
- getAssociatedRoleResponse :: Int -> GetAssociatedRoleResponse
- data GetAssociatedRoleResponse
- garrsAssociatedAt :: Lens' GetAssociatedRoleResponse (Maybe Text)
- garrsRoleARN :: Lens' GetAssociatedRoleResponse (Maybe Text)
- garrsResponseStatus :: Lens' GetAssociatedRoleResponse Int
Creating a Request
Creates a value of GetAssociatedRole
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
garGroupId
- The ID of the AWS Greengrass group.
data GetAssociatedRole Source #
See: getAssociatedRole
smart constructor.
Instances
Request Lenses
garGroupId :: Lens' GetAssociatedRole Text Source #
The ID of the AWS Greengrass group.
Destructuring the Response
getAssociatedRoleResponse Source #
Creates a value of GetAssociatedRoleResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
garrsAssociatedAt
- The time when the role was associated with the group.garrsRoleARN
- The ARN of the role that is associated with the group.garrsResponseStatus
- -- | The response status code.
data GetAssociatedRoleResponse Source #
See: getAssociatedRoleResponse
smart constructor.
Instances
Response Lenses
garrsAssociatedAt :: Lens' GetAssociatedRoleResponse (Maybe Text) Source #
The time when the role was associated with the group.
garrsRoleARN :: Lens' GetAssociatedRoleResponse (Maybe Text) Source #
The ARN of the role that is associated with the group.
garrsResponseStatus :: Lens' GetAssociatedRoleResponse Int Source #
- - | The response status code.