amazonka-voice-id-2.0: Amazon Voice ID SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

  • description :: Maybe (Sensitive Text)

    A brief description of the domain.

  • domainId :: Text

    The identifier of the domain to be updated.

  • name :: Sensitive Text

    The name of the domain.

  • serverSideEncryptionConfiguration :: ServerSideEncryptionConfiguration

    The configuration, containing the KMS key identifier, to be used by Voice ID for the server-side encryption of your data. Changing the domain's associated KMS key immediately triggers an asynchronous process to remove dependency on the old KMS key, such that the domain's data can only be accessed using the new KMS key. The domain's ServerSideEncryptionUpdateDetails contains the details for this process.

Instances

Instances details
ToJSON UpdateDomain Source # 
Instance details

Defined in Amazonka.VoiceId.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

AWSRequest UpdateDomain Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

Associated Types

type AWSResponse UpdateDomain #

Generic UpdateDomain Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

Associated Types

type Rep UpdateDomain :: Type -> Type #

Show UpdateDomain Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

NFData UpdateDomain Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

Methods

rnf :: UpdateDomain -> () #

Eq UpdateDomain Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

Hashable UpdateDomain Source # 
Instance details

Defined in Amazonka.VoiceId.UpdateDomain

type AWSResponse 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" "amazonka-voice-id-2.0-E9fR3xKghdA6rj9Pl7P2NC" '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))))

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:

UpdateDomain, updateDomain_description - A brief description of the domain.

UpdateDomain, updateDomain_domainId - The identifier of the domain to be updated.

UpdateDomain, updateDomain_name - The name of the domain.

UpdateDomain, updateDomain_serverSideEncryptionConfiguration - The configuration, containing the KMS key identifier, to be used by Voice ID for the server-side encryption of your data. Changing the domain's associated KMS key immediately triggers an asynchronous process to remove dependency on the old KMS key, such that the domain's data can only be accessed using the new KMS key. The domain's ServerSideEncryptionUpdateDetails contains the details for this process.

Request Lenses

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

A brief description of the 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. Changing the domain's associated KMS key immediately triggers an asynchronous process to remove dependency on the old KMS key, such that the domain's data can only be accessed using the new KMS key. The domain's ServerSideEncryptionUpdateDetails contains the details for this process.

Destructuring the Response

data UpdateDomainResponse Source #

See: newUpdateDomainResponse smart constructor.

Constructors

UpdateDomainResponse' 

Fields

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