Container for the parameters to the DescribeScheduledInstanceAvailability operation. Finds available schedules that meet the specified criteria.

You can search for an available schedule no more than 3 months in advance. You must meet the minimum required duration of 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 hours.

After you find a schedule that meets your needs, call PurchaseScheduledInstances to purchase Scheduled Instances with that schedule.

상속: AmazonEC2Request
예제 #1
0
        /// <summary>
        /// Initiates the asynchronous execution of the DescribeScheduledInstanceAvailability operation.
        /// </summary>
        /// 
        /// <param name="request">Container for the necessary parameters to execute the DescribeScheduledInstanceAvailability operation on AmazonEC2Client.</param>
        /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
        /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
        ///          procedure using the AsyncState property.</param>
        /// 
        /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeScheduledInstanceAvailability
        ///         operation.</returns>
        public IAsyncResult BeginDescribeScheduledInstanceAvailability(DescribeScheduledInstanceAvailabilityRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new DescribeScheduledInstanceAvailabilityRequestMarshaller();
            var unmarshaller = DescribeScheduledInstanceAvailabilityResponseUnmarshaller.Instance;

            return BeginInvoke<DescribeScheduledInstanceAvailabilityRequest>(request, marshaller, unmarshaller,
                callback, state);
        }
예제 #2
0
 /// <summary>
 /// Paginator for DescribeScheduledInstanceAvailability operation
 ///</summary>
 public IDescribeScheduledInstanceAvailabilityPaginator DescribeScheduledInstanceAvailability(DescribeScheduledInstanceAvailabilityRequest request)
 {
     return(new DescribeScheduledInstanceAvailabilityPaginator(this.client, request));
 }
예제 #3
0
        /// <summary>
        /// Finds available schedules that meet the specified criteria.
        /// 
        ///  
        /// <para>
        /// You can search for an available schedule no more than 3 months in advance. You must
        /// meet the minimum required duration of 1,200 hours per year. For example, the minimum
        /// daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum
        /// monthly schedule is 100 hours.
        /// </para>
        ///  
        /// <para>
        /// After you find a schedule that meets your needs, call <a>PurchaseScheduledInstances</a>
        /// to purchase Scheduled Instances with that schedule.
        /// </para>
        /// </summary>
        /// <param name="request">Container for the necessary parameters to execute the DescribeScheduledInstanceAvailability service method.</param>
        /// 
        /// <returns>The response from the DescribeScheduledInstanceAvailability service method, as returned by EC2.</returns>
        public DescribeScheduledInstanceAvailabilityResponse DescribeScheduledInstanceAvailability(DescribeScheduledInstanceAvailabilityRequest request)
        {
            var marshaller = new DescribeScheduledInstanceAvailabilityRequestMarshaller();
            var unmarshaller = DescribeScheduledInstanceAvailabilityResponseUnmarshaller.Instance;

            return Invoke<DescribeScheduledInstanceAvailabilityRequest,DescribeScheduledInstanceAvailabilityResponse>(request, marshaller, unmarshaller);
        }
예제 #4
0
 internal DescribeScheduledInstanceAvailabilityPaginator(IAmazonEC2 client, DescribeScheduledInstanceAvailabilityRequest request)
 {
     this._client  = client;
     this._request = request;
 }
