Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Creates an AvailabilityConfiguration
for the given WorkMail
organization and domain.
Synopsis
- data CreateAvailabilityConfiguration = CreateAvailabilityConfiguration' {}
- newCreateAvailabilityConfiguration :: Text -> Text -> CreateAvailabilityConfiguration
- createAvailabilityConfiguration_clientToken :: Lens' CreateAvailabilityConfiguration (Maybe Text)
- createAvailabilityConfiguration_ewsProvider :: Lens' CreateAvailabilityConfiguration (Maybe EwsAvailabilityProvider)
- createAvailabilityConfiguration_lambdaProvider :: Lens' CreateAvailabilityConfiguration (Maybe LambdaAvailabilityProvider)
- createAvailabilityConfiguration_organizationId :: Lens' CreateAvailabilityConfiguration Text
- createAvailabilityConfiguration_domainName :: Lens' CreateAvailabilityConfiguration Text
- data CreateAvailabilityConfigurationResponse = CreateAvailabilityConfigurationResponse' {
- httpStatus :: Int
- newCreateAvailabilityConfigurationResponse :: Int -> CreateAvailabilityConfigurationResponse
- createAvailabilityConfigurationResponse_httpStatus :: Lens' CreateAvailabilityConfigurationResponse Int
Creating a Request
data CreateAvailabilityConfiguration Source #
See: newCreateAvailabilityConfiguration
smart constructor.
CreateAvailabilityConfiguration' | |
|
Instances
newCreateAvailabilityConfiguration Source #
Create a value of CreateAvailabilityConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientToken:CreateAvailabilityConfiguration'
, createAvailabilityConfiguration_clientToken
- An idempotent token that ensures that an API request is executed only
once.
CreateAvailabilityConfiguration
, createAvailabilityConfiguration_ewsProvider
- Exchange Web Services (EWS) availability provider definition. The
request must contain exactly one provider definition, either
EwsProvider
or LambdaProvider
.
CreateAvailabilityConfiguration
, createAvailabilityConfiguration_lambdaProvider
- Lambda availability provider definition. The request must contain
exactly one provider definition, either EwsProvider
or
LambdaProvider
.
CreateAvailabilityConfiguration
, createAvailabilityConfiguration_organizationId
- The WorkMail organization for which the AvailabilityConfiguration
will
be created.
CreateAvailabilityConfiguration
, createAvailabilityConfiguration_domainName
- The domain to which the provider applies.
Request Lenses
createAvailabilityConfiguration_clientToken :: Lens' CreateAvailabilityConfiguration (Maybe Text) Source #
An idempotent token that ensures that an API request is executed only once.
createAvailabilityConfiguration_ewsProvider :: Lens' CreateAvailabilityConfiguration (Maybe EwsAvailabilityProvider) Source #
Exchange Web Services (EWS) availability provider definition. The
request must contain exactly one provider definition, either
EwsProvider
or LambdaProvider
.
createAvailabilityConfiguration_lambdaProvider :: Lens' CreateAvailabilityConfiguration (Maybe LambdaAvailabilityProvider) Source #
Lambda availability provider definition. The request must contain
exactly one provider definition, either EwsProvider
or
LambdaProvider
.
createAvailabilityConfiguration_organizationId :: Lens' CreateAvailabilityConfiguration Text Source #
The WorkMail organization for which the AvailabilityConfiguration
will
be created.
createAvailabilityConfiguration_domainName :: Lens' CreateAvailabilityConfiguration Text Source #
The domain to which the provider applies.
Destructuring the Response
data CreateAvailabilityConfigurationResponse Source #
See: newCreateAvailabilityConfigurationResponse
smart constructor.
CreateAvailabilityConfigurationResponse' | |
|
Instances
newCreateAvailabilityConfigurationResponse Source #
Create a value of CreateAvailabilityConfigurationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:CreateAvailabilityConfigurationResponse'
, createAvailabilityConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
createAvailabilityConfigurationResponse_httpStatus :: Lens' CreateAvailabilityConfigurationResponse Int Source #
The response's http status code.