1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RevokeSnapshotAccess`](crate::operation::revoke_snapshot_access::builders::RevokeSnapshotAccessFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`snapshot_identifier(impl ::std::convert::Into<String>)`](crate::operation::revoke_snapshot_access::builders::RevokeSnapshotAccessFluentBuilder::snapshot_identifier) / [`set_snapshot_identifier(Option<String>)`](crate::operation::revoke_snapshot_access::builders::RevokeSnapshotAccessFluentBuilder::set_snapshot_identifier): <p>The identifier of the snapshot that the account can no longer access.</p>
    ///   - [`snapshot_arn(impl ::std::convert::Into<String>)`](crate::operation::revoke_snapshot_access::builders::RevokeSnapshotAccessFluentBuilder::snapshot_arn) / [`set_snapshot_arn(Option<String>)`](crate::operation::revoke_snapshot_access::builders::RevokeSnapshotAccessFluentBuilder::set_snapshot_arn): <p>The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.</p>
    ///   - [`snapshot_cluster_identifier(impl ::std::convert::Into<String>)`](crate::operation::revoke_snapshot_access::builders::RevokeSnapshotAccessFluentBuilder::snapshot_cluster_identifier) / [`set_snapshot_cluster_identifier(Option<String>)`](crate::operation::revoke_snapshot_access::builders::RevokeSnapshotAccessFluentBuilder::set_snapshot_cluster_identifier): <p>The identifier of the cluster the snapshot was created from. This parameter is required if your IAM user or role has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.</p>
    ///   - [`account_with_restore_access(impl ::std::convert::Into<String>)`](crate::operation::revoke_snapshot_access::builders::RevokeSnapshotAccessFluentBuilder::account_with_restore_access) / [`set_account_with_restore_access(Option<String>)`](crate::operation::revoke_snapshot_access::builders::RevokeSnapshotAccessFluentBuilder::set_account_with_restore_access): <p>The identifier of the Amazon Web Services account that can no longer restore the specified snapshot.</p>
    /// - On success, responds with [`RevokeSnapshotAccessOutput`](crate::operation::revoke_snapshot_access::RevokeSnapshotAccessOutput) with field(s):
    ///   - [`snapshot(Option<Snapshot>)`](crate::operation::revoke_snapshot_access::RevokeSnapshotAccessOutput::snapshot): <p>Describes a snapshot.</p>
    /// - On failure, responds with [`SdkError<RevokeSnapshotAccessError>`](crate::operation::revoke_snapshot_access::RevokeSnapshotAccessError)
    pub fn revoke_snapshot_access(
        &self,
    ) -> crate::operation::revoke_snapshot_access::builders::RevokeSnapshotAccessFluentBuilder {
        crate::operation::revoke_snapshot_access::builders::RevokeSnapshotAccessFluentBuilder::new(
            self.handle.clone(),
        )
    }
}