aws_sdk_networkflowmonitor/client/
update_scope.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`UpdateScope`](crate::operation::update_scope::builders::UpdateScopeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`scope_id(impl Into<String>)`](crate::operation::update_scope::builders::UpdateScopeFluentBuilder::scope_id) / [`set_scope_id(Option<String>)`](crate::operation::update_scope::builders::UpdateScopeFluentBuilder::set_scope_id):<br>required: **true**<br><p>The identifier for the scope that includes the resources you want to get data results for. A scope ID is an internally-generated identifier that includes all the resources for a specific root account.</p><br>
7    ///   - [`resources_to_add(TargetResource)`](crate::operation::update_scope::builders::UpdateScopeFluentBuilder::resources_to_add) / [`set_resources_to_add(Option<Vec::<TargetResource>>)`](crate::operation::update_scope::builders::UpdateScopeFluentBuilder::set_resources_to_add):<br>required: **false**<br><p>A list of resources to add to a scope.</p><br>
8    ///   - [`resources_to_delete(TargetResource)`](crate::operation::update_scope::builders::UpdateScopeFluentBuilder::resources_to_delete) / [`set_resources_to_delete(Option<Vec::<TargetResource>>)`](crate::operation::update_scope::builders::UpdateScopeFluentBuilder::set_resources_to_delete):<br>required: **false**<br><p>A list of resources to delete from a scope.</p><br>
9    /// - On success, responds with [`UpdateScopeOutput`](crate::operation::update_scope::UpdateScopeOutput) with field(s):
10    ///   - [`scope_id(String)`](crate::operation::update_scope::UpdateScopeOutput::scope_id): <p>The identifier for the scope that includes the resources you want to get data results for. A scope ID is an internally-generated identifier that includes all the resources for a specific root account.</p>
11    ///   - [`status(ScopeStatus)`](crate::operation::update_scope::UpdateScopeOutput::status): <p>The status for a scope. The status can be one of the following: <code>SUCCEEDED</code>, <code>IN_PROGRESS</code>, <code>FAILED</code>, <code>DEACTIVATING</code>, or <code>DEACTIVATED</code>.</p> <p>A status of <code>DEACTIVATING</code> means that you've requested a scope to be deactivated and Network Flow Monitor is in the process of deactivating the scope. A status of <code>DEACTIVATED</code> means that the deactivating process is complete.</p>
12    ///   - [`scope_arn(String)`](crate::operation::update_scope::UpdateScopeOutput::scope_arn): <p>The Amazon Resource Name (ARN) of the scope.</p>
13    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::update_scope::UpdateScopeOutput::tags): <p>The tags for a scope.</p>
14    /// - On failure, responds with [`SdkError<UpdateScopeError>`](crate::operation::update_scope::UpdateScopeError)
15    pub fn update_scope(&self) -> crate::operation::update_scope::builders::UpdateScopeFluentBuilder {
16        crate::operation::update_scope::builders::UpdateScopeFluentBuilder::new(self.handle.clone())
17    }
18}