public Task <AutoscalingGetAutoscalingCapacityResponse> GetAutoscalingCapacityAsync(Action <AutoscalingGetAutoscalingCapacityRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default) { var descriptor = new AutoscalingGetAutoscalingCapacityRequestDescriptor(); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return(DoRequestAsync <AutoscalingGetAutoscalingCapacityRequestDescriptor, AutoscalingGetAutoscalingCapacityResponse>(descriptor)); }
public AutoscalingGetAutoscalingCapacityResponse GetAutoscalingCapacity(Action <AutoscalingGetAutoscalingCapacityRequestDescriptor> configureRequest = null) { var descriptor = new AutoscalingGetAutoscalingCapacityRequestDescriptor(); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return(DoRequest <AutoscalingGetAutoscalingCapacityRequestDescriptor, AutoscalingGetAutoscalingCapacityResponse>(descriptor)); }