| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.VoiceId.CreateDomain
Description
Creates a domain that contains all Amazon Connect Voice ID data, such as speakers, fraudsters, customer audio, and voiceprints.
Synopsis
- data CreateDomain = CreateDomain' {}
- newCreateDomain :: Text -> ServerSideEncryptionConfiguration -> CreateDomain
- createDomain_clientToken :: Lens' CreateDomain (Maybe Text)
- createDomain_description :: Lens' CreateDomain (Maybe Text)
- createDomain_tags :: Lens' CreateDomain (Maybe [Tag])
- createDomain_name :: Lens' CreateDomain Text
- createDomain_serverSideEncryptionConfiguration :: Lens' CreateDomain ServerSideEncryptionConfiguration
- data CreateDomainResponse = CreateDomainResponse' {
- domain :: Maybe Domain
- httpStatus :: Int
- newCreateDomainResponse :: Int -> CreateDomainResponse
- createDomainResponse_domain :: Lens' CreateDomainResponse (Maybe Domain)
- createDomainResponse_httpStatus :: Lens' CreateDomainResponse Int
Creating a Request
data CreateDomain Source #
See: newCreateDomain smart constructor.
Constructors
| CreateDomain' | |
Fields
| |
Instances
Create a value of CreateDomain 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:CreateDomain', createDomain_clientToken - The idempotency token for creating a new domain. If not provided, Amazon
Web Services SDK populates this field.
CreateDomain, createDomain_description - A brief description of the domain.
$sel:tags:CreateDomain', createDomain_tags - A list of tags you want added to the domain.
CreateDomain, createDomain_name - The name of the domain.
CreateDomain, createDomain_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.
Request Lenses
createDomain_clientToken :: Lens' CreateDomain (Maybe Text) Source #
The idempotency token for creating a new domain. If not provided, Amazon Web Services SDK populates this field.
createDomain_description :: Lens' CreateDomain (Maybe Text) Source #
A brief description of the domain.
createDomain_tags :: Lens' CreateDomain (Maybe [Tag]) Source #
A list of tags you want added to the domain.
createDomain_name :: Lens' CreateDomain Text Source #
The name of the domain.
createDomain_serverSideEncryptionConfiguration :: Lens' CreateDomain ServerSideEncryptionConfiguration Source #
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.
Destructuring the Response
data CreateDomainResponse Source #
See: newCreateDomainResponse smart constructor.
Constructors
| CreateDomainResponse' | |
Fields
| |
Instances
newCreateDomainResponse Source #
Arguments
| :: Int | |
| -> CreateDomainResponse |
Create a value of CreateDomainResponse 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:domain:CreateDomainResponse', createDomainResponse_domain - Information about the newly created domain.
$sel:httpStatus:CreateDomainResponse', createDomainResponse_httpStatus - The response's http status code.
Response Lenses
createDomainResponse_domain :: Lens' CreateDomainResponse (Maybe Domain) Source #
Information about the newly created domain.
createDomainResponse_httpStatus :: Lens' CreateDomainResponse Int Source #
The response's http status code.