Struct aws_sdk_redshift::operation::delete_cluster_parameter_group::builders::DeleteClusterParameterGroupFluentBuilder
source · pub struct DeleteClusterParameterGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteClusterParameterGroup
.
Deletes a specified Amazon Redshift parameter group.
You cannot delete a parameter group if it is associated with a cluster.
Implementations§
source§impl DeleteClusterParameterGroupFluentBuilder
impl DeleteClusterParameterGroupFluentBuilder
sourcepub fn as_input(&self) -> &DeleteClusterParameterGroupInputBuilder
pub fn as_input(&self) -> &DeleteClusterParameterGroupInputBuilder
Access the DeleteClusterParameterGroup as a reference.
sourcepub async fn send(
self
) -> Result<DeleteClusterParameterGroupOutput, SdkError<DeleteClusterParameterGroupError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteClusterParameterGroupOutput, SdkError<DeleteClusterParameterGroupError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<DeleteClusterParameterGroupOutput, DeleteClusterParameterGroupError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteClusterParameterGroupOutput, DeleteClusterParameterGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn parameter_group_name(self, input: impl Into<String>) -> Self
pub fn parameter_group_name(self, input: impl Into<String>) -> Self
The name of the parameter group to be deleted.
Constraints:
-
Must be the name of an existing cluster parameter group.
-
Cannot delete a default cluster parameter group.
sourcepub fn set_parameter_group_name(self, input: Option<String>) -> Self
pub fn set_parameter_group_name(self, input: Option<String>) -> Self
The name of the parameter group to be deleted.
Constraints:
-
Must be the name of an existing cluster parameter group.
-
Cannot delete a default cluster parameter group.
sourcepub fn get_parameter_group_name(&self) -> &Option<String>
pub fn get_parameter_group_name(&self) -> &Option<String>
The name of the parameter group to be deleted.
Constraints:
-
Must be the name of an existing cluster parameter group.
-
Cannot delete a default cluster parameter group.
Trait Implementations§
source§impl Clone for DeleteClusterParameterGroupFluentBuilder
impl Clone for DeleteClusterParameterGroupFluentBuilder
source§fn clone(&self) -> DeleteClusterParameterGroupFluentBuilder
fn clone(&self) -> DeleteClusterParameterGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more