create_instance
async
¶
create_instance(
identity_management_type: DirectoryType,
inbound_calls_enabled: InboundCallsEnabled,
outbound_calls_enabled: OutboundCallsEnabled,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
client_token: Optional[ClientToken] = None,
instance_alias: Optional[DirectoryAlias] = None,
directory_id: Optional[DirectoryId] = None,
tags: Optional[TagMap] = None,
) -> CreateInstanceResponse
This API is in preview release for Connect Customer and is subject to change.
Initiates an Connect Customer 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 Connect Customer.
For more information, see Create an Connect Customer instance in the Connect Customer Administrator Guide.
Connect Customer 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.
Parameters:
-
client_token(Optional[ClientToken], default:None) –The idempotency token.
-
identity_management_type(DirectoryType) –The type of identity management for your Connect Customer users.
-
instance_alias(Optional[DirectoryAlias], default:None) –The name for your instance.
-
directory_id(Optional[DirectoryId], default:None) –The identifier for the directory.
-
inbound_calls_enabled(InboundCallsEnabled) –Your contact center handles incoming contacts.
-
outbound_calls_enabled(OutboundCallsEnabled) –Your contact center allows outbound calls.
-
tags(Optional[TagMap], default:None) –The tags used to organize, track, or control access for this resource. For example,
{ "tags": {"key1":"value1", "key2":"value2"} }.
Raises:
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource was not found.
-
ServiceQuotaExceededException–The service quota has been exceeded.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/async_connect.py
4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 | |