awscli 1.36.34__py3-none-any.whl → 1.36.36__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.

Files changed (83) hide show
  1. awscli/__init__.py +1 -1
  2. awscli/customizations/s3/subcommands.py +37 -3
  3. awscli/examples/ec2/associate-transit-gateway-multicast-domain.rst +1 -1
  4. awscli/examples/ec2/delete-verified-access-endpoint.rst +1 -1
  5. awscli/examples/ec2/describe-verified-access-endpoints.rst +2 -2
  6. awscli/examples/ec2/disable-address-transfer.rst +1 -1
  7. awscli/examples/ec2/disable-aws-network-performance-metric-subscription.rst +1 -1
  8. awscli/examples/ec2/disable-fast-launch.rst +2 -2
  9. awscli/examples/ec2/disable-image-block-public-access.rst +1 -1
  10. awscli/examples/ec2/disable-image-deprecation.rst +1 -1
  11. awscli/examples/ec2/disassociate-transit-gateway-multicast-domain.rst +1 -1
  12. awscli/examples/ec2/enable-address-transfer.rst +1 -1
  13. awscli/examples/ec2/enable-fast-launch.rst +2 -2
  14. awscli/examples/ec2/enable-image-deprecation.rst +3 -3
  15. awscli/examples/ec2/export-client-vpn-client-configuration.rst +43 -43
  16. awscli/examples/ec2/get-aws-network-performance-data.rst +1 -1
  17. awscli/examples/ec2/get-capacity-reservation-usage.rst +24 -24
  18. awscli/examples/ec2/get-coip-pool-usage.rst +1 -1
  19. awscli/examples/ec2/get-groups-for-capacity-reservation.rst +1 -1
  20. awscli/examples/ec2/get-network-insights-access-scope-analysis-findings.rst +60 -60
  21. awscli/examples/ec2/get-network-insights-access-scope-content.rst +35 -35
  22. awscli/examples/ec2/get-transit-gateway-multicast-domain-associations.rst +1 -1
  23. awscli/examples/ec2/get-transit-gateway-prefix-list-references.rst +28 -28
  24. awscli/examples/ec2/list-images-in-recycle-bin.rst +1 -1
  25. awscli/examples/ec2/list-snapshots-in-recycle-bin.rst +1 -1
  26. awscli/examples/ec2/modify-availability-zone-group.rst +1 -1
  27. awscli/examples/ec2/modify-capacity-reservation.rst +26 -24
  28. awscli/examples/ec2/modify-fleet.rst +1 -1
  29. awscli/examples/ec2/modify-hosts.rst +37 -35
  30. awscli/examples/ec2/modify-instance-capacity-reservation-attributes.rst +31 -29
  31. awscli/examples/ec2/modify-instance-maintenance-options.rst +2 -2
  32. awscli/examples/ec2/modify-instance-metadata-options.rst +5 -5
  33. awscli/examples/ec2/modify-instance-placement.rst +76 -80
  34. awscli/examples/ec2/modify-snapshot-tier.rst +3 -5
  35. awscli/examples/ec2/modify-transit-gateway-prefix-list-reference.rst +27 -27
  36. awscli/examples/ec2/modify-verified-access-endpoint.rst +2 -2
  37. awscli/examples/ec2/register-instance-event-notification-attributes.rst +2 -2
  38. awscli/examples/ec2/register-transit-gateway-multicast-group-members.rst +1 -1
  39. awscli/examples/ec2/register-transit-gateway-multicast-group-sources.rst +1 -1
  40. awscli/examples/ec2/restore-image-from-recycle-bin.rst +1 -1
  41. awscli/examples/ec2/restore-snapshot-from-recycle-bin.rst +1 -1
  42. awscli/examples/ec2/restore-snapshot-tier.rst +4 -4
  43. awscli/examples/ec2/search-transit-gateway-multicast-groups.rst +1 -1
  44. awscli/examples/ec2/start-network-insights-access-scope-analysis.rst +21 -21
  45. {awscli-1.36.34.dist-info → awscli-1.36.36.dist-info}/METADATA +2 -2
  46. {awscli-1.36.34.dist-info → awscli-1.36.36.dist-info}/RECORD +54 -83
  47. awscli/examples/iot1click-devices/claim-devices-by-claim-code.rst +0 -15
  48. awscli/examples/iot1click-devices/describe-device.rst +0 -27
  49. awscli/examples/iot1click-devices/finalize-device-claim.rst +0 -14
  50. awscli/examples/iot1click-devices/get-device-methods.rst +0 -30
  51. awscli/examples/iot1click-devices/initiate-device-claim.rst +0 -14
  52. awscli/examples/iot1click-devices/invoke-device-method.rst +0 -24
  53. awscli/examples/iot1click-devices/list-device-events.rst +0 -32
  54. awscli/examples/iot1click-devices/list-devices.rst +0 -26
  55. awscli/examples/iot1click-devices/list-tags-for-resource.rst +0 -17
  56. awscli/examples/iot1click-devices/tag-resource.rst +0 -20
  57. awscli/examples/iot1click-devices/unclaim-device.rst +0 -14
  58. awscli/examples/iot1click-devices/untag-resource.rst +0 -12
  59. awscli/examples/iot1click-devices/update-device-state.rst +0 -11
  60. awscli/examples/iot1click-projects/associate-device-with-placement.rst +0 -13
  61. awscli/examples/iot1click-projects/create-placement.rst +0 -12
  62. awscli/examples/iot1click-projects/create-project.rst +0 -27
  63. awscli/examples/iot1click-projects/delete-placement.rst +0 -11
  64. awscli/examples/iot1click-projects/delete-project.rst +0 -10
  65. awscli/examples/iot1click-projects/describe-placement.rst +0 -24
  66. awscli/examples/iot1click-projects/describe-project.rst +0 -32
  67. awscli/examples/iot1click-projects/disassociate-device-from-placement.rst +0 -12
  68. awscli/examples/iot1click-projects/get-devices-in-placement.rst +0 -17
  69. awscli/examples/iot1click-projects/list-placements.rst +0 -21
  70. awscli/examples/iot1click-projects/list-projects.rst +0 -21
  71. awscli/examples/iot1click-projects/list-tags-for-resource.rst +0 -17
  72. awscli/examples/iot1click-projects/tag-resource.rst +0 -20
  73. awscli/examples/iot1click-projects/untag-resource.rst +0 -11
  74. awscli/examples/iot1click-projects/update-placement.rst +0 -21
  75. awscli/examples/iot1click-projects/update-project.rst +0 -11
  76. {awscli-1.36.34.data → awscli-1.36.36.data}/scripts/aws +0 -0
  77. {awscli-1.36.34.data → awscli-1.36.36.data}/scripts/aws.cmd +0 -0
  78. {awscli-1.36.34.data → awscli-1.36.36.data}/scripts/aws_bash_completer +0 -0
  79. {awscli-1.36.34.data → awscli-1.36.36.data}/scripts/aws_completer +0 -0
  80. {awscli-1.36.34.data → awscli-1.36.36.data}/scripts/aws_zsh_completer.sh +0 -0
  81. {awscli-1.36.34.dist-info → awscli-1.36.36.dist-info}/LICENSE.txt +0 -0
  82. {awscli-1.36.34.dist-info → awscli-1.36.36.dist-info}/WHEEL +0 -0
  83. {awscli-1.36.34.dist-info → awscli-1.36.36.dist-info}/top_level.txt +0 -0
