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 |
Associates a role with a group. The role will be used by the AWS Greengrass core in order to access AWS cloud services. The role's permissions will allow Greengrass core Lambda functions to perform actions against the cloud.
- associateRoleToGroup :: Text -> AssociateRoleToGroup
- data AssociateRoleToGroup
- artgRoleARN :: Lens' AssociateRoleToGroup (Maybe Text)
- artgGroupId :: Lens' AssociateRoleToGroup Text
- associateRoleToGroupResponse :: Int -> AssociateRoleToGroupResponse
- data AssociateRoleToGroupResponse
- artgrsAssociatedAt :: Lens' AssociateRoleToGroupResponse (Maybe Text)
- artgrsResponseStatus :: Lens' AssociateRoleToGroupResponse Int
Creating a Request
Creates a value of AssociateRoleToGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
artgRoleARN
- Role arn you wish to associate with this group.artgGroupId
- The unique Id of the AWS Greengrass Group
data AssociateRoleToGroup Source #
See: associateRoleToGroup
smart constructor.
Request Lenses
artgRoleARN :: Lens' AssociateRoleToGroup (Maybe Text) Source #
Role arn you wish to associate with this group.
artgGroupId :: Lens' AssociateRoleToGroup Text Source #
The unique Id of the AWS Greengrass Group
Destructuring the Response
associateRoleToGroupResponse Source #
Creates a value of AssociateRoleToGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
artgrsAssociatedAt
- Time the role arn was associated to your group.artgrsResponseStatus
- -- | The response status code.
data AssociateRoleToGroupResponse Source #
See: associateRoleToGroupResponse
smart constructor.
Response Lenses
artgrsAssociatedAt :: Lens' AssociateRoleToGroupResponse (Maybe Text) Source #
Time the role arn was associated to your group.
artgrsResponseStatus :: Lens' AssociateRoleToGroupResponse Int Source #
- - | The response status code.