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 |
Updates an existing AvailabilityConfiguration
for the given WorkMail
organization and domain.
Synopsis
- data UpdateAvailabilityConfiguration = UpdateAvailabilityConfiguration' {}
- newUpdateAvailabilityConfiguration :: Text -> Text -> UpdateAvailabilityConfiguration
- updateAvailabilityConfiguration_ewsProvider :: Lens' UpdateAvailabilityConfiguration (Maybe EwsAvailabilityProvider)
- updateAvailabilityConfiguration_lambdaProvider :: Lens' UpdateAvailabilityConfiguration (Maybe LambdaAvailabilityProvider)
- updateAvailabilityConfiguration_organizationId :: Lens' UpdateAvailabilityConfiguration Text
- updateAvailabilityConfiguration_domainName :: Lens' UpdateAvailabilityConfiguration Text
- data UpdateAvailabilityConfigurationResponse = UpdateAvailabilityConfigurationResponse' {
- httpStatus :: Int
- newUpdateAvailabilityConfigurationResponse :: Int -> UpdateAvailabilityConfigurationResponse
- updateAvailabilityConfigurationResponse_httpStatus :: Lens' UpdateAvailabilityConfigurationResponse Int
Creating a Request
data UpdateAvailabilityConfiguration Source #
See: newUpdateAvailabilityConfiguration
smart constructor.
UpdateAvailabilityConfiguration' | |
|
Instances
newUpdateAvailabilityConfiguration Source #
Create a value of UpdateAvailabilityConfiguration
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:
UpdateAvailabilityConfiguration
, updateAvailabilityConfiguration_ewsProvider
- The EWS availability provider definition. The request must contain
exactly one provider definition, either EwsProvider
or
LambdaProvider
. The previously stored provider will be overridden by
the one provided.
UpdateAvailabilityConfiguration
, updateAvailabilityConfiguration_lambdaProvider
- The Lambda availability provider definition. The request must contain
exactly one provider definition, either EwsProvider
or
LambdaProvider
. The previously stored provider will be overridden by
the one provided.
UpdateAvailabilityConfiguration
, updateAvailabilityConfiguration_organizationId
- The WorkMail organization for which the AvailabilityConfiguration
will
be updated.
UpdateAvailabilityConfiguration
, updateAvailabilityConfiguration_domainName
- The domain to which the provider applies the availability configuration.
Request Lenses
updateAvailabilityConfiguration_ewsProvider :: Lens' UpdateAvailabilityConfiguration (Maybe EwsAvailabilityProvider) Source #
The EWS availability provider definition. The request must contain
exactly one provider definition, either EwsProvider
or
LambdaProvider
. The previously stored provider will be overridden by
the one provided.
updateAvailabilityConfiguration_lambdaProvider :: Lens' UpdateAvailabilityConfiguration (Maybe LambdaAvailabilityProvider) Source #
The Lambda availability provider definition. The request must contain
exactly one provider definition, either EwsProvider
or
LambdaProvider
. The previously stored provider will be overridden by
the one provided.
updateAvailabilityConfiguration_organizationId :: Lens' UpdateAvailabilityConfiguration Text Source #
The WorkMail organization for which the AvailabilityConfiguration
will
be updated.
updateAvailabilityConfiguration_domainName :: Lens' UpdateAvailabilityConfiguration Text Source #
The domain to which the provider applies the availability configuration.
Destructuring the Response
data UpdateAvailabilityConfigurationResponse Source #
See: newUpdateAvailabilityConfigurationResponse
smart constructor.
UpdateAvailabilityConfigurationResponse' | |
|
Instances
newUpdateAvailabilityConfigurationResponse Source #
Create a value of UpdateAvailabilityConfigurationResponse
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:UpdateAvailabilityConfigurationResponse'
, updateAvailabilityConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
updateAvailabilityConfigurationResponse_httpStatus :: Lens' UpdateAvailabilityConfigurationResponse Int Source #
The response's http status code.