pub struct DeleteContinuousDeploymentPolicy { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteContinuousDeploymentPolicy
.
Deletes a continuous deployment policy.
You cannot delete a continuous deployment policy that's attached to a primary distribution. First update your distribution to remove the continuous deployment policy, then you can delete the policy.
Implementations§
source§impl DeleteContinuousDeploymentPolicy
impl DeleteContinuousDeploymentPolicy
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteContinuousDeploymentPolicy, AwsResponseRetryClassifier>, SdkError<DeleteContinuousDeploymentPolicyError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteContinuousDeploymentPolicy, AwsResponseRetryClassifier>, SdkError<DeleteContinuousDeploymentPolicyError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DeleteContinuousDeploymentPolicyOutput, SdkError<DeleteContinuousDeploymentPolicyError>>
pub async fn send(
self
) -> Result<DeleteContinuousDeploymentPolicyOutput, SdkError<DeleteContinuousDeploymentPolicyError>>
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.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the continuous deployment policy that you are deleting.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the continuous deployment policy that you are deleting.
sourcepub fn if_match(self, input: impl Into<String>) -> Self
pub fn if_match(self, input: impl Into<String>) -> Self
The current version (ETag
value) of the continuous deployment policy that you are deleting.
sourcepub fn set_if_match(self, input: Option<String>) -> Self
pub fn set_if_match(self, input: Option<String>) -> Self
The current version (ETag
value) of the continuous deployment policy that you are deleting.
Trait Implementations§
source§impl Clone for DeleteContinuousDeploymentPolicy
impl Clone for DeleteContinuousDeploymentPolicy
source§fn clone(&self) -> DeleteContinuousDeploymentPolicy
fn clone(&self) -> DeleteContinuousDeploymentPolicy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more