Constants used for properties of type ActionCategory.
Inheritance: ConstantClass
Exemple #1
0
        public object Execute(ExecutorContext context)
        {
            var cmdletContext = context as CmdletContext;
            // create request
            var request = new Amazon.CodePipeline.Model.PollForThirdPartyJobsRequest();


            // populate ActionTypeId
            var requestActionTypeIdIsNull = true;

            request.ActionTypeId = new Amazon.CodePipeline.Model.ActionTypeId();
            Amazon.CodePipeline.ActionCategory requestActionTypeId_actionTypeId_Category = null;
            if (cmdletContext.ActionTypeId_Category != null)
            {
                requestActionTypeId_actionTypeId_Category = cmdletContext.ActionTypeId_Category;
            }
            if (requestActionTypeId_actionTypeId_Category != null)
            {
                request.ActionTypeId.Category = requestActionTypeId_actionTypeId_Category;
                requestActionTypeIdIsNull     = false;
            }
            Amazon.CodePipeline.ActionOwner requestActionTypeId_actionTypeId_Owner = null;
            if (cmdletContext.ActionTypeId_Owner != null)
            {
                requestActionTypeId_actionTypeId_Owner = cmdletContext.ActionTypeId_Owner;
            }
            if (requestActionTypeId_actionTypeId_Owner != null)
            {
                request.ActionTypeId.Owner = requestActionTypeId_actionTypeId_Owner;
                requestActionTypeIdIsNull  = false;
            }
            System.String requestActionTypeId_actionTypeId_Provider = null;
            if (cmdletContext.ActionTypeId_Provider != null)
            {
                requestActionTypeId_actionTypeId_Provider = cmdletContext.ActionTypeId_Provider;
            }
            if (requestActionTypeId_actionTypeId_Provider != null)
            {
                request.ActionTypeId.Provider = requestActionTypeId_actionTypeId_Provider;
                requestActionTypeIdIsNull     = false;
            }
            System.String requestActionTypeId_actionTypeId_Version = null;
            if (cmdletContext.ActionTypeId_Version != null)
            {
                requestActionTypeId_actionTypeId_Version = cmdletContext.ActionTypeId_Version;
            }
            if (requestActionTypeId_actionTypeId_Version != null)
            {
                request.ActionTypeId.Version = requestActionTypeId_actionTypeId_Version;
                requestActionTypeIdIsNull    = false;
            }
            // determine if request.ActionTypeId should be set to null
            if (requestActionTypeIdIsNull)
            {
                request.ActionTypeId = null;
            }
            if (cmdletContext.MaxBatchSize != null)
            {
                request.MaxBatchSize = cmdletContext.MaxBatchSize.Value;
            }

            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 object Execute(ExecutorContext context)
        {
            var cmdletContext = context as CmdletContext;
            // create request
            var request = new Amazon.CodePipeline.Model.UpdateActionTypeRequest();


            // populate ActionType
            var requestActionTypeIsNull = true;

            request.ActionType = new Amazon.CodePipeline.Model.ActionTypeDeclaration();
            System.String requestActionType_actionType_Description = null;
            if (cmdletContext.ActionType_Description != null)
            {
                requestActionType_actionType_Description = cmdletContext.ActionType_Description;
            }
            if (requestActionType_actionType_Description != null)
            {
                request.ActionType.Description = requestActionType_actionType_Description;
                requestActionTypeIsNull        = false;
            }
            List <Amazon.CodePipeline.Model.ActionTypeProperty> requestActionType_actionType_Property = null;

            if (cmdletContext.ActionType_Property != null)
            {
                requestActionType_actionType_Property = cmdletContext.ActionType_Property;
            }
            if (requestActionType_actionType_Property != null)
            {
                request.ActionType.Properties = requestActionType_actionType_Property;
                requestActionTypeIsNull       = false;
            }
            Amazon.CodePipeline.Model.ActionTypePermissions requestActionType_actionType_Permissions = null;

            // populate Permissions
            var requestActionType_actionType_PermissionsIsNull = true;

            requestActionType_actionType_Permissions = new Amazon.CodePipeline.Model.ActionTypePermissions();
            List <System.String> requestActionType_actionType_Permissions_permissions_AllowedAccount = null;

            if (cmdletContext.Permissions_AllowedAccount != null)
            {
                requestActionType_actionType_Permissions_permissions_AllowedAccount = cmdletContext.Permissions_AllowedAccount;
            }
            if (requestActionType_actionType_Permissions_permissions_AllowedAccount != null)
            {
                requestActionType_actionType_Permissions.AllowedAccounts = requestActionType_actionType_Permissions_permissions_AllowedAccount;
                requestActionType_actionType_PermissionsIsNull           = false;
            }
            // determine if requestActionType_actionType_Permissions should be set to null
            if (requestActionType_actionType_PermissionsIsNull)
            {
                requestActionType_actionType_Permissions = null;
            }
            if (requestActionType_actionType_Permissions != null)
            {
                request.ActionType.Permissions = requestActionType_actionType_Permissions;
                requestActionTypeIsNull        = false;
            }
            Amazon.CodePipeline.Model.ActionTypeArtifactDetails requestActionType_actionType_InputArtifactDetails = null;

            // populate InputArtifactDetails
            var requestActionType_actionType_InputArtifactDetailsIsNull = true;

            requestActionType_actionType_InputArtifactDetails = new Amazon.CodePipeline.Model.ActionTypeArtifactDetails();
            System.Int32?requestActionType_actionType_InputArtifactDetails_inputArtifactDetails_MaximumCount = null;
            if (cmdletContext.InputArtifactDetails_MaximumCount != null)
            {
                requestActionType_actionType_InputArtifactDetails_inputArtifactDetails_MaximumCount = cmdletContext.InputArtifactDetails_MaximumCount.Value;
            }
            if (requestActionType_actionType_InputArtifactDetails_inputArtifactDetails_MaximumCount != null)
            {
                requestActionType_actionType_InputArtifactDetails.MaximumCount = requestActionType_actionType_InputArtifactDetails_inputArtifactDetails_MaximumCount.Value;
                requestActionType_actionType_InputArtifactDetailsIsNull        = false;
            }
            System.Int32?requestActionType_actionType_InputArtifactDetails_inputArtifactDetails_MinimumCount = null;
            if (cmdletContext.InputArtifactDetails_MinimumCount != null)
            {
                requestActionType_actionType_InputArtifactDetails_inputArtifactDetails_MinimumCount = cmdletContext.InputArtifactDetails_MinimumCount.Value;
            }
            if (requestActionType_actionType_InputArtifactDetails_inputArtifactDetails_MinimumCount != null)
            {
                requestActionType_actionType_InputArtifactDetails.MinimumCount = requestActionType_actionType_InputArtifactDetails_inputArtifactDetails_MinimumCount.Value;
                requestActionType_actionType_InputArtifactDetailsIsNull        = false;
            }
            // determine if requestActionType_actionType_InputArtifactDetails should be set to null
            if (requestActionType_actionType_InputArtifactDetailsIsNull)
            {
                requestActionType_actionType_InputArtifactDetails = null;
            }
            if (requestActionType_actionType_InputArtifactDetails != null)
            {
                request.ActionType.InputArtifactDetails = requestActionType_actionType_InputArtifactDetails;
                requestActionTypeIsNull = false;
            }
            Amazon.CodePipeline.Model.ActionTypeArtifactDetails requestActionType_actionType_OutputArtifactDetails = null;

            // populate OutputArtifactDetails
            var requestActionType_actionType_OutputArtifactDetailsIsNull = true;

            requestActionType_actionType_OutputArtifactDetails = new Amazon.CodePipeline.Model.ActionTypeArtifactDetails();
            System.Int32?requestActionType_actionType_OutputArtifactDetails_outputArtifactDetails_MaximumCount = null;
            if (cmdletContext.OutputArtifactDetails_MaximumCount != null)
            {
                requestActionType_actionType_OutputArtifactDetails_outputArtifactDetails_MaximumCount = cmdletContext.OutputArtifactDetails_MaximumCount.Value;
            }
            if (requestActionType_actionType_OutputArtifactDetails_outputArtifactDetails_MaximumCount != null)
            {
                requestActionType_actionType_OutputArtifactDetails.MaximumCount = requestActionType_actionType_OutputArtifactDetails_outputArtifactDetails_MaximumCount.Value;
                requestActionType_actionType_OutputArtifactDetailsIsNull        = false;
            }
            System.Int32?requestActionType_actionType_OutputArtifactDetails_outputArtifactDetails_MinimumCount = null;
            if (cmdletContext.OutputArtifactDetails_MinimumCount != null)
            {
                requestActionType_actionType_OutputArtifactDetails_outputArtifactDetails_MinimumCount = cmdletContext.OutputArtifactDetails_MinimumCount.Value;
            }
            if (requestActionType_actionType_OutputArtifactDetails_outputArtifactDetails_MinimumCount != null)
            {
                requestActionType_actionType_OutputArtifactDetails.MinimumCount = requestActionType_actionType_OutputArtifactDetails_outputArtifactDetails_MinimumCount.Value;
                requestActionType_actionType_OutputArtifactDetailsIsNull        = false;
            }
            // determine if requestActionType_actionType_OutputArtifactDetails should be set to null
            if (requestActionType_actionType_OutputArtifactDetailsIsNull)
            {
                requestActionType_actionType_OutputArtifactDetails = null;
            }
            if (requestActionType_actionType_OutputArtifactDetails != null)
            {
                request.ActionType.OutputArtifactDetails = requestActionType_actionType_OutputArtifactDetails;
                requestActionTypeIsNull = false;
            }
            Amazon.CodePipeline.Model.ActionTypeExecutor requestActionType_actionType_Executor = null;

            // populate Executor
            var requestActionType_actionType_ExecutorIsNull = true;

            requestActionType_actionType_Executor = new Amazon.CodePipeline.Model.ActionTypeExecutor();
            System.Int32?requestActionType_actionType_Executor_executor_JobTimeout = null;
            if (cmdletContext.Executor_JobTimeout != null)
            {
                requestActionType_actionType_Executor_executor_JobTimeout = cmdletContext.Executor_JobTimeout.Value;
            }
            if (requestActionType_actionType_Executor_executor_JobTimeout != null)
            {
                requestActionType_actionType_Executor.JobTimeout = requestActionType_actionType_Executor_executor_JobTimeout.Value;
                requestActionType_actionType_ExecutorIsNull      = false;
            }
            System.String requestActionType_actionType_Executor_executor_PolicyStatementsTemplate = null;
            if (cmdletContext.Executor_PolicyStatementsTemplate != null)
            {
                requestActionType_actionType_Executor_executor_PolicyStatementsTemplate = cmdletContext.Executor_PolicyStatementsTemplate;
            }
            if (requestActionType_actionType_Executor_executor_PolicyStatementsTemplate != null)
            {
                requestActionType_actionType_Executor.PolicyStatementsTemplate = requestActionType_actionType_Executor_executor_PolicyStatementsTemplate;
                requestActionType_actionType_ExecutorIsNull = false;
            }
            Amazon.CodePipeline.ExecutorType requestActionType_actionType_Executor_executor_Type = null;
            if (cmdletContext.Executor_Type != null)
            {
                requestActionType_actionType_Executor_executor_Type = cmdletContext.Executor_Type;
            }
            if (requestActionType_actionType_Executor_executor_Type != null)
            {
                requestActionType_actionType_Executor.Type  = requestActionType_actionType_Executor_executor_Type;
                requestActionType_actionType_ExecutorIsNull = false;
            }
            Amazon.CodePipeline.Model.ExecutorConfiguration requestActionType_actionType_Executor_actionType_Executor_Configuration = null;

            // populate Configuration
            var requestActionType_actionType_Executor_actionType_Executor_ConfigurationIsNull = true;

            requestActionType_actionType_Executor_actionType_Executor_Configuration = new Amazon.CodePipeline.Model.ExecutorConfiguration();
            Amazon.CodePipeline.Model.LambdaExecutorConfiguration requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_LambdaExecutorConfiguration = null;

            // populate LambdaExecutorConfiguration
            var requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_LambdaExecutorConfigurationIsNull = true;

            requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_LambdaExecutorConfiguration = new Amazon.CodePipeline.Model.LambdaExecutorConfiguration();
            System.String requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_LambdaExecutorConfiguration_lambdaExecutorConfiguration_LambdaFunctionArn = null;
            if (cmdletContext.LambdaExecutorConfiguration_LambdaFunctionArn != null)
            {
                requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_LambdaExecutorConfiguration_lambdaExecutorConfiguration_LambdaFunctionArn = cmdletContext.LambdaExecutorConfiguration_LambdaFunctionArn;
            }
            if (requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_LambdaExecutorConfiguration_lambdaExecutorConfiguration_LambdaFunctionArn != null)
            {
                requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_LambdaExecutorConfiguration.LambdaFunctionArn = requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_LambdaExecutorConfiguration_lambdaExecutorConfiguration_LambdaFunctionArn;
                requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_LambdaExecutorConfigurationIsNull             = false;
            }
            // determine if requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_LambdaExecutorConfiguration should be set to null
            if (requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_LambdaExecutorConfigurationIsNull)
            {
                requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_LambdaExecutorConfiguration = null;
            }
            if (requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_LambdaExecutorConfiguration != null)
            {
                requestActionType_actionType_Executor_actionType_Executor_Configuration.LambdaExecutorConfiguration = requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_LambdaExecutorConfiguration;
                requestActionType_actionType_Executor_actionType_Executor_ConfigurationIsNull = false;
            }
            Amazon.CodePipeline.Model.JobWorkerExecutorConfiguration requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_JobWorkerExecutorConfiguration = null;

            // populate JobWorkerExecutorConfiguration
            var requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_JobWorkerExecutorConfigurationIsNull = true;

            requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_JobWorkerExecutorConfiguration = new Amazon.CodePipeline.Model.JobWorkerExecutorConfiguration();
            List <System.String> requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_JobWorkerExecutorConfiguration_jobWorkerExecutorConfiguration_PollingAccount = null;

            if (cmdletContext.JobWorkerExecutorConfiguration_PollingAccount != null)
            {
                requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_JobWorkerExecutorConfiguration_jobWorkerExecutorConfiguration_PollingAccount = cmdletContext.JobWorkerExecutorConfiguration_PollingAccount;
            }
            if (requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_JobWorkerExecutorConfiguration_jobWorkerExecutorConfiguration_PollingAccount != null)
            {
                requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_JobWorkerExecutorConfiguration.PollingAccounts = requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_JobWorkerExecutorConfiguration_jobWorkerExecutorConfiguration_PollingAccount;
                requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_JobWorkerExecutorConfigurationIsNull           = false;
            }
            List <System.String> requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_JobWorkerExecutorConfiguration_jobWorkerExecutorConfiguration_PollingServicePrincipal = null;

            if (cmdletContext.JobWorkerExecutorConfiguration_PollingServicePrincipal != null)
            {
                requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_JobWorkerExecutorConfiguration_jobWorkerExecutorConfiguration_PollingServicePrincipal = cmdletContext.JobWorkerExecutorConfiguration_PollingServicePrincipal;
            }
            if (requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_JobWorkerExecutorConfiguration_jobWorkerExecutorConfiguration_PollingServicePrincipal != null)
            {
                requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_JobWorkerExecutorConfiguration.PollingServicePrincipals = requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_JobWorkerExecutorConfiguration_jobWorkerExecutorConfiguration_PollingServicePrincipal;
                requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_JobWorkerExecutorConfigurationIsNull = false;
            }
            // determine if requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_JobWorkerExecutorConfiguration should be set to null
            if (requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_JobWorkerExecutorConfigurationIsNull)
            {
                requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_JobWorkerExecutorConfiguration = null;
            }
            if (requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_JobWorkerExecutorConfiguration != null)
            {
                requestActionType_actionType_Executor_actionType_Executor_Configuration.JobWorkerExecutorConfiguration = requestActionType_actionType_Executor_actionType_Executor_Configuration_actionType_Executor_Configuration_JobWorkerExecutorConfiguration;
                requestActionType_actionType_Executor_actionType_Executor_ConfigurationIsNull = false;
            }
            // determine if requestActionType_actionType_Executor_actionType_Executor_Configuration should be set to null
            if (requestActionType_actionType_Executor_actionType_Executor_ConfigurationIsNull)
            {
                requestActionType_actionType_Executor_actionType_Executor_Configuration = null;
            }
            if (requestActionType_actionType_Executor_actionType_Executor_Configuration != null)
            {
                requestActionType_actionType_Executor.Configuration = requestActionType_actionType_Executor_actionType_Executor_Configuration;
                requestActionType_actionType_ExecutorIsNull         = false;
            }
            // determine if requestActionType_actionType_Executor should be set to null
            if (requestActionType_actionType_ExecutorIsNull)
            {
                requestActionType_actionType_Executor = null;
            }
            if (requestActionType_actionType_Executor != null)
            {
                request.ActionType.Executor = requestActionType_actionType_Executor;
                requestActionTypeIsNull     = false;
            }
            Amazon.CodePipeline.Model.ActionTypeIdentifier requestActionType_actionType_Id = null;

            // populate Id
            var requestActionType_actionType_IdIsNull = true;

            requestActionType_actionType_Id = new Amazon.CodePipeline.Model.ActionTypeIdentifier();
            Amazon.CodePipeline.ActionCategory requestActionType_actionType_Id_id_Category = null;
            if (cmdletContext.Id_Category != null)
            {
                requestActionType_actionType_Id_id_Category = cmdletContext.Id_Category;
            }
            if (requestActionType_actionType_Id_id_Category != null)
            {
                requestActionType_actionType_Id.Category = requestActionType_actionType_Id_id_Category;
                requestActionType_actionType_IdIsNull    = false;
            }
            System.String requestActionType_actionType_Id_id_Owner = null;
            if (cmdletContext.Id_Owner != null)
            {
                requestActionType_actionType_Id_id_Owner = cmdletContext.Id_Owner;
            }
            if (requestActionType_actionType_Id_id_Owner != null)
            {
                requestActionType_actionType_Id.Owner = requestActionType_actionType_Id_id_Owner;
                requestActionType_actionType_IdIsNull = false;
            }
            System.String requestActionType_actionType_Id_id_Provider = null;
            if (cmdletContext.Id_Provider != null)
            {
                requestActionType_actionType_Id_id_Provider = cmdletContext.Id_Provider;
            }
            if (requestActionType_actionType_Id_id_Provider != null)
            {
                requestActionType_actionType_Id.Provider = requestActionType_actionType_Id_id_Provider;
                requestActionType_actionType_IdIsNull    = false;
            }
            System.String requestActionType_actionType_Id_id_Version = null;
            if (cmdletContext.Id_Version != null)
            {
                requestActionType_actionType_Id_id_Version = cmdletContext.Id_Version;
            }
            if (requestActionType_actionType_Id_id_Version != null)
            {
                requestActionType_actionType_Id.Version = requestActionType_actionType_Id_id_Version;
                requestActionType_actionType_IdIsNull   = false;
            }
            // determine if requestActionType_actionType_Id should be set to null
            if (requestActionType_actionType_IdIsNull)
            {
                requestActionType_actionType_Id = null;
            }
            if (requestActionType_actionType_Id != null)
            {
                request.ActionType.Id   = requestActionType_actionType_Id;
                requestActionTypeIsNull = false;
            }
            Amazon.CodePipeline.Model.ActionTypeUrls requestActionType_actionType_Urls = null;

            // populate Urls
            var requestActionType_actionType_UrlsIsNull = true;

            requestActionType_actionType_Urls = new Amazon.CodePipeline.Model.ActionTypeUrls();
            System.String requestActionType_actionType_Urls_urls_ConfigurationUrl = null;
            if (cmdletContext.Urls_ConfigurationUrl != null)
            {
                requestActionType_actionType_Urls_urls_ConfigurationUrl = cmdletContext.Urls_ConfigurationUrl;
            }
            if (requestActionType_actionType_Urls_urls_ConfigurationUrl != null)
            {
                requestActionType_actionType_Urls.ConfigurationUrl = requestActionType_actionType_Urls_urls_ConfigurationUrl;
                requestActionType_actionType_UrlsIsNull            = false;
            }
            System.String requestActionType_actionType_Urls_urls_EntityUrlTemplate = null;
            if (cmdletContext.Urls_EntityUrlTemplate != null)
            {
                requestActionType_actionType_Urls_urls_EntityUrlTemplate = cmdletContext.Urls_EntityUrlTemplate;
            }
            if (requestActionType_actionType_Urls_urls_EntityUrlTemplate != null)
            {
                requestActionType_actionType_Urls.EntityUrlTemplate = requestActionType_actionType_Urls_urls_EntityUrlTemplate;
                requestActionType_actionType_UrlsIsNull             = false;
            }
            System.String requestActionType_actionType_Urls_urls_ExecutionUrlTemplate = null;
            if (cmdletContext.Urls_ExecutionUrlTemplate != null)
            {
                requestActionType_actionType_Urls_urls_ExecutionUrlTemplate = cmdletContext.Urls_ExecutionUrlTemplate;
            }
            if (requestActionType_actionType_Urls_urls_ExecutionUrlTemplate != null)
            {
                requestActionType_actionType_Urls.ExecutionUrlTemplate = requestActionType_actionType_Urls_urls_ExecutionUrlTemplate;
                requestActionType_actionType_UrlsIsNull = false;
            }
            System.String requestActionType_actionType_Urls_urls_RevisionUrlTemplate = null;
            if (cmdletContext.Urls_RevisionUrlTemplate != null)
            {
                requestActionType_actionType_Urls_urls_RevisionUrlTemplate = cmdletContext.Urls_RevisionUrlTemplate;
            }
            if (requestActionType_actionType_Urls_urls_RevisionUrlTemplate != null)
            {
                requestActionType_actionType_Urls.RevisionUrlTemplate = requestActionType_actionType_Urls_urls_RevisionUrlTemplate;
                requestActionType_actionType_UrlsIsNull = false;
            }
            // determine if requestActionType_actionType_Urls should be set to null
            if (requestActionType_actionType_UrlsIsNull)
            {
                requestActionType_actionType_Urls = null;
            }
            if (requestActionType_actionType_Urls != null)
            {
                request.ActionType.Urls = requestActionType_actionType_Urls;
                requestActionTypeIsNull = false;
            }
            // determine if request.ActionType should be set to null
            if (requestActionTypeIsNull)
            {
                request.ActionType = 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);
        }