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.CreateAvailabilityConfiguration

Description

Creates an AvailabilityConfiguration for the given WorkMail organization and domain.

Synopsis

Creating a Request

data CreateAvailabilityConfiguration Source #

See: newCreateAvailabilityConfiguration smart constructor.

Constructors

CreateAvailabilityConfiguration' 

Fields

Instances

Instances details
ToJSON CreateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAvailabilityConfiguration

ToHeaders CreateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAvailabilityConfiguration

ToPath CreateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAvailabilityConfiguration

ToQuery CreateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAvailabilityConfiguration

AWSRequest CreateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAvailabilityConfiguration

Generic CreateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAvailabilityConfiguration

Associated Types

type Rep CreateAvailabilityConfiguration :: Type -> Type #

Show CreateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAvailabilityConfiguration

NFData CreateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAvailabilityConfiguration

Eq CreateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAvailabilityConfiguration

Hashable CreateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAvailabilityConfiguration

type AWSResponse CreateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAvailabilityConfiguration

type Rep CreateAvailabilityConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAvailabilityConfiguration

type Rep CreateAvailabilityConfiguration = D1 ('MetaData "CreateAvailabilityConfiguration" "Amazonka.WorkMail.CreateAvailabilityConfiguration" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" 'False) (C1 ('MetaCons "CreateAvailabilityConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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)))))

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.

Destructuring the Response

data CreateAvailabilityConfigurationResponse Source #

Constructors

CreateAvailabilityConfigurationResponse' 

Fields

Instances

Instances details
Generic CreateAvailabilityConfigurationResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAvailabilityConfiguration

Read CreateAvailabilityConfigurationResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAvailabilityConfiguration

Show CreateAvailabilityConfigurationResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAvailabilityConfiguration

NFData CreateAvailabilityConfigurationResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAvailabilityConfiguration

Eq CreateAvailabilityConfigurationResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAvailabilityConfiguration

type Rep CreateAvailabilityConfigurationResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAvailabilityConfiguration

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

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