Struct aws_sdk_ec2::operation::enable_reachability_analyzer_organization_sharing::builders::EnableReachabilityAnalyzerOrganizationSharingFluentBuilder
source · pub struct EnableReachabilityAnalyzerOrganizationSharingFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to EnableReachabilityAnalyzerOrganizationSharing.
Establishes a trust relationship between Reachability Analyzer and Organizations. This operation must be performed by the management account for the organization.
After you establish a trust relationship, a user in the management account or a delegated administrator account can run a cross-account analysis using resources from the member accounts.
Implementations§
source§impl EnableReachabilityAnalyzerOrganizationSharingFluentBuilder
impl EnableReachabilityAnalyzerOrganizationSharingFluentBuilder
sourcepub fn as_input(
&self
) -> &EnableReachabilityAnalyzerOrganizationSharingInputBuilder
pub fn as_input( &self ) -> &EnableReachabilityAnalyzerOrganizationSharingInputBuilder
Access the EnableReachabilityAnalyzerOrganizationSharing as a reference.
sourcepub async fn send(
self
) -> Result<EnableReachabilityAnalyzerOrganizationSharingOutput, SdkError<EnableReachabilityAnalyzerOrganizationSharingError, HttpResponse>>
pub async fn send( self ) -> Result<EnableReachabilityAnalyzerOrganizationSharingOutput, SdkError<EnableReachabilityAnalyzerOrganizationSharingError, 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<EnableReachabilityAnalyzerOrganizationSharingOutput, EnableReachabilityAnalyzerOrganizationSharingError, Self>
pub fn customize( self ) -> CustomizableOperation<EnableReachabilityAnalyzerOrganizationSharingOutput, EnableReachabilityAnalyzerOrganizationSharingError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Trait Implementations§
source§impl Clone for EnableReachabilityAnalyzerOrganizationSharingFluentBuilder
impl Clone for EnableReachabilityAnalyzerOrganizationSharingFluentBuilder
source§fn clone(&self) -> EnableReachabilityAnalyzerOrganizationSharingFluentBuilder
fn clone(&self) -> EnableReachabilityAnalyzerOrganizationSharingFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more