awscli 1.37.10__py3-none-any.whl → 1.37.12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of awscli might be problematic. Click here for more details.
- awscli/__init__.py +1 -1
- awscli/examples/networkflowmonitor/create-monitor.rst +19 -0
- awscli/examples/networkflowmonitor/create-scope.rst +16 -0
- awscli/examples/networkflowmonitor/delete-monitor.rst +10 -0
- awscli/examples/networkflowmonitor/delete-scope.rst +10 -0
- awscli/examples/networkflowmonitor/get-monitor.rst +26 -0
- awscli/examples/networkflowmonitor/get-query-results-workload-insights-top-contributors-data.rst +30 -0
- awscli/examples/networkflowmonitor/get-query-results-workload-insights-top-contributors.rst +27 -0
- awscli/examples/networkflowmonitor/get-query-status-monitor-top-contributors.rst +15 -0
- awscli/examples/networkflowmonitor/get-query-status-workload-insights-top-contributors-data.rst +15 -0
- awscli/examples/networkflowmonitor/get-query-status-workload-insights-top-contributors.rst +15 -0
- awscli/examples/networkflowmonitor/get-scope.rst +28 -0
- awscli/examples/networkflowmonitor/list-monitors.rst +19 -0
- awscli/examples/networkflowmonitor/list-scopes.rst +19 -0
- awscli/examples/networkflowmonitor/list-tags-for-resource.rst +17 -0
- awscli/examples/networkflowmonitor/start-query-monitor-top-contributors.rst +18 -0
- awscli/examples/networkflowmonitor/start-query-workload-insights-top-contributors-data.rst +18 -0
- awscli/examples/networkflowmonitor/start-query-workload-insights-top-contributors.rst +18 -0
- awscli/examples/networkflowmonitor/stop-query-monitor-top-contributors.rst +11 -0
- awscli/examples/networkflowmonitor/stop-query-workload-insights-top-contributors-data.rst +11 -0
- awscli/examples/networkflowmonitor/stop-query-workload-insights-top-contributors.rst +11 -0
- awscli/examples/networkflowmonitor/tag-resource.rst +11 -0
- awscli/examples/networkflowmonitor/untag-resource.rst +11 -0
- awscli/examples/networkflowmonitor/update-monitor.rst +21 -0
- {awscli-1.37.10.dist-info → awscli-1.37.12.dist-info}/METADATA +2 -2
- {awscli-1.37.10.dist-info → awscli-1.37.12.dist-info}/RECORD +34 -11
- {awscli-1.37.10.data → awscli-1.37.12.data}/scripts/aws +0 -0
- {awscli-1.37.10.data → awscli-1.37.12.data}/scripts/aws.cmd +0 -0
- {awscli-1.37.10.data → awscli-1.37.12.data}/scripts/aws_bash_completer +0 -0
- {awscli-1.37.10.data → awscli-1.37.12.data}/scripts/aws_completer +0 -0
- {awscli-1.37.10.data → awscli-1.37.12.data}/scripts/aws_zsh_completer.sh +0 -0
- {awscli-1.37.10.dist-info → awscli-1.37.12.dist-info}/LICENSE.txt +0 -0
- {awscli-1.37.10.dist-info → awscli-1.37.12.dist-info}/WHEEL +0 -0
- {awscli-1.37.10.dist-info → awscli-1.37.12.dist-info}/top_level.txt +0 -0
awscli/__init__.py
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
**To create a monitor**
|
|
2
|
+
|
|
3
|
+
The following ``create-monitor`` example creates a monitor named ``demo`` in the specified account. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor create-monitor \
|
|
6
|
+
--monitor-name demo \
|
|
7
|
+
--local-resources type="AWS::EC2::VPC",identifier="arn:aws:ec2:us-east-1:123456789012:vpc/vpc-03ea55eeda25adbb0" \
|
|
8
|
+
--scope-arn arn:aws:networkflowmonitor:us-east-1:123456789012:scope/e21cda79-30a0-4c12-9299-d8629d76d8cf
|
|
9
|
+
|
|
10
|
+
Output::
|
|
11
|
+
|
|
12
|
+
{
|
|
13
|
+
"monitorArn": "arn:aws:networkflowmonitor:us-east-1:123456789012:monitor/demo",
|
|
14
|
+
"monitorName": "demo",
|
|
15
|
+
"monitorStatus": "ACTIVE",
|
|
16
|
+
"tags": {}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
For more information, see `Create a monitor in Network Flow Monitor <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor-configure-monitors-create.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
**To create a scope**
|
|
2
|
+
|
|
3
|
+
The following ``create-scope`` example creates a scope that includes a set of resources for which Network Flow Monitor will generate network traffic metrics. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor create-scope \
|
|
6
|
+
--targets '[{"targetIdentifier":{"targetId":{"accountId":"123456789012"},"targetType":"ACCOUNT"},"region":"us-east-1"}]'
|
|
7
|
+
|
|
8
|
+
Output::
|
|
9
|
+
|
|
10
|
+
{
|
|
11
|
+
"scopeId": "97626f8d-8a21-4b5d-813a-1a0962dd4615",
|
|
12
|
+
"status": "IN_PROGRESS",
|
|
13
|
+
"tags": {}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
For more information, see `Components and features of Network Flow Monitor <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor-components.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
**To delete a monitor**
|
|
2
|
+
|
|
3
|
+
The following ``delete-monitor`` example deletes a monitor named ``demo`` in the specified account. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor delete-monitor \
|
|
6
|
+
--monitor-name demo
|
|
7
|
+
|
|
8
|
+
This command produces no output.
|
|
9
|
+
|
|
10
|
+
For more information, see `Delete a monitor in Network Flow Monitor <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor-configure-monitors-delete.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
**To delete a scope**
|
|
2
|
+
|
|
3
|
+
The following ``delete-scope`` example deletes a specified scope. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor delete-scope \
|
|
6
|
+
--scope-id fdc20616-6bb4-4242-a24e-a748e65ca7ac
|
|
7
|
+
|
|
8
|
+
This command produces no output.
|
|
9
|
+
|
|
10
|
+
For more information, see `Components and features of Network Flow Monitor <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor-components.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
**To retrieve information about a monitor**
|
|
2
|
+
|
|
3
|
+
The following ``get-monitor`` example displays information about the monitor named ``demo`` in the specified account. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor get-monitor \
|
|
6
|
+
--monitor-name Demo
|
|
7
|
+
|
|
8
|
+
Output::
|
|
9
|
+
|
|
10
|
+
{
|
|
11
|
+
"monitorArn": "arn:aws:networkflowmonitor:us-east-1:123456789012:monitor/Demo",
|
|
12
|
+
"monitorName": "Demo",
|
|
13
|
+
"monitorStatus": "ACTIVE",
|
|
14
|
+
"localResources": [
|
|
15
|
+
{
|
|
16
|
+
"type": "AWS::EC2::VPC",
|
|
17
|
+
"identifier": "arn:aws:ec2:us-east-1:123456789012:vpc/vpc-03ea55eeda25adbb0"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"remoteResources": [],
|
|
21
|
+
"createdAt": "2024-12-09T12:21:51.616000-06:00",
|
|
22
|
+
"modifiedAt": "2024-12-09T12:21:55.412000-06:00",
|
|
23
|
+
"tags": {}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
For more information, see `Components and features of Network Flow Monitor <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor-components.html>`__ in the *Amazon CloudWatch User Guide*.
|
awscli/examples/networkflowmonitor/get-query-results-workload-insights-top-contributors-data.rst
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
**To retrieve the top contributor data on workload insights**
|
|
2
|
+
|
|
3
|
+
The following ``get-query-results-workload-insights-top-contributors-data`` example returns the data for the specified query. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor get-query-results-workload-insights-top-contributors-data \
|
|
6
|
+
--scope-id e21cda79-30a0-4c12-9299-d8629d76d8cf \
|
|
7
|
+
--query-id cc4f4ab3-3103-33b8-80ff-d6597a0c6cea
|
|
8
|
+
|
|
9
|
+
Output::
|
|
10
|
+
|
|
11
|
+
{
|
|
12
|
+
"datapoints": [
|
|
13
|
+
{
|
|
14
|
+
"timestamps": [
|
|
15
|
+
"2024-12-09T19:00:00+00:00",
|
|
16
|
+
"2024-12-09T19:05:00+00:00",
|
|
17
|
+
"2024-12-09T19:10:00+00:00"
|
|
18
|
+
],
|
|
19
|
+
"values": [
|
|
20
|
+
259943.0,
|
|
21
|
+
194856.0,
|
|
22
|
+
216432.0
|
|
23
|
+
],
|
|
24
|
+
"label": "use1-az6"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"unit": "Bytes"
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
For more information, see `Evaluate network flows with workload insights <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor-configure-evaluate-flows.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
**To retrieve the top contributors on workload insights**
|
|
2
|
+
|
|
3
|
+
The following ``get-query-results-workload-insights-top-contributors`` example returns the data for the specified query. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor get-query-results-workload-insights-top-contributors \
|
|
6
|
+
--scope-id e21cda79-30a0-4c12-9299-d8629d76d8cf \
|
|
7
|
+
--query-id 1fc423d3-b144-37a6-80e6-e2c7d26eea0c
|
|
8
|
+
|
|
9
|
+
Output::
|
|
10
|
+
|
|
11
|
+
{
|
|
12
|
+
"topContributors": [
|
|
13
|
+
{
|
|
14
|
+
"accountId": "123456789012",
|
|
15
|
+
"localSubnetId": "subnet-0a5b30fb95dca2c14",
|
|
16
|
+
"localAz": "use1-az6",
|
|
17
|
+
"localVpcId": "vpc-03ea55eeda25adbb0",
|
|
18
|
+
"localRegion": "us-east-1",
|
|
19
|
+
"remoteIdentifier": "",
|
|
20
|
+
"value": 908443,
|
|
21
|
+
"localSubnetArn": "arn:aws:ec2:us-east-1:123456789012:subnet/subnet-0a5b30fb95dca2c14",
|
|
22
|
+
"localVpcArn": "arn:aws:ec2:us-east-1:123456789012:vpc/vpc-03ea55eeda25adbb0"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
For more information, see `Evaluate network flows with workload insights <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor-configure-evaluate-flows.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
**To retrieve the status of the query**
|
|
2
|
+
|
|
3
|
+
The following ``get-query-status-monitor-top-contributors`` example displays the current status of the query in the specified account. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor get-query-status-monitor-top-contributors \
|
|
6
|
+
--monitor-name Demo \
|
|
7
|
+
--query-id 5398eabd-bc40-3f5f-aba3-bcb639d3c7ca
|
|
8
|
+
|
|
9
|
+
Output::
|
|
10
|
+
|
|
11
|
+
{
|
|
12
|
+
"status": "SUCCEEDED"
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
For more information, see `Evaluate network flows with workload insights <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor-configure-evaluate-flows.html>`__ in the *Amazon CloudWatch User Guide*.
|
awscli/examples/networkflowmonitor/get-query-status-workload-insights-top-contributors-data.rst
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
**To retrieve the status of the query**
|
|
2
|
+
|
|
3
|
+
The following ``get-query-status-workload-insights-top-contributors-data`` example displays the current status of the query in the specified account. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor get-query-status-workload-insights-top-contributors-data \
|
|
6
|
+
--scope-id e21cda79-30a0-4c12-9299-d8629d76d8cf \
|
|
7
|
+
--query-id 4333754d-8ae1-3f29-b6b7-c36db2e7f8ac
|
|
8
|
+
|
|
9
|
+
Output::
|
|
10
|
+
|
|
11
|
+
{
|
|
12
|
+
"status": "SUCCEEDED"
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
For more information, see `Evaluate network flows with workload insights <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor-configure-evaluate-flows.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
**To retrieve the status of the query**
|
|
2
|
+
|
|
3
|
+
The following ``get-query-status-workload-insights-top-contributors`` example displays the current status of the query in the specified account. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor get-query-status-workload-insights-top-contributors \
|
|
6
|
+
--scope-id e21cda79-30a0-4c12-9299-d8629d76d8cf \
|
|
7
|
+
--query-id f2a87c70-3e5a-362e-8beb-4747d13d8419
|
|
8
|
+
|
|
9
|
+
Output::
|
|
10
|
+
|
|
11
|
+
{
|
|
12
|
+
"status": "SUCCEEDED"
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
For more information, see `Evaluate network flows with workload insights <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor-configure-evaluate-flows.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
**To retrieve information about a scope**
|
|
2
|
+
|
|
3
|
+
The following ``get-scope`` example displays information about a scope, such as status, tags, name and target details. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor get-scope \
|
|
6
|
+
--scope-id e21cda79-30a0-4c12-9299-d8629d76d8cf
|
|
7
|
+
|
|
8
|
+
Output::
|
|
9
|
+
|
|
10
|
+
{
|
|
11
|
+
"scopeId": "e21cda79-30a0-4c12-9299-d8629d76d8cf",
|
|
12
|
+
"status": "SUCCEEDED",
|
|
13
|
+
"scopeArn": "arn:aws:networkflowmonitor:us-east-1:123456789012:scope/e21cda79-30a0-4c12-9299-d8629d76d8cf",
|
|
14
|
+
"targets": [
|
|
15
|
+
{
|
|
16
|
+
"targetIdentifier": {
|
|
17
|
+
"targetId": {
|
|
18
|
+
"accountId": "123456789012"
|
|
19
|
+
},
|
|
20
|
+
"targetType": "ACCOUNT"
|
|
21
|
+
},
|
|
22
|
+
"region": "us-east-1"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"tags": {}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
For more information, see `Components and features of Network Flow Monitor <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor-components.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
**To retrieve a list of monitors**
|
|
2
|
+
|
|
3
|
+
The following ``list-monitors`` example returns returns all the monitors in the specified account. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor list-monitors
|
|
6
|
+
|
|
7
|
+
Output::
|
|
8
|
+
|
|
9
|
+
{
|
|
10
|
+
"monitors": [
|
|
11
|
+
{
|
|
12
|
+
"monitorArn": "arn:aws:networkflowmonitor:us-east-1:123456789012:monitor/Demo",
|
|
13
|
+
"monitorName": "Demo",
|
|
14
|
+
"monitorStatus": "ACTIVE"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
For more information, see `Components and features of Network Flow Monitor <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor-components.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
**To retrieve a list of scopes**
|
|
2
|
+
|
|
3
|
+
The following ``list-scopes`` example lists all scopes in the specified account. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor list-scopes
|
|
6
|
+
|
|
7
|
+
Output::
|
|
8
|
+
|
|
9
|
+
{
|
|
10
|
+
"scopes": [
|
|
11
|
+
{
|
|
12
|
+
"scopeId": "fdc20616-6bb4-4242-a24e-a748e65ca7ac",
|
|
13
|
+
"status": "SUCCEEDED",
|
|
14
|
+
"scopeArn": "arn:aws:networkflowmonitor:us-east-1:123456789012:scope/fdc20616-6bb4-4242-a24e-a748e65ca7ac"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
For more information, see `Components and features of Network Flow Monitor <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor-components.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
**To list the tags**
|
|
2
|
+
|
|
3
|
+
The following ``list-tags-for-resource`` example returns all the tags associated with the specified resource. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor list-tags-for-resource \
|
|
6
|
+
--resource-arn arn:aws:networkflowmonitor:us-east-1:123456789012:monitor/Demo
|
|
7
|
+
|
|
8
|
+
Output::
|
|
9
|
+
|
|
10
|
+
{
|
|
11
|
+
"tags": {
|
|
12
|
+
"Value": "Production",
|
|
13
|
+
"Key": "stack"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
For more information, see `Tagging your Amazon CloudWatch resources <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Tagging.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
**To start a query**
|
|
2
|
+
|
|
3
|
+
The following ``start-query-monitor-top-contributors`` example starts the query which returns a query ID to retrieve the top contributors. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor start-query-monitor-top-contributors \
|
|
6
|
+
--monitor-name Demo \
|
|
7
|
+
--start-time 2024-12-09T19:00:00Z \
|
|
8
|
+
--end-time 2024-12-09T19:15:00Z \
|
|
9
|
+
--metric-name DATA_TRANSFERRED \
|
|
10
|
+
--destination-category UNCLASSIFIED
|
|
11
|
+
|
|
12
|
+
Output::
|
|
13
|
+
|
|
14
|
+
{
|
|
15
|
+
"queryId": "aecd3a88-0283-35b0-a17d-6e944dc8531d"
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
For more information, see `Evaluate network flows with workload insights <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor-configure-evaluate-flows.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
**To start a query**
|
|
2
|
+
|
|
3
|
+
The following ``start-query-workload-insights-top-contributors-data`` example starts the query which returns a query ID to retrieve the top contributors. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor start-query-workload-insights-top-contributors-data \
|
|
6
|
+
--scope-id e21cda79-30a0-4c12-9299-d8629d76d8cf \
|
|
7
|
+
--start-time 2024-12-09T19:00:00Z \
|
|
8
|
+
--end-time 2024-12-09T19:15:00Z \
|
|
9
|
+
--metric-name DATA_TRANSFERRED \
|
|
10
|
+
--destination-category UNCLASSIFIED
|
|
11
|
+
|
|
12
|
+
Output::
|
|
13
|
+
|
|
14
|
+
{
|
|
15
|
+
"queryId": "cc4f4ab3-3103-33b8-80ff-d6597a0c6cea"
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
For more information, see `Evaluate network flows with workload insights <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor-configure-evaluate-flows.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
**To start a query**
|
|
2
|
+
|
|
3
|
+
The following ``start-query-workload-insights-top-contributors`` example starts the query which returns a query ID to retrieve the top contributors. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor start-query-workload-insights-top-contributors \
|
|
6
|
+
--scope-id e21cda79-30a0-4c12-9299-d8629d76d8cf \
|
|
7
|
+
--start-time 2024-12-09T19:00:00Z \
|
|
8
|
+
--end-time 2024-12-09T19:15:00Z \
|
|
9
|
+
--metric-name DATA_TRANSFERRED \
|
|
10
|
+
--destination-category UNCLASSIFIED
|
|
11
|
+
|
|
12
|
+
Output::
|
|
13
|
+
|
|
14
|
+
{
|
|
15
|
+
"queryId": "1fc423d3-b144-37a6-80e6-e2c7d26eea0c"
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
For more information, see `Evaluate network flows with workload insights <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor-configure-evaluate-flows.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
**To stop a query**
|
|
2
|
+
|
|
3
|
+
The following ``stop-query-monitor-top-contributors`` example stops the query in the specified account. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor stop-query-monitor-top-contributors \
|
|
6
|
+
--monitor-name Demo \
|
|
7
|
+
--query-id aecd3a88-0283-35b0-a17d-6e944dc8531d
|
|
8
|
+
|
|
9
|
+
This command produces no output.
|
|
10
|
+
|
|
11
|
+
For more information, see `Evaluate network flows with workload insights <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor-configure-evaluate-flows.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
**To stop a query**
|
|
2
|
+
|
|
3
|
+
The following ``stop-query-workload-insights-top-contributors-data`` example stops the query in the specified account. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor stop-query-workload-insights-top-contributors-data \
|
|
6
|
+
--scope-id e21cda79-30a0-4c12-9299-d8629d76d8cf \
|
|
7
|
+
--query-id cc4f4ab3-3103-33b8-80ff-d6597a0c6cea
|
|
8
|
+
|
|
9
|
+
This command produces no output.
|
|
10
|
+
|
|
11
|
+
For more information, see `Evaluate network flows with workload insights <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor-configure-evaluate-flows.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
**To stop a query**
|
|
2
|
+
|
|
3
|
+
The following ``stop-query-workload-insights-top-contributors`` example stops the query in the specified account. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor stop-query-workload-insights-top-contributors \
|
|
6
|
+
--scope-id e21cda79-30a0-4c12-9299-d8629d76d8cf \
|
|
7
|
+
--query-id 1fc423d3-b144-37a6-80e6-e2c7d26eea0c
|
|
8
|
+
|
|
9
|
+
This command produces no output.
|
|
10
|
+
|
|
11
|
+
For more information, see `Evaluate network flows with workload insights <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor-configure-evaluate-flows.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
**To add a tag to the specified resource**
|
|
2
|
+
|
|
3
|
+
The following ``tag-resource`` example adds a tag to the monitor in the specified account. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor tag-resource \
|
|
6
|
+
--resource-arn arn:aws:networkflowmonitor:us-east-1:123456789012:monitor/Demo \
|
|
7
|
+
--tags Key=stack,Value=Production
|
|
8
|
+
|
|
9
|
+
This command produces no output.
|
|
10
|
+
|
|
11
|
+
For more information, see `Tagging your Amazon CloudWatch resources <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Tagging.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
**To remove a tag from the specified resource**
|
|
2
|
+
|
|
3
|
+
The following ``untag-resource`` example removes a tag from the monitor in the specified account. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor untag-resource \
|
|
6
|
+
--resource-arn arn:aws:networkflowmonitor:us-east-1:123456789012:monitor/Demo \
|
|
7
|
+
--tag-keys stack
|
|
8
|
+
|
|
9
|
+
This command produces no output.
|
|
10
|
+
|
|
11
|
+
For more information, see `Tagging your Amazon CloudWatch resources <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Tagging.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
**To update an existing monitor**
|
|
2
|
+
|
|
3
|
+
The following ``update-monitor`` example updates the monitor named ``Demo`` in the specified account. ::
|
|
4
|
+
|
|
5
|
+
aws networkflowmonitor update-monitor \
|
|
6
|
+
--monitor-name Demo \
|
|
7
|
+
--local-resources-to-add type="AWS::EC2::VPC",identifier="arn:aws:ec2:us-east-1:123456789012:vpc/vpc-048d08dfbec623f94"
|
|
8
|
+
|
|
9
|
+
Output::
|
|
10
|
+
|
|
11
|
+
{
|
|
12
|
+
"monitorArn": "arn:aws:networkflowmonitor:us-east-1:123456789012:monitor/Demo",
|
|
13
|
+
"monitorName": "Demo",
|
|
14
|
+
"monitorStatus": "ACTIVE",
|
|
15
|
+
"tags": {
|
|
16
|
+
"Value": "Production",
|
|
17
|
+
"Key": "stack"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
For more information, see `Components and features of Network Flow Monitor <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor-components.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: awscli
|
|
3
|
-
Version: 1.37.
|
|
3
|
+
Version: 1.37.12
|
|
4
4
|
Summary: Universal Command Line Environment for AWS.
|
|
5
5
|
Home-page: http://aws.amazon.com/cli/
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -23,7 +23,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
24
|
Requires-Python: >= 3.8
|
|
25
25
|
License-File: LICENSE.txt
|
|
26
|
-
Requires-Dist: botocore (==1.36.
|
|
26
|
+
Requires-Dist: botocore (==1.36.12)
|
|
27
27
|
Requires-Dist: docutils (<0.17,>=0.10)
|
|
28
28
|
Requires-Dist: s3transfer (<0.12.0,>=0.11.0)
|
|
29
29
|
Requires-Dist: PyYAML (<6.1,>=3.10)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
awscli/__init__.py,sha256=
|
|
1
|
+
awscli/__init__.py,sha256=ODywa7k3rwaKfAymQEmV2LdbOLuYXbfE4A6pmj5S0xQ,1534
|
|
2
2
|
awscli/__main__.py,sha256=iBjOg0tBxNlhzTi_tyc1G0SMGBvHMVvBJzX3JqYaooY,662
|
|
3
3
|
awscli/alias.py,sha256=Us9pvP8Zplbr1W4N3rE5gxicWLqlRG3l_9VPskxafgs,11313
|
|
4
4
|
awscli/argparser.py,sha256=3Pxx-vWytdV985Y6MIl9DeutUXyehIvACIs_PDby8GI,7650
|
|
@@ -4268,6 +4268,29 @@ awscli/examples/memorydb/update-cluster.rst,sha256=Xrg5csQfCIt5ZZFR0rJWAieo8m8r7
|
|
|
4268
4268
|
awscli/examples/memorydb/update-parameter-group.rst,sha256=JPEKgQVRdWgMO9XHkcy4tFzEOPCgQdb2-Zfr0wc36Cs,759
|
|
4269
4269
|
awscli/examples/memorydb/update-subnet-group.rst,sha256=i7qC6G4nK8JAfKZIeYx0f7BkEOyLvclN4hD3xXgTCfQ,910
|
|
4270
4270
|
awscli/examples/memorydb/update-user.rst,sha256=knRijLyJ2uyRX8rSq9OTrAkwcDl0d9H_WP8w9Qe3oGY,944
|
|
4271
|
+
awscli/examples/networkflowmonitor/create-monitor.rst,sha256=X9shRcOvAx1HDBCDVkRl1brjvbr-bZ0J7ZcQTptrDFQ,872
|
|
4272
|
+
awscli/examples/networkflowmonitor/create-scope.rst,sha256=P3GKc7OuSlzg2VX7Q5ZOIgj-1tnqxZxcc_vX9jPBwLE,718
|
|
4273
|
+
awscli/examples/networkflowmonitor/delete-monitor.rst,sha256=aLqnhrs3GrZH2UedJRsUNtDCvkOHZSlQG37xFI9xJF0,471
|
|
4274
|
+
awscli/examples/networkflowmonitor/delete-scope.rst,sha256=qRVJMNdzeiA9kS8tseh3i_MDxdQnT1sYUCpMcTl-KI0,453
|
|
4275
|
+
awscli/examples/networkflowmonitor/get-monitor.rst,sha256=OUelEy21QMU628Wc2j2S0vm5nmYiWN8_SEpMCDdRfn8,1008
|
|
4276
|
+
awscli/examples/networkflowmonitor/get-query-results-workload-insights-top-contributors-data.rst,sha256=9wsVsRFQceA2hO3bY3KSM5o2m7kr2ZQWCO8AezrCmYQ,1113
|
|
4277
|
+
awscli/examples/networkflowmonitor/get-query-results-workload-insights-top-contributors.rst,sha256=gOVzwqRoQeJ_2QEpfHpQnrOVn79AQeVZVE_AmoqBj8o,1225
|
|
4278
|
+
awscli/examples/networkflowmonitor/get-query-status-monitor-top-contributors.rst,sha256=vHw-GY5qTD4yV9skYR83dk1pZvJu2Wwo6Paw50GD9rQ,630
|
|
4279
|
+
awscli/examples/networkflowmonitor/get-query-status-workload-insights-top-contributors-data.rst,sha256=SbthMJvc6p149U12J6Wi5rZAbkw_J9W2vkNn5YWA3ww,688
|
|
4280
|
+
awscli/examples/networkflowmonitor/get-query-status-workload-insights-top-contributors.rst,sha256=lSxpOboUpCTOJcDY_KfoDRtYbvQvxy3PhPB7kieXwD4,678
|
|
4281
|
+
awscli/examples/networkflowmonitor/get-scope.rst,sha256=_Bv0nIFv270T1-mOHAjWyBPPvNYvICWT7WKbtpQwxkk,1045
|
|
4282
|
+
awscli/examples/networkflowmonitor/list-monitors.rst,sha256=rpab_MMmtiA_HJpoVUSqoPjqbAbVBA4iEb4FfrY8kHo,669
|
|
4283
|
+
awscli/examples/networkflowmonitor/list-scopes.rst,sha256=OY1GUyYhlqbd3KCeSisxBRZKZ7kjvkzuP3qLPjKBaKk,697
|
|
4284
|
+
awscli/examples/networkflowmonitor/list-tags-for-resource.rst,sha256=5ZtYFs8ufPcXhEJO-MGC3W74-pVxS9pVBg6PArSOwBk,586
|
|
4285
|
+
awscli/examples/networkflowmonitor/start-query-monitor-top-contributors.rst,sha256=Tg5bo3mfEbF-FUlItzwFZweCYS_i3M54rh_LR6AA2ew,754
|
|
4286
|
+
awscli/examples/networkflowmonitor/start-query-workload-insights-top-contributors-data.rst,sha256=EZlVn45G77WK4e0T8e9ntfbwYUMnOHIhufO13JkEA54,813
|
|
4287
|
+
awscli/examples/networkflowmonitor/start-query-workload-insights-top-contributors.rst,sha256=UBjX7_ZpSXGfYfSbg2SNrUZcD_VcAYT3fdeyGu7qDgc,802
|
|
4288
|
+
awscli/examples/networkflowmonitor/stop-query-monitor-top-contributors.rst,sha256=Tdyy9J3RY2d7NOj3I0uG1GDEI4pc_TJrRsXMrfCC5bc,554
|
|
4289
|
+
awscli/examples/networkflowmonitor/stop-query-workload-insights-top-contributors-data.rst,sha256=K5AH5nEBnLzZOUSdpNr68yU4Nar6DzPpWZ1CTrLfk4Q,614
|
|
4290
|
+
awscli/examples/networkflowmonitor/stop-query-workload-insights-top-contributors.rst,sha256=EHd2hWOrwpbplgv5I4JMVjofigYny2qeYX5JLMqAFpk,603
|
|
4291
|
+
awscli/examples/networkflowmonitor/tag-resource.rst,sha256=d4-5_x7vRFEwsKB89twLYIrcBuKSvMaWprPNFXKUnR4,547
|
|
4292
|
+
awscli/examples/networkflowmonitor/untag-resource.rst,sha256=LKSaHqhyXTCabVAqHqTxuZqUE4cek_YkoqyENjlMbtI,543
|
|
4293
|
+
awscli/examples/networkflowmonitor/update-monitor.rst,sha256=tWQahPzNSDZfiyqad26Hlw9nPvVKViDCsiYpgkI0TyA,839
|
|
4271
4294
|
awscli/examples/networkmanager/associate-customer-gateway.rst,sha256=E1TU4JbsUP05uR44CNNPpglQcDbnrauLlQvoDRykcy8,1049
|
|
4272
4295
|
awscli/examples/networkmanager/associate-link.rst,sha256=krm565ztXw8kzGSpjiQVhIIwcE2EnlTDn1elP2MfS_A,910
|
|
4273
4296
|
awscli/examples/networkmanager/create-core-network.rst,sha256=EMvv50N_9eRkUXbwnzYXhXMlV9At1ix2I9D1uCtBW1U,1216
|
|
@@ -6069,13 +6092,13 @@ awscli/topics/return-codes.rst,sha256=d9lpNFZwD75IiYcDEADQzu-4QiR8P28UPHkrNwPV5J
|
|
|
6069
6092
|
awscli/topics/s3-config.rst,sha256=kyLbdEEePnHW0hoMmQDkt4o6PbqAdpO5ph_51GgQyXg,11664
|
|
6070
6093
|
awscli/topics/s3-faq.rst,sha256=Kw1w4NFHOTXq9Mz5S3HHw3mBkyeEzH4ruB0PD6-EO1c,2938
|
|
6071
6094
|
awscli/topics/topic-tags.json,sha256=6lUSrs3FKCZNRSQMnjcXNgWyRNGjZIeur1988a4IO5o,1577
|
|
6072
|
-
awscli-1.37.
|
|
6073
|
-
awscli-1.37.
|
|
6074
|
-
awscli-1.37.
|
|
6075
|
-
awscli-1.37.
|
|
6076
|
-
awscli-1.37.
|
|
6077
|
-
awscli-1.37.
|
|
6078
|
-
awscli-1.37.
|
|
6079
|
-
awscli-1.37.
|
|
6080
|
-
awscli-1.37.
|
|
6081
|
-
awscli-1.37.
|
|
6095
|
+
awscli-1.37.12.data/scripts/aws,sha256=r24FExgs0-JjILTQ3XZAqXBYE4SV6UMTtALkLGAj86g,805
|
|
6096
|
+
awscli-1.37.12.data/scripts/aws.cmd,sha256=s46DkC6LNgX63CIkzxxbPnFMJ6DRDBkvc88GnWa8Pvg,1432
|
|
6097
|
+
awscli-1.37.12.data/scripts/aws_bash_completer,sha256=RRpoEGJRagRzyHZKZZOwpltuVYv2EoiZsdXhmyWPZ54,204
|
|
6098
|
+
awscli-1.37.12.data/scripts/aws_completer,sha256=oC9kuMDlWE47dWk_4xjPde2PQvN-M0vND0J4YSLabVQ,1126
|
|
6099
|
+
awscli-1.37.12.data/scripts/aws_zsh_completer.sh,sha256=Qm6Z8ejNAMzpJjaT0pzqxbSDT2zxdmzVe5haRA7qLoc,1808
|
|
6100
|
+
awscli-1.37.12.dist-info/LICENSE.txt,sha256=o5XhFlwu0OK_BBrijlKCRa7dQAm36UrUB3gCV_cEr8E,549
|
|
6101
|
+
awscli-1.37.12.dist-info/METADATA,sha256=q-fmCxgYfL14vifD5hnB9bLTwmSxLCYP6qU9fh9aUek,11331
|
|
6102
|
+
awscli-1.37.12.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
6103
|
+
awscli-1.37.12.dist-info/top_level.txt,sha256=vt9wXFr1_nGYK6abhJgt6zY3fULe4JSZedm_5XOM9S0,7
|
|
6104
|
+
awscli-1.37.12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|