libZSservicesZSamazonka-connectZSamazonka-connect
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Connect.CreateInstance

Description

This API is in preview release for Amazon Connect and is subject to change.

Initiates an Amazon Connect instance with all the supported channels enabled. It does not attach any storage, such as Amazon Simple Storage Service (Amazon S3) or Amazon Kinesis. It also does not allow for any configurations on features, such as Contact Lens for Amazon Connect.

Amazon Connect enforces a limit on the total number of instances that you can create or delete in 30 days. If you exceed this limit, you will get an error message indicating there has been an excessive number of attempts at creating or deleting instances. You must wait 30 days before you can restart creating and deleting instances in your account.

Synopsis

Creating a Request

data CreateInstance Source #

See: newCreateInstance smart constructor.

Constructors

CreateInstance' 

Fields

Instances

Instances details
Eq CreateInstance Source # 
Instance details

Defined in Amazonka.Connect.CreateInstance

Show CreateInstance Source # 
Instance details

Defined in Amazonka.Connect.CreateInstance

Generic CreateInstance Source # 
Instance details

Defined in Amazonka.Connect.CreateInstance

Associated Types

type Rep CreateInstance :: Type -> Type #

NFData CreateInstance Source # 
Instance details

Defined in Amazonka.Connect.CreateInstance

Methods

rnf :: CreateInstance -> () #

Hashable CreateInstance Source # 
Instance details

Defined in Amazonka.Connect.CreateInstance

ToJSON CreateInstance Source # 
Instance details

Defined in Amazonka.Connect.CreateInstance

AWSRequest CreateInstance Source # 
Instance details

Defined in Amazonka.Connect.CreateInstance

Associated Types

type AWSResponse CreateInstance #

ToHeaders CreateInstance Source # 
Instance details

Defined in Amazonka.Connect.CreateInstance

ToPath CreateInstance Source # 
Instance details

Defined in Amazonka.Connect.CreateInstance

ToQuery CreateInstance Source # 
Instance details

Defined in Amazonka.Connect.CreateInstance

type Rep CreateInstance Source # 
Instance details

Defined in Amazonka.Connect.CreateInstance

type Rep CreateInstance = D1 ('MetaData "CreateInstance" "Amazonka.Connect.CreateInstance" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "CreateInstance'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "directoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "instanceAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))))) :*: (S1 ('MetaSel ('Just "identityManagementType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DirectoryType) :*: (S1 ('MetaSel ('Just "inboundCallsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "outboundCallsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))))
type AWSResponse CreateInstance Source # 
Instance details

Defined in Amazonka.Connect.CreateInstance

newCreateInstance Source #

Create a value of CreateInstance 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:directoryId:CreateInstance', createInstance_directoryId - The identifier for the directory.

$sel:clientToken:CreateInstance', createInstance_clientToken - The idempotency token.

$sel:instanceAlias:CreateInstance', createInstance_instanceAlias - The name for your instance.

$sel:identityManagementType:CreateInstance', createInstance_identityManagementType - The type of identity management for your Amazon Connect users.

$sel:inboundCallsEnabled:CreateInstance', createInstance_inboundCallsEnabled - Your contact center handles incoming contacts.

$sel:outboundCallsEnabled:CreateInstance', createInstance_outboundCallsEnabled - Your contact center allows outbound calls.

Request Lenses

createInstance_directoryId :: Lens' CreateInstance (Maybe Text) Source #

The identifier for the directory.

createInstance_identityManagementType :: Lens' CreateInstance DirectoryType Source #

The type of identity management for your Amazon Connect users.

createInstance_inboundCallsEnabled :: Lens' CreateInstance Bool Source #

Your contact center handles incoming contacts.

createInstance_outboundCallsEnabled :: Lens' CreateInstance Bool Source #

Your contact center allows outbound calls.

Destructuring the Response

data CreateInstanceResponse Source #

See: newCreateInstanceResponse smart constructor.

Constructors

CreateInstanceResponse' 

Fields

Instances

Instances details
Eq CreateInstanceResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateInstance

Read CreateInstanceResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateInstance

Show CreateInstanceResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateInstance

Generic CreateInstanceResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateInstance

Associated Types

type Rep CreateInstanceResponse :: Type -> Type #

NFData CreateInstanceResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateInstance

Methods

rnf :: CreateInstanceResponse -> () #

type Rep CreateInstanceResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateInstance

type Rep CreateInstanceResponse = D1 ('MetaData "CreateInstanceResponse" "Amazonka.Connect.CreateInstance" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "CreateInstanceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateInstanceResponse Source #

Create a value of CreateInstanceResponse 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:arn:CreateInstanceResponse', createInstanceResponse_arn - The Amazon Resource Name (ARN) of the instance.

$sel:id:CreateInstanceResponse', createInstanceResponse_id - The identifier for the instance.

$sel:httpStatus:CreateInstanceResponse', createInstanceResponse_httpStatus - The response's http status code.

Response Lenses

createInstanceResponse_arn :: Lens' CreateInstanceResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the instance.