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, which is a container for all customer data, such as customer profile attributes, object types, profile keys, and encryption keys. You can create multiple domains, and each domain can have multiple third-party integrations.
Each Amazon Connect instance can be associated with only one domain. Multiple Amazon Connect instances can be associated with one domain.
Use this API or
UpdateDomain
to enable
identity resolution:
set Matching
to true.
Synopsis
- data CreateDomain = CreateDomain' {}
- newCreateDomain :: Text -> Natural -> CreateDomain
- createDomain_defaultEncryptionKey :: Lens' CreateDomain (Maybe Text)
- createDomain_matching :: Lens' CreateDomain (Maybe MatchingRequest)
- createDomain_deadLetterQueueUrl :: Lens' CreateDomain (Maybe Text)
- createDomain_tags :: Lens' CreateDomain (Maybe (HashMap Text Text))
- createDomain_domainName :: Lens' CreateDomain Text
- createDomain_defaultExpirationDays :: Lens' CreateDomain Natural
- data CreateDomainResponse = CreateDomainResponse' {}
- newCreateDomainResponse :: Int -> Text -> Natural -> UTCTime -> UTCTime -> CreateDomainResponse
- createDomainResponse_defaultEncryptionKey :: Lens' CreateDomainResponse (Maybe Text)
- createDomainResponse_matching :: Lens' CreateDomainResponse (Maybe MatchingResponse)
- createDomainResponse_deadLetterQueueUrl :: Lens' CreateDomainResponse (Maybe Text)
- createDomainResponse_tags :: Lens' CreateDomainResponse (Maybe (HashMap Text Text))
- createDomainResponse_httpStatus :: Lens' CreateDomainResponse Int
- createDomainResponse_domainName :: Lens' CreateDomainResponse Text
- createDomainResponse_defaultExpirationDays :: Lens' CreateDomainResponse Natural
- createDomainResponse_createdAt :: Lens' CreateDomainResponse UTCTime
- createDomainResponse_lastUpdatedAt :: Lens' CreateDomainResponse UTCTime
Creating a Request
data CreateDomain Source #
See: newCreateDomain
smart constructor.
CreateDomain' | |
|
Instances
:: Text | |
-> Natural | |
-> CreateDomain |
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:defaultEncryptionKey:CreateDomain'
, createDomain_defaultEncryptionKey
- The default encryption key, which is an AWS managed key, is used when no
specific type of encryption key is specified. It is used to encrypt all
data before it is placed in permanent or semi-permanent storage.
$sel:matching:CreateDomain'
, createDomain_matching
- The process of matching duplicate profiles. If Matching = true, Amazon
Connect Customer Profiles starts a weekly batch process every Saturday
at 12AM UTC to detect duplicate profiles in your domains. After that
batch process completes, use the
GetMatches
API to return and review the results.
$sel:deadLetterQueueUrl:CreateDomain'
, createDomain_deadLetterQueueUrl
- The URL of the SQS dead letter queue, which is used for reporting errors
associated with ingesting data from third party applications. You must
set up a policy on the DeadLetterQueue for the SendMessage operation to
enable Amazon Connect Customer Profiles to send messages to the
DeadLetterQueue.
$sel:tags:CreateDomain'
, createDomain_tags
- The tags used to organize, track, or control access for this resource.
$sel:domainName:CreateDomain'
, createDomain_domainName
- The unique name of the domain.
$sel:defaultExpirationDays:CreateDomain'
, createDomain_defaultExpirationDays
- The default number of days until the data within the domain expires.
Request Lenses
createDomain_defaultEncryptionKey :: Lens' CreateDomain (Maybe Text) Source #
The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage.
createDomain_matching :: Lens' CreateDomain (Maybe MatchingRequest) Source #
The process of matching duplicate profiles. If Matching = true, Amazon Connect Customer Profiles starts a weekly batch process every Saturday at 12AM UTC to detect duplicate profiles in your domains. After that batch process completes, use the GetMatches API to return and review the results.
createDomain_deadLetterQueueUrl :: Lens' CreateDomain (Maybe Text) Source #
The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications. You must set up a policy on the DeadLetterQueue for the SendMessage operation to enable Amazon Connect Customer Profiles to send messages to the DeadLetterQueue.
createDomain_tags :: Lens' CreateDomain (Maybe (HashMap Text Text)) Source #
The tags used to organize, track, or control access for this resource.
createDomain_domainName :: Lens' CreateDomain Text Source #
The unique name of the domain.
createDomain_defaultExpirationDays :: Lens' CreateDomain Natural Source #
The default number of days until the data within the domain expires.
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:defaultEncryptionKey:CreateDomain'
, createDomainResponse_defaultEncryptionKey
- The default encryption key, which is an AWS managed key, is used when no
specific type of encryption key is specified. It is used to encrypt all
data before it is placed in permanent or semi-permanent storage.
$sel:matching:CreateDomain'
, createDomainResponse_matching
- The process of matching duplicate profiles. If Matching = true, Amazon
Connect Customer Profiles starts a weekly batch process every Saturday
at 12AM UTC to detect duplicate profiles in your domains. After that
batch process completes, use the
GetMatches
API to return and review the results.
$sel:deadLetterQueueUrl:CreateDomain'
, createDomainResponse_deadLetterQueueUrl
- The URL of the SQS dead letter queue, which is used for reporting errors
associated with ingesting data from third party applications.
$sel:tags:CreateDomain'
, createDomainResponse_tags
- The tags used to organize, track, or control access for this resource.
$sel:httpStatus:CreateDomainResponse'
, createDomainResponse_httpStatus
- The response's http status code.
$sel:domainName:CreateDomain'
, createDomainResponse_domainName
- The unique name of the domain.
$sel:defaultExpirationDays:CreateDomain'
, createDomainResponse_defaultExpirationDays
- The default number of days until the data within the domain expires.
$sel:createdAt:CreateDomainResponse'
, createDomainResponse_createdAt
- The timestamp of when the domain was created.
$sel:lastUpdatedAt:CreateDomainResponse'
, createDomainResponse_lastUpdatedAt
- The timestamp of when the domain was most recently edited.
Response Lenses
createDomainResponse_defaultEncryptionKey :: Lens' CreateDomainResponse (Maybe Text) Source #
The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage.
createDomainResponse_matching :: Lens' CreateDomainResponse (Maybe MatchingResponse) Source #
The process of matching duplicate profiles. If Matching = true, Amazon Connect Customer Profiles starts a weekly batch process every Saturday at 12AM UTC to detect duplicate profiles in your domains. After that batch process completes, use the GetMatches API to return and review the results.
createDomainResponse_deadLetterQueueUrl :: Lens' CreateDomainResponse (Maybe Text) Source #
The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications.
createDomainResponse_tags :: Lens' CreateDomainResponse (Maybe (HashMap Text Text)) Source #
The tags used to organize, track, or control access for this resource.
createDomainResponse_httpStatus :: Lens' CreateDomainResponse Int Source #
The response's http status code.
createDomainResponse_domainName :: Lens' CreateDomainResponse Text Source #
The unique name of the domain.
createDomainResponse_defaultExpirationDays :: Lens' CreateDomainResponse Natural Source #
The default number of days until the data within the domain expires.
createDomainResponse_createdAt :: Lens' CreateDomainResponse UTCTime Source #
The timestamp of when the domain was created.
createDomainResponse_lastUpdatedAt :: Lens' CreateDomainResponse UTCTime Source #
The timestamp of when the domain was most recently edited.