awscli 1.37.11__py3-none-any.whl → 1.37.13__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/cloudtrail/create-subscription.rst +35 -35
- awscli/examples/cloudtrail/create-trail.rst +19 -19
- awscli/examples/cloudtrail/describe-trails.rst +36 -36
- awscli/examples/cloudtrail/update-subscription.rst +33 -33
- awscli/examples/cloudtrail/update-trail.rst +18 -18
- awscli/examples/codepipeline/list-action-executions.rst +114 -114
- awscli/examples/ec2/create-spot-datafeed-subscription.rst +24 -24
- awscli/examples/elasticbeanstalk/create-application-version.rst +3 -3
- awscli/examples/kendra/describe-data-source.rst +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/examples/networkmanager/delete-bucket-analytics-configuration.rst +1 -1
- awscli/examples/networkmanager/delete-bucket-metrics-configuration.rst +1 -1
- awscli/examples/networkmanager/delete-public-access-block.rst +1 -1
- awscli/examples/networkmanager/get-bucket-analytics-configuration.rst +1 -1
- awscli/examples/networkmanager/get-bucket-metrics-configuration.rst +1 -1
- awscli/examples/networkmanager/get-object-retention.rst +1 -1
- awscli/examples/networkmanager/get-public-access-block.rst +1 -1
- awscli/examples/networkmanager/list-bucket-analytics-configurations.rst +1 -1
- awscli/examples/networkmanager/list-bucket-metrics-configurations.rst +1 -1
- awscli/examples/networkmanager/put-bucket-metrics-configuration.rst +1 -1
- awscli/examples/networkmanager/put-object-retention.rst +1 -1
- awscli/examples/networkmanager/put-public-access-block.rst +1 -1
- awscli/examples/robomaker/create-robot-application-version.rst +1 -1
- awscli/examples/robomaker/create-robot-application.rst +2 -2
- awscli/examples/robomaker/create-simulation-application-version.rst +1 -1
- awscli/examples/robomaker/create-simulation-application.rst +2 -2
- awscli/examples/robomaker/describe-robot-application.rst +1 -1
- awscli/examples/robomaker/describe-simulation-application.rst +1 -1
- awscli/examples/robomaker/update-robot-application.rst +2 -2
- awscli/examples/robomaker/update-simulation-application.rst +2 -2
- awscli/examples/s3/website.rst +2 -2
- awscli/examples/s3api/abort-multipart-upload.rst +2 -2
- awscli/examples/s3api/complete-multipart-upload.rst +4 -4
- awscli/examples/s3api/create-bucket.rst +9 -9
- awscli/examples/s3api/create-multipart-upload.rst +4 -4
- awscli/examples/s3api/delete-bucket-analytics-configuration.rst +1 -1
- awscli/examples/s3api/delete-bucket-cors.rst +2 -2
- awscli/examples/s3api/delete-bucket-encryption.rst +1 -1
- awscli/examples/s3api/delete-bucket-inventory-configuration.rst +1 -1
- awscli/examples/s3api/delete-bucket-lifecycle.rst +2 -2
- awscli/examples/s3api/delete-bucket-metrics-configuration.rst +1 -1
- awscli/examples/s3api/delete-bucket-policy.rst +2 -2
- awscli/examples/s3api/delete-bucket-replication.rst +2 -2
- awscli/examples/s3api/delete-bucket-tagging.rst +2 -2
- awscli/examples/s3api/delete-bucket-website.rst +2 -2
- awscli/examples/s3api/delete-bucket.rst +2 -2
- awscli/examples/s3api/delete-object-tagging.rst +1 -1
- awscli/examples/s3api/delete-object.rst +2 -2
- awscli/examples/s3api/delete-objects.rst +2 -2
- awscli/examples/s3api/delete-public-access-block.rst +1 -1
- awscli/examples/s3api/get-bucket-accelerate-configuration.rst +1 -1
- awscli/examples/s3api/get-bucket-acl.rst +2 -2
- awscli/examples/s3api/get-bucket-analytics-configuration.rst +1 -1
- awscli/examples/s3api/get-bucket-cors.rst +2 -2
- awscli/examples/s3api/get-bucket-encryption.rst +2 -2
- awscli/examples/s3api/get-bucket-inventory-configuration.rst +2 -2
- awscli/examples/s3api/get-bucket-lifecycle-configuration.rst +2 -2
- awscli/examples/s3api/get-bucket-lifecycle.rst +2 -2
- awscli/examples/s3api/get-bucket-location.rst +2 -2
- awscli/examples/s3api/get-bucket-logging.rst +2 -2
- awscli/examples/s3api/get-bucket-metrics-configuration.rst +1 -1
- awscli/examples/s3api/get-bucket-notification-configuration.rst +2 -2
- awscli/examples/s3api/get-bucket-notification.rst +2 -2
- awscli/examples/s3api/get-bucket-policy-status.rst +2 -2
- awscli/examples/s3api/get-bucket-policy.rst +3 -3
- awscli/examples/s3api/get-bucket-replication.rst +3 -3
- awscli/examples/s3api/get-bucket-request-payment.rst +1 -1
- awscli/examples/s3api/get-bucket-tagging.rst +2 -2
- awscli/examples/s3api/get-bucket-versioning.rst +2 -2
- awscli/examples/s3api/get-bucket-website.rst +2 -2
- awscli/examples/s3api/get-object-acl.rst +2 -2
- awscli/examples/s3api/get-object-attributes.rst +1 -1
- awscli/examples/s3api/get-object-legal-hold.rst +1 -1
- awscli/examples/s3api/get-object-lock-configuration.rst +1 -1
- awscli/examples/s3api/get-object-retention.rst +1 -1
- awscli/examples/s3api/get-object-tagging.rst +3 -3
- awscli/examples/s3api/get-object-torrent.rst +2 -2
- awscli/examples/s3api/get-public-access-block.rst +1 -1
- awscli/examples/s3api/head-bucket.rst +2 -2
- awscli/examples/s3api/head-object.rst +2 -2
- awscli/examples/s3api/list-bucket-analytics-configurations.rst +1 -1
- awscli/examples/s3api/list-bucket-inventory-configurations.rst +3 -3
- awscli/examples/s3api/list-bucket-metrics-configurations.rst +1 -1
- awscli/examples/s3api/list-multipart-uploads.rst +2 -2
- awscli/examples/s3api/list-object-versions.rst +2 -2
- awscli/examples/s3api/list-objects-v2.rst +1 -1
- awscli/examples/s3api/list-parts.rst +2 -2
- awscli/examples/s3api/put-bucket-accelerate-configuration.rst +1 -1
- awscli/examples/s3api/put-bucket-analytics-configuration.rst +1 -1
- awscli/examples/s3api/put-bucket-encryption.rst +1 -1
- awscli/examples/s3api/put-bucket-inventory-configuration.rst +6 -6
- awscli/examples/s3api/put-bucket-lifecycle-configuration.rst +2 -2
- awscli/examples/s3api/put-bucket-lifecycle.rst +2 -2
- awscli/examples/s3api/put-bucket-metrics-configuration.rst +1 -1
- awscli/examples/s3api/put-bucket-notification-configuration.rst +44 -44
- awscli/examples/s3api/put-bucket-notification.rst +4 -4
- awscli/examples/s3api/put-bucket-request-payment.rst +2 -2
- awscli/examples/s3api/put-bucket-tagging.rst +4 -4
- awscli/examples/s3api/put-bucket-versioning.rst +3 -3
- awscli/examples/s3api/put-bucket-website.rst +2 -2
- awscli/examples/s3api/put-object-legal-hold.rst +1 -1
- awscli/examples/s3api/put-object-lock-configuration.rst +1 -1
- awscli/examples/s3api/put-object-retention.rst +1 -1
- awscli/examples/s3api/put-object-tagging.rst +2 -2
- awscli/examples/s3api/put-public-access-block.rst +1 -1
- awscli/examples/s3api/select-object-content.rst +1 -1
- awscli/examples/s3api/upload-part-copy.rst +2 -2
- awscli/examples/s3api/upload-part.rst +1 -1
- awscli/examples/s3api/wait/bucket-exists.rst +1 -1
- awscli/examples/s3api/wait/bucket-not-exists.rst +1 -1
- awscli/examples/s3api/wait/object-exists.rst +1 -1
- awscli/examples/s3api/wait/object-not-exists.rst +1 -1
- {awscli-1.37.11.dist-info → awscli-1.37.13.dist-info}/METADATA +2 -2
- {awscli-1.37.11.dist-info → awscli-1.37.13.dist-info}/RECORD +145 -122
- {awscli-1.37.11.data → awscli-1.37.13.data}/scripts/aws +0 -0
- {awscli-1.37.11.data → awscli-1.37.13.data}/scripts/aws.cmd +0 -0
- {awscli-1.37.11.data → awscli-1.37.13.data}/scripts/aws_bash_completer +0 -0
- {awscli-1.37.11.data → awscli-1.37.13.data}/scripts/aws_completer +0 -0
- {awscli-1.37.11.data → awscli-1.37.13.data}/scripts/aws_zsh_completer.sh +0 -0
- {awscli-1.37.11.dist-info → awscli-1.37.13.dist-info}/LICENSE.txt +0 -0
- {awscli-1.37.11.dist-info → awscli-1.37.13.dist-info}/WHEEL +0 -0
- {awscli-1.37.11.dist-info → awscli-1.37.13.dist-info}/top_level.txt +0 -0
|
@@ -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*.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
The following ``delete-bucket-analytics-configuration`` example removes the analytics configuration for the specified bucket and ID. ::
|
|
4
4
|
|
|
5
5
|
aws s3api delete-bucket-analytics-configuration \
|
|
6
|
-
--bucket
|
|
6
|
+
--bucket amzn-s3-demo-bucket \
|
|
7
7
|
--id 1
|
|
8
8
|
|
|
9
9
|
This command produces no output.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
The following ``delete-bucket-metrics-configuration`` example removes the metrics configuration for the specified bucket and ID. ::
|
|
4
4
|
|
|
5
5
|
aws s3api delete-bucket-metrics-configuration \
|
|
6
|
-
--bucket
|
|
6
|
+
--bucket amzn-s3-demo-bucket \
|
|
7
7
|
--id 123
|
|
8
8
|
|
|
9
9
|
This command produces no output.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
The following ``get-object-retention`` example retrieves the object retention configuration for the specified object. ::
|
|
4
4
|
|
|
5
5
|
aws s3api get-object-retention \
|
|
6
|
-
--bucket
|
|
6
|
+
--bucket amzn-s3-demo-bucket-with-object-lock \
|
|
7
7
|
--key doc1.rtf
|
|
8
8
|
|
|
9
9
|
Output::
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
The following ``put-bucket-metrics-configuration`` example sets a metric configuration with ID 123 for the specified bucket. ::
|
|
4
4
|
|
|
5
5
|
aws s3api put-bucket-metrics-configuration \
|
|
6
|
-
--bucket
|
|
6
|
+
--bucket amzn-s3-demo-bucket \
|
|
7
7
|
--id 123 \
|
|
8
8
|
--metrics-configuration '{"Id": "123", "Filter": {"Prefix": "logs"}}'
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
The following ``put-object-retention`` example sets an object retention configuration for the specified object until 2025-01-01. ::
|
|
4
4
|
|
|
5
5
|
aws s3api put-object-retention \
|
|
6
|
-
--bucket
|
|
6
|
+
--bucket amzn-s3-demo-bucket-with-object-lock \
|
|
7
7
|
--key doc1.rtf \
|
|
8
8
|
--retention '{ "Mode": "GOVERNANCE", "RetainUntilDate": "2025-01-01T00:00:00" }'
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
The following ``put-public-access-block`` example sets a restrictive block public access configuration for the specified bucket. ::
|
|
4
4
|
|
|
5
5
|
aws s3api put-public-access-block \
|
|
6
|
-
--bucket
|
|
6
|
+
--bucket amzn-s3-demo-bucket \
|
|
7
7
|
--public-access-block-configuration "BlockPublicAcls=true,IgnorePublicAcls=true,BlockPublicPolicy=true,RestrictPublicBuckets=true"
|
|
8
8
|
|
|
9
9
|
This command produces no output.
|
|
@@ -4,7 +4,7 @@ This example creates a robot application.
|
|
|
4
4
|
|
|
5
5
|
Command::
|
|
6
6
|
|
|
7
|
-
aws robomaker create-robot-application --name MyRobotApplication --sources s3Bucket=
|
|
7
|
+
aws robomaker create-robot-application --name MyRobotApplication --sources s3Bucket=amzn-s3-demo-bucket,s3Key=my-robot-application.tar.gz,architecture=X86_64 --robot-software-suite name=ROS,version=Kinetic
|
|
8
8
|
|
|
9
9
|
Output::
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ Output::
|
|
|
14
14
|
"version": "$LATEST",
|
|
15
15
|
"sources": [
|
|
16
16
|
{
|
|
17
|
-
"s3Bucket": "
|
|
17
|
+
"s3Bucket": "amzn-s3-demo-bucket",
|
|
18
18
|
"s3Key": "my-robot-application.tar.gz",
|
|
19
19
|
"architecture": "ARMHF"
|
|
20
20
|
}
|
|
@@ -4,7 +4,7 @@ This example creates a simulation application.
|
|
|
4
4
|
|
|
5
5
|
Command::
|
|
6
6
|
|
|
7
|
-
aws robomaker create-simulation-application --name MyRobotApplication --sources s3Bucket=
|
|
7
|
+
aws robomaker create-simulation-application --name MyRobotApplication --sources s3Bucket=amzn-s3-demo-bucket,s3Key=my-simulation-application.tar.gz,architecture=ARMHF --robot-software-suite name=ROS,version=Kinetic --simulation-software-suite name=Gazebo,version=7 --rendering-engine name=OGRE,version=1.x
|
|
8
8
|
|
|
9
9
|
Output::
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ Output::
|
|
|
14
14
|
"version": "$LATEST",
|
|
15
15
|
"sources": [
|
|
16
16
|
{
|
|
17
|
-
"s3Bucket": "
|
|
17
|
+
"s3Bucket": "amzn-s3-demo-bucket",
|
|
18
18
|
"s3Key": "my-simulation-application.tar.gz",
|
|
19
19
|
"architecture": "X86_64"
|
|
20
20
|
}
|
|
@@ -4,7 +4,7 @@ This example updates a robot application.
|
|
|
4
4
|
|
|
5
5
|
Command::
|
|
6
6
|
|
|
7
|
-
aws robomaker update-robot-application --application arn:aws:robomaker:us-west-2:111111111111:robot-application/MyRobotApplication/1551203485821 --sources s3Bucket=
|
|
7
|
+
aws robomaker update-robot-application --application arn:aws:robomaker:us-west-2:111111111111:robot-application/MyRobotApplication/1551203485821 --sources s3Bucket=amzn-s3-demo-bucket,s3Key=my-robot-application.tar.gz,architecture=X86_64 --robot-software-suite name=ROS,version=Kinetic
|
|
8
8
|
|
|
9
9
|
Output::
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ Output::
|
|
|
14
14
|
"version": "$LATEST",
|
|
15
15
|
"sources": [
|
|
16
16
|
{
|
|
17
|
-
"s3Bucket": "
|
|
17
|
+
"s3Bucket": "amzn-s3-demo-bucket",
|
|
18
18
|
"s3Key": "my-robot-application.tar.gz",
|
|
19
19
|
"architecture": "X86_64"
|
|
20
20
|
}
|