@@ -19,4 +19,4 @@ Output::
19
19
  ]
20
20
  }
21
21
 
22
- For more information about Recycle Bin for Amazon EBS, see `Recover snapshots from the Recycle Bin <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin-working-with-snaps.html>`__ in the *Amazon EC2 User Guide*.
22
+ For more information about Recycle Bin, see `Recover deleted snapshots from the Recycle Bin <https://docs.aws.amazon.com/ebs/latest/userguide/recycle-bin-working-with-snaps.html>`__ in the *Amazon EBS User Guide*.
@@ -12,4 +12,4 @@ Output::
12
12
  "Return": true
13
13
  }
14
14
 
15
- For more information, see `Regions and Zones <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html>`__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*.
15
+ For more information, see `Regions and Zones <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html>`__ in the *Amazon EC2 User Guide*.
@@ -1,24 +1,26 @@
1
- **Example 1: To change the number of instances reserved by an existing capacity reservation**
2
-
3
- The following ``modify-capacity-reservation`` example changes the number of instances for which the capacity reservation reserves capacity. ::
4
-
5
- aws ec2 modify-capacity-reservation \
6
- --capacity-reservation-id cr-1234abcd56EXAMPLE \
7
- --instance-count 5
8
-
9
- Output::
10
-
11
- {
12
- "Return": true
13
- }
14
-
15
- **Example 2: To change the end date and time for an existing capacity reservation**
16
-
17
- The following ``modify-capacity-reservation`` example modifies an existing capacity reservation to end at the specified date and time. ::
18
-
19
- aws ec2 modify-capacity-reservation \
20
- --capacity-reservation-id cr-1234abcd56EXAMPLE \
21
- --end-date-type limited \
22
- --end-date 2019-08-31T23:59:59Z
23
-
24
- For more information, see `Modifying a Capacity Reservation <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-reservations-using.html#capacity-reservations-modify>`__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*.
1
+ **Example 1: To change the number of instances reserved by an existing capacity reservation**
2
+
3
+ The following ``modify-capacity-reservation`` example changes the number of instances for which the capacity reservation reserves capacity. ::
4
+
5
+ aws ec2 modify-capacity-reservation \
6
+ --capacity-reservation-id cr-1234abcd56EXAMPLE \
7
+ --instance-count 5
8
+
9
+ Output::
10
+
11
+ {
12
+ "Return": true
13
+ }
14
+
15
+ For more information, see `Modify a Capacity Reservation <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-reservations-modify.html>`__ in the *Amazon EC2 User Guide*.
16
+
17
+ **Example 2: To change the end date and time for an existing capacity reservation**
18
+
19
+ The following ``modify-capacity-reservation`` example modifies an existing capacity reservation to end at the specified date and time. ::
20
+
21
+ aws ec2 modify-capacity-reservation \
22
+ --capacity-reservation-id cr-1234abcd56EXAMPLE \
23
+ --end-date-type limited \
24
+ --end-date 2019-08-31T23:59:59Z
25
+
26
+ For more information, see `Modify a Capacity Reservation <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-reservations-modify.html>`__ in the *Amazon EC2 User Guide*.
@@ -12,4 +12,4 @@ Output::
12
12
  "Return": true
