Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
CreateDomain' | |
|
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.
$sel:description:CreateDomain'
, createDomain_description
- A brief description of this domain.
$sel:tags:CreateDomain'
, createDomain_tags
- A list of tags you want added to the domain.
$sel:name:CreateDomain'
, createDomain_name
- The name of the domain.
$sel:serverSideEncryptionConfiguration: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 VoiceID 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 this 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 VoiceID encryption at rest for more details on how the KMS Key is used.
Destructuring the Response
data CreateDomainResponse Source #
See: newCreateDomainResponse
smart constructor.
CreateDomainResponse' | |
|
Instances
newCreateDomainResponse Source #
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.