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 |
Registers an existing and disabled user, group, or resourceentity for Amazon WorkMail use by associating a mailbox and calendaring capabilities. It performs no change if the entity is enabled and fails if the entity is deleted. This operation results in the accumulation of costs. For more information, see <http:aws.amazon.comworkmailpricing Pricing> . The equivalent console functionality for this operation is Enable/ . Users can either be created by calling the CreateUser API or they can be synchronized from your directory. For more information, see DeregisterFromWorkMail.
- registerToWorkMail :: Text -> Text -> Text -> RegisterToWorkMail
- data RegisterToWorkMail
- rtwmOrganizationId :: Lens' RegisterToWorkMail Text
- rtwmEntityId :: Lens' RegisterToWorkMail Text
- rtwmEmail :: Lens' RegisterToWorkMail Text
- registerToWorkMailResponse :: Int -> RegisterToWorkMailResponse
- data RegisterToWorkMailResponse
- rtwmrsResponseStatus :: Lens' RegisterToWorkMailResponse Int
Creating a Request
Creates a value of RegisterToWorkMail
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rtwmOrganizationId
- The identifier for the organization under which the Amazon WorkMail entity exists.rtwmEntityId
- The identifier for the entity to be updated.rtwmEmail
- The email for the entity to be updated.
data RegisterToWorkMail Source #
See: registerToWorkMail
smart constructor.
Request Lenses
rtwmOrganizationId :: Lens' RegisterToWorkMail Text Source #
The identifier for the organization under which the Amazon WorkMail entity exists.
rtwmEntityId :: Lens' RegisterToWorkMail Text Source #
The identifier for the entity to be updated.
Destructuring the Response
registerToWorkMailResponse Source #
Creates a value of RegisterToWorkMailResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rtwmrsResponseStatus
- -- | The response status code.
data RegisterToWorkMailResponse Source #
See: registerToWorkMailResponse
smart constructor.
Response Lenses
rtwmrsResponseStatus :: Lens' RegisterToWorkMailResponse Int Source #
- - | The response status code.