pub struct ApplicationAutoScalingClient<'a> { /* private fields */ }Implementations§
Source§impl ApplicationAutoScalingClient<'_>
impl ApplicationAutoScalingClient<'_>
Sourcepub async fn tick(&self) -> Result<AppAsTickResponse, Error>
pub async fn tick(&self) -> Result<AppAsTickResponse, Error>
Force the watcher to evaluate every scaling policy now. Returns the number of policies that applied a capacity change on this tick. Useful in tests so callers don’t have to wait for the wall-clock 15s interval.
Sourcepub async fn scheduled_tick(&self) -> Result<AppAsScheduledTickResponse, Error>
pub async fn scheduled_tick(&self) -> Result<AppAsScheduledTickResponse, Error>
Force the scheduled-action executor to evaluate every
ScheduledAction now. Returns the number of actions that
fired this tick. Useful in tests so callers don’t have to wait
for the wall-clock 30s interval.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ApplicationAutoScalingClient<'a>
impl<'a> !UnwindSafe for ApplicationAutoScalingClient<'a>
impl<'a> Freeze for ApplicationAutoScalingClient<'a>
impl<'a> Send for ApplicationAutoScalingClient<'a>
impl<'a> Sync for ApplicationAutoScalingClient<'a>
impl<'a> Unpin for ApplicationAutoScalingClient<'a>
impl<'a> UnsafeUnpin for ApplicationAutoScalingClient<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more