#[non_exhaustive]pub struct PutOrganizationConfigRuleInput { /* private fields */ }Implementations§
source§impl PutOrganizationConfigRuleInput
impl PutOrganizationConfigRuleInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutOrganizationConfigRule, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutOrganizationConfigRule, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PutOrganizationConfigRule>
Examples found in repository?
9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::PutOrganizationConfigRule,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::PutOrganizationConfigRuleError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::PutOrganizationConfigRuleOutput,
aws_smithy_http::result::SdkError<crate::error::PutOrganizationConfigRuleError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PutOrganizationConfigRuleInput.
source§impl PutOrganizationConfigRuleInput
impl PutOrganizationConfigRuleInput
sourcepub fn organization_config_rule_name(&self) -> Option<&str>
pub fn organization_config_rule_name(&self) -> Option<&str>
The name that you assign to an organization Config rule.
sourcepub fn organization_managed_rule_metadata(
&self
) -> Option<&OrganizationManagedRuleMetadata>
pub fn organization_managed_rule_metadata(
&self
) -> Option<&OrganizationManagedRuleMetadata>
An OrganizationManagedRuleMetadata object. This object specifies organization managed rule metadata such as resource type and ID of Amazon Web Services resource along with the rule identifier. It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type is periodic.
sourcepub fn organization_custom_rule_metadata(
&self
) -> Option<&OrganizationCustomRuleMetadata>
pub fn organization_custom_rule_metadata(
&self
) -> Option<&OrganizationCustomRuleMetadata>
An OrganizationCustomRuleMetadata object. This object specifies organization custom rule metadata such as resource type, resource ID of Amazon Web Services resource, Lambda function ARN, and organization trigger types that trigger Config to evaluate your Amazon Web Services resources against a rule. It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type is periodic.
sourcepub fn excluded_accounts(&self) -> Option<&[String]>
pub fn excluded_accounts(&self) -> Option<&[String]>
A comma-separated list of accounts that you want to exclude from an organization Config rule.
sourcepub fn organization_custom_policy_rule_metadata(
&self
) -> Option<&OrganizationCustomPolicyRuleMetadata>
pub fn organization_custom_policy_rule_metadata(
&self
) -> Option<&OrganizationCustomPolicyRuleMetadata>
An OrganizationCustomPolicyRuleMetadata object. This object specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have debug logging enabled, and other custom rule metadata, such as resource type, resource ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.
Trait Implementations§
source§impl Clone for PutOrganizationConfigRuleInput
impl Clone for PutOrganizationConfigRuleInput
source§fn clone(&self) -> PutOrganizationConfigRuleInput
fn clone(&self) -> PutOrganizationConfigRuleInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more