13
13
  }
14
14
 
15
- For more information, see `Managing an EC2 Fleet <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html>`__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*.
15
+ For more information, see `Manage an EC2 Fleet <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html>`__ in the *Amazon EC2 User Guide*.
@@ -1,35 +1,37 @@
1
- **Example 1: To enable auto-placement for a Dedicated Host**
2
-
3
- The following ``modify-hosts`` example enables auto-placement for a Dedicated Host so that it accepts any untargeted instance launches that match its instance type configuration. ::
4
-
5
- aws ec2 modify-hosts \
6
- --host-id h-06c2f189b4EXAMPLE \
7
- --auto-placement on
8
-
9
- Output::
10
-
11
- {
12
- "Successful": [
13
- "h-06c2f189b4EXAMPLE"
14
- ],
15
- "Unsuccessful": []
16
- }
17
-
18
- **Example 2: To enable host recovery for a Dedicated Host**
19
-
20
- The following ``modify-hosts`` example enables host recovery for the specified Dedicated Host. ::
21
-
22
- aws ec2 modify-hosts \
23
- --host-id h-06c2f189b4EXAMPLE \
24
- --host-recovery on
25
-
26
- Output::
27
-
28
- {
29
- "Successful": [
30
- "h-06c2f189b4EXAMPLE"
31
- ],
32
- "Unsuccessful": []
33
- }
34
-
35
- For more information, see `Modifying Dedicated Host Auto-Placement <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#modify-host-auto-placement>`__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*.
1
+ **Example 1: To enable auto-placement for a Dedicated Host**
2
+
3
+ The following ``modify-hosts`` example enables auto-placement for a Dedicated Host so that it accepts any untargeted instance launches that match its instance type configuration. ::
4
+
5
+ aws ec2 modify-hosts \
6
+ --host-id h-06c2f189b4EXAMPLE \
7
+ --auto-placement on
8
+
9
+ Output::
10
+
11
+ {
12
+ "Successful": [
13
+ "h-06c2f189b4EXAMPLE"
14
+ ],
15
+ "Unsuccessful": []
16
+ }
17
+
18
+ For more information, see `Modify the auto-placement setting for a Dedicated Host <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/modify-host-auto-placement.html>`__ in the *Amazon EC2 User Guide*.
19
+
20
+ **Example 2: To enable host recovery for a Dedicated Host**
21
+
22
+ The following ``modify-hosts`` example enables host recovery for the specified Dedicated Host. ::
23
+
24
+ aws ec2 modify-hosts \
25
+ --host-id h-06c2f189b4EXAMPLE \
26
+ --host-recovery on
27
+
28
+ Output::
29
+
30
+ {
31
+ "Successful": [
32
+ "h-06c2f189b4EXAMPLE"
33
+ ],
34
+ "Unsuccessful": []
35
+ }
36
+
37
+ For more information, see `Modify the auto-placement setting for a Dedicated Host <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/modify-host-auto-placement.html>`__ in the *Amazon EC2 User Guide*.
@@ -1,29 +1,31 @@
1
- **Example 1: To modify an instance's capacity reservation targeting settings**
2
-
3
- The following ``modify-instance-capacity-reservation-attributes`` example modifies a stopped instance to target a specific capacity reservation. ::
4
-
5
- aws ec2 modify-instance-capacity-reservation-attributes \
6
- --instance-id i-EXAMPLE8765abcd4e \
7
- --capacity-reservation-specification 'CapacityReservationTarget={CapacityReservationId= cr-1234abcd56EXAMPLE }'
8
-
9
- Output::
10
-
11
- {
12
- "Return": true
13
- }
14
-
15
- **Example 2: To modify an instance's capacity reservation targeting settings**
16
-
17
- The following ``modify-instance-capacity-reservation-attributes`` example modifies a stopped instance that targets the specified capacity reservation to launch in any capacity reservation that has matching attributes (instance type, platform, Availability Zone) and that has open instance matching criteria. ::
18
-
19
- aws ec2 modify-instance-capacity-reservation-attributes \
20
- --instance-id i-EXAMPLE8765abcd4e \
21
- --capacity-reservation-specification 'CapacityReservationPreference=open'
22
-
23
- Output::
24
-
25
- {
26
- "Return": true
27
- }
28
-
29
- For more information, see `Modifying an Instance's Capacity Reservation Settings <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-reservations-using.html#capacity-reservations-modify-instance>`__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*.
1
+ **Example 1: To modify an instance's capacity reservation targeting settings**
2
+
3
+ The following ``modify-instance-capacity-reservation-attributes`` example modifies a stopped instance to target a specific capacity reservation. ::
4
+
5
+ aws ec2 modify-instance-capacity-reservation-attributes \
6
+ --instance-id i-EXAMPLE8765abcd4e \
7
+ --capacity-reservation-specification 'CapacityReservationTarget={CapacityReservationId= cr-1234abcd56EXAMPLE }'
8
+
9
+ Output::
10
+
11
+ {
12
+ "Return": true
13
+ }
14
+
15
+ For more information, see `Modify the Capacity Reservation settings of your instance <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-reservations-modify-instance.html>`__ in the *Amazon EC2 User Guide*.
16
+
17
+ **Example 2: To modify an instance's capacity reservation targeting settings**
18
+
19
+ The following ``modify-instance-capacity-reservation-attributes`` example modifies a stopped instance that targets the specified capacity reservation to launch in any capacity reservation that has matching attributes (instance type, platform, Availability Zone) and that has open instance matching criteria. ::
20
+
21
+ aws ec2 modify-instance-capacity-reservation-attributes \
22
+ --instance-id i-EXAMPLE8765abcd4e \
23
+ --capacity-reservation-specification 'CapacityReservationPreference=open'
24
+
25
+ Output::
26
+
27
+ {
28
+ "Return": true
29
+ }
30
+
31
+ For more information, see `Modify the Capacity Reservation settings of your instance <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-reservations-modify-instance.html>`__ in the *Amazon EC2 User Guide*.
@@ -13,7 +13,7 @@ Output::
13
13
  "AutoRecovery": "disabled"
