/******************************************************************************* * Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"). You may not use * this file except in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * ***************************************************************************** * * AWS Tools for Windows (TM) PowerShell (TM) * */ using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation; using System.Text; using Amazon.PowerShell.Common; using Amazon.Runtime; using Amazon.CustomerProfiles; using Amazon.CustomerProfiles.Model; namespace Amazon.PowerShell.Cmdlets.CPF { /// /// 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. /// /// [Cmdlet("New", "CPFDomain", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] [OutputType("Amazon.CustomerProfiles.Model.CreateDomainResponse")] [AWSCmdlet("Calls the Amazon Connect Customer Profiles CreateDomain API operation.", Operation = new[] {"CreateDomain"}, SelectReturnType = typeof(Amazon.CustomerProfiles.Model.CreateDomainResponse))] [AWSCmdletOutput("Amazon.CustomerProfiles.Model.CreateDomainResponse", "This cmdlet returns an Amazon.CustomerProfiles.Model.CreateDomainResponse object containing multiple properties. The object can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack." )] public partial class NewCPFDomainCmdlet : AmazonCustomerProfilesClientCmdlet, IExecutor { #region Parameter AttributeTypesSelector_Address /// /// /// The Address type. You can choose from Address, BusinessAddress, /// MaillingAddress, and ShippingAddress.You only can use the Address type in the MatchingRule. For example, if /// you want to match profile based on BusinessAddress.City or MaillingAddress.City, /// you need to choose the BusinessAddress and the MaillingAddress /// to represent the Address type and specify the Address.City on the matching /// rule. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [Alias("RuleBasedMatching_AttributeTypesSelector_Address")] public System.String[] AttributeTypesSelector_Address { get; set; } #endregion #region Parameter AttributeTypesSelector_AttributeMatchingModel /// /// /// Configures the AttributeMatchingModel, you can either choose ONE_TO_ONE /// or MANY_TO_MANY. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [Alias("RuleBasedMatching_AttributeTypesSelector_AttributeMatchingModel")] [AWSConstantClassSource("Amazon.CustomerProfiles.AttributeMatchingModel")] public Amazon.CustomerProfiles.AttributeMatchingModel AttributeTypesSelector_AttributeMatchingModel { get; set; } #endregion #region Parameter ConflictResolution_ConflictResolvingModel /// /// /// How the auto-merging process should resolve conflicts between different profiles. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [Alias("Matching_AutoMerging_ConflictResolution_ConflictResolvingModel")] [AWSConstantClassSource("Amazon.CustomerProfiles.ConflictResolvingModel")] public Amazon.CustomerProfiles.ConflictResolvingModel ConflictResolution_ConflictResolvingModel { get; set; } #endregion #region Parameter RuleBasedMatching_ConflictResolution_ConflictResolvingModel /// /// /// How the auto-merging process should resolve conflicts between different profiles. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [AWSConstantClassSource("Amazon.CustomerProfiles.ConflictResolvingModel")] public Amazon.CustomerProfiles.ConflictResolvingModel RuleBasedMatching_ConflictResolution_ConflictResolvingModel { get; set; } #endregion #region Parameter JobSchedule_DayOfTheWeek /// /// /// The day when the Identity Resolution Job should run every week. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [Alias("Matching_JobSchedule_DayOfTheWeek")] [AWSConstantClassSource("Amazon.CustomerProfiles.JobScheduleDayOfTheWeek")] public Amazon.CustomerProfiles.JobScheduleDayOfTheWeek JobSchedule_DayOfTheWeek { get; set; } #endregion #region Parameter 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. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] public System.String DeadLetterQueueUrl { get; set; } #endregion #region Parameter 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. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] public System.String DefaultEncryptionKey { get; set; } #endregion #region Parameter DefaultExpirationDay /// /// /// The default number of days until the data within the domain expires. /// /// #if !MODULAR [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] #else [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true)] [System.Management.Automation.AllowNull] #endif [Amazon.PowerShell.Common.AWSRequiredParameter] [Alias("DefaultExpirationDays")] public System.Int32? DefaultExpirationDay { get; set; } #endregion #region Parameter DomainName /// /// /// The unique name of the domain. /// /// #if !MODULAR [System.Management.Automation.Parameter(Position = 0, ValueFromPipelineByPropertyName = true, ValueFromPipeline = true)] #else [System.Management.Automation.Parameter(Position = 0, ValueFromPipelineByPropertyName = true, ValueFromPipeline = true, Mandatory = true)] [System.Management.Automation.AllowEmptyString] [System.Management.Automation.AllowNull] #endif [Amazon.PowerShell.Common.AWSRequiredParameter] public System.String DomainName { get; set; } #endregion #region Parameter AttributeTypesSelector_EmailAddress /// /// /// The Email type. You can choose from EmailAddress, BusinessEmailAddress /// and PersonalEmailAddress.You only can use the EmailAddress type in the MatchingRule. /// For example, if you want to match profile based on PersonalEmailAddress /// or BusinessEmailAddress, you need to choose the PersonalEmailAddress /// and the BusinessEmailAddress to represent the EmailAddress /// type and only specify the EmailAddress on the matching rule. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [Alias("RuleBasedMatching_AttributeTypesSelector_EmailAddress")] public System.String[] AttributeTypesSelector_EmailAddress { get; set; } #endregion #region Parameter AutoMerging_Enabled /// /// /// The flag that enables the auto-merging of duplicate profiles. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [Alias("Matching_AutoMerging_Enabled")] public System.Boolean? AutoMerging_Enabled { get; set; } #endregion #region Parameter Matching_Enabled /// /// /// The flag that enables the matching process of duplicate profiles. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] public System.Boolean? Matching_Enabled { get; set; } #endregion #region Parameter RuleBasedMatching_Enabled /// /// /// The flag that enables the rule-based matching process of duplicate profiles. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] public System.Boolean? RuleBasedMatching_Enabled { get; set; } #endregion #region Parameter Consolidation_MatchingAttributesList /// /// /// A list of matching criteria. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [Alias("Matching_AutoMerging_Consolidation_MatchingAttributesList")] public System.String[][] Consolidation_MatchingAttributesList { get; set; } #endregion #region Parameter RuleBasedMatching_MatchingRule /// /// /// Configures how the rule-based matching process should match profiles. You can have /// up to 15 MatchingRule in the MatchingRules. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [Alias("RuleBasedMatching_MatchingRules")] public Amazon.CustomerProfiles.Model.MatchingRule[] RuleBasedMatching_MatchingRule { get; set; } #endregion #region Parameter RuleBasedMatching_MaxAllowedRuleLevelForMatching /// /// /// Indicates the maximum allowed rule level. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] public System.Int32? RuleBasedMatching_MaxAllowedRuleLevelForMatching { get; set; } #endregion #region Parameter RuleBasedMatching_MaxAllowedRuleLevelForMerging /// /// /// MatchingRule /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] public System.Int32? RuleBasedMatching_MaxAllowedRuleLevelForMerging { get; set; } #endregion #region Parameter AutoMerging_MinAllowedConfidenceScoreForMerging /// /// /// A number between 0 and 1 that represents the minimum confidence score required for /// profiles within a matching group to be merged during the auto-merge process. A higher /// score means higher similarity required to merge profiles. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [Alias("Matching_AutoMerging_MinAllowedConfidenceScoreForMerging")] public System.Double? AutoMerging_MinAllowedConfidenceScoreForMerging { get; set; } #endregion #region Parameter AttributeTypesSelector_PhoneNumber /// /// /// The PhoneNumber type. You can choose from PhoneNumber, HomePhoneNumber, /// and MobilePhoneNumber.You only can use the PhoneNumber type in the MatchingRule. /// For example, if you want to match a profile based on Phone or HomePhone, /// you need to choose the Phone and the HomePhone to represent /// the PhoneNumber type and only specify the PhoneNumber on /// the matching rule. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [Alias("RuleBasedMatching_AttributeTypesSelector_PhoneNumber")] public System.String[] AttributeTypesSelector_PhoneNumber { get; set; } #endregion #region Parameter S3Exporting_S3BucketName /// /// /// The name of the S3 bucket where Identity Resolution Jobs write result files. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [Alias("Matching_ExportingConfig_S3Exporting_S3BucketName")] public System.String S3Exporting_S3BucketName { get; set; } #endregion #region Parameter RuleBasedMatching_ExportingConfig_S3Exporting_S3BucketName /// /// /// The name of the S3 bucket where Identity Resolution Jobs write result files. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] public System.String RuleBasedMatching_ExportingConfig_S3Exporting_S3BucketName { get; set; } #endregion #region Parameter S3Exporting_S3KeyName /// /// /// The S3 key name of the location where Identity Resolution Jobs write result files. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [Alias("Matching_ExportingConfig_S3Exporting_S3KeyName")] public System.String S3Exporting_S3KeyName { get; set; } #endregion #region Parameter RuleBasedMatching_ExportingConfig_S3Exporting_S3KeyName /// /// /// The S3 key name of the location where Identity Resolution Jobs write result files. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] public System.String RuleBasedMatching_ExportingConfig_S3Exporting_S3KeyName { get; set; } #endregion #region Parameter ConflictResolution_SourceName /// /// /// The ObjectType name that is used to resolve profile merging conflicts /// when choosing SOURCE as the ConflictResolvingModel. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [Alias("Matching_AutoMerging_ConflictResolution_SourceName")] public System.String ConflictResolution_SourceName { get; set; } #endregion #region Parameter RuleBasedMatching_ConflictResolution_SourceName /// /// /// The ObjectType name that is used to resolve profile merging conflicts /// when choosing SOURCE as the ConflictResolvingModel. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] public System.String RuleBasedMatching_ConflictResolution_SourceName { get; set; } #endregion #region Parameter Tag /// /// /// The tags used to organize, track, or control access for this resource. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [Alias("Tags")] public System.Collections.Hashtable Tag { get; set; } #endregion #region Parameter JobSchedule_Time /// /// /// The time when the Identity Resolution Job should run every week. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [Alias("Matching_JobSchedule_Time")] public System.String JobSchedule_Time { get; set; } #endregion #region Parameter Select /// /// Use the -Select parameter to control the cmdlet output. The default value is '*'. /// Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.CustomerProfiles.Model.CreateDomainResponse). /// Specifying the name of a property of type Amazon.CustomerProfiles.Model.CreateDomainResponse will result in that property being returned. /// Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value. /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] public string Select { get; set; } = "*"; #endregion #region Parameter PassThru /// /// Changes the cmdlet behavior to return the value passed to the DomainName parameter. /// The -PassThru parameter is deprecated, use -Select '^DomainName' instead. This parameter will be removed in a future version. /// [System.Obsolete("The -PassThru parameter is deprecated, use -Select '^DomainName' instead. This parameter will be removed in a future version.")] [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] public SwitchParameter PassThru { get; set; } #endregion #region Parameter Force /// /// This parameter overrides confirmation prompts to force /// the cmdlet to continue its operation. This parameter should always /// be used with caution. /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] public SwitchParameter Force { get; set; } #endregion protected override void ProcessRecord() { this._AWSSignerType = "v4"; base.ProcessRecord(); var resourceIdentifiersText = FormatParameterValuesForConfirmationMsg(nameof(this.DomainName), MyInvocation.BoundParameters); if (!ConfirmShouldProceed(this.Force.IsPresent, resourceIdentifiersText, "New-CPFDomain (CreateDomain)")) { return; } var context = new CmdletContext(); // allow for manipulation of parameters prior to loading into context PreExecutionContextLoad(context); #pragma warning disable CS0618, CS0612 //A class member was marked with the Obsolete attribute if (ParameterWasBound(nameof(this.Select))) { context.Select = CreateSelectDelegate(Select) ?? throw new System.ArgumentException("Invalid value for -Select parameter.", nameof(this.Select)); if (this.PassThru.IsPresent) { throw new System.ArgumentException("-PassThru cannot be used when -Select is specified.", nameof(this.Select)); } } else if (this.PassThru.IsPresent) { context.Select = (response, cmdlet) => this.DomainName; } #pragma warning restore CS0618, CS0612 //A class member was marked with the Obsolete attribute context.DeadLetterQueueUrl = this.DeadLetterQueueUrl; context.DefaultEncryptionKey = this.DefaultEncryptionKey; context.DefaultExpirationDay = this.DefaultExpirationDay; #if MODULAR if (this.DefaultExpirationDay == null && ParameterWasBound(nameof(this.DefaultExpirationDay))) { WriteWarning("You are passing $null as a value for parameter DefaultExpirationDay which is marked as required. In case you believe this parameter was incorrectly marked as required, report this by opening an issue at https://github.com/aws/aws-tools-for-powershell/issues."); } #endif context.DomainName = this.DomainName; #if MODULAR if (this.DomainName == null && ParameterWasBound(nameof(this.DomainName))) { WriteWarning("You are passing $null as a value for parameter DomainName which is marked as required. In case you believe this parameter was incorrectly marked as required, report this by opening an issue at https://github.com/aws/aws-tools-for-powershell/issues."); } #endif context.ConflictResolution_ConflictResolvingModel = this.ConflictResolution_ConflictResolvingModel; context.ConflictResolution_SourceName = this.ConflictResolution_SourceName; if (this.Consolidation_MatchingAttributesList != null) { context.Consolidation_MatchingAttributesList = new List>(); foreach (var innerList in this.Consolidation_MatchingAttributesList) { context.Consolidation_MatchingAttributesList.Add(new List(innerList)); } } context.AutoMerging_Enabled = this.AutoMerging_Enabled; context.AutoMerging_MinAllowedConfidenceScoreForMerging = this.AutoMerging_MinAllowedConfidenceScoreForMerging; context.Matching_Enabled = this.Matching_Enabled; context.S3Exporting_S3BucketName = this.S3Exporting_S3BucketName; context.S3Exporting_S3KeyName = this.S3Exporting_S3KeyName; context.JobSchedule_DayOfTheWeek = this.JobSchedule_DayOfTheWeek; context.JobSchedule_Time = this.JobSchedule_Time; if (this.AttributeTypesSelector_Address != null) { context.AttributeTypesSelector_Address = new List(this.AttributeTypesSelector_Address); } context.AttributeTypesSelector_AttributeMatchingModel = this.AttributeTypesSelector_AttributeMatchingModel; if (this.AttributeTypesSelector_EmailAddress != null) { context.AttributeTypesSelector_EmailAddress = new List(this.AttributeTypesSelector_EmailAddress); } if (this.AttributeTypesSelector_PhoneNumber != null) { context.AttributeTypesSelector_PhoneNumber = new List(this.AttributeTypesSelector_PhoneNumber); } context.RuleBasedMatching_ConflictResolution_ConflictResolvingModel = this.RuleBasedMatching_ConflictResolution_ConflictResolvingModel; context.RuleBasedMatching_ConflictResolution_SourceName = this.RuleBasedMatching_ConflictResolution_SourceName; context.RuleBasedMatching_Enabled = this.RuleBasedMatching_Enabled; context.RuleBasedMatching_ExportingConfig_S3Exporting_S3BucketName = this.RuleBasedMatching_ExportingConfig_S3Exporting_S3BucketName; context.RuleBasedMatching_ExportingConfig_S3Exporting_S3KeyName = this.RuleBasedMatching_ExportingConfig_S3Exporting_S3KeyName; if (this.RuleBasedMatching_MatchingRule != null) { context.RuleBasedMatching_MatchingRule = new List(this.RuleBasedMatching_MatchingRule); } context.RuleBasedMatching_MaxAllowedRuleLevelForMatching = this.RuleBasedMatching_MaxAllowedRuleLevelForMatching; context.RuleBasedMatching_MaxAllowedRuleLevelForMerging = this.RuleBasedMatching_MaxAllowedRuleLevelForMerging; if (this.Tag != null) { context.Tag = new Dictionary(StringComparer.Ordinal); foreach (var hashKey in this.Tag.Keys) { context.Tag.Add((String)hashKey, (String)(this.Tag[hashKey])); } } // allow further manipulation of loaded context prior to processing PostExecutionContextLoad(context); var output = Execute(context) as CmdletOutput; ProcessOutput(output); } #region IExecutor Members public object Execute(ExecutorContext context) { var cmdletContext = context as CmdletContext; // create request var request = new Amazon.CustomerProfiles.Model.CreateDomainRequest(); if (cmdletContext.DeadLetterQueueUrl != null) { request.DeadLetterQueueUrl = cmdletContext.DeadLetterQueueUrl; } if (cmdletContext.DefaultEncryptionKey != null) { request.DefaultEncryptionKey = cmdletContext.DefaultEncryptionKey; } if (cmdletContext.DefaultExpirationDay != null) { request.DefaultExpirationDays = cmdletContext.DefaultExpirationDay.Value; } if (cmdletContext.DomainName != null) { request.DomainName = cmdletContext.DomainName; } // populate Matching var requestMatchingIsNull = true; request.Matching = new Amazon.CustomerProfiles.Model.MatchingRequest(); System.Boolean? requestMatching_matching_Enabled = null; if (cmdletContext.Matching_Enabled != null) { requestMatching_matching_Enabled = cmdletContext.Matching_Enabled.Value; } if (requestMatching_matching_Enabled != null) { request.Matching.Enabled = requestMatching_matching_Enabled.Value; requestMatchingIsNull = false; } Amazon.CustomerProfiles.Model.ExportingConfig requestMatching_matching_ExportingConfig = null; // populate ExportingConfig var requestMatching_matching_ExportingConfigIsNull = true; requestMatching_matching_ExportingConfig = new Amazon.CustomerProfiles.Model.ExportingConfig(); Amazon.CustomerProfiles.Model.S3ExportingConfig requestMatching_matching_ExportingConfig_matching_ExportingConfig_S3Exporting = null; // populate S3Exporting var requestMatching_matching_ExportingConfig_matching_ExportingConfig_S3ExportingIsNull = true; requestMatching_matching_ExportingConfig_matching_ExportingConfig_S3Exporting = new Amazon.CustomerProfiles.Model.S3ExportingConfig(); System.String requestMatching_matching_ExportingConfig_matching_ExportingConfig_S3Exporting_s3Exporting_S3BucketName = null; if (cmdletContext.S3Exporting_S3BucketName != null) { requestMatching_matching_ExportingConfig_matching_ExportingConfig_S3Exporting_s3Exporting_S3BucketName = cmdletContext.S3Exporting_S3BucketName; } if (requestMatching_matching_ExportingConfig_matching_ExportingConfig_S3Exporting_s3Exporting_S3BucketName != null) { requestMatching_matching_ExportingConfig_matching_ExportingConfig_S3Exporting.S3BucketName = requestMatching_matching_ExportingConfig_matching_ExportingConfig_S3Exporting_s3Exporting_S3BucketName; requestMatching_matching_ExportingConfig_matching_ExportingConfig_S3ExportingIsNull = false; } System.String requestMatching_matching_ExportingConfig_matching_ExportingConfig_S3Exporting_s3Exporting_S3KeyName = null; if (cmdletContext.S3Exporting_S3KeyName != null) { requestMatching_matching_ExportingConfig_matching_ExportingConfig_S3Exporting_s3Exporting_S3KeyName = cmdletContext.S3Exporting_S3KeyName; } if (requestMatching_matching_ExportingConfig_matching_ExportingConfig_S3Exporting_s3Exporting_S3KeyName != null) { requestMatching_matching_ExportingConfig_matching_ExportingConfig_S3Exporting.S3KeyName = requestMatching_matching_ExportingConfig_matching_ExportingConfig_S3Exporting_s3Exporting_S3KeyName; requestMatching_matching_ExportingConfig_matching_ExportingConfig_S3ExportingIsNull = false; } // determine if requestMatching_matching_ExportingConfig_matching_ExportingConfig_S3Exporting should be set to null if (requestMatching_matching_ExportingConfig_matching_ExportingConfig_S3ExportingIsNull) { requestMatching_matching_ExportingConfig_matching_ExportingConfig_S3Exporting = null; } if (requestMatching_matching_ExportingConfig_matching_ExportingConfig_S3Exporting != null) { requestMatching_matching_ExportingConfig.S3Exporting = requestMatching_matching_ExportingConfig_matching_ExportingConfig_S3Exporting; requestMatching_matching_ExportingConfigIsNull = false; } // determine if requestMatching_matching_ExportingConfig should be set to null if (requestMatching_matching_ExportingConfigIsNull) { requestMatching_matching_ExportingConfig = null; } if (requestMatching_matching_ExportingConfig != null) { request.Matching.ExportingConfig = requestMatching_matching_ExportingConfig; requestMatchingIsNull = false; } Amazon.CustomerProfiles.Model.JobSchedule requestMatching_matching_JobSchedule = null; // populate JobSchedule var requestMatching_matching_JobScheduleIsNull = true; requestMatching_matching_JobSchedule = new Amazon.CustomerProfiles.Model.JobSchedule(); Amazon.CustomerProfiles.JobScheduleDayOfTheWeek requestMatching_matching_JobSchedule_jobSchedule_DayOfTheWeek = null; if (cmdletContext.JobSchedule_DayOfTheWeek != null) { requestMatching_matching_JobSchedule_jobSchedule_DayOfTheWeek = cmdletContext.JobSchedule_DayOfTheWeek; } if (requestMatching_matching_JobSchedule_jobSchedule_DayOfTheWeek != null) { requestMatching_matching_JobSchedule.DayOfTheWeek = requestMatching_matching_JobSchedule_jobSchedule_DayOfTheWeek; requestMatching_matching_JobScheduleIsNull = false; } System.String requestMatching_matching_JobSchedule_jobSchedule_Time = null; if (cmdletContext.JobSchedule_Time != null) { requestMatching_matching_JobSchedule_jobSchedule_Time = cmdletContext.JobSchedule_Time; } if (requestMatching_matching_JobSchedule_jobSchedule_Time != null) { requestMatching_matching_JobSchedule.Time = requestMatching_matching_JobSchedule_jobSchedule_Time; requestMatching_matching_JobScheduleIsNull = false; } // determine if requestMatching_matching_JobSchedule should be set to null if (requestMatching_matching_JobScheduleIsNull) { requestMatching_matching_JobSchedule = null; } if (requestMatching_matching_JobSchedule != null) { request.Matching.JobSchedule = requestMatching_matching_JobSchedule; requestMatchingIsNull = false; } Amazon.CustomerProfiles.Model.AutoMerging requestMatching_matching_AutoMerging = null; // populate AutoMerging var requestMatching_matching_AutoMergingIsNull = true; requestMatching_matching_AutoMerging = new Amazon.CustomerProfiles.Model.AutoMerging(); System.Boolean? requestMatching_matching_AutoMerging_autoMerging_Enabled = null; if (cmdletContext.AutoMerging_Enabled != null) { requestMatching_matching_AutoMerging_autoMerging_Enabled = cmdletContext.AutoMerging_Enabled.Value; } if (requestMatching_matching_AutoMerging_autoMerging_Enabled != null) { requestMatching_matching_AutoMerging.Enabled = requestMatching_matching_AutoMerging_autoMerging_Enabled.Value; requestMatching_matching_AutoMergingIsNull = false; } System.Double? requestMatching_matching_AutoMerging_autoMerging_MinAllowedConfidenceScoreForMerging = null; if (cmdletContext.AutoMerging_MinAllowedConfidenceScoreForMerging != null) { requestMatching_matching_AutoMerging_autoMerging_MinAllowedConfidenceScoreForMerging = cmdletContext.AutoMerging_MinAllowedConfidenceScoreForMerging.Value; } if (requestMatching_matching_AutoMerging_autoMerging_MinAllowedConfidenceScoreForMerging != null) { requestMatching_matching_AutoMerging.MinAllowedConfidenceScoreForMerging = requestMatching_matching_AutoMerging_autoMerging_MinAllowedConfidenceScoreForMerging.Value; requestMatching_matching_AutoMergingIsNull = false; } Amazon.CustomerProfiles.Model.Consolidation requestMatching_matching_AutoMerging_matching_AutoMerging_Consolidation = null; // populate Consolidation var requestMatching_matching_AutoMerging_matching_AutoMerging_ConsolidationIsNull = true; requestMatching_matching_AutoMerging_matching_AutoMerging_Consolidation = new Amazon.CustomerProfiles.Model.Consolidation(); List> requestMatching_matching_AutoMerging_matching_AutoMerging_Consolidation_consolidation_MatchingAttributesList = null; if (cmdletContext.Consolidation_MatchingAttributesList != null) { requestMatching_matching_AutoMerging_matching_AutoMerging_Consolidation_consolidation_MatchingAttributesList = cmdletContext.Consolidation_MatchingAttributesList; } if (requestMatching_matching_AutoMerging_matching_AutoMerging_Consolidation_consolidation_MatchingAttributesList != null) { requestMatching_matching_AutoMerging_matching_AutoMerging_Consolidation.MatchingAttributesList = requestMatching_matching_AutoMerging_matching_AutoMerging_Consolidation_consolidation_MatchingAttributesList; requestMatching_matching_AutoMerging_matching_AutoMerging_ConsolidationIsNull = false; } // determine if requestMatching_matching_AutoMerging_matching_AutoMerging_Consolidation should be set to null if (requestMatching_matching_AutoMerging_matching_AutoMerging_ConsolidationIsNull) { requestMatching_matching_AutoMerging_matching_AutoMerging_Consolidation = null; } if (requestMatching_matching_AutoMerging_matching_AutoMerging_Consolidation != null) { requestMatching_matching_AutoMerging.Consolidation = requestMatching_matching_AutoMerging_matching_AutoMerging_Consolidation; requestMatching_matching_AutoMergingIsNull = false; } Amazon.CustomerProfiles.Model.ConflictResolution requestMatching_matching_AutoMerging_matching_AutoMerging_ConflictResolution = null; // populate ConflictResolution var requestMatching_matching_AutoMerging_matching_AutoMerging_ConflictResolutionIsNull = true; requestMatching_matching_AutoMerging_matching_AutoMerging_ConflictResolution = new Amazon.CustomerProfiles.Model.ConflictResolution(); Amazon.CustomerProfiles.ConflictResolvingModel requestMatching_matching_AutoMerging_matching_AutoMerging_ConflictResolution_conflictResolution_ConflictResolvingModel = null; if (cmdletContext.ConflictResolution_ConflictResolvingModel != null) { requestMatching_matching_AutoMerging_matching_AutoMerging_ConflictResolution_conflictResolution_ConflictResolvingModel = cmdletContext.ConflictResolution_ConflictResolvingModel; } if (requestMatching_matching_AutoMerging_matching_AutoMerging_ConflictResolution_conflictResolution_ConflictResolvingModel != null) { requestMatching_matching_AutoMerging_matching_AutoMerging_ConflictResolution.ConflictResolvingModel = requestMatching_matching_AutoMerging_matching_AutoMerging_ConflictResolution_conflictResolution_ConflictResolvingModel; requestMatching_matching_AutoMerging_matching_AutoMerging_ConflictResolutionIsNull = false; } System.String requestMatching_matching_AutoMerging_matching_AutoMerging_ConflictResolution_conflictResolution_SourceName = null; if (cmdletContext.ConflictResolution_SourceName != null) { requestMatching_matching_AutoMerging_matching_AutoMerging_ConflictResolution_conflictResolution_SourceName = cmdletContext.ConflictResolution_SourceName; } if (requestMatching_matching_AutoMerging_matching_AutoMerging_ConflictResolution_conflictResolution_SourceName != null) { requestMatching_matching_AutoMerging_matching_AutoMerging_ConflictResolution.SourceName = requestMatching_matching_AutoMerging_matching_AutoMerging_ConflictResolution_conflictResolution_SourceName; requestMatching_matching_AutoMerging_matching_AutoMerging_ConflictResolutionIsNull = false; } // determine if requestMatching_matching_AutoMerging_matching_AutoMerging_ConflictResolution should be set to null if (requestMatching_matching_AutoMerging_matching_AutoMerging_ConflictResolutionIsNull) { requestMatching_matching_AutoMerging_matching_AutoMerging_ConflictResolution = null; } if (requestMatching_matching_AutoMerging_matching_AutoMerging_ConflictResolution != null) { requestMatching_matching_AutoMerging.ConflictResolution = requestMatching_matching_AutoMerging_matching_AutoMerging_ConflictResolution; requestMatching_matching_AutoMergingIsNull = false; } // determine if requestMatching_matching_AutoMerging should be set to null if (requestMatching_matching_AutoMergingIsNull) { requestMatching_matching_AutoMerging = null; } if (requestMatching_matching_AutoMerging != null) { request.Matching.AutoMerging = requestMatching_matching_AutoMerging; requestMatchingIsNull = false; } // determine if request.Matching should be set to null if (requestMatchingIsNull) { request.Matching = null; } // populate RuleBasedMatching var requestRuleBasedMatchingIsNull = true; request.RuleBasedMatching = new Amazon.CustomerProfiles.Model.RuleBasedMatchingRequest(); System.Boolean? requestRuleBasedMatching_ruleBasedMatching_Enabled = null; if (cmdletContext.RuleBasedMatching_Enabled != null) { requestRuleBasedMatching_ruleBasedMatching_Enabled = cmdletContext.RuleBasedMatching_Enabled.Value; } if (requestRuleBasedMatching_ruleBasedMatching_Enabled != null) { request.RuleBasedMatching.Enabled = requestRuleBasedMatching_ruleBasedMatching_Enabled.Value; requestRuleBasedMatchingIsNull = false; } List requestRuleBasedMatching_ruleBasedMatching_MatchingRule = null; if (cmdletContext.RuleBasedMatching_MatchingRule != null) { requestRuleBasedMatching_ruleBasedMatching_MatchingRule = cmdletContext.RuleBasedMatching_MatchingRule; } if (requestRuleBasedMatching_ruleBasedMatching_MatchingRule != null) { request.RuleBasedMatching.MatchingRules = requestRuleBasedMatching_ruleBasedMatching_MatchingRule; requestRuleBasedMatchingIsNull = false; } System.Int32? requestRuleBasedMatching_ruleBasedMatching_MaxAllowedRuleLevelForMatching = null; if (cmdletContext.RuleBasedMatching_MaxAllowedRuleLevelForMatching != null) { requestRuleBasedMatching_ruleBasedMatching_MaxAllowedRuleLevelForMatching = cmdletContext.RuleBasedMatching_MaxAllowedRuleLevelForMatching.Value; } if (requestRuleBasedMatching_ruleBasedMatching_MaxAllowedRuleLevelForMatching != null) { request.RuleBasedMatching.MaxAllowedRuleLevelForMatching = requestRuleBasedMatching_ruleBasedMatching_MaxAllowedRuleLevelForMatching.Value; requestRuleBasedMatchingIsNull = false; } System.Int32? requestRuleBasedMatching_ruleBasedMatching_MaxAllowedRuleLevelForMerging = null; if (cmdletContext.RuleBasedMatching_MaxAllowedRuleLevelForMerging != null) { requestRuleBasedMatching_ruleBasedMatching_MaxAllowedRuleLevelForMerging = cmdletContext.RuleBasedMatching_MaxAllowedRuleLevelForMerging.Value; } if (requestRuleBasedMatching_ruleBasedMatching_MaxAllowedRuleLevelForMerging != null) { request.RuleBasedMatching.MaxAllowedRuleLevelForMerging = requestRuleBasedMatching_ruleBasedMatching_MaxAllowedRuleLevelForMerging.Value; requestRuleBasedMatchingIsNull = false; } Amazon.CustomerProfiles.Model.ExportingConfig requestRuleBasedMatching_ruleBasedMatching_ExportingConfig = null; // populate ExportingConfig var requestRuleBasedMatching_ruleBasedMatching_ExportingConfigIsNull = true; requestRuleBasedMatching_ruleBasedMatching_ExportingConfig = new Amazon.CustomerProfiles.Model.ExportingConfig(); Amazon.CustomerProfiles.Model.S3ExportingConfig requestRuleBasedMatching_ruleBasedMatching_ExportingConfig_ruleBasedMatching_ExportingConfig_S3Exporting = null; // populate S3Exporting var requestRuleBasedMatching_ruleBasedMatching_ExportingConfig_ruleBasedMatching_ExportingConfig_S3ExportingIsNull = true; requestRuleBasedMatching_ruleBasedMatching_ExportingConfig_ruleBasedMatching_ExportingConfig_S3Exporting = new Amazon.CustomerProfiles.Model.S3ExportingConfig(); System.String requestRuleBasedMatching_ruleBasedMatching_ExportingConfig_ruleBasedMatching_ExportingConfig_S3Exporting_ruleBasedMatching_ExportingConfig_S3Exporting_S3BucketName = null; if (cmdletContext.RuleBasedMatching_ExportingConfig_S3Exporting_S3BucketName != null) { requestRuleBasedMatching_ruleBasedMatching_ExportingConfig_ruleBasedMatching_ExportingConfig_S3Exporting_ruleBasedMatching_ExportingConfig_S3Exporting_S3BucketName = cmdletContext.RuleBasedMatching_ExportingConfig_S3Exporting_S3BucketName; } if (requestRuleBasedMatching_ruleBasedMatching_ExportingConfig_ruleBasedMatching_ExportingConfig_S3Exporting_ruleBasedMatching_ExportingConfig_S3Exporting_S3BucketName != null) { requestRuleBasedMatching_ruleBasedMatching_ExportingConfig_ruleBasedMatching_ExportingConfig_S3Exporting.S3BucketName = requestRuleBasedMatching_ruleBasedMatching_ExportingConfig_ruleBasedMatching_ExportingConfig_S3Exporting_ruleBasedMatching_ExportingConfig_S3Exporting_S3BucketName; requestRuleBasedMatching_ruleBasedMatching_ExportingConfig_ruleBasedMatching_ExportingConfig_S3ExportingIsNull = false; } System.String requestRuleBasedMatching_ruleBasedMatching_ExportingConfig_ruleBasedMatching_ExportingConfig_S3Exporting_ruleBasedMatching_ExportingConfig_S3Exporting_S3KeyName = null; if (cmdletContext.RuleBasedMatching_ExportingConfig_S3Exporting_S3KeyName != null) { requestRuleBasedMatching_ruleBasedMatching_ExportingConfig_ruleBasedMatching_ExportingConfig_S3Exporting_ruleBasedMatching_ExportingConfig_S3Exporting_S3KeyName = cmdletContext.RuleBasedMatching_ExportingConfig_S3Exporting_S3KeyName; } if (requestRuleBasedMatching_ruleBasedMatching_ExportingConfig_ruleBasedMatching_ExportingConfig_S3Exporting_ruleBasedMatching_ExportingConfig_S3Exporting_S3KeyName != null) { requestRuleBasedMatching_ruleBasedMatching_ExportingConfig_ruleBasedMatching_ExportingConfig_S3Exporting.S3KeyName = requestRuleBasedMatching_ruleBasedMatching_ExportingConfig_ruleBasedMatching_ExportingConfig_S3Exporting_ruleBasedMatching_ExportingConfig_S3Exporting_S3KeyName; requestRuleBasedMatching_ruleBasedMatching_ExportingConfig_ruleBasedMatching_ExportingConfig_S3ExportingIsNull = false; } // determine if requestRuleBasedMatching_ruleBasedMatching_ExportingConfig_ruleBasedMatching_ExportingConfig_S3Exporting should be set to null if (requestRuleBasedMatching_ruleBasedMatching_ExportingConfig_ruleBasedMatching_ExportingConfig_S3ExportingIsNull) { requestRuleBasedMatching_ruleBasedMatching_ExportingConfig_ruleBasedMatching_ExportingConfig_S3Exporting = null; } if (requestRuleBasedMatching_ruleBasedMatching_ExportingConfig_ruleBasedMatching_ExportingConfig_S3Exporting != null) { requestRuleBasedMatching_ruleBasedMatching_ExportingConfig.S3Exporting = requestRuleBasedMatching_ruleBasedMatching_ExportingConfig_ruleBasedMatching_ExportingConfig_S3Exporting; requestRuleBasedMatching_ruleBasedMatching_ExportingConfigIsNull = false; } // determine if requestRuleBasedMatching_ruleBasedMatching_ExportingConfig should be set to null if (requestRuleBasedMatching_ruleBasedMatching_ExportingConfigIsNull) { requestRuleBasedMatching_ruleBasedMatching_ExportingConfig = null; } if (requestRuleBasedMatching_ruleBasedMatching_ExportingConfig != null) { request.RuleBasedMatching.ExportingConfig = requestRuleBasedMatching_ruleBasedMatching_ExportingConfig; requestRuleBasedMatchingIsNull = false; } Amazon.CustomerProfiles.Model.ConflictResolution requestRuleBasedMatching_ruleBasedMatching_ConflictResolution = null; // populate ConflictResolution var requestRuleBasedMatching_ruleBasedMatching_ConflictResolutionIsNull = true; requestRuleBasedMatching_ruleBasedMatching_ConflictResolution = new Amazon.CustomerProfiles.Model.ConflictResolution(); Amazon.CustomerProfiles.ConflictResolvingModel requestRuleBasedMatching_ruleBasedMatching_ConflictResolution_ruleBasedMatching_ConflictResolution_ConflictResolvingModel = null; if (cmdletContext.RuleBasedMatching_ConflictResolution_ConflictResolvingModel != null) { requestRuleBasedMatching_ruleBasedMatching_ConflictResolution_ruleBasedMatching_ConflictResolution_ConflictResolvingModel = cmdletContext.RuleBasedMatching_ConflictResolution_ConflictResolvingModel; } if (requestRuleBasedMatching_ruleBasedMatching_ConflictResolution_ruleBasedMatching_ConflictResolution_ConflictResolvingModel != null) { requestRuleBasedMatching_ruleBasedMatching_ConflictResolution.ConflictResolvingModel = requestRuleBasedMatching_ruleBasedMatching_ConflictResolution_ruleBasedMatching_ConflictResolution_ConflictResolvingModel; requestRuleBasedMatching_ruleBasedMatching_ConflictResolutionIsNull = false; } System.String requestRuleBasedMatching_ruleBasedMatching_ConflictResolution_ruleBasedMatching_ConflictResolution_SourceName = null; if (cmdletContext.RuleBasedMatching_ConflictResolution_SourceName != null) { requestRuleBasedMatching_ruleBasedMatching_ConflictResolution_ruleBasedMatching_ConflictResolution_SourceName = cmdletContext.RuleBasedMatching_ConflictResolution_SourceName; } if (requestRuleBasedMatching_ruleBasedMatching_ConflictResolution_ruleBasedMatching_ConflictResolution_SourceName != null) { requestRuleBasedMatching_ruleBasedMatching_ConflictResolution.SourceName = requestRuleBasedMatching_ruleBasedMatching_ConflictResolution_ruleBasedMatching_ConflictResolution_SourceName; requestRuleBasedMatching_ruleBasedMatching_ConflictResolutionIsNull = false; } // determine if requestRuleBasedMatching_ruleBasedMatching_ConflictResolution should be set to null if (requestRuleBasedMatching_ruleBasedMatching_ConflictResolutionIsNull) { requestRuleBasedMatching_ruleBasedMatching_ConflictResolution = null; } if (requestRuleBasedMatching_ruleBasedMatching_ConflictResolution != null) { request.RuleBasedMatching.ConflictResolution = requestRuleBasedMatching_ruleBasedMatching_ConflictResolution; requestRuleBasedMatchingIsNull = false; } Amazon.CustomerProfiles.Model.AttributeTypesSelector requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector = null; // populate AttributeTypesSelector var requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelectorIsNull = true; requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector = new Amazon.CustomerProfiles.Model.AttributeTypesSelector(); List requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector_attributeTypesSelector_Address = null; if (cmdletContext.AttributeTypesSelector_Address != null) { requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector_attributeTypesSelector_Address = cmdletContext.AttributeTypesSelector_Address; } if (requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector_attributeTypesSelector_Address != null) { requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector.Address = requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector_attributeTypesSelector_Address; requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelectorIsNull = false; } Amazon.CustomerProfiles.AttributeMatchingModel requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector_attributeTypesSelector_AttributeMatchingModel = null; if (cmdletContext.AttributeTypesSelector_AttributeMatchingModel != null) { requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector_attributeTypesSelector_AttributeMatchingModel = cmdletContext.AttributeTypesSelector_AttributeMatchingModel; } if (requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector_attributeTypesSelector_AttributeMatchingModel != null) { requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector.AttributeMatchingModel = requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector_attributeTypesSelector_AttributeMatchingModel; requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelectorIsNull = false; } List requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector_attributeTypesSelector_EmailAddress = null; if (cmdletContext.AttributeTypesSelector_EmailAddress != null) { requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector_attributeTypesSelector_EmailAddress = cmdletContext.AttributeTypesSelector_EmailAddress; } if (requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector_attributeTypesSelector_EmailAddress != null) { requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector.EmailAddress = requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector_attributeTypesSelector_EmailAddress; requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelectorIsNull = false; } List requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector_attributeTypesSelector_PhoneNumber = null; if (cmdletContext.AttributeTypesSelector_PhoneNumber != null) { requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector_attributeTypesSelector_PhoneNumber = cmdletContext.AttributeTypesSelector_PhoneNumber; } if (requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector_attributeTypesSelector_PhoneNumber != null) { requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector.PhoneNumber = requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector_attributeTypesSelector_PhoneNumber; requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelectorIsNull = false; } // determine if requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector should be set to null if (requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelectorIsNull) { requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector = null; } if (requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector != null) { request.RuleBasedMatching.AttributeTypesSelector = requestRuleBasedMatching_ruleBasedMatching_AttributeTypesSelector; requestRuleBasedMatchingIsNull = false; } // determine if request.RuleBasedMatching should be set to null if (requestRuleBasedMatchingIsNull) { request.RuleBasedMatching = null; } if (cmdletContext.Tag != null) { request.Tags = cmdletContext.Tag; } CmdletOutput output; // issue call var client = Client ?? CreateClient(_CurrentCredentials, _RegionEndpoint); try { var response = CallAWSServiceOperation(client, request); object pipelineOutput = null; pipelineOutput = cmdletContext.Select(response, this); output = new CmdletOutput { PipelineOutput = pipelineOutput, ServiceResponse = response }; } catch (Exception e) { output = new CmdletOutput { ErrorResponse = e }; } return output; } public ExecutorContext CreateContext() { return new CmdletContext(); } #endregion #region AWS Service Operation Call private Amazon.CustomerProfiles.Model.CreateDomainResponse CallAWSServiceOperation(IAmazonCustomerProfiles client, Amazon.CustomerProfiles.Model.CreateDomainRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Connect Customer Profiles", "CreateDomain"); try { #if DESKTOP return client.CreateDomain(request); #elif CORECLR return client.CreateDomainAsync(request).GetAwaiter().GetResult(); #else #error "Unknown build edition" #endif } catch (AmazonServiceException exc) { var webException = exc.InnerException as System.Net.WebException; if (webException != null) { throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException); } throw; } } #endregion internal partial class CmdletContext : ExecutorContext { public System.String DeadLetterQueueUrl { get; set; } public System.String DefaultEncryptionKey { get; set; } public System.Int32? DefaultExpirationDay { get; set; } public System.String DomainName { get; set; } public Amazon.CustomerProfiles.ConflictResolvingModel ConflictResolution_ConflictResolvingModel { get; set; } public System.String ConflictResolution_SourceName { get; set; } public List> Consolidation_MatchingAttributesList { get; set; } public System.Boolean? AutoMerging_Enabled { get; set; } public System.Double? AutoMerging_MinAllowedConfidenceScoreForMerging { get; set; } public System.Boolean? Matching_Enabled { get; set; } public System.String S3Exporting_S3BucketName { get; set; } public System.String S3Exporting_S3KeyName { get; set; } public Amazon.CustomerProfiles.JobScheduleDayOfTheWeek JobSchedule_DayOfTheWeek { get; set; } public System.String JobSchedule_Time { get; set; } public List AttributeTypesSelector_Address { get; set; } public Amazon.CustomerProfiles.AttributeMatchingModel AttributeTypesSelector_AttributeMatchingModel { get; set; } public List AttributeTypesSelector_EmailAddress { get; set; } public List AttributeTypesSelector_PhoneNumber { get; set; } public Amazon.CustomerProfiles.ConflictResolvingModel RuleBasedMatching_ConflictResolution_ConflictResolvingModel { get; set; } public System.String RuleBasedMatching_ConflictResolution_SourceName { get; set; } public System.Boolean? RuleBasedMatching_Enabled { get; set; } public System.String RuleBasedMatching_ExportingConfig_S3Exporting_S3BucketName { get; set; } public System.String RuleBasedMatching_ExportingConfig_S3Exporting_S3KeyName { get; set; } public List RuleBasedMatching_MatchingRule { get; set; } public System.Int32? RuleBasedMatching_MaxAllowedRuleLevelForMatching { get; set; } public System.Int32? RuleBasedMatching_MaxAllowedRuleLevelForMerging { get; set; } public Dictionary Tag { get; set; } public System.Func Select { get; set; } = (response, cmdlet) => response; } } }