Struct aws_sdk_cloudfront::input::CopyDistributionInput
source · #[non_exhaustive]pub struct CopyDistributionInput { /* private fields */ }
Implementations§
source§impl CopyDistributionInput
impl CopyDistributionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CopyDistribution, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CopyDistribution, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CopyDistribution
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CopyDistributionInput
.
source§impl CopyDistributionInput
impl CopyDistributionInput
sourcepub fn primary_distribution_id(&self) -> Option<&str>
pub fn primary_distribution_id(&self) -> Option<&str>
The identifier of the primary distribution whose configuration you are copying. To get a distribution ID, use ListDistributions
.
sourcepub fn staging(&self) -> Option<bool>
pub fn staging(&self) -> Option<bool>
The type of distribution that your primary distribution will be copied to. The only valid value is True
, indicating that you are copying to a staging distribution.
sourcepub fn if_match(&self) -> Option<&str>
pub fn if_match(&self) -> Option<&str>
The version identifier of the primary distribution whose configuration you are copying. This is the ETag
value returned in the response to GetDistribution
and GetDistributionConfig
.
sourcepub fn caller_reference(&self) -> Option<&str>
pub fn caller_reference(&self) -> Option<&str>
A value that uniquely identifies a request to create a resource. This helps to prevent CloudFront from creating a duplicate resource if you accidentally resubmit an identical request.
Trait Implementations§
source§impl Clone for CopyDistributionInput
impl Clone for CopyDistributionInput
source§fn clone(&self) -> CopyDistributionInput
fn clone(&self) -> CopyDistributionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CopyDistributionInput
impl Debug for CopyDistributionInput
source§impl PartialEq<CopyDistributionInput> for CopyDistributionInput
impl PartialEq<CopyDistributionInput> for CopyDistributionInput
source§fn eq(&self, other: &CopyDistributionInput) -> bool
fn eq(&self, other: &CopyDistributionInput) -> bool
self
and other
values to be equal, and is used
by ==
.