14
14
  }
15
15
 
16
- For more information, see `Recover your instance <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery>`__ in the *Amazon EC2 User Guide for Linux Instances*.
16
+ For more information, see `Configure simplified automatic recovery <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-configuration-recovery.html>`__ in the *Amazon EC2 User Guide*.
17
17
 
18
18
  **Example 2: To set the recovery behavior of an instance to default**
19
19
 
@@ -30,4 +30,4 @@ Output::
30
30
  "AutoRecovery": "default"
31
31
  }
32
32
 
33
- For more information, see `Recover your instance <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery>`__ in the *Amazon EC2 User Guide for Linux Instances*.
33
+ For more information, see `Configure simplified automatic recovery <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-configuration-recovery.html>`__ in the *Amazon EC2 User Guide*.
@@ -19,8 +19,8 @@ Output::
19
19
  }
20
20
  }
21
21
 
22
- For more information, see `Instance metadata and user data <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html>`__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*.
23
-
22
+ For more information, see `Instance metadata <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html>`__ in the *Amazon EC2 User Guide*.
23
+
24
24
  **Example 2: To disable instance metadata**
25
25
 
26
26
  The following ``modify-instance-metadata-options`` example disables the use of all versions of instance metadata on the specified instance. ::
@@ -41,11 +41,11 @@ Output::
41
41
  }
