Struct aws_sdk_lightsail::client::fluent_builders::UpdateDistributionBundle [−][src]
pub struct UpdateDistributionBundle<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateDistributionBundle
.
Updates the bundle of your Amazon Lightsail content delivery network (CDN) distribution.
A distribution bundle specifies the monthly network transfer quota and monthly cost of your dsitribution.
Update your distribution's bundle if your distribution is going over its monthly network transfer quota and is incurring an overage fee.
You can update your distribution's bundle only one time within your monthly AWS billing cycle. To determine if you can update your distribution's bundle, use the GetDistributions
action. The ableToUpdateBundle
parameter in the result will indicate whether you can currently update your distribution's bundle.
Implementations
impl<C, M, R> UpdateDistributionBundle<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateDistributionBundle<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateDistributionBundleOutput, SdkError<UpdateDistributionBundleError>> where
R::Policy: SmithyRetryPolicy<UpdateDistributionBundleInputOperationOutputAlias, UpdateDistributionBundleOutput, UpdateDistributionBundleError, UpdateDistributionBundleInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateDistributionBundleOutput, SdkError<UpdateDistributionBundleError>> where
R::Policy: SmithyRetryPolicy<UpdateDistributionBundleInputOperationOutputAlias, UpdateDistributionBundleOutput, UpdateDistributionBundleError, UpdateDistributionBundleInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name of the distribution for which to update the bundle.
Use the GetDistributions
action to get a list of distribution names that you can specify.
The name of the distribution for which to update the bundle.
Use the GetDistributions
action to get a list of distribution names that you can specify.
The bundle ID of the new bundle to apply to your distribution.
Use the GetDistributionBundles
action to get a list of distribution bundle IDs that you can specify.
The bundle ID of the new bundle to apply to your distribution.
Use the GetDistributionBundles
action to get a list of distribution bundle IDs that you can specify.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateDistributionBundle<C, M, R>
impl<C, M, R> Send for UpdateDistributionBundle<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateDistributionBundle<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateDistributionBundle<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateDistributionBundle<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more