Struct aws_sdk_docdb::client::fluent_builders::ModifyGlobalCluster [−][src]
pub struct ModifyGlobalCluster<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to ModifyGlobalCluster.
Modify a setting for an Amazon DocumentDB global cluster. You can change one or more configuration parameters (for example: deletion protection), or the global cluster identifier by specifying these parameters and the new values in the request.
This action only applies to Amazon DocumentDB clusters.
Implementations
impl<C, M, R> ModifyGlobalCluster<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ModifyGlobalCluster<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ModifyGlobalClusterOutput, SdkError<ModifyGlobalClusterError>> where
R::Policy: SmithyRetryPolicy<ModifyGlobalClusterInputOperationOutputAlias, ModifyGlobalClusterOutput, ModifyGlobalClusterError, ModifyGlobalClusterInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ModifyGlobalClusterOutput, SdkError<ModifyGlobalClusterError>> where
R::Policy: SmithyRetryPolicy<ModifyGlobalClusterInputOperationOutputAlias, ModifyGlobalClusterOutput, ModifyGlobalClusterError, ModifyGlobalClusterInputOperationRetryAlias>,
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 identifier for the global cluster being modified. This parameter isn't case-sensitive.
Constraints:
-
Must match the identifier of an existing global cluster.
The identifier for the global cluster being modified. This parameter isn't case-sensitive.
Constraints:
-
Must match the identifier of an existing global cluster.
The new identifier for a global cluster when you modify a global cluster. This value is stored as a lowercase string.
-
Must contain from 1 to 63 letters, numbers, or hyphens
The first character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
Example: my-cluster2
The new identifier for a global cluster when you modify a global cluster. This value is stored as a lowercase string.
-
Must contain from 1 to 63 letters, numbers, or hyphens
The first character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
Example: my-cluster2
Indicates if the global cluster has deletion protection enabled. The global cluster can't be deleted when deletion protection is enabled.
Indicates if the global cluster has deletion protection enabled. The global cluster can't be deleted when deletion protection is enabled.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ModifyGlobalCluster<C, M, R>
impl<C, M, R> Send for ModifyGlobalCluster<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ModifyGlobalCluster<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ModifyGlobalCluster<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ModifyGlobalCluster<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