예제 #5
0
        /// <summary>
        /// Initiates the asynchronous execution of the DescribeScheduledInstanceAvailability operation.
        /// </summary>
        /// 
        /// <param name="request">Container for the necessary parameters to execute the DescribeScheduledInstanceAvailability operation.</param>
        /// <param name="cancellationToken">
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// </param>
        /// <returns>The task object representing the asynchronous operation.</returns>
        public Task<DescribeScheduledInstanceAvailabilityResponse> DescribeScheduledInstanceAvailabilityAsync(DescribeScheduledInstanceAvailabilityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new DescribeScheduledInstanceAvailabilityRequestMarshaller();
            var unmarshaller = DescribeScheduledInstanceAvailabilityResponseUnmarshaller.Instance;

            return InvokeAsync<DescribeScheduledInstanceAvailabilityRequest,DescribeScheduledInstanceAvailabilityResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
예제 #6
0
 private Amazon.EC2.Model.DescribeScheduledInstanceAvailabilityResponse CallAWSServiceOperation(IAmazonEC2 client, Amazon.EC2.Model.DescribeScheduledInstanceAvailabilityRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Elastic Compute Cloud (EC2)", "DescribeScheduledInstanceAvailability");
     try
     {
         #if DESKTOP
         return(client.DescribeScheduledInstanceAvailability(request));
         #elif CORECLR
         return(client.DescribeScheduledInstanceAvailabilityAsync(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;
     }
 }
예제 #7
0
        public object Execute(ExecutorContext context)
        {
            var cmdletContext      = context as CmdletContext;
            var useParameterSelect = this.Select.StartsWith("^");

            // create request and set iteration invariants
            var request = new Amazon.EC2.Model.DescribeScheduledInstanceAvailabilityRequest();

            if (cmdletContext.Filter != null)
            {
                request.Filters = cmdletContext.Filter;
            }

            // populate FirstSlotStartTimeRange
            var requestFirstSlotStartTimeRangeIsNull = true;

            request.FirstSlotStartTimeRange = new Amazon.EC2.Model.SlotDateTimeRangeRequest();
            System.DateTime?requestFirstSlotStartTimeRange_firstSlotStartTimeRange_UtcEarliestTime = null;
            if (cmdletContext.FirstSlotStartTimeRange_UtcEarliestTime != null)
            {
                requestFirstSlotStartTimeRange_firstSlotStartTimeRange_UtcEarliestTime = cmdletContext.FirstSlotStartTimeRange_UtcEarliestTime.Value;
            }
            if (requestFirstSlotStartTimeRange_firstSlotStartTimeRange_UtcEarliestTime != null)
            {
                request.FirstSlotStartTimeRange.EarliestTimeUtc = requestFirstSlotStartTimeRange_firstSlotStartTimeRange_UtcEarliestTime.Value;
                requestFirstSlotStartTimeRangeIsNull            = false;
            }
            System.DateTime?requestFirstSlotStartTimeRange_firstSlotStartTimeRange_UtcLatestTime = null;
            if (cmdletContext.FirstSlotStartTimeRange_UtcLatestTime != null)
            {
                requestFirstSlotStartTimeRange_firstSlotStartTimeRange_UtcLatestTime = cmdletContext.FirstSlotStartTimeRange_UtcLatestTime.Value;
            }
            if (requestFirstSlotStartTimeRange_firstSlotStartTimeRange_UtcLatestTime != null)
            {
                request.FirstSlotStartTimeRange.LatestTimeUtc = requestFirstSlotStartTimeRange_firstSlotStartTimeRange_UtcLatestTime.Value;
                requestFirstSlotStartTimeRangeIsNull          = false;
            }
            #pragma warning disable CS0618, CS0612 //A class member was marked with the Obsolete attribute
            System.DateTime?requestFirstSlotStartTimeRange_firstSlotStartTimeRange_EarliestTime = null;
            if (cmdletContext.FirstSlotStartTimeRange_EarliestTime != null)
            {
                if (cmdletContext.FirstSlotStartTimeRange_UtcEarliestTime != null)
                {
                    throw new System.ArgumentException("Parameters FirstSlotStartTimeRange_EarliestTime and FirstSlotStartTimeRange_UtcEarliestTime are mutually exclusive.", nameof(this.FirstSlotStartTimeRange_EarliestTime));
                }
                requestFirstSlotStartTimeRange_firstSlotStartTimeRange_EarliestTime = cmdletContext.FirstSlotStartTimeRange_EarliestTime.Value;
            }
            if (requestFirstSlotStartTimeRange_firstSlotStartTimeRange_EarliestTime != null)
            {
                request.FirstSlotStartTimeRange.EarliestTime = requestFirstSlotStartTimeRange_firstSlotStartTimeRange_EarliestTime.Value;
                requestFirstSlotStartTimeRangeIsNull         = false;
            }
            #pragma warning restore CS0618, CS0612 //A class member was marked with the Obsolete attribute
            #pragma warning disable CS0618, CS0612 //A class member was marked with the Obsolete attribute
            System.DateTime?requestFirstSlotStartTimeRange_firstSlotStartTimeRange_LatestTime = null;
            if (cmdletContext.FirstSlotStartTimeRange_LatestTime != null)
            {
                if (cmdletContext.FirstSlotStartTimeRange_UtcLatestTime != null)
                {
                    throw new System.ArgumentException("Parameters FirstSlotStartTimeRange_LatestTime and FirstSlotStartTimeRange_UtcLatestTime are mutually exclusive.", nameof(this.FirstSlotStartTimeRange_LatestTime));
                }
                requestFirstSlotStartTimeRange_firstSlotStartTimeRange_LatestTime = cmdletContext.FirstSlotStartTimeRange_LatestTime.Value;
            }
            if (requestFirstSlotStartTimeRange_firstSlotStartTimeRange_LatestTime != null)
            {
                request.FirstSlotStartTimeRange.LatestTime = requestFirstSlotStartTimeRange_firstSlotStartTimeRange_LatestTime.Value;
                requestFirstSlotStartTimeRangeIsNull       = false;
            }
            #pragma warning restore CS0618, CS0612 //A class member was marked with the Obsolete attribute
            // determine if request.FirstSlotStartTimeRange should be set to null
            if (requestFirstSlotStartTimeRangeIsNull)
            {
                request.FirstSlotStartTimeRange = null;
            }
            if (cmdletContext.MaxSlotDurationInHour != null)
            {
                request.MaxSlotDurationInHours = cmdletContext.MaxSlotDurationInHour.Value;
            }
            if (cmdletContext.MinSlotDurationInHour != null)
            {
                request.MinSlotDurationInHours = cmdletContext.MinSlotDurationInHour.Value;
            }

            // populate Recurrence
            var requestRecurrenceIsNull = true;
            request.Recurrence = new Amazon.EC2.Model.ScheduledInstanceRecurrenceRequest();
            System.String requestRecurrence_recurrence_Frequency = null;
            if (cmdletContext.Recurrence_Frequency != null)
            {
                requestRecurrence_recurrence_Frequency = cmdletContext.Recurrence_Frequency;
            }
            if (requestRecurrence_recurrence_Frequency != null)
            {
                request.Recurrence.Frequency = requestRecurrence_recurrence_Frequency;
                requestRecurrenceIsNull      = false;
            }
            System.Int32?requestRecurrence_recurrence_Interval = null;
            if (cmdletContext.Recurrence_Interval != null)
            {
                requestRecurrence_recurrence_Interval = cmdletContext.Recurrence_Interval.Value;
            }
            if (requestRecurrence_recurrence_Interval != null)
            {
                request.Recurrence.Interval = requestRecurrence_recurrence_Interval.Value;
                requestRecurrenceIsNull     = false;
            }
            List <System.Int32> requestRecurrence_recurrence_OccurrenceDay = null;
            if (cmdletContext.Recurrence_OccurrenceDay != null)
            {
                requestRecurrence_recurrence_OccurrenceDay = cmdletContext.Recurrence_OccurrenceDay;
            }
            if (requestRecurrence_recurrence_OccurrenceDay != null)
            {
                request.Recurrence.OccurrenceDays = requestRecurrence_recurrence_OccurrenceDay;
                requestRecurrenceIsNull           = false;
            }
            System.Boolean?requestRecurrence_recurrence_OccurrenceRelativeToEnd = null;
            if (cmdletContext.Recurrence_OccurrenceRelativeToEnd != null)
            {
                requestRecurrence_recurrence_OccurrenceRelativeToEnd = cmdletContext.Recurrence_OccurrenceRelativeToEnd.Value;
            }
            if (requestRecurrence_recurrence_OccurrenceRelativeToEnd != null)
            {
                request.Recurrence.OccurrenceRelativeToEnd = requestRecurrence_recurrence_OccurrenceRelativeToEnd.Value;
                requestRecurrenceIsNull = false;
            }
            System.String requestRecurrence_recurrence_OccurrenceUnit = null;
            if (cmdletContext.Recurrence_OccurrenceUnit != null)
            {
                requestRecurrence_recurrence_OccurrenceUnit = cmdletContext.Recurrence_OccurrenceUnit;
            }
            if (requestRecurrence_recurrence_OccurrenceUnit != null)
            {
                request.Recurrence.OccurrenceUnit = requestRecurrence_recurrence_OccurrenceUnit;
                requestRecurrenceIsNull           = false;
            }
            // determine if request.Recurrence should be set to null
            if (requestRecurrenceIsNull)
            {
                request.Recurrence = null;
            }

            // Initialize loop variants and commence piping
            System.String _nextToken      = null;
            int?          _emitLimit      = null;
            int           _retrievedSoFar = 0;
            if (AutoIterationHelpers.HasValue(cmdletContext.NextToken))
            {
                _nextToken = cmdletContext.NextToken;
            }
            if (cmdletContext.MaxResult.HasValue)
            {
                // The service has a maximum page size of 300. If the user has
                // asked for more items than page max, and there is no page size
                // configured, we rely on the service ignoring the set maximum
                // and giving us 300 items back. If a page size is set, that will
                // be used to configure the pagination.
                // We'll make further calls to satisfy the user's request.
                _emitLimit = cmdletContext.MaxResult;
            }
            var _userControllingPaging = this.NoAutoIteration.IsPresent || ParameterWasBound(nameof(this.NextToken));

            var client = Client ?? CreateClient(_CurrentCredentials, _RegionEndpoint);
            do
            {
                request.NextToken = _nextToken;
                if (_emitLimit.HasValue)
                {
                    int correctPageSize = Math.Min(300, _emitLimit.Value);
                    request.MaxResults = AutoIterationHelpers.ConvertEmitLimitToInt32(correctPageSize);
                }

                CmdletOutput output;

                try
                {
                    var    response       = CallAWSServiceOperation(client, request);
                    object pipelineOutput = null;
                    if (!useParameterSelect)
                    {
                        pipelineOutput = cmdletContext.Select(response, this);
                    }
                    output = new CmdletOutput
                    {
                        PipelineOutput  = pipelineOutput,
                        ServiceResponse = response
                    };
                    int _receivedThisCall = response.ScheduledInstanceAvailabilitySet.Count;

                    _nextToken       = response.NextToken;
                    _retrievedSoFar += _receivedThisCall;
                    if (_emitLimit.HasValue)
                    {
                        _emitLimit -= _receivedThisCall;
                    }
                }
                catch (Exception e)
                {
                    if (_retrievedSoFar == 0 || !_emitLimit.HasValue)
                    {
                        output = new CmdletOutput {
                            ErrorResponse = e
                        };
                    }
                    else
                    {
                        break;
                    }
                }

                ProcessOutput(output);
            } while (!_userControllingPaging && AutoIterationHelpers.HasValue(_nextToken) && (!_emitLimit.HasValue || _emitLimit.Value >= 5));


            if (useParameterSelect)
            {
                WriteObject(cmdletContext.Select(null, this));
            }


            return(null);
        }
예제 #8
0
        public object Execute(ExecutorContext context)
        {
            var cmdletContext      = context as CmdletContext;
            var useParameterSelect = this.Select.StartsWith("^");

            // create request and set iteration invariants
            var request = new Amazon.EC2.Model.DescribeScheduledInstanceAvailabilityRequest();

            if (cmdletContext.Filter != null)
            {
                request.Filters = cmdletContext.Filter;
            }

            // populate FirstSlotStartTimeRange
            var requestFirstSlotStartTimeRangeIsNull = true;

            request.FirstSlotStartTimeRange = new Amazon.EC2.Model.SlotDateTimeRangeRequest();
            System.DateTime?requestFirstSlotStartTimeRange_firstSlotStartTimeRange_UtcEarliestTime = null;
            if (cmdletContext.FirstSlotStartTimeRange_UtcEarliestTime != null)
            {
                requestFirstSlotStartTimeRange_firstSlotStartTimeRange_UtcEarliestTime = cmdletContext.FirstSlotStartTimeRange_UtcEarliestTime.Value;
            }
            if (requestFirstSlotStartTimeRange_firstSlotStartTimeRange_UtcEarliestTime != null)
            {
                request.FirstSlotStartTimeRange.EarliestTimeUtc = requestFirstSlotStartTimeRange_firstSlotStartTimeRange_UtcEarliestTime.Value;
                requestFirstSlotStartTimeRangeIsNull            = false;
            }
            System.DateTime?requestFirstSlotStartTimeRange_firstSlotStartTimeRange_UtcLatestTime = null;
            if (cmdletContext.FirstSlotStartTimeRange_UtcLatestTime != null)
            {
                requestFirstSlotStartTimeRange_firstSlotStartTimeRange_UtcLatestTime = cmdletContext.FirstSlotStartTimeRange_UtcLatestTime.Value;
            }
            if (requestFirstSlotStartTimeRange_firstSlotStartTimeRange_UtcLatestTime != null)
            {
                request.FirstSlotStartTimeRange.LatestTimeUtc = requestFirstSlotStartTimeRange_firstSlotStartTimeRange_UtcLatestTime.Value;
                requestFirstSlotStartTimeRangeIsNull          = false;
            }
            #pragma warning disable CS0618, CS0612 //A class member was marked with the Obsolete attribute
            System.DateTime?requestFirstSlotStartTimeRange_firstSlotStartTimeRange_EarliestTime = null;
            if (cmdletContext.FirstSlotStartTimeRange_EarliestTime != null)
            {
                if (cmdletContext.FirstSlotStartTimeRange_UtcEarliestTime != null)
                {
                    throw new System.ArgumentException("Parameters FirstSlotStartTimeRange_EarliestTime and FirstSlotStartTimeRange_UtcEarliestTime are mutually exclusive.", nameof(this.FirstSlotStartTimeRange_EarliestTime));
                }
                requestFirstSlotStartTimeRange_firstSlotStartTimeRange_EarliestTime = cmdletContext.FirstSlotStartTimeRange_EarliestTime.Value;
            }
            if (requestFirstSlotStartTimeRange_firstSlotStartTimeRange_EarliestTime != null)
            {
                request.FirstSlotStartTimeRange.EarliestTime = requestFirstSlotStartTimeRange_firstSlotStartTimeRange_EarliestTime.Value;
                requestFirstSlotStartTimeRangeIsNull         = false;
            }
            #pragma warning restore CS0618, CS0612 //A class member was marked with the Obsolete attribute
            #pragma warning disable CS0618, CS0612 //A class member was marked with the Obsolete attribute
            System.DateTime?requestFirstSlotStartTimeRange_firstSlotStartTimeRange_LatestTime = null;
            if (cmdletContext.FirstSlotStartTimeRange_LatestTime != null)
            {
                if (cmdletContext.FirstSlotStartTimeRange_UtcLatestTime != null)
                {
                    throw new System.ArgumentException("Parameters FirstSlotStartTimeRange_LatestTime and FirstSlotStartTimeRange_UtcLatestTime are mutually exclusive.", nameof(this.FirstSlotStartTimeRange_LatestTime));
                }
                requestFirstSlotStartTimeRange_firstSlotStartTimeRange_LatestTime = cmdletContext.FirstSlotStartTimeRange_LatestTime.Value;
            }
            if (requestFirstSlotStartTimeRange_firstSlotStartTimeRange_LatestTime != null)
            {
                request.FirstSlotStartTimeRange.LatestTime = requestFirstSlotStartTimeRange_firstSlotStartTimeRange_LatestTime.Value;
                requestFirstSlotStartTimeRangeIsNull       = false;
            }
            #pragma warning restore CS0618, CS0612 //A class member was marked with the Obsolete attribute
            // determine if request.FirstSlotStartTimeRange should be set to null
            if (requestFirstSlotStartTimeRangeIsNull)
            {
                request.FirstSlotStartTimeRange = null;
            }
            if (cmdletContext.MaxResult != null)
            {
                request.MaxResults = AutoIterationHelpers.ConvertEmitLimitToServiceTypeInt32(cmdletContext.MaxResult.Value);
            }
            if (cmdletContext.MaxSlotDurationInHour != null)
            {
                request.MaxSlotDurationInHours = cmdletContext.MaxSlotDurationInHour.Value;
            }
            if (cmdletContext.MinSlotDurationInHour != null)
            {
                request.MinSlotDurationInHours = cmdletContext.MinSlotDurationInHour.Value;
            }

            // populate Recurrence
            var requestRecurrenceIsNull = true;
            request.Recurrence = new Amazon.EC2.Model.ScheduledInstanceRecurrenceRequest();
            System.String requestRecurrence_recurrence_Frequency = null;
            if (cmdletContext.Recurrence_Frequency != null)
            {
                requestRecurrence_recurrence_Frequency = cmdletContext.Recurrence_Frequency;
            }
            if (requestRecurrence_recurrence_Frequency != null)
            {
                request.Recurrence.Frequency = requestRecurrence_recurrence_Frequency;
                requestRecurrenceIsNull      = false;
            }
            System.Int32?requestRecurrence_recurrence_Interval = null;
            if (cmdletContext.Recurrence_Interval != null)
            {
                requestRecurrence_recurrence_Interval = cmdletContext.Recurrence_Interval.Value;
            }
            if (requestRecurrence_recurrence_Interval != null)
            {
                request.Recurrence.Interval = requestRecurrence_recurrence_Interval.Value;
                requestRecurrenceIsNull     = false;
            }
            List <System.Int32> requestRecurrence_recurrence_OccurrenceDay = null;
            if (cmdletContext.Recurrence_OccurrenceDay != null)
            {
                requestRecurrence_recurrence_OccurrenceDay = cmdletContext.Recurrence_OccurrenceDay;
            }
            if (requestRecurrence_recurrence_OccurrenceDay != null)
            {
                request.Recurrence.OccurrenceDays = requestRecurrence_recurrence_OccurrenceDay;
                requestRecurrenceIsNull           = false;
            }
            System.Boolean?requestRecurrence_recurrence_OccurrenceRelativeToEnd = null;
            if (cmdletContext.Recurrence_OccurrenceRelativeToEnd != null)
            {
                requestRecurrence_recurrence_OccurrenceRelativeToEnd = cmdletContext.Recurrence_OccurrenceRelativeToEnd.Value;
            }
            if (requestRecurrence_recurrence_OccurrenceRelativeToEnd != null)
            {
                request.Recurrence.OccurrenceRelativeToEnd = requestRecurrence_recurrence_OccurrenceRelativeToEnd.Value;
                requestRecurrenceIsNull = false;
            }
            System.String requestRecurrence_recurrence_OccurrenceUnit = null;
            if (cmdletContext.Recurrence_OccurrenceUnit != null)
            {
                requestRecurrence_recurrence_OccurrenceUnit = cmdletContext.Recurrence_OccurrenceUnit;
            }
            if (requestRecurrence_recurrence_OccurrenceUnit != null)
            {
                request.Recurrence.OccurrenceUnit = requestRecurrence_recurrence_OccurrenceUnit;
                requestRecurrenceIsNull           = false;
            }
            // determine if request.Recurrence should be set to null
            if (requestRecurrenceIsNull)
            {
                request.Recurrence = null;
            }

            // Initialize loop variant and commence piping
            var _nextToken             = cmdletContext.NextToken;
            var _userControllingPaging = this.NoAutoIteration.IsPresent || ParameterWasBound(nameof(this.NextToken));

            var client = Client ?? CreateClient(_CurrentCredentials, _RegionEndpoint);
            do
            {
                request.NextToken = _nextToken;

                CmdletOutput output;

                try
                {
                    var response = CallAWSServiceOperation(client, request);

                    object pipelineOutput = null;
                    if (!useParameterSelect)
                    {
                        pipelineOutput = cmdletContext.Select(response, this);
                    }
                    output = new CmdletOutput
                    {
                        PipelineOutput  = pipelineOutput,
                        ServiceResponse = response
                    };

                    _nextToken = response.NextToken;
                }
                catch (Exception e)
                {
                    output = new CmdletOutput {
                        ErrorResponse = e
                    };
                }

                ProcessOutput(output);
            } while (!_userControllingPaging && AutoIterationHelpers.HasValue(_nextToken));

            if (useParameterSelect)
            {
                WriteObject(cmdletContext.Select(null, this));
            }


            return(null);
        }