You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/networkflowmonitor/src/client/create_monitor.rs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4,17 +4,17 @@ impl super::Client {
4
4
///
5
5
/// - The fluent builder is configurable:
6
6
/// - [`monitor_name(impl Into<String>)`](crate::operation::create_monitor::builders::CreateMonitorFluentBuilder::monitor_name) / [`set_monitor_name(Option<String>)`](crate::operation::create_monitor::builders::CreateMonitorFluentBuilder::set_monitor_name):<br>required: **true**<br><p>The name of the monitor.</p><br>
7
-
/// - [`local_resources(MonitorLocalResource)`](crate::operation::create_monitor::builders::CreateMonitorFluentBuilder::local_resources) / [`set_local_resources(Option<Vec::<MonitorLocalResource>>)`](crate::operation::create_monitor::builders::CreateMonitorFluentBuilder::set_local_resources):<br>required: **true**<br><p>The local resources to monitor. A local resource, in a bi-directional flow of a workload, is the hostwhere the agent is installed. For example, if a workload consists of an interaction between a web service and a backend database (for example, Amazon Relational Database Service (RDS)), the EC2 instance hosting the web service, which also runs the agent, is the local resource.</p><br>
8
-
/// - [`remote_resources(MonitorRemoteResource)`](crate::operation::create_monitor::builders::CreateMonitorFluentBuilder::remote_resources) / [`set_remote_resources(Option<Vec::<MonitorRemoteResource>>)`](crate::operation::create_monitor::builders::CreateMonitorFluentBuilder::set_remote_resources):<br>required: **false**<br><p>The remote resources to monitor. A remote resource is the other endpoint in the bi-directional flow of a workload, with a local resource. For example, Amazon Relational Database Service (RDS) can be a remote resource.</p><br>
7
+
/// - [`local_resources(MonitorLocalResource)`](crate::operation::create_monitor::builders::CreateMonitorFluentBuilder::local_resources) / [`set_local_resources(Option<Vec::<MonitorLocalResource>>)`](crate::operation::create_monitor::builders::CreateMonitorFluentBuilder::set_local_resources):<br>required: **true**<br><p>The local resources to monitor. A local resource in a workload is the location of the host, or hosts, where the Network Flow Monitor agent is installed. For example, if a workload consists of an interaction between a web service and a backend database (for example, Amazon Dynamo DB), the subnet with the EC2 instance that hosts the web service, which also runs the agent, is the local resource.</p> <p>Be aware that all local resources must belong to the current Region.</p><br>
8
+
/// - [`remote_resources(MonitorRemoteResource)`](crate::operation::create_monitor::builders::CreateMonitorFluentBuilder::remote_resources) / [`set_remote_resources(Option<Vec::<MonitorRemoteResource>>)`](crate::operation::create_monitor::builders::CreateMonitorFluentBuilder::set_remote_resources):<br>required: **false**<br><p>The remote resources to monitor. A remote resource is the other endpoint in the bi-directional flow of a workload, with a local resource. For example, Amazon Dynamo DB can be a remote resource.</p> <p>When you specify remote resources, be aware that specific combinations of resources are allowed and others are not, including the following constraints:</p> <ul> <li> <p>All remote resources that you specify must all belong to a single Region.</p></li> <li> <p>If you specify Amazon Web Services services as remote resources, any other remote resources that you specify must be in the current Region.</p></li> <li> <p>When you specify a remote resource for another Region, you can only specify the <code>Region</code> resource type. You cannot specify a subnet, VPC, or Availability Zone in another Region.</p></li> <li> <p>If you leave the <code>RemoteResources</code> parameter empty, the monitor will include all network flows that terminate in the current Region.</p></li> </ul><br>
9
9
/// - [`scope_arn(impl Into<String>)`](crate::operation::create_monitor::builders::CreateMonitorFluentBuilder::scope_arn) / [`set_scope_arn(Option<String>)`](crate::operation::create_monitor::builders::CreateMonitorFluentBuilder::set_scope_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the scope for the monitor.</p><br>
10
10
/// - [`client_token(impl Into<String>)`](crate::operation::create_monitor::builders::CreateMonitorFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_monitor::builders::CreateMonitorFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request. Don't reuse the same client token for other API requests.</p><br>
11
11
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_monitor::builders::CreateMonitorFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_monitor::builders::CreateMonitorFluentBuilder::set_tags):<br>required: **false**<br><p>The tags for a monitor. You can add a maximum of 200 tags.</p><br>
12
12
/// - On success, responds with [`CreateMonitorOutput`](crate::operation::create_monitor::CreateMonitorOutput) with field(s):
13
13
/// - [`monitor_arn(String)`](crate::operation::create_monitor::CreateMonitorOutput::monitor_arn): <p>The Amazon Resource Name (ARN) of the monitor.</p>
14
14
/// - [`monitor_name(String)`](crate::operation::create_monitor::CreateMonitorOutput::monitor_name): <p>The name of the monitor.</p>
15
15
/// - [`monitor_status(MonitorStatus)`](crate::operation::create_monitor::CreateMonitorOutput::monitor_status): <p>The status of a monitor. The status can be one of the following</p> <ul> <li> <p><code>PENDING</code>: The monitor is in the process of being created.</p></li> <li> <p><code>ACTIVE</code>: The monitor is active.</p></li> <li> <p><code>INACTIVE</code>: The monitor is inactive.</p></li> <li> <p><code>ERROR</code>: Monitor creation failed due to an error.</p></li> <li> <p><code>DELETING</code>: The monitor is in the process of being deleted.</p></li> </ul>
16
-
/// - [`local_resources(Vec::<MonitorLocalResource>)`](crate::operation::create_monitor::CreateMonitorOutput::local_resources): <p>The local resources to monitor. A local resource, in a bi-directional flow of a workload, is the host where the agent is installed.</p>
17
-
/// - [`remote_resources(Vec::<MonitorRemoteResource>)`](crate::operation::create_monitor::CreateMonitorOutput::remote_resources): <p>The remote resources to monitor. A remote resource is the other endpoint in the bi-directional flow of a workload, with a local resource. For example, Amazon Relational Database Service (RDS) can be a remote resource. The remote resource is identified by its ARN or an identifier.</p>
16
+
/// - [`local_resources(Vec::<MonitorLocalResource>)`](crate::operation::create_monitor::CreateMonitorOutput::local_resources): <p>The local resources to monitor. A local resource in a workload is the location of hosts where the Network Flow Monitor agent is installed.</p>
17
+
/// - [`remote_resources(Vec::<MonitorRemoteResource>)`](crate::operation::create_monitor::CreateMonitorOutput::remote_resources): <p>The remote resources to monitor. A remote resource is the other endpoint specified for the network flow of a workload, with a local resource. For example, Amazon Dynamo DB can be a remote resource.</p>
18
18
/// - [`created_at(DateTime)`](crate::operation::create_monitor::CreateMonitorOutput::created_at): <p>The date and time when the monitor was created.</p>
19
19
/// - [`modified_at(DateTime)`](crate::operation::create_monitor::CreateMonitorOutput::modified_at): <p>The last date and time that the monitor was modified.</p>
20
20
/// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_monitor::CreateMonitorOutput::tags): <p>The tags for a monitor.</p>
Copy file name to clipboardExpand all lines: sdk/networkflowmonitor/src/client/create_scope.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ impl super::Client {
3
3
/// Constructs a fluent builder for the [`CreateScope`](crate::operation::create_scope::builders::CreateScopeFluentBuilder) operation.
4
4
///
5
5
/// - The fluent builder is configurable:
6
-
/// - [`targets(TargetResource)`](crate::operation::create_scope::builders::CreateScopeFluentBuilder::targets) / [`set_targets(Option<Vec::<TargetResource>>)`](crate::operation::create_scope::builders::CreateScopeFluentBuilder::set_targets):<br>required: **true**<br><p>The targets to define the scope to be monitored. Currently, a target is an Amazon Web Services account.</p><br>
6
+
/// - [`targets(TargetResource)`](crate::operation::create_scope::builders::CreateScopeFluentBuilder::targets) / [`set_targets(Option<Vec::<TargetResource>>)`](crate::operation::create_scope::builders::CreateScopeFluentBuilder::set_targets):<br>required: **true**<br><p>The targets to define the scope to be monitored. A target is an array of targetResources, which are currently Region-account pairs, defined by targetResource constructs.</p><br>
7
7
/// - [`client_token(impl Into<String>)`](crate::operation::create_scope::builders::CreateScopeFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_scope::builders::CreateScopeFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request. Don't reuse the same client token for other API requests.</p><br>
8
8
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_scope::builders::CreateScopeFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_scope::builders::CreateScopeFluentBuilder::set_tags):<br>required: **false**<br><p>The tags for a scope. You can add a maximum of 200 tags.</p><br>
9
9
/// - On success, responds with [`CreateScopeOutput`](crate::operation::create_scope::CreateScopeOutput) with field(s):
Copy file name to clipboardExpand all lines: sdk/networkflowmonitor/src/client/get_monitor.rs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,8 @@ impl super::Client {
8
8
/// - [`monitor_arn(String)`](crate::operation::get_monitor::GetMonitorOutput::monitor_arn): <p>The Amazon Resource Name (ARN) of the monitor.</p>
9
9
/// - [`monitor_name(String)`](crate::operation::get_monitor::GetMonitorOutput::monitor_name): <p>The name of the monitor.</p>
10
10
/// - [`monitor_status(MonitorStatus)`](crate::operation::get_monitor::GetMonitorOutput::monitor_status): <p>The status of a monitor. The status can be one of the following</p> <ul> <li> <p><code>PENDING</code>: The monitor is in the process of being created.</p></li> <li> <p><code>ACTIVE</code>: The monitor is active.</p></li> <li> <p><code>INACTIVE</code>: The monitor is inactive.</p></li> <li> <p><code>ERROR</code>: Monitor creation failed due to an error.</p></li> <li> <p><code>DELETING</code>: The monitor is in the process of being deleted.</p></li> </ul>
11
-
/// - [`local_resources(Vec::<MonitorLocalResource>)`](crate::operation::get_monitor::GetMonitorOutput::local_resources): <p>The local resources for this monitor.</p>
12
-
/// - [`remote_resources(Vec::<MonitorRemoteResource>)`](crate::operation::get_monitor::GetMonitorOutput::remote_resources): <p>The remote resources for this monitor.</p>
11
+
/// - [`local_resources(Vec::<MonitorLocalResource>)`](crate::operation::get_monitor::GetMonitorOutput::local_resources): <p>The local resources to monitor. A local resource in a workload is the location of the hosts where the Network Flow Monitor agent is installed.</p>
12
+
/// - [`remote_resources(Vec::<MonitorRemoteResource>)`](crate::operation::get_monitor::GetMonitorOutput::remote_resources): <p>The remote resources to monitor. A remote resource is the other endpoint specified for the network flow of a workload, with a local resource. For example, Amazon Dynamo DB can be a remote resource.</p>
13
13
/// - [`created_at(DateTime)`](crate::operation::get_monitor::GetMonitorOutput::created_at): <p>The date and time when the monitor was created.</p>
14
14
/// - [`modified_at(DateTime)`](crate::operation::get_monitor::GetMonitorOutput::modified_at): <p>The date and time when the monitor was last modified.</p>
15
15
/// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_monitor::GetMonitorOutput::tags): <p>The tags for a monitor.</p>
Copy file name to clipboardExpand all lines: sdk/networkflowmonitor/src/client/get_scope.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ impl super::Client {
8
8
/// - [`scope_id(String)`](crate::operation::get_scope::GetScopeOutput::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. A scope ID is returned from a <code>CreateScope</code> API call.</p>
9
9
/// - [`status(ScopeStatus)`](crate::operation::get_scope::GetScopeOutput::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>
10
10
/// - [`scope_arn(String)`](crate::operation::get_scope::GetScopeOutput::scope_arn): <p>The Amazon Resource Name (ARN) of the scope.</p>
11
-
/// - [`targets(Vec::<TargetResource>)`](crate::operation::get_scope::GetScopeOutput::targets): <p>The targets for a scope</p>
11
+
/// - [`targets(Vec::<TargetResource>)`](crate::operation::get_scope::GetScopeOutput::targets): <p>The targets to define the scope to be monitored. A target is an array of targetResources, which are currently Region-account pairs, defined by targetResource constructs.</p>
12
12
/// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_scope::GetScopeOutput::tags): <p>The tags for a scope.</p>
13
13
/// - On failure, responds with [`SdkError<GetScopeError>`](crate::operation::get_scope::GetScopeError)
0 commit comments