42
42
  }
43
43
 
44
- For more information, see `Instance metadata and user data <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html>`__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*.
44
+ For more information, see `Instance metadata <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html>`__ in the *Amazon EC2 User Guide*.
45
45
 
46
46
  **Example 3: To enable instance metadata IPv6 endpoint for your instance**
47
47
 
48
- The following ``modify-instance-metadata-options`` example shows you how to turn on the IPv6 endpoint for the instance metadata service. ::
48
+ The following ``modify-instance-metadata-options`` example shows you how to turn on the IPv6 endpoint for the instance metadata service. By default, the IPv6 endpoint is disabled. This is true even if you have launched an instance into an IPv6-only subnet. The IPv6 endpoint for IMDS is only accessible on instances built on the Nitro System. ::
49
49
 
50
50
  aws ec2 modify-instance-metadata-options \
51
51
  --instance-id i-1234567898abcdef0 \
@@ -65,4 +65,4 @@ Output::
65
65
  }
66
66
  }
67
67
 
68
- By default, the IPv6 endpoint is disabled. This is true even if you have launched an instance into an IPv6-only subnet. The IPv6 endpoint for IMDS is only accessible on instances built on the Nitro System. For more information, see `Instance metadata and user data <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html>`__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*.
68
+ For more information, see `Instance metadata <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html>`__ in the *Amazon EC2 User Guide*.
@@ -1,80 +1,76 @@
1
- **Example 1: To remove an instance's affinity with a Dedicated Host**
2
-
3
- The following ``modify-instance-placement`` example removes an instance's affinity with a Dedicated Host and enables it to launch on any available Dedicated Host in your account that supports its instance type. ::
4
-
5
- aws ec2 modify-instance-placement \
6
- --instance-id i-0e6ddf6187EXAMPLE \
7
- --affinity default
8
-
9
- Output::
10
-
11
- {
12
- "Return": true
13
- }
14
-
15
- **Example 2: To establish affinity between an instance and the specified Dedicated Host**
16
-
17
- The following ``modify-instance-placement`` example establishes a launch relationship between an instance and a Dedicated Host. The instance is only able to run on the specified Dedicated Host. ::
18
-
19
- aws ec2 modify-instance-placement \
20
- --instance-id i-0e6ddf6187EXAMPLE \
21
- --affinity host \
22
- --host-id i-0e6ddf6187EXAMPLE
23
-
24
- Output::
25
-
26
- {
27
- "Return": true
28
- }
29
-
30
- For more information, see `Modifying Instance Tenancy and Affinity <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#moving-instances-dedicated-hosts>`__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*.
31
-
32
- **Example 3: To move an instance to a placement group**
33
-
34
- The following ``modify-instance-placement`` example moves an instance to a placement group, stop the instance, modify the instance placement, and then restart the instance. ::
35
-
36
- aws ec2 stop-instances \
37
- --instance-ids i-0123a456700123456
38
-
39
- aws ec2 modify-instance-placement \
40
- --instance-id i-0123a456700123456 \
41
- --group-name MySpreadGroup
42
-
43
- aws ec2 start-instances \
44
- --instance-ids i-0123a456700123456
45
-
46
- For more information, see `Changing the Placement Group for an Instance <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html#change-instance-placement-group>`__ in the *Amazon Elastic Compute Cloud Users Guide*.
47
-
48
- **Example 4: To remove an instance from a placement group**
49
-
50
- The following ``modify-instance-placement`` example removes an instance from a placement group by stopping the instance, modifying the instance placement, and then restarting the instance. The following example specifies an empty string ("") for the placement group name to indicate that the instance is not to be located in a placement group.
51
-
52
- Stop the instance::
53
-
54
- aws ec2 stop-instances \
55
- --instance-ids i-0123a456700123456
56
-
57
- Modify the placement (Windows Command Prompt, Linux, and macOS)::
58
-
59
- aws ec2 modify-instance-placement \
60
- --instance-id i-0123a456700123456 \
61
- --group-name ""
62
-
63
- Modify the placement (Windows PowerShell)::
64
-
65
- aws ec2 modify-instance-placement `
66
- --instance-id i-0123a456700123456 `
67
- --group-name """"
68
-
69
- Restart the instance::
70
-
71
- aws ec2 start-instances \
72
- --instance-ids i-0123a456700123456
73
-
74
- Output::
75
-
76
- {
77
- "Return": true
78
- }
79
-
80
- For more information, see `Modifying Instance Tenancy and Affinity <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#moving-instances-dedicated-hosts>`__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*.
1
+ **Example 1: To remove an instance's affinity with a Dedicated Host**
2
+
3
+ The following ``modify-instance-placement`` example removes an instance's affinity with a Dedicated Host and enables it to launch on any available Dedicated Host in your account that supports its instance type. ::
4
+
5
+ aws ec2 modify-instance-placement \
6
+ --instance-id i-0e6ddf6187EXAMPLE \
7
+ --affinity default
8
+
9
+ Output::
10
+
11
+ {
12
+ "Return": true
13
+ }
14
+
15
+ **Example 2: To establish affinity between an instance and the specified Dedicated Host**
16
+
17
+ The following ``modify-instance-placement`` example establishes a launch relationship between an instance and a Dedicated Host. The instance is only able to run on the specified Dedicated Host. ::
18
+
19
+ aws ec2 modify-instance-placement \
20
+ --instance-id i-0e6ddf6187EXAMPLE \
21
+ --affinity host \
22
+ --host-id i-0e6ddf6187EXAMPLE
23
+
24
+ Output::
25
+
26
+ {
27
+ "Return": true
28
+ }
29
+
30
+ **Example 3: To move an instance to a placement group**
31
+
32
+ The following ``modify-instance-placement`` example moves an instance to a placement group, stop the instance, modify the instance placement, and then restart the instance. ::
33
+
34
+ aws ec2 stop-instances \
35
+ --instance-ids i-0123a456700123456
36
+
37
+ aws ec2 modify-instance-placement \
38
+ --instance-id i-0123a456700123456 \
39
+ --group-name MySpreadGroup
40
+
41
+ aws ec2 start-instances \
42
+ --instance-ids i-0123a456700123456
43
+
44
+ **Example 4: To remove an instance from a placement group**
45
+
46
+ The following ``modify-instance-placement`` example removes an instance from a placement group by stopping the instance, modifying the instance placement, and then restarting the instance. The following example specifies an empty string ("") for the placement group name to indicate that the instance is not to be located in a placement group.
47
+
48
+ Stop the instance::
49
+
50
+ aws ec2 stop-instances \
51
+ --instance-ids i-0123a456700123456
52
+
53
+ Modify the placement (Windows Command Prompt)::
54
+
55
+ aws ec2 modify-instance-placement \
56
+ --instance-id i-0123a456700123456 \
57
+ --group-name ""
58
+
59
+ Modify the placement (Windows PowerShell, Linux, and macOS)::
60
+
61
+ aws ec2 modify-instance-placement `
62
+ --instance-id i-0123a456700123456 `
63
+ --group-name ''
64
+
65
+ Restart the instance::
66
+
67
+ aws ec2 start-instances \
68
+ --instance-ids i-0123a456700123456
69
+
70
+ Output::
71
+
72
+ {
73
+ "Return": true
74
+ }
75
+
76
+ For more information, see `Modify Dedicated Host tenancy and affinity <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/moving-instances-dedicated-hosts.html>`__ in the *Amazon EC2 User Guide*.
@@ -1,6 +1,6 @@
1
- **Example 1: To archive a snapshot**
1
+ **To archive a snapshot**
2
2
 
3
- The following ``modify-snapshot-tier`` example archives the specified snapshot. ::
3
+ The following ``modify-snapshot-tier`` example archives the specified snapshot. The ``TieringStartTime`` response parameter indicates the date and time at which the archive process was started, in UTC time format (YYYY-MM-DDTHH:MM:SSZ). ::
4
4
 
5
5
  aws ec2 modify-snapshot-tier \
6
6
  --snapshot-id snap-01234567890abcedf \
@@ -13,6 +13,4 @@ Output::
13
13
  "TieringStartTime": "2021-09-15T16:44:37.574Z"
14
14
  }
15
15
 
16
- The ``TieringStartTime`` response parameter indicates the date and time at which the archive process was started, in UTC time format (YYYY-MM-DDTHH:MM:SSZ).
17
-
18
- For more information about snapshot archiving, see `Archive Amazon EBS snapshots <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-archive.html>`__ in the *Amazon EC2 User Guide*.
16
+ For more information about snapshot archiving, see `Archive Amazon EBS snapshots <https://docs.aws.amazon.com/ebs/latest/userguide/snapshot-archive.html>`__ in the *Amazon EBS User Guide*.
@@ -1,27 +1,27 @@
1
- **To modify a reference to a prefix list**
2
-
3
- The following ``modify-transit-gateway-prefix-list-reference`` example modifies the prefix list reference in the specified route table by changing the attachment to which traffic is routed. ::
4
-
5
- aws ec2 modify-transit-gateway-prefix-list-reference \
6
- --transit-gateway-route-table-id tgw-rtb-0123456789abcd123 \
7
- --prefix-list-id pl-11111122222222333 \
8
- --transit-gateway-attachment-id tgw-attach-aabbccddaabbccaab
9
-
10
- Output::
11
-
12
- {
13
- "TransitGatewayPrefixListReference": {
14
- "TransitGatewayRouteTableId": "tgw-rtb-0123456789abcd123",
15
- "PrefixListId": "pl-11111122222222333",
16
- "PrefixListOwnerId": "123456789012",
17
- "State": "modifying",
18
- "Blackhole": false,
19
- "TransitGatewayAttachment": {
20
- "TransitGatewayAttachmentId": "tgw-attach-aabbccddaabbccaab",
21
- "ResourceType": "vpc",
22
- "ResourceId": "vpc-112233445566aabbc"
23
- }
24
- }
25
- }
26
-
27
- For more information, see `Prefix list references <https://docs.aws.amazon.com/vpc/latest/tgw/tgw-prefix-lists.html>`__ in the *Transit Gateways Guide*.
1
+ **To modify a reference to a prefix list**
2
+
3
+ The following ``modify-transit-gateway-prefix-list-reference`` example modifies the prefix list reference in the specified route table by changing the attachment to which traffic is routed. ::
4
+
5
+ aws ec2 modify-transit-gateway-prefix-list-reference \
6
+ --transit-gateway-route-table-id tgw-rtb-0123456789abcd123 \
7
+ --prefix-list-id pl-11111122222222333 \
8
+ --transit-gateway-attachment-id tgw-attach-aabbccddaabbccaab
9
+
10
+ Output::
11
+
12
+ {
13
+ "TransitGatewayPrefixListReference": {
14
+ "TransitGatewayRouteTableId": "tgw-rtb-0123456789abcd123",
15
+ "PrefixListId": "pl-11111122222222333",
16
+ "PrefixListOwnerId": "123456789012",
17
+ "State": "modifying",
18
+ "Blackhole": false,
19
+ "TransitGatewayAttachment": {
20
+ "TransitGatewayAttachmentId": "tgw-attach-aabbccddaabbccaab",
21
+ "ResourceType": "vpc",
22
+ "ResourceId": "vpc-112233445566aabbc"
23
+ }
24
+ }
25
+ }
26
+
27
+ For more information, see `Prefix list references <https://docs.aws.amazon.com/vpc/latest/tgw/create-prefix-list-reference.html>`__ in the *Transit Gateways Guide*.
@@ -4,7 +4,7 @@ The following ``modify-verified-access-endpoint`` example adds the specified des
4
4
 
5
5
  aws ec2 modify-verified-access-endpoint \
6
6
  --verified-access-endpoint-id vae-066fac616d4d546f2 \
7
- --description "Testing Verified Access"
7
+ --description 'Testing Verified Access'
8
8
 
9
9
  Output::
10
10
 
@@ -35,4 +35,4 @@ Output::
35
35
  }
36
36
  }
37
37
 
38
- For more information, see `Verified Access endpoints <https://docs.aws.amazon.com/verified-access/latest/ug/verfied-access-endpoints.html>`__ in the *AWS Verified Access User Guide*.
38
+ For more information, see `Verified Access endpoints <https://docs.aws.amazon.com/verified-access/latest/ug/verified-access-endpoints.html>`__ in the *AWS Verified Access User Guide*.
@@ -14,7 +14,7 @@ Output::
14
14
  }
15
15
  }
16
16
 
17
- For more information, see `Scheduled events for your instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-instances-status-check_sched.html>`__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*.
17
+ For more information, see `Scheduled events for your instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-instances-status-check_sched.html>`__ in the *Amazon EC2 User Guide*.
18
18
 
19
19
  **Example 2: To include specific tags in event notifications**
20
20
 
@@ -35,4 +35,4 @@ Output::
35
35
  }
36
36
  }
37
37
 
38
- For more information, see `Scheduled events for your instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-instances-status-check_sched.html>`__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*.
38
+ For more information, see `Scheduled events for your instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-instances-status-check_sched.html>`__ in the *Amazon EC2 User Guide*.
@@ -19,4 +19,4 @@ Output::
19
19
  }
20
20
  }
21
21
 
22
- For more information, see `Managing multicast domains <https://docs.aws.amazon.com/vpc/latest/tgw/manage-domain.html>`__ in the *Transit Gateways User Guide*.
22
+ For more information, see `Multicast domains <https://docs.aws.amazon.com/vpc/latest/tgw/multicast-domains-about.html>`__ in the *Transit Gateways User Guide*.
@@ -19,4 +19,4 @@ Output::
19
19
  }
20
20
  }
21
21
 
22
- For more information, see `Managing multicast domains <https://docs.aws.amazon.com/vpc/latest/tgw/manage-domain.html>`__ in the *Transit Gateways Guide*.
22
+ For more information, see `Multicast domains <https://docs.aws.amazon.com/vpc/latest/tgw/multicast-domains-about.html>`__ in the *Transit Gateways Guide*.
@@ -11,4 +11,4 @@ Output::
11
11
  "Return": true
12
12
  }
13
13
 
14
- For more information, see `Recover AMIs from the Recycle Bin <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin-working-with-amis.html>`__ in the *Amazon Elastic Compute Cloud User Guide*.
14
+ For more information, see `Recover deleted AMIs from the Recycle Bin <https://docs.aws.amazon.com/ebs/latest/userguide/recycle-bin-working-with-amis.html>`__ in the *Amazon EBS User Guide*.
@@ -7,4 +7,4 @@ The following ``restore-snapshot-from-recycle-bin`` example restores a snapshot
7
7
 
8
8
  This command produces no output.
9
9
 
10
- For more information about Recycle Bin for Amazon EBS, see `Recover snapshots from the Recycle Bin <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin-working-with-snaps.html>`__ in the *Amazon EC2 User Guide*.
10
+ For more information about Recycle Bin, see `Recover deleted snapshots from the Recycle Bin <https://docs.aws.amazon.com/ebs/latest/userguide/recycle-bin-working-with-snaps.html>`__ in the *Amazon EBS User Guide*.
@@ -13,7 +13,7 @@ Output::
13
13
  "IsPermanentRestore": true
14
14
  }
15
15
 
16
- For more information about snapshot archiving, see `Archive Amazon EBS snapshots <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-archive.html>` in the *Amazon EC2 User Guide*.
16
+ For more information about snapshot archiving, see `Archive Amazon EBS snapshots <https://docs.aws.amazon.com/ebs/latest/userguide/snapshot-archive.html>`__ in the *Amazon EBS User Guide*.
17
17
 
18
18
  **Example 2: To temporarily restore an archived snapshot**
19
19
 
@@ -31,7 +31,7 @@ Output::
31
31
  "IsPermanentRestore": false
32
32
  }
33
33
 
34
- For more information about snapshot archiving, see `Archive Amazon EBS snapshots <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-archive.html>` in the *Amazon EC2 User Guide*.
34
+ For more information about snapshot archiving, see `Archive Amazon EBS snapshots <https://docs.aws.amazon.com/ebs/latest/userguide/snapshot-archive.html>`__ in the *Amazon EBS User Guide*.
35
35
 
36
36
  **Example 3: To modify the restore period**
37
37
 
@@ -49,7 +49,7 @@ Output::
49
49
  "IsPermanentRestore": false
50
50
  }
51
51
 
52
- For more information about snapshot archiving, see `Archive Amazon EBS snapshots <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-archive.html>` in the *Amazon EC2 User Guide*.
52
+ For more information about snapshot archiving, see `Archive Amazon EBS snapshots <https://docs.aws.amazon.com/ebs/latest/userguide/snapshot-archive.html>`__ in the *Amazon EBS User Guide*.
53
53
 
54
54
  **Example 4: To modify the restore type**
55
55
 
@@ -66,4 +66,4 @@ Output::
66
66
  "IsPermanentRestore": true
67
67
  }
68
68
 
69
- For more information about snapshot archiving, see `Archive Amazon EBS snapshots <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-archive.html>` in the *Amazon EC2 User Guide*.
69
+ For more information about snapshot archiving, see `Archive Amazon EBS snapshots <https://docs.aws.amazon.com/ebs/latest/userguide/snapshot-archive.html>`__ in the *Amazon EBS User Guide*.
@@ -23,4 +23,4 @@ Output::
23
23
  ]
24
24
  }
25
25
 
26
- For more information, see `Managing multicast groups <https://docs.aws.amazon.com/vpc/latest/tgw/manage-multicast-group.html>`__ in the *Transit Gateways Guide*.
26
+ For more information, see `Multicast on transit gateways <https://docs.aws.amazon.com/vpc/latest/tgw/tgw-multicast-overview.html>`__ in the *Transit Gateways Guide*.