create_domain
¶
create_domain(
name: DomainName,
server_side_encryption_configuration: ServerSideEncryptionConfiguration,
*,
config_overrides: Optional[VoiceIDClientConfig] = None,
description: Optional[Description] = None,
client_token: Optional[ClientTokenString] = None,
tags: Optional[TagList] = None,
) -> CreateDomainResponse
Creates a domain that contains all Amazon Connect Voice ID data, such as speakers, fraudsters, customer audio, and voiceprints. Every domain is created with a default watchlist that fraudsters can be a part of.
Parameters:
-
name(DomainName) –The name of the domain.
-
description(Optional[Description], default:None) –A brief description of this domain.
-
server_side_encryption_configuration(ServerSideEncryptionConfiguration) –The configuration, containing the KMS key identifier, to be used by Voice ID for the server-side encryption of your data. Refer to Amazon Connect Voice ID encryption at rest for more details on how the KMS key is used.
-
client_token(Optional[ClientTokenString], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
-
tags(Optional[TagList], default:None) –A list of tags you want added to the domain.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action. Check the error message and try again.
-
ConflictException–The request failed due to a conflict. Check the
ConflictTypeand error message for more details. -
InternalServerException–The request failed due to an unknown error on the server side.
-
ResourceNotFoundException–The specified resource cannot be found. Check the
ResourceTypeand error message for more details. -
ServiceQuotaExceededException–The request exceeded the service quota. Refer to Voice ID Service Quotas and try your request again.
-
ThrottlingException–The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
-
ValidationException–The request failed one or more validations; check the error message for more details.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_voice_id/_services/voice_id.py
2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 | |