Example #1
0
 private Amazon.LexModelsV2.Model.StartBotRecommendationResponse CallAWSServiceOperation(IAmazonLexModelsV2 client, Amazon.LexModelsV2.Model.StartBotRecommendationRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Lex Model Building V2", "StartBotRecommendation");
     try
     {
         #if DESKTOP
         return(client.StartBotRecommendation(request));
         #elif CORECLR
         return(client.StartBotRecommendationAsync(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;
     }
 }
Example #2
0
        public object Execute(ExecutorContext context)
        {
            var cmdletContext = context as CmdletContext;
            // create request
            var request = new Amazon.LexModelsV2.Model.StartBotRecommendationRequest();

            if (cmdletContext.BotId != null)
            {
                request.BotId = cmdletContext.BotId;
            }
            if (cmdletContext.BotVersion != null)
            {
                request.BotVersion = cmdletContext.BotVersion;
            }

            // populate EncryptionSetting
            var requestEncryptionSettingIsNull = true;

            request.EncryptionSetting = new Amazon.LexModelsV2.Model.EncryptionSetting();
            System.String requestEncryptionSetting_encryptionSetting_AssociatedTranscriptsPassword = null;
            if (cmdletContext.EncryptionSetting_AssociatedTranscriptsPassword != null)
            {
                requestEncryptionSetting_encryptionSetting_AssociatedTranscriptsPassword = cmdletContext.EncryptionSetting_AssociatedTranscriptsPassword;
            }
            if (requestEncryptionSetting_encryptionSetting_AssociatedTranscriptsPassword != null)
            {
                request.EncryptionSetting.AssociatedTranscriptsPassword = requestEncryptionSetting_encryptionSetting_AssociatedTranscriptsPassword;
                requestEncryptionSettingIsNull = false;
            }
            System.String requestEncryptionSetting_encryptionSetting_BotLocaleExportPassword = null;
            if (cmdletContext.EncryptionSetting_BotLocaleExportPassword != null)
            {
                requestEncryptionSetting_encryptionSetting_BotLocaleExportPassword = cmdletContext.EncryptionSetting_BotLocaleExportPassword;
            }
            if (requestEncryptionSetting_encryptionSetting_BotLocaleExportPassword != null)
            {
                request.EncryptionSetting.BotLocaleExportPassword = requestEncryptionSetting_encryptionSetting_BotLocaleExportPassword;
                requestEncryptionSettingIsNull = false;
            }
            System.String requestEncryptionSetting_encryptionSetting_KmsKeyArn = null;
            if (cmdletContext.EncryptionSetting_KmsKeyArn != null)
            {
                requestEncryptionSetting_encryptionSetting_KmsKeyArn = cmdletContext.EncryptionSetting_KmsKeyArn;
            }
            if (requestEncryptionSetting_encryptionSetting_KmsKeyArn != null)
            {
                request.EncryptionSetting.KmsKeyArn = requestEncryptionSetting_encryptionSetting_KmsKeyArn;
                requestEncryptionSettingIsNull      = false;
            }
            // determine if request.EncryptionSetting should be set to null
            if (requestEncryptionSettingIsNull)
            {
                request.EncryptionSetting = null;
            }
            if (cmdletContext.LocaleId != null)
            {
                request.LocaleId = cmdletContext.LocaleId;
            }

            // populate TranscriptSourceSetting
            var requestTranscriptSourceSettingIsNull = true;

            request.TranscriptSourceSetting = new Amazon.LexModelsV2.Model.TranscriptSourceSetting();
            Amazon.LexModelsV2.Model.S3BucketTranscriptSource requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource = null;

            // populate S3BucketTranscriptSource
            var requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSourceIsNull = true;

            requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource = new Amazon.LexModelsV2.Model.S3BucketTranscriptSource();
            System.String requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_s3BucketTranscriptSource_KmsKeyArn = null;
            if (cmdletContext.S3BucketTranscriptSource_KmsKeyArn != null)
            {
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_s3BucketTranscriptSource_KmsKeyArn = cmdletContext.S3BucketTranscriptSource_KmsKeyArn;
            }
            if (requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_s3BucketTranscriptSource_KmsKeyArn != null)
            {
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource.KmsKeyArn = requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_s3BucketTranscriptSource_KmsKeyArn;
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSourceIsNull     = false;
            }
            System.String requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_s3BucketTranscriptSource_S3BucketName = null;
            if (cmdletContext.S3BucketTranscriptSource_S3BucketName != null)
            {
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_s3BucketTranscriptSource_S3BucketName = cmdletContext.S3BucketTranscriptSource_S3BucketName;
            }
            if (requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_s3BucketTranscriptSource_S3BucketName != null)
            {
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource.S3BucketName = requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_s3BucketTranscriptSource_S3BucketName;
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSourceIsNull        = false;
            }
            Amazon.LexModelsV2.TranscriptFormat requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_s3BucketTranscriptSource_TranscriptFormat = null;
            if (cmdletContext.S3BucketTranscriptSource_TranscriptFormat != null)
            {
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_s3BucketTranscriptSource_TranscriptFormat = cmdletContext.S3BucketTranscriptSource_TranscriptFormat;
            }
            if (requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_s3BucketTranscriptSource_TranscriptFormat != null)
            {
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource.TranscriptFormat = requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_s3BucketTranscriptSource_TranscriptFormat;
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSourceIsNull            = false;
            }
            Amazon.LexModelsV2.Model.PathFormat requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_PathFormat = null;

            // populate PathFormat
            var requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_PathFormatIsNull = true;

            requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_PathFormat = new Amazon.LexModelsV2.Model.PathFormat();
            List <System.String> requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_PathFormat_pathFormat_ObjectPrefix = null;

            if (cmdletContext.PathFormat_ObjectPrefix != null)
            {
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_PathFormat_pathFormat_ObjectPrefix = cmdletContext.PathFormat_ObjectPrefix;
            }
            if (requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_PathFormat_pathFormat_ObjectPrefix != null)
            {
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_PathFormat.ObjectPrefixes = requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_PathFormat_pathFormat_ObjectPrefix;
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_PathFormatIsNull          = false;
            }
            // determine if requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_PathFormat should be set to null
            if (requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_PathFormatIsNull)
            {
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_PathFormat = null;
            }
            if (requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_PathFormat != null)
            {
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource.PathFormat = requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_PathFormat;
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSourceIsNull      = false;
            }
            Amazon.LexModelsV2.Model.TranscriptFilter requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter = null;

            // populate TranscriptFilter
            var requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilterIsNull = true;

            requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter = new Amazon.LexModelsV2.Model.TranscriptFilter();
            Amazon.LexModelsV2.Model.LexTranscriptFilter requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter = null;

            // populate LexTranscriptFilter
            var requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilterIsNull = true;

            requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter = new Amazon.LexModelsV2.Model.LexTranscriptFilter();
            Amazon.LexModelsV2.Model.DateRangeFilter requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_DateRangeFilter = null;

            // populate DateRangeFilter
            var requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_DateRangeFilterIsNull = true;

            requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_DateRangeFilter = new Amazon.LexModelsV2.Model.DateRangeFilter();
            System.DateTime?requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_DateRangeFilter_dateRangeFilter_EndDateTime = null;
            if (cmdletContext.DateRangeFilter_EndDateTime != null)
            {
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_DateRangeFilter_dateRangeFilter_EndDateTime = cmdletContext.DateRangeFilter_EndDateTime.Value;
            }
            if (requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_DateRangeFilter_dateRangeFilter_EndDateTime != null)
            {
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_DateRangeFilter.EndDateTime = requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_DateRangeFilter_dateRangeFilter_EndDateTime.Value;
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_DateRangeFilterIsNull       = false;
            }
            System.DateTime?requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_DateRangeFilter_dateRangeFilter_StartDateTime = null;
            if (cmdletContext.DateRangeFilter_StartDateTime != null)
            {
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_DateRangeFilter_dateRangeFilter_StartDateTime = cmdletContext.DateRangeFilter_StartDateTime.Value;
            }
            if (requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_DateRangeFilter_dateRangeFilter_StartDateTime != null)
            {
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_DateRangeFilter.StartDateTime = requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_DateRangeFilter_dateRangeFilter_StartDateTime.Value;
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_DateRangeFilterIsNull         = false;
            }
            // determine if requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_DateRangeFilter should be set to null
            if (requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_DateRangeFilterIsNull)
            {
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_DateRangeFilter = null;
            }
            if (requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_DateRangeFilter != null)
            {
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter.DateRangeFilter = requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter_DateRangeFilter;
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilterIsNull           = false;
            }
            // determine if requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter should be set to null
            if (requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilterIsNull)
            {
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter = null;
            }
            if (requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter != null)
            {
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter.LexTranscriptFilter = requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter_LexTranscriptFilter;
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilterIsNull = false;
            }
            // determine if requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter should be set to null
            if (requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilterIsNull)
            {
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter = null;
            }
            if (requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter != null)
            {
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource.TranscriptFilter = requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource_transcriptSourceSetting_S3BucketTranscriptSource_TranscriptFilter;
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSourceIsNull            = false;
            }
            // determine if requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource should be set to null
            if (requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSourceIsNull)
            {
                requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource = null;
            }
            if (requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource != null)
            {
                request.TranscriptSourceSetting.S3BucketTranscriptSource = requestTranscriptSourceSetting_transcriptSourceSetting_S3BucketTranscriptSource;
                requestTranscriptSourceSettingIsNull = false;
            }
            // determine if request.TranscriptSourceSetting should be set to null
            if (requestTranscriptSourceSettingIsNull)
            {
                request.TranscriptSourceSetting = null;
            }

            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);
        }