aws-sdk-ec2 1.223.0

AWS SDK for Amazon Elastic Compute Cloud
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetManagedResourceVisibility`](crate::operation::get_managed_resource_visibility::builders::GetManagedResourceVisibilityFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`dry_run(bool)`](crate::operation::get_managed_resource_visibility::builders::GetManagedResourceVisibilityFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::get_managed_resource_visibility::builders::GetManagedResourceVisibilityFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
    /// - On success, responds with [`GetManagedResourceVisibilityOutput`](crate::operation::get_managed_resource_visibility::GetManagedResourceVisibilityOutput) with field(s):
    ///   - [`visibility(Option<ManagedResourceVisibilitySettings>)`](crate::operation::get_managed_resource_visibility::GetManagedResourceVisibilityOutput::visibility): <p>The managed resource visibility settings for the account.</p>
    /// - On failure, responds with [`SdkError<GetManagedResourceVisibilityError>`](crate::operation::get_managed_resource_visibility::GetManagedResourceVisibilityError)
    pub fn get_managed_resource_visibility(
        &self,
    ) -> crate::operation::get_managed_resource_visibility::builders::GetManagedResourceVisibilityFluentBuilder {
        crate::operation::get_managed_resource_visibility::builders::GetManagedResourceVisibilityFluentBuilder::new(self.handle.clone())
    }
}