pub struct CloudFrontClient<'a> { /* private fields */ }Implementations§
Source§impl CloudFrontClient<'_>
impl CloudFrontClient<'_>
Sourcepub async fn set_distribution_status(
&self,
distribution_id: &str,
req: &CloudFrontDistributionStatusRequest,
) -> Result<(), Error>
pub async fn set_distribution_status( &self, distribution_id: &str, req: &CloudFrontDistributionStatusRequest, ) -> Result<(), Error>
Force a stored CloudFront Distribution into a new status (typically
"Deployed" or "InProgress"). Returns an Api { status: 404, .. }
error when the distribution doesn’t exist.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CloudFrontClient<'a>
impl<'a> !UnwindSafe for CloudFrontClient<'a>
impl<'a> Freeze for CloudFrontClient<'a>
impl<'a> Send for CloudFrontClient<'a>
impl<'a> Sync for CloudFrontClient<'a>
impl<'a> Unpin for CloudFrontClient<'a>
impl<'a> UnsafeUnpin for CloudFrontClient<'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