libZSservicesZSamazonka-voice-idZSamazonka-voice-id
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.VoiceId.UpdateDomain

Description

Updates the specified domain. This API has clobber behavior, and clears and replaces all attributes. If an optional field, such as 'Description' is not provided, it is removed from the domain.

Synopsis

Creating a Request

data UpdateDomain Source #

See: newUpdateDomain smart constructor.

Constructors

UpdateDomain' 

Fields

Instances

Instances details
Eq UpdateDomain Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

Show UpdateDomain Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

Generic UpdateDomain Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

Associated Types

type Rep UpdateDomain :: Type -> Type #

NFData UpdateDomain Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

Methods

rnf :: UpdateDomain -> () #

Hashable UpdateDomain Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

ToJSON UpdateDomain Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

AWSRequest UpdateDomain Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

Associated Types

type AWSResponse UpdateDomain #

ToHeaders UpdateDomain Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

ToPath UpdateDomain Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

ToQuery UpdateDomain Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

type Rep UpdateDomain Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

type Rep UpdateDomain = D1 ('MetaData "UpdateDomain" "Amazonka.VoiceId.UpdateDomain" "libZSservicesZSamazonka-voice-idZSamazonka-voice-id" 'False) (C1 ('MetaCons "UpdateDomain'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "domainId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "serverSideEncryptionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ServerSideEncryptionConfiguration))))
type AWSResponse UpdateDomain Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

newUpdateDomain Source #

Create a value of UpdateDomain 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:description:UpdateDomain', updateDomain_description - A brief description about this domain.

$sel:domainId:UpdateDomain', updateDomain_domainId - The identifier of the domain to be updated.

$sel:name:UpdateDomain', updateDomain_name - The name of the domain.

$sel:serverSideEncryptionConfiguration:UpdateDomain', updateDomain_serverSideEncryptionConfiguration - The configuration, containing the KMS Key Identifier, to be used by Voice ID for the server-side encryption of your data. Note that all the existing data in the domain are still encrypted using the existing key, only the data added to domain after updating the key is encrypted using the new key.

Request Lenses

updateDomain_description :: Lens' UpdateDomain (Maybe Text) Source #

A brief description about this domain.

updateDomain_domainId :: Lens' UpdateDomain Text Source #

The identifier of the domain to be updated.

updateDomain_name :: Lens' UpdateDomain Text Source #

The name of the domain.

updateDomain_serverSideEncryptionConfiguration :: Lens' UpdateDomain ServerSideEncryptionConfiguration Source #

The configuration, containing the KMS Key Identifier, to be used by Voice ID for the server-side encryption of your data. Note that all the existing data in the domain are still encrypted using the existing key, only the data added to domain after updating the key is encrypted using the new key.

Destructuring the Response

data UpdateDomainResponse Source #

See: newUpdateDomainResponse smart constructor.

Constructors

UpdateDomainResponse' 

Fields

Instances

Instances details
Eq UpdateDomainResponse Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

Show UpdateDomainResponse Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

Generic UpdateDomainResponse Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

Associated Types

type Rep UpdateDomainResponse :: Type -> Type #

NFData UpdateDomainResponse Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

Methods

rnf :: UpdateDomainResponse -> () #

type Rep UpdateDomainResponse Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

type Rep UpdateDomainResponse = D1 ('MetaData "UpdateDomainResponse" "Amazonka.VoiceId.UpdateDomain" "libZSservicesZSamazonka-voice-idZSamazonka-voice-id" 'False) (C1 ('MetaCons "UpdateDomainResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Domain)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateDomainResponse Source #

Create a value of UpdateDomainResponse 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:UpdateDomainResponse', updateDomainResponse_domain - Details about the updated domain

$sel:httpStatus:UpdateDomainResponse', updateDomainResponse_httpStatus - The response's http status code.

Response Lenses