amazonka-workmail-2.0: Amazon WorkMail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.WorkMail.UpdateAvailabilityConfiguration

Description

Updates an existing AvailabilityConfiguration for the given WorkMail organization and domain.

Synopsis

Creating a Request

data UpdateAvailabilityConfiguration Source #

See: newUpdateAvailabilityConfiguration smart constructor.

Constructors

UpdateAvailabilityConfiguration' 

Fields

  • ewsProvider :: Maybe EwsAvailabilityProvider

    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.

  • lambdaProvider :: Maybe LambdaAvailabilityProvider

    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.

  • organizationId :: Text

    The WorkMail organization for which the AvailabilityConfiguration will be updated.

  • domainName :: Text

    The domain to which the provider applies the availability configuration.

Instances

Instances details
ToJSON UpdateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateAvailabilityConfiguration

ToHeaders UpdateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateAvailabilityConfiguration

ToPath UpdateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateAvailabilityConfiguration

ToQuery UpdateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateAvailabilityConfiguration

AWSRequest UpdateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateAvailabilityConfiguration

Generic UpdateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateAvailabilityConfiguration

Associated Types

type Rep UpdateAvailabilityConfiguration :: Type -> Type #

Show UpdateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateAvailabilityConfiguration

NFData UpdateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateAvailabilityConfiguration

Eq UpdateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateAvailabilityConfiguration

Hashable UpdateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateAvailabilityConfiguration

type AWSResponse UpdateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateAvailabilityConfiguration

type Rep UpdateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateAvailabilityConfiguration

type Rep UpdateAvailabilityConfiguration = D1 ('MetaData "UpdateAvailabilityConfiguration" "Amazonka.WorkMail.UpdateAvailabilityConfiguration" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" 'False) (C1 ('MetaCons "UpdateAvailabilityConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "ewsProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EwsAvailabilityProvider)) :*: S1 ('MetaSel ('Just "lambdaProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LambdaAvailabilityProvider))) :*: (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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 #

Constructors

UpdateAvailabilityConfigurationResponse' 

Fields

Instances

Instances details
Generic UpdateAvailabilityConfigurationResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateAvailabilityConfiguration

Read UpdateAvailabilityConfigurationResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateAvailabilityConfiguration

Show UpdateAvailabilityConfigurationResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateAvailabilityConfiguration

NFData UpdateAvailabilityConfigurationResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateAvailabilityConfiguration

Eq UpdateAvailabilityConfigurationResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateAvailabilityConfiguration

type Rep UpdateAvailabilityConfigurationResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateAvailabilityConfiguration

type Rep UpdateAvailabilityConfigurationResponse = D1 ('MetaData "UpdateAvailabilityConfigurationResponse" "Amazonka.WorkMail.UpdateAvailabilityConfiguration" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" 'False) (C1 ('MetaCons "UpdateAvailabilityConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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