#[non_exhaustive]pub struct GetOrganizationCustomRulePolicyInput { /* private fields */ }Implementations§
source§impl GetOrganizationCustomRulePolicyInput
impl GetOrganizationCustomRulePolicyInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetOrganizationCustomRulePolicy, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetOrganizationCustomRulePolicy, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetOrganizationCustomRulePolicy>
Examples found in repository?
src/client.rs (line 7432)
7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetOrganizationCustomRulePolicy,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::GetOrganizationCustomRulePolicyError>,
> {
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::GetOrganizationCustomRulePolicyOutput,
aws_smithy_http::result::SdkError<crate::error::GetOrganizationCustomRulePolicyError>,
> {
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 GetOrganizationCustomRulePolicyInput.
source§impl GetOrganizationCustomRulePolicyInput
impl GetOrganizationCustomRulePolicyInput
sourcepub fn organization_config_rule_name(&self) -> Option<&str>
pub fn organization_config_rule_name(&self) -> Option<&str>
The name of your organization Config Custom Policy rule.
Trait Implementations§
source§impl Clone for GetOrganizationCustomRulePolicyInput
impl Clone for GetOrganizationCustomRulePolicyInput
source§fn clone(&self) -> GetOrganizationCustomRulePolicyInput
fn clone(&self) -> GetOrganizationCustomRulePolicyInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more