pub struct DeleteOrganizationConfigRule { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteOrganizationConfigRule.
Deletes the specified organization Config rule and all of its evaluation results from all member accounts in that organization.
Only a master account and a delegated administrator account can delete an organization Config rule. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added.
Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a rule while it is in this state.
Implementations§
source§impl DeleteOrganizationConfigRule
impl DeleteOrganizationConfigRule
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteOrganizationConfigRule, AwsResponseRetryClassifier>, SdkError<DeleteOrganizationConfigRuleError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteOrganizationConfigRule, AwsResponseRetryClassifier>, SdkError<DeleteOrganizationConfigRuleError>>
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<DeleteOrganizationConfigRuleOutput, SdkError<DeleteOrganizationConfigRuleError>>
pub async fn send(
self
) -> Result<DeleteOrganizationConfigRuleOutput, SdkError<DeleteOrganizationConfigRuleError>>
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 organization_config_rule_name(self, input: impl Into<String>) -> Self
pub fn organization_config_rule_name(self, input: impl Into<String>) -> Self
The name of organization Config rule that you want to delete.
sourcepub fn set_organization_config_rule_name(self, input: Option<String>) -> Self
pub fn set_organization_config_rule_name(self, input: Option<String>) -> Self
The name of organization Config rule that you want to delete.
Trait Implementations§
source§impl Clone for DeleteOrganizationConfigRule
impl Clone for DeleteOrganizationConfigRule
source§fn clone(&self) -> DeleteOrganizationConfigRule
fn clone(&self) -> DeleteOrganizationConfigRule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more