[][src]Struct rusoto_lightsail::UpdateDistributionRequest

pub struct UpdateDistributionRequest {
    pub cache_behavior_settings: Option<CacheSettings>,
    pub cache_behaviors: Option<Vec<CacheBehaviorPerPath>>,
    pub default_cache_behavior: Option<CacheBehavior>,
    pub distribution_name: String,
    pub is_enabled: Option<bool>,
    pub origin: Option<InputOrigin>,
}

Fields

cache_behavior_settings: Option<CacheSettings>

An object that describes the cache behavior settings for the distribution.

The cacheBehaviorSettings specified in your UpdateDistributionRequest will replace your distribution's existing settings.

cache_behaviors: Option<Vec<CacheBehaviorPerPath>>

An array of objects that describe the per-path cache behavior for the distribution.

default_cache_behavior: Option<CacheBehavior>

An object that describes the default cache behavior for the distribution.

distribution_name: String

The name of the distribution to update.

Use the GetDistributions action to get a list of distribution names that you can specify.

is_enabled: Option<bool>

Indicates whether to enable the distribution.

origin: Option<InputOrigin>

An object that describes the origin resource for the distribution, such as a Lightsail instance or load balancer.

The distribution pulls, caches, and serves content from the origin.

Trait Implementations

impl Clone for UpdateDistributionRequest[src]

impl Debug for UpdateDistributionRequest[src]

impl Default for UpdateDistributionRequest[src]

impl PartialEq<UpdateDistributionRequest> for UpdateDistributionRequest[src]

impl Serialize for UpdateDistributionRequest[src]

impl StructuralPartialEq for UpdateDistributionRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.