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 |
Adds a member to the resource's set of delegates.
- associateDelegateToResource :: Text -> Text -> Text -> AssociateDelegateToResource
- data AssociateDelegateToResource
- adtrOrganizationId :: Lens' AssociateDelegateToResource Text
- adtrResourceId :: Lens' AssociateDelegateToResource Text
- adtrEntityId :: Lens' AssociateDelegateToResource Text
- associateDelegateToResourceResponse :: Int -> AssociateDelegateToResourceResponse
- data AssociateDelegateToResourceResponse
- adtrrsResponseStatus :: Lens' AssociateDelegateToResourceResponse Int
Creating a Request
associateDelegateToResource Source #
Creates a value of AssociateDelegateToResource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
adtrOrganizationId
- The organization under which the resource exists.adtrResourceId
- The resource for which members are associated.adtrEntityId
- The member (user or group) to associate to the resource.
data AssociateDelegateToResource Source #
See: associateDelegateToResource
smart constructor.
Request Lenses
adtrOrganizationId :: Lens' AssociateDelegateToResource Text Source #
The organization under which the resource exists.
adtrResourceId :: Lens' AssociateDelegateToResource Text Source #
The resource for which members are associated.
adtrEntityId :: Lens' AssociateDelegateToResource Text Source #
The member (user or group) to associate to the resource.
Destructuring the Response
associateDelegateToResourceResponse Source #
Creates a value of AssociateDelegateToResourceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
adtrrsResponseStatus
- -- | The response status code.
data AssociateDelegateToResourceResponse Source #
See: associateDelegateToResourceResponse
smart constructor.
Response Lenses
adtrrsResponseStatus :: Lens' AssociateDelegateToResourceResponse Int Source #
- - | The response status code.