Module Values.CreateDomainResponseSource

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. To prevent cross-service impersonation when you call this API, see Cross-service confused deputy prevention for sample policies that you should apply. It is not possible to associate a Customer Profiles domain with an Amazon Connect Instance directly from the API. If you would like to create a domain and associate a Customer Profiles domain, use the Amazon Connect admin website. For more information, see Enable Customer Profiles. Each Amazon Connect instance can be associated with only one domain. Multiple Amazon Connect instances can be associated with one domain.

Sourcetype nonrec t = {
  1. domainName : Name.t option;
    (*

    The unique name of the domain.

    *)
  2. defaultExpirationDays : ExpirationDaysInteger.t option;
    (*

    The default number of days until the data within the domain expires.

    *)
  3. defaultEncryptionKey : EncryptionKey.t option;
    (*

    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.

    *)
  4. deadLetterQueueUrl : SqsQueueUrl.t option;
    (*

    The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications.

    *)
  5. matching : MatchingResponse.t option;
    (*

    The process of matching duplicate profiles. If Matching = true, Amazon Connect Customer Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in your domains. After the Identity Resolution Job completes, use the GetMatches API to return and review the results. Or, if you have configured ExportingConfig in the MatchingRequest, you can download the results from S3.

    *)
  6. ruleBasedMatching : RuleBasedMatchingResponse.t option;
    (*

    The process of matching duplicate profiles using the Rule-Based matching. If RuleBasedMatching = true, Amazon Connect Customer Profiles will start to match and merge your profiles according to your configuration in the RuleBasedMatchingRequest. You can use the ListRuleBasedMatches and GetSimilarProfiles API to return and review the results. Also, if you have configured ExportingConfig in the RuleBasedMatchingRequest, you can download the results from S3.

    *)
  7. dataStore : DataStoreResponse.t option;
    (*

    The data store.

    *)
  8. createdAt : Timestamp.t option;
    (*

    The timestamp of when the domain was created.

    *)
  9. lastUpdatedAt : Timestamp.t option;
    (*

    The timestamp of when the domain was most recently edited.

    *)
  10. tags : TagMap.t option;
    (*

    The tags used to organize, track, or control access for this resource.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `BadRequestException of BadRequestException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ThrottlingException of ThrottlingException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?domainName:??? -> ?defaultExpirationDays:??? -> ?defaultEncryptionKey:??? -> ?deadLetterQueueUrl:??? -> ?matching:??? -> ?ruleBasedMatching:??? -> ?dataStore:??? -> ?createdAt:??? -> ?lastUpdatedAt:??? -> ?tags:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `BadRequestException of BadRequestException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `BadRequestException of BadRequestException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of ExpirationDaysInteger.t | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of Name.t | `Structure of (string * [> `Boolean of OptionalBoolean.t | `Enum of string | `Integer of MaxAllowedRuleLevelForMerging.t | `List of [> `Structure of (string * [> `List of [> `String of String1To255.t ] list ]) list ] list | `Structure of (string * [> `Boolean of OptionalBoolean.t | `Double of Double0To1.t | `Enum of string | `Integer of PercentageInteger.t | `List of [> `String of String1To255.t ] list | `String of JobScheduleTime.t | `Structure of (string * [> `Enum of string | `List of [> `List of [> `String of String1To255.t ] list ] list | `String of String1To255.t ]) list ]) list ]) list | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t