awscli 1.42.7__py3-none-any.whl → 1.44.26__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.
Files changed (262) hide show
  1. awscli/__init__.py +1 -1
  2. awscli/alias.py +3 -3
  3. awscli/argprocess.py +7 -2
  4. awscli/arguments.py +1 -1
  5. awscli/bcdoc/docevents.py +3 -0
  6. awscli/clidocs.py +19 -2
  7. awscli/clidriver.py +55 -9
  8. awscli/customizations/argrename.py +1 -3
  9. awscli/customizations/cliinputjson.py +4 -0
  10. awscli/customizations/cloudformation/deploy.py +19 -3
  11. awscli/customizations/cloudtrail/validation.py +22 -2
  12. awscli/customizations/commands.py +2 -1
  13. awscli/customizations/eks/update_kubeconfig.py +12 -1
  14. awscli/customizations/emr/argumentschema.py +355 -344
  15. awscli/customizations/emr/createcluster.py +12 -0
  16. awscli/customizations/emr/emrutils.py +83 -50
  17. awscli/customizations/emr/helptext.py +10 -0
  18. awscli/customizations/emr/steputils.py +92 -52
  19. awscli/customizations/gamelift/uploadbuild.py +24 -11
  20. awscli/customizations/globalargs.py +169 -0
  21. awscli/customizations/paginate.py +66 -1
  22. awscli/customizations/s3/filegenerator.py +4 -1
  23. awscli/customizations/s3/fileinfo.py +4 -1
  24. awscli/customizations/s3/fileinfobuilder.py +6 -0
  25. awscli/customizations/s3/s3handler.py +9 -0
  26. awscli/customizations/s3/subcommands.py +147 -6
  27. awscli/customizations/s3/syncstrategy/base.py +9 -0
  28. awscli/customizations/s3/syncstrategy/caseconflict.py +96 -0
  29. awscli/customizations/s3/utils.py +14 -0
  30. awscli/customizations/scalarparse.py +48 -9
  31. awscli/data/cli.json +5 -0
  32. awscli/examples/apigateway/update-vpc-link.rst +47 -0
  33. awscli/examples/application-signals/batch-get-service-level-objective-budget-report.rst +99 -0
  34. awscli/examples/application-signals/create-service-level-objective.rst +88 -0
  35. awscli/examples/application-signals/delete-service-level-objective.rst +10 -0
  36. awscli/examples/application-signals/get-service-level-objective.rst +53 -0
  37. awscli/examples/application-signals/get-service.rst +72 -0
  38. awscli/examples/application-signals/list-service-dependencies.rst +96 -0
  39. awscli/examples/application-signals/list-service-dependents.rst +36 -0
  40. awscli/examples/application-signals/list-service-level-objectives.rst +17 -0
  41. awscli/examples/application-signals/list-service-operations.rst +63 -0
  42. awscli/examples/application-signals/list-services.rst +61 -0
  43. awscli/examples/application-signals/list-tags-for-resource.rst +17 -0
  44. awscli/examples/application-signals/start-discovery.rst +9 -0
  45. awscli/examples/application-signals/tag-resource.rst +11 -0
  46. awscli/examples/application-signals/untag-resource.rst +11 -0
  47. awscli/examples/application-signals/update-service-level-objective.rst +69 -0
  48. awscli/examples/cloudformation/create-generated-template.rst +50 -0
  49. awscli/examples/cloudformation/create-stack-refactor.rst +16 -0
  50. awscli/examples/cloudformation/delete-generated-template.rst +10 -0
  51. awscli/examples/cloudformation/describe-generated-template.rst +62 -0
  52. awscli/examples/cloudformation/describe-resource-scan.rst +38 -0
  53. awscli/examples/cloudformation/describe-stack-refactor.rst +20 -0
  54. awscli/examples/cloudformation/execute-stack-refactor.rst +10 -0
  55. awscli/examples/cloudformation/list-generated-templates.rst +41 -0
  56. awscli/examples/cloudformation/list-resource-scan-related-resources.rst +47 -0
  57. awscli/examples/cloudformation/list-resource-scan-resources.rst +30 -0
  58. awscli/examples/cloudformation/list-stack-refactor-actions.rst +71 -0
  59. awscli/examples/cloudformation/start-resource-scan.rst +14 -0
  60. awscli/examples/ec2/authorize-security-group-ingress.rst +1 -1
  61. awscli/examples/global_options.rst +4 -0
  62. awscli/examples/global_synopsis.rst +1 -0
  63. awscli/examples/guardduty/update-detector.rst +23 -0
  64. awscli/examples/ivs-realtime/get-composition.rst +7 -4
  65. awscli/examples/ivs-realtime/start-composition.rst +88 -3
  66. awscli/examples/lambda/create-function.rst +4 -4
  67. awscli/examples/lambda/get-function.rst +3 -3
  68. awscli/examples/lambda/list-functions.rst +6 -6
  69. awscli/examples/medical-imaging/create-datastore.rst +19 -2
  70. awscli/examples/medical-imaging/get-datastore.rst +24 -1
  71. awscli/examples/networkmanager/get-vpc-attachment.rst +1 -1
  72. awscli/examples/securityhub/describe-hub.rst +6 -4
  73. awscli/examples/servicediscovery/create-service.rst +50 -10
  74. awscli/examples/servicediscovery/delete-namespace.rst +18 -4
  75. awscli/examples/servicediscovery/delete-service-attributes.rst +15 -3
  76. awscli/examples/servicediscovery/delete-service.rst +13 -3
  77. awscli/examples/servicediscovery/deregister-instance.rst +18 -2
  78. awscli/examples/servicediscovery/discover-instances-revision.rst +18 -1
  79. awscli/examples/servicediscovery/discover-instances.rst +32 -2
  80. awscli/examples/servicediscovery/get-instance.rst +30 -4
  81. awscli/examples/servicediscovery/get-instances-health-status.rst +19 -1
  82. awscli/examples/servicediscovery/get-namespace.rst +40 -9
  83. awscli/examples/servicediscovery/get-operation.rst +32 -6
  84. awscli/examples/servicediscovery/get-service-attributes.rst +25 -3
  85. awscli/examples/servicediscovery/get-service.rst +35 -7
  86. awscli/examples/servicediscovery/list-instances.rst +38 -3
  87. awscli/examples/servicediscovery/list-namespaces.rst +45 -22
  88. awscli/examples/servicediscovery/list-services.rst +30 -2
  89. awscli/examples/servicediscovery/register-instance.rst +18 -2
  90. awscli/examples/servicediscovery/update-http-namespace.rst +22 -5
  91. awscli/examples/servicediscovery/update-instance-custom-health-status.rst +14 -1
  92. awscli/examples/servicediscovery/update-private-dns-namespace.rst +22 -5
  93. awscli/examples/servicediscovery/update-public-dns-namespace.rst +22 -5
  94. awscli/examples/servicediscovery/update-service-attributes.rst +14 -2
  95. awscli/examples/servicediscovery/update-service.rst +20 -4
  96. awscli/handlers.py +0 -4
  97. awscli/paramfile.py +21 -4
  98. awscli/testutils.py +17 -0
  99. awscli/topics/config-vars.rst +1 -1
  100. awscli/topics/s3-case-insensitivity.rst +105 -0
  101. awscli/topics/topic-tags.json +16 -0
  102. awscli/utils.py +19 -2
  103. {awscli-1.42.7.dist-info → awscli-1.44.26.dist-info}/METADATA +16 -3
  104. {awscli-1.42.7.dist-info → awscli-1.44.26.dist-info}/RECORD +112 -231
  105. awscli/customizations/opsworks.py +0 -543
  106. awscli/customizations/opsworkscm.py +0 -21
  107. awscli/examples/elastictranscoder/cancel-job.rst +0 -8
  108. awscli/examples/elastictranscoder/create-job.rst +0 -94
  109. awscli/examples/elastictranscoder/create-pipeline.rst +0 -94
  110. awscli/examples/elastictranscoder/create-preset.rst +0 -141
  111. awscli/examples/elastictranscoder/delete-pipeline.rst +0 -13
  112. awscli/examples/elastictranscoder/delete-preset.rst +0 -8
  113. awscli/examples/elastictranscoder/list-jobs-by-pipeline.rst +0 -13
  114. awscli/examples/elastictranscoder/list-jobs-by-status.rst +0 -14
  115. awscli/examples/elastictranscoder/list-pipelines.rst +0 -84
  116. awscli/examples/elastictranscoder/list-presets.rst +0 -95
  117. awscli/examples/elastictranscoder/read-job.rst +0 -65
  118. awscli/examples/elastictranscoder/read-pipeline.rst +0 -59
  119. awscli/examples/elastictranscoder/read-preset.rst +0 -100
  120. awscli/examples/elastictranscoder/update-pipeline-notifications.rst +0 -52
  121. awscli/examples/elastictranscoder/update-pipeline-status.rst +0 -53
  122. awscli/examples/elastictranscoder/update-pipeline.rst +0 -95
  123. awscli/examples/opsworks/assign-instance.rst +0 -14
  124. awscli/examples/opsworks/assign-volume.rst +0 -17
  125. awscli/examples/opsworks/associate-elastic-ip.rst +0 -14
  126. awscli/examples/opsworks/attach-elastic-load-balancer.rst +0 -14
  127. awscli/examples/opsworks/create-app.rst +0 -64
  128. awscli/examples/opsworks/create-deployment.rst +0 -66
  129. awscli/examples/opsworks/create-instance.rst +0 -25
  130. awscli/examples/opsworks/create-layer.rst +0 -17
  131. awscli/examples/opsworks/create-server.rst +0 -43
  132. awscli/examples/opsworks/create-stack.rst +0 -25
  133. awscli/examples/opsworks/create-user-profile.rst +0 -24
  134. awscli/examples/opsworks/delete-app.rst +0 -17
  135. awscli/examples/opsworks/delete-instance.rst +0 -15
  136. awscli/examples/opsworks/delete-layer.rst +0 -17
  137. awscli/examples/opsworks/delete-stack.rst +0 -18
  138. awscli/examples/opsworks/delete-user-profile.rst +0 -17
  139. awscli/examples/opsworks/deregister-elastic-ip.rst +0 -13
  140. awscli/examples/opsworks/deregister-instance.rst +0 -14
  141. awscli/examples/opsworks/deregister-rds-db-instance.rst +0 -20
  142. awscli/examples/opsworks/deregister-volume.rst +0 -15
  143. awscli/examples/opsworks/describe-apps.rst +0 -38
  144. awscli/examples/opsworks/describe-commands.rst +0 -43
  145. awscli/examples/opsworks/describe-deployments.rst +0 -52
  146. awscli/examples/opsworks/describe-elastic-ips.rst +0 -24
  147. awscli/examples/opsworks/describe-elastic-load-balancers.rst +0 -37
  148. awscli/examples/opsworks/describe-instances.rst +0 -95
  149. awscli/examples/opsworks/describe-layers.rst +0 -171
  150. awscli/examples/opsworks/describe-load-based-auto-scaling.rst +0 -37
  151. awscli/examples/opsworks/describe-my-user-profile.rst +0 -24
  152. awscli/examples/opsworks/describe-permissions.rst +0 -26
  153. awscli/examples/opsworks/describe-raid-arrays.rst +0 -31
  154. awscli/examples/opsworks/describe-rds-db-instances.rst +0 -29
  155. awscli/examples/opsworks/describe-stack-provisioning-parameters.rst +0 -32
  156. awscli/examples/opsworks/describe-stack-summary.rst +0 -27
  157. awscli/examples/opsworks/describe-stacks.rst +0 -65
  158. awscli/examples/opsworks/describe-timebased-auto-scaling.rst +0 -39
  159. awscli/examples/opsworks/describe-user-profiles.rst +0 -32
  160. awscli/examples/opsworks/describe-volumes.rst +0 -31
  161. awscli/examples/opsworks/detach-elastic-load-balancer.rst +0 -14
  162. awscli/examples/opsworks/disassociate-elastic-ip.rst +0 -14
  163. awscli/examples/opsworks/get-hostname-suggestion.rst +0 -21
  164. awscli/examples/opsworks/reboot-instance.rst +0 -14
  165. awscli/examples/opsworks/register-elastic-ip.rst +0 -19
  166. awscli/examples/opsworks/register-rds-db-instance.rst +0 -15
  167. awscli/examples/opsworks/register-volume.rst +0 -18
  168. awscli/examples/opsworks/register.rst +0 -105
  169. awscli/examples/opsworks/set-load-based-auto-scaling.rst +0 -38
  170. awscli/examples/opsworks/set-permission.rst +0 -23
  171. awscli/examples/opsworks/set-time-based-auto-scaling.rst +0 -33
  172. awscli/examples/opsworks/start-instance.rst +0 -20
  173. awscli/examples/opsworks/start-stack.rst +0 -15
  174. awscli/examples/opsworks/stop-instance.rst +0 -20
  175. awscli/examples/opsworks/stop-stack.rst +0 -15
  176. awscli/examples/opsworks/unassign-instance.rst +0 -14
  177. awscli/examples/opsworks/unassign-volume.rst +0 -16
  178. awscli/examples/opsworks/update-app.rst +0 -14
  179. awscli/examples/opsworks/update-elastic-ip.rst +0 -14
  180. awscli/examples/opsworks/update-instance.rst +0 -14
  181. awscli/examples/opsworks/update-layer.rst +0 -14
  182. awscli/examples/opsworks/update-my-user-profile.rst +0 -16
  183. awscli/examples/opsworks/update-rds-db-instance.rst +0 -18
  184. awscli/examples/opsworks/update-volume.rst +0 -16
  185. awscli/examples/opsworkscm/associate-node.rst +0 -22
  186. awscli/examples/opsworkscm/create-backup.rst +0 -46
  187. awscli/examples/opsworkscm/create-server.rst +0 -48
  188. awscli/examples/opsworkscm/delete-backup.rst +0 -17
  189. awscli/examples/opsworkscm/delete-server.rst +0 -16
  190. awscli/examples/opsworkscm/describe-account-attributes.rst +0 -26
  191. awscli/examples/opsworkscm/describe-backups.rst +0 -44
  192. awscli/examples/opsworkscm/describe-events.rst +0 -21
  193. awscli/examples/opsworkscm/describe-node-association-status.rst +0 -20
  194. awscli/examples/opsworkscm/describe-servers.rst +0 -48
  195. awscli/examples/opsworkscm/disassociate-node.rst +0 -19
  196. awscli/examples/opsworkscm/restore-server.rst +0 -20
  197. awscli/examples/opsworkscm/start-maintenance.rst +0 -39
  198. awscli/examples/opsworkscm/update-server-engine-attributes.rst +0 -43
  199. awscli/examples/opsworkscm/update-server.rst +0 -42
  200. awscli/examples/qldb/cancel-journal-kinesis-stream.rst +0 -15
  201. awscli/examples/qldb/create-ledger.rst +0 -43
  202. awscli/examples/qldb/delete-ledger.rst +0 -10
  203. awscli/examples/qldb/describe-journal-kinesis-stream.rst +0 -29
  204. awscli/examples/qldb/describe-journal-s3-export.rst +0 -30
  205. awscli/examples/qldb/describe-ledger.rst +0 -23
  206. awscli/examples/qldb/export-journal-to-s3.rst +0 -28
  207. awscli/examples/qldb/get-block.rst +0 -55
  208. awscli/examples/qldb/get-digest.rst +0 -17
  209. awscli/examples/qldb/get-revision.rst +0 -57
  210. awscli/examples/qldb/list-journal-kinesis-streams-for-ledger.rst +0 -30
  211. awscli/examples/qldb/list-journal-s3-exports-for-ledger.rst +0 -31
  212. awscli/examples/qldb/list-journal-s3-exports.rst +0 -46
  213. awscli/examples/qldb/list-ledgers.rst +0 -24
  214. awscli/examples/qldb/list-tags-for-resource.rst +0 -17
  215. awscli/examples/qldb/stream-journal-to-kinesis.rst +0 -46
  216. awscli/examples/qldb/tag-resource.rst +0 -11
  217. awscli/examples/qldb/untag-resource.rst +0 -11
  218. awscli/examples/qldb/update-ledger-permissions-mode.rst +0 -34
  219. awscli/examples/qldb/update-ledger.rst +0 -63
  220. awscli/examples/robomaker/batch-describe-simulation-job.rst +0 -150
  221. awscli/examples/robomaker/cancel-simulation-job.rst +0 -6
  222. awscli/examples/robomaker/create-deployment-job.rst +0 -37
  223. awscli/examples/robomaker/create-fleet.rst +0 -18
  224. awscli/examples/robomaker/create-robot-application-version.rst +0 -31
  225. awscli/examples/robomaker/create-robot-application.rst +0 -29
  226. awscli/examples/robomaker/create-robot.rst +0 -20
  227. awscli/examples/robomaker/create-simulation-application-version.rst +0 -39
  228. awscli/examples/robomaker/create-simulation-application.rst +0 -38
  229. awscli/examples/robomaker/create-simulation-job.rst +0 -43
  230. awscli/examples/robomaker/delete-fleet.rst +0 -7
  231. awscli/examples/robomaker/delete-robot-application.rst +0 -7
  232. awscli/examples/robomaker/delete-robot.rst +0 -7
  233. awscli/examples/robomaker/delete-simulation-application.rst +0 -7
  234. awscli/examples/robomaker/deregister-robot.rst +0 -14
  235. awscli/examples/robomaker/describe-deployment-job.rst +0 -38
  236. awscli/examples/robomaker/describe-fleet.rst +0 -28
  237. awscli/examples/robomaker/describe-robot-application.rst +0 -29
  238. awscli/examples/robomaker/describe-robot.rst +0 -21
  239. awscli/examples/robomaker/describe-simulation-application.rst +0 -37
  240. awscli/examples/robomaker/describe-simulation-job.rst +0 -45
  241. awscli/examples/robomaker/list-deployment-jobs.rst +0 -57
  242. awscli/examples/robomaker/list-fleets.rst +0 -22
  243. awscli/examples/robomaker/list-robot-applications.rst +0 -32
  244. awscli/examples/robomaker/list-robots.rst +0 -45
  245. awscli/examples/robomaker/list-simulation-applications.rst +0 -50
  246. awscli/examples/robomaker/list-simulation-jobs.rst +0 -80
  247. awscli/examples/robomaker/list-tags-for-resource.rst +0 -16
  248. awscli/examples/robomaker/register-robot.rst +0 -14
  249. awscli/examples/robomaker/restart-simulation-job.rst +0 -7
  250. awscli/examples/robomaker/sync-deployment-job.rst +0 -30
  251. awscli/examples/robomaker/tag-resource.rst +0 -7
  252. awscli/examples/robomaker/untag-resource.rst +0 -7
  253. awscli/examples/robomaker/update-robot-application.rst +0 -28
  254. awscli/examples/robomaker/update-simulation-application.rst +0 -36
  255. {awscli-1.42.7.data → awscli-1.44.26.data}/scripts/aws +0 -0
  256. {awscli-1.42.7.data → awscli-1.44.26.data}/scripts/aws.cmd +0 -0
  257. {awscli-1.42.7.data → awscli-1.44.26.data}/scripts/aws_bash_completer +0 -0
  258. {awscli-1.42.7.data → awscli-1.44.26.data}/scripts/aws_completer +0 -0
  259. {awscli-1.42.7.data → awscli-1.44.26.data}/scripts/aws_zsh_completer.sh +0 -0
  260. {awscli-1.42.7.dist-info → awscli-1.44.26.dist-info}/LICENSE.txt +0 -0
  261. {awscli-1.42.7.dist-info → awscli-1.44.26.dist-info}/WHEEL +0 -0
  262. {awscli-1.42.7.dist-info → awscli-1.44.26.dist-info}/top_level.txt +0 -0
@@ -1,15 +0,0 @@
1
- **To delete an instance**
2
-
3
- The following ``delete-instance`` example deletes a specified instance, which is identified by its instance ID. You can find an instance ID by opening the instance's details page in the AWS OpsWorks console, or by running the ``describe-instances`` command.
4
-
5
- If the instance is online, you must first stop the instance by calling ``stop-instance``, and then you must wait until the instance has stopped. Run ``describe-instances`` to check the instance status.
6
-
7
- To remove the instance's Amazon EBS volumes or Elastic IP addresses, add the ``--delete-volumes`` or ``--delete-elastic-ip`` arguments, respectively. ::
8
-
9
- aws opsworks delete-instance \
10
- --region us-east-1 \
11
- --instance-id 3a21cfac-4a1f-4ce2-a921-b2cfba6f7771
12
-
13
- This command produces no output.
14
-
15
- For more information, see `Deleting AWS OpsWorks Instances <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-delete.html>`__ in the *AWS OpsWorks User Guide*.
@@ -1,17 +0,0 @@
1
- **To delete a layer**
2
-
3
- The following example deletes a specified layer, which is identified by its layer ID.
4
- You can obtain a layer ID by going to the layer's details page on the AWS OpsWorks console or by
5
- running the ``describe-layers`` command.
6
-
7
- **Note:** Before deleting a layer, you must use ``delete-instance`` to delete all of the layer's instances. ::
8
-
9
- aws opsworks delete-layer --region us-east-1 --layer-id a919454e-b816-4598-b29a-5796afb498ed
10
-
11
- *Output*: None.
12
-
13
- **More Information**
14
-
15
- For more information, see `Deleting AWS OpsWorks Instances`_ in the *AWS OpsWorks User Guide*.
16
-
17
- .. _`Deleting AWS OpsWorks Instances`: http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-delete.html
@@ -1,18 +0,0 @@
1
- **To delete a stack**
2
-
3
- The following example deletes a specified stack, which is identified by its stack ID.
4
- You can obtain a stack ID by clicking **Stack Settings** on the AWS OpsWorks console or by
5
- running the ``describe-stacks`` command.
6
-
7
- **Note:** Before deleting a layer, you must use ``delete-app``, ``delete-instance``, and ``delete-layer``
8
- to delete all of the stack's apps, instances, and layers. ::
9
-
10
- aws opsworks delete-stack --region us-east-1 --stack-id 154a9d89-7e9e-433b-8de8-617e53756c84
11
-
12
- *Output*: None.
13
-
14
- **More Information**
15
-
16
- For more information, see `Shut Down a Stack`_ in the *AWS OpsWorks User Guide*.
17
-
18
- .. _`Shut Down a Stack`: http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-shutting.html
@@ -1,17 +0,0 @@
1
- **To delete a user profile and remove an IAM user from AWS OpsWorks**
2
-
3
- The following example deletes the user profile for a specified AWS Identity and Access Management
4
- (IAM) user, who
5
- is identified by Amazon Resource Name (ARN). The operation removes the user from AWS OpsWorks, but
6
- does not delete the IAM user. You must use the IAM console, CLI, or API for that task. ::
7
-
8
- aws opsworks --region us-east-1 delete-user-profile --iam-user-arn arn:aws:iam::123456789102:user/cli-user-test
9
-
10
- *Output*: None.
11
-
12
- **More Information**
13
-
14
- For more information, see `Importing Users into AWS OpsWorks`_ in the *AWS OpsWorks User Guide*.
15
-
16
- .. _`Importing Users into AWS OpsWorks`: http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users-manage-import.html
17
-
@@ -1,13 +0,0 @@
1
- **To deregister an Elastic IP address from a stack**
2
-
3
- The following example deregisters an Elastic IP address, identified by its IP address, from its stack. ::
4
-
5
- aws opsworks deregister-elastic-ip --region us-east-1 --elastic-ip 54.148.130.96
6
-
7
- *Output*: None.
8
-
9
- **More Information**
10
-
11
- For more information, see `Deregistering Elastic IP Addresses`_ in the *AWS OpsWorks User Guide*.
12
-
13
- .. _`Deregistering Elastic IP Addresses`: http://docs.aws.amazon.com/opsworks/latest/userguide/resources-dereg.html#resources-dereg-eip
@@ -1,14 +0,0 @@
1
- **To deregister a registered instance from a stack**
2
-
3
- The following ``deregister-instance`` command deregisters a registered instance from its stack. ::
4
-
5
- aws opsworks --region us-east-1 deregister-instance --instance-id 4d6d1710-ded9-42a1-b08e-b043ad7af1e2
6
-
7
- *Output*: None.
8
-
9
- **More Information**
10
-
11
- For more information, see `Deregistering a Registered Instance`_ in the *AWS OpsWorks User Guide*.
12
-
13
- .. _`Deregistering a Registered Instance`: http://docs.aws.amazon.com/opsworks/latest/userguide/registered-instances-unassign.html
14
-
@@ -1,20 +0,0 @@
1
- **To deregister an Amazon RDS DB instance from a stack**
2
-
3
- The following example deregisters an RDS DB instance, identified by its ARN, from its stack. ::
4
-
5
- aws opsworks deregister-rds-db-instance --region us-east-1 --rds-db-instance-arn arn:aws:rds:us-west-2:123456789012:db:clitestdb
6
-
7
- *Output*: None.
8
-
9
- **More Information**
10
-
11
- For more information, see `Deregistering Amazon RDS Instances`_ in the *ASW OpsWorks User Guide*.
12
-
13
- .. _`Deregistering Amazon RDS Instances`: http://docs.aws.amazon.com/opsworks/latest/userguide/resources-dereg.html#resources-dereg-rds
14
-
15
-
16
- .. instance ID: clitestdb
17
- Master usernams: cliuser
18
- Master PWD: some23!pwd
19
- DB Name: mydb
20
- aws opsworks deregister-rds-db-instance --region us-east-1 --rds-db-instance-arn arn:aws:rds:us-west-2:645732743964:db:clitestdb
@@ -1,15 +0,0 @@
1
- **To deregister an Amazon EBS volume**
2
-
3
- The following example deregisters an EBS volume from its stack.
4
- The volume is identified by its volume ID, which is the GUID that AWS OpsWorks assigned when
5
- you registered the volume with the stack, not the EC2 volume ID. ::
6
-
7
- aws opsworks deregister-volume --region us-east-1 --volume-id 5c48ef52-3144-4bf5-beaa-fda4deb23d4d
8
-
9
- *Output*: None.
10
-
11
- **More Information**
12
-
13
- For more information, see `Deregistering Amazon EBS Volumes`_ in the *AWS OpsWorks User Guide*.
14
-
15
- .. _`Deregistering Amazon EBS Volumes`: http://docs.aws.amazon.com/opsworks/latest/userguide/resources-dereg.html#resources-dereg-ebs
@@ -1,38 +0,0 @@
1
- **To describe apps**
2
-
3
- The following ``describe-apps`` command describes the apps in a specified stack. ::
4
-
5
- aws opsworks describe-apps \
6
- --stack-id 38ee91e2-abdc-4208-a107-0b7168b3cc7a \
7
- --region us-east-1
8
-
9
- Output::
10
-
11
- {
12
- "Apps": [
13
- {
14
- "StackId": "38ee91e2-abdc-4208-a107-0b7168b3cc7a",
15
- "AppSource": {
16
- "Url": "https://s3-us-west-2.amazonaws.com/opsworks-demo-assets/simplejsp.zip",
17
- "Type": "archive"
18
- },
19
- "Name": "SimpleJSP",
20
- "EnableSsl": false,
21
- "SslConfiguration": {},
22
- "AppId": "da1decc1-0dff-43ea-ad7c-bb667cd87c8b",
23
- "Attributes": {
24
- "RailsEnv": null,
25
- "AutoBundleOnDeploy": "true",
26
- "DocumentRoot": "ROOT"
27
- },
28
- "Shortname": "simplejsp",
29
- "Type": "other",
30
- "CreatedAt": "2013-08-01T21:46:54+00:00"
31
- }
32
- ]
33
- }
34
-
35
- For more information, see Apps_ in the *AWS OpsWorks User Guide*.
36
-
37
- .. _Apps: http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps.html
38
-
@@ -1,43 +0,0 @@
1
- **To describe commands**
2
-
3
- The following ``describe-commands`` command describes the commands in a specified instance. ::
4
-
5
- aws opsworks describe-commands \
6
- --instance-id 8c2673b9-3fe5-420d-9cfa-78d875ee7687 \
7
- --region us-east-1
8
-
9
- Output::
10
-
11
- {
12
- "Commands": [
13
- {
14
- "Status": "successful",
15
- "CompletedAt": "2013-07-25T18:57:47+00:00",
16
- "InstanceId": "8c2673b9-3fe5-420d-9cfa-78d875ee7687",
17
- "DeploymentId": "6ed0df4c-9ef7-4812-8dac-d54a05be1029",
18
- "AcknowledgedAt": "2013-07-25T18:57:41+00:00",
19
- "LogUrl": "https://s3.amazonaws.com/<bucket-name>/logs/008c1a91-ec59-4d51-971d-3adff54b00cc?AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE &Expires=1375394373&Signature=HkXil6UuNfxTCC37EPQAa462E1E%3D&response-cache-control=private&response-content-encoding=gzip&response-content- type=text%2Fplain",
20
- "Type": "undeploy",
21
- "CommandId": "008c1a91-ec59-4d51-971d-3adff54b00cc",
22
- "CreatedAt": "2013-07-25T18:57:34+00:00",
23
- "ExitCode": 0
24
- },
25
- {
26
- "Status": "successful",
27
- "CompletedAt": "2013-07-25T18:55:40+00:00",
28
- "InstanceId": "8c2673b9-3fe5-420d-9cfa-78d875ee7687",
29
- "DeploymentId": "19d3121e-d949-4ff2-9f9d-94eac087862a",
30
- "AcknowledgedAt": "2013-07-25T18:55:32+00:00",
31
- "LogUrl": "https://s3.amazonaws.com/<bucket-name>/logs/899d3d64-0384-47b6-a586-33433aad117c?AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE &Expires=1375394373&Signature=xMsJvtLuUqWmsr8s%2FAjVru0BtRs%3D&response-cache-control=private&response-content-encoding=gzip&response-conten t-type=text%2Fplain",
32
- "Type": "deploy",
33
- "CommandId": "899d3d64-0384-47b6-a586-33433aad117c",
34
- "CreatedAt": "2013-07-25T18:55:29+00:00",
35
- "ExitCode": 0
36
- }
37
- ]
38
- }
39
-
40
- For more information, see `AWS OpsWorks Lifecycle Events`_ in the *AWS OpsWorks User Guide*.
41
-
42
- .. _`AWS OpsWorks Lifecycle Events`: http://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook-events.html
43
-
@@ -1,52 +0,0 @@
1
- **To describe deployments**
2
-
3
- The following ``describe-deployments`` command describes the deployments in a specified stack. ::
4
-
5
- aws opsworks --region us-east-1 describe-deployments --stack-id 38ee91e2-abdc-4208-a107-0b7168b3cc7a
6
-
7
- *Output*::
8
-
9
- {
10
- "Deployments": [
11
- {
12
- "StackId": "38ee91e2-abdc-4208-a107-0b7168b3cc7a",
13
- "Status": "successful",
14
- "CompletedAt": "2013-07-25T18:57:49+00:00",
15
- "DeploymentId": "6ed0df4c-9ef7-4812-8dac-d54a05be1029",
16
- "Command": {
17
- "Args": {},
18
- "Name": "undeploy"
19
- },
20
- "CreatedAt": "2013-07-25T18:57:34+00:00",
21
- "Duration": 15,
22
- "InstanceIds": [
23
- "8c2673b9-3fe5-420d-9cfa-78d875ee7687",
24
- "9e588a25-35b2-4804-bd43-488f85ebe5b7"
25
- ]
26
- },
27
- {
28
- "StackId": "38ee91e2-abdc-4208-a107-0b7168b3cc7a",
29
- "Status": "successful",
30
- "CompletedAt": "2013-07-25T18:56:41+00:00",
31
- "IamUserArn": "arn:aws:iam::123456789012:user/someuser",
32
- "DeploymentId": "19d3121e-d949-4ff2-9f9d-94eac087862a",
33
- "Command": {
34
- "Args": {},
35
- "Name": "deploy"
36
- },
37
- "InstanceIds": [
38
- "8c2673b9-3fe5-420d-9cfa-78d875ee7687",
39
- "9e588a25-35b2-4804-bd43-488f85ebe5b7"
40
- ],
41
- "Duration": 72,
42
- "CreatedAt": "2013-07-25T18:55:29+00:00"
43
- }
44
- ]
45
- }
46
-
47
- **More Information**
48
-
49
- For more information, see `Deploying Apps`_ in the *AWS OpsWorks User Guide*.
50
-
51
- .. _`Deploying Apps`: http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-deploying.html
52
-
@@ -1,24 +0,0 @@
1
- **To describe Elastic IP instances**
2
-
3
- The following ``describe-elastic-ips`` command describes the Elastic IP addresses in a specified instance. ::
4
-
5
- aws opsworks --region us-east-1 describe-elastic-ips --instance-id b62f3e04-e9eb-436c-a91f-d9e9a396b7b0
6
-
7
- *Output*::
8
-
9
- {
10
- "ElasticIps": [
11
- {
12
- "Ip": "192.0.2.0",
13
- "Domain": "standard",
14
- "Region": "us-west-2"
15
- }
16
- ]
17
- }
18
-
19
- **More Information**
20
-
21
- For more information, see Instances_ in the *AWS OpsWorks User Guide*.
22
-
23
- .. _Instances: http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances.html
24
-
@@ -1,37 +0,0 @@
1
- **To describe a stack's elastic load balancers**
2
-
3
- The following ``describe-elastic-load-balancers`` command describes a specified stack's load balancers. ::
4
-
5
- aws opsworks --region us-west-2 describe-elastic-load-balancers --stack-id 6f4660e5-37a6-4e42-bfa0-1358ebd9c182
6
-
7
- *Output*: This particular stack has one load balancer.
8
-
9
- ::
10
-
11
- {
12
- "ElasticLoadBalancers": [
13
- {
14
- "SubnetIds": [
15
- "subnet-60e4ea04",
16
- "subnet-66e1c110"
17
- ],
18
- "Ec2InstanceIds": [],
19
- "ElasticLoadBalancerName": "my-balancer",
20
- "Region": "us-west-2",
21
- "LayerId": "344973cb-bf2b-4cd0-8d93-51cd819bab04",
22
- "AvailabilityZones": [
23
- "us-west-2a",
24
- "us-west-2b"
25
- ],
26
- "VpcId": "vpc-b319f9d4",
27
- "StackId": "6f4660e5-37a6-4e42-bfa0-1358ebd9c182",
28
- "DnsName": "my-balancer-2094040179.us-west-2.elb.amazonaws.com"
29
- }
30
- ]
31
- }
32
-
33
- **More Information**
34
-
35
- For more information, see Apps_ in the *AWS OpsWorks User Guide*.
36
-
37
- .. _Apps: http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps.html
@@ -1,95 +0,0 @@
1
- **To describe instances**
2
-
3
- The following ``describe-instances`` command describes the instances in a specified stack::
4
-
5
- aws opsworks --region us-east-1 describe-instances --stack-id 8c428b08-a1a1-46ce-a5f8-feddc43771b8
6
-
7
- *Output*: The following output example is for a stack with two instances. The first is a registered
8
- EC2 instance, and the second was created by AWS OpsWorks.
9
-
10
- ::
11
-
12
- {
13
- "Instances": [
14
- {
15
- "StackId": "71c7ca72-55ae-4b6a-8ee1-a8dcded3fa0f",
16
- "PrivateDns": "ip-10-31-39-66.us-west-2.compute.internal",
17
- "LayerIds": [
18
- "26cf1d32-6876-42fa-bbf1-9cadc0bff938"
19
- ],
20
- "EbsOptimized": false,
21
- "ReportedOs": {
22
- "Version": "14.04",
23
- "Name": "ubuntu",
24
- "Family": "debian"
25
- },
26
- "Status": "online",
27
- "InstanceId": "4d6d1710-ded9-42a1-b08e-b043ad7af1e2",
28
- "SshKeyName": "US-West-2",
29
- "InfrastructureClass": "ec2",
30
- "RootDeviceVolumeId": "vol-d08ec6c1",
31
- "SubnetId": "subnet-b8de0ddd",
32
- "InstanceType": "t1.micro",
33
- "CreatedAt": "2015-02-24T20:52:49+00:00",
34
- "AmiId": "ami-35501205",
35
- "Hostname": "ip-192-0-2-0",
36
- "Ec2InstanceId": "i-5cd23551",
37
- "PublicDns": "ec2-192-0-2-0.us-west-2.compute.amazonaws.com",
38
- "SecurityGroupIds": [
39
- "sg-c4d3f0a1"
40
- ],
41
- "Architecture": "x86_64",
42
- "RootDeviceType": "ebs",
43
- "InstallUpdatesOnBoot": true,
44
- "Os": "Custom",
45
- "VirtualizationType": "paravirtual",
46
- "AvailabilityZone": "us-west-2a",
47
- "PrivateIp": "10.31.39.66",
48
- "PublicIp": "192.0.2.06",
49
- "RegisteredBy": "arn:aws:iam::123456789102:user/AWS/OpsWorks/OpsWorks-EC2Register-i-5cd23551"
50
- },
51
- {
52
- "StackId": "71c7ca72-55ae-4b6a-8ee1-a8dcded3fa0f",
53
- "PrivateDns": "ip-10-31-39-158.us-west-2.compute.internal",
54
- "SshHostRsaKeyFingerprint": "69:6b:7b:8b:72:f3:ed:23:01:00:05:bc:9f:a4:60:c1",
55
- "LayerIds": [
56
- "26cf1d32-6876-42fa-bbf1-9cadc0bff938"
57
- ],
58
- "EbsOptimized": false,
59
- "ReportedOs": {},
60
- "Status": "booting",
61
- "InstanceId": "9b137a0d-2f5d-4cc0-9704-13da4b31fdcb",
62
- "SshKeyName": "US-West-2",
63
- "InfrastructureClass": "ec2",
64
- "RootDeviceVolumeId": "vol-e09dd5f1",
65
- "SubnetId": "subnet-b8de0ddd",
66
- "InstanceProfileArn": "arn:aws:iam::123456789102:instance-profile/aws-opsworks-ec2-role",
67
- "InstanceType": "c3.large",
68
- "CreatedAt": "2015-02-24T21:29:33+00:00",
69
- "AmiId": "ami-9fc29baf",
70
- "SshHostDsaKeyFingerprint": "fc:87:95:c3:f5:e1:3b:9f:d2:06:6e:62:9a:35:27:e8",
71
- "Ec2InstanceId": "i-8d2dca80",
72
- "PublicDns": "ec2-192-0-2-1.us-west-2.compute.amazonaws.com",
73
- "SecurityGroupIds": [
74
- "sg-b022add5",
75
- "sg-b122add4"
76
- ],
77
- "Architecture": "x86_64",
78
- "RootDeviceType": "ebs",
79
- "InstallUpdatesOnBoot": true,
80
- "Os": "Amazon Linux 2014.09",
81
- "VirtualizationType": "paravirtual",
82
- "AvailabilityZone": "us-west-2a",
83
- "Hostname": "custom11",
84
- "PrivateIp": "10.31.39.158",
85
- "PublicIp": "192.0.2.0"
86
- }
87
- ]
88
- }
89
-
90
- **More Information**
91
-
92
- For more information, see `Instances`_ in the *AWS OpsWorks User Guide*.
93
-
94
- .. _`Instances`: http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances.html
95
-
@@ -1,171 +0,0 @@
1
- **To describe a stack's layers**
2
-
3
- The following ``describe-layers`` command describes the layers in a specified stack::
4
-
5
- aws opsworks --region us-east-1 describe-layers --stack-id 38ee91e2-abdc-4208-a107-0b7168b3cc7a
6
-
7
- *Output*::
8
-
9
- {
10
- "Layers": [
11
- {
12
- "StackId": "38ee91e2-abdc-4208-a107-0b7168b3cc7a",
13
- "Type": "db-master",
14
- "DefaultSecurityGroupNames": [
15
- "AWS-OpsWorks-DB-Master-Server"
16
- ],
17
- "Name": "MySQL",
18
- "Packages": [],
19
- "DefaultRecipes": {
20
- "Undeploy": [],
21
- "Setup": [
22
- "opsworks_initial_setup",
23
- "ssh_host_keys",
24
- "ssh_users",
25
- "mysql::client",
26
- "dependencies",
27
- "ebs",
28
- "opsworks_ganglia::client",
29
- "mysql::server",
30
- "dependencies",
31
- "deploy::mysql"
32
- ],
33
- "Configure": [
34
- "opsworks_ganglia::configure-client",
35
- "ssh_users",
36
- "agent_version",
37
- "deploy::mysql"
38
- ],
39
- "Shutdown": [
40
- "opsworks_shutdown::default",
41
- "mysql::stop"
42
- ],
43
- "Deploy": [
44
- "deploy::default",
45
- "deploy::mysql"
46
- ]
47
- },
48
- "CustomRecipes": {
49
- "Undeploy": [],
50
- "Setup": [],
51
- "Configure": [],
52
- "Shutdown": [],
53
- "Deploy": []
54
- },
55
- "EnableAutoHealing": false,
56
- "LayerId": "41a20847-d594-4325-8447-171821916b73",
57
- "Attributes": {
58
- "MysqlRootPasswordUbiquitous": "true",
59
- "RubygemsVersion": null,
60
- "RailsStack": null,
61
- "HaproxyHealthCheckMethod": null,
62
- "RubyVersion": null,
63
- "BundlerVersion": null,
64
- "HaproxyStatsPassword": null,
65
- "PassengerVersion": null,
66
- "MemcachedMemory": null,
67
- "EnableHaproxyStats": null,
68
- "ManageBundler": null,
69
- "NodejsVersion": null,
70
- "HaproxyHealthCheckUrl": null,
71
- "MysqlRootPassword": "*****FILTERED*****",
72
- "GangliaPassword": null,
73
- "GangliaUser": null,
74
- "HaproxyStatsUrl": null,
75
- "GangliaUrl": null,
76
- "HaproxyStatsUser": null
77
- },
78
- "Shortname": "db-master",
79
- "AutoAssignElasticIps": false,
80
- "CustomSecurityGroupIds": [],
81
- "CreatedAt": "2013-07-25T18:11:19+00:00",
82
- "VolumeConfigurations": [
83
- {
84
- "MountPoint": "/vol/mysql",
85
- "Size": 10,
86
- "NumberOfDisks": 1
87
- }
88
- ]
89
- },
90
- {
91
- "StackId": "38ee91e2-abdc-4208-a107-0b7168b3cc7a",
92
- "Type": "custom",
93
- "DefaultSecurityGroupNames": [
94
- "AWS-OpsWorks-Custom-Server"
95
- ],
96
- "Name": "TomCustom",
97
- "Packages": [],
98
- "DefaultRecipes": {
99
- "Undeploy": [],
100
- "Setup": [
101
- "opsworks_initial_setup",
102
- "ssh_host_keys",
103
- "ssh_users",
104
- "mysql::client",
105
- "dependencies",
106
- "ebs",
107
- "opsworks_ganglia::client"
108
- ],
109
- "Configure": [
110
- "opsworks_ganglia::configure-client",
111
- "ssh_users",
112
- "agent_version"
113
- ],
114
- "Shutdown": [
115
- "opsworks_shutdown::default"
116
- ],
117
- "Deploy": [
118
- "deploy::default"
119
- ]
120
- },
121
- "CustomRecipes": {
122
- "Undeploy": [],
123
- "Setup": [
124
- "tomcat::setup"
125
- ],
126
- "Configure": [
127
- "tomcat::configure"
128
- ],
129
- "Shutdown": [],
130
- "Deploy": [
131
- "tomcat::deploy"
132
- ]
133
- },
134
- "EnableAutoHealing": true,
135
- "LayerId": "e6cbcd29-d223-40fc-8243-2eb213377440",
136
- "Attributes": {
137
- "MysqlRootPasswordUbiquitous": null,
138
- "RubygemsVersion": null,
139
- "RailsStack": null,
140
- "HaproxyHealthCheckMethod": null,
141
- "RubyVersion": null,
142
- "BundlerVersion": null,
143
- "HaproxyStatsPassword": null,
144
- "PassengerVersion": null,
145
- "MemcachedMemory": null,
146
- "EnableHaproxyStats": null,
147
- "ManageBundler": null,
148
- "NodejsVersion": null,
149
- "HaproxyHealthCheckUrl": null,
150
- "MysqlRootPassword": null,
151
- "GangliaPassword": null,
152
- "GangliaUser": null,
153
- "HaproxyStatsUrl": null,
154
- "GangliaUrl": null,
155
- "HaproxyStatsUser": null
156
- },
157
- "Shortname": "tomcustom",
158
- "AutoAssignElasticIps": false,
159
- "CustomSecurityGroupIds": [],
160
- "CreatedAt": "2013-07-25T18:12:53+00:00",
161
- "VolumeConfigurations": []
162
- }
163
- ]
164
- }
165
-
166
- **More Information**
167
-
168
- For more information, see Layers_ in the *AWS OpsWorks User Guide*.
169
-
170
- .. _Layers: http://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers.html
171
-
@@ -1,37 +0,0 @@
1
- **To describe a layer's load-based scaling configuration**
2
-
3
- The following example describes a specified layer's load-based scaling configuration.
4
- The layer is identified by its layer ID, which you can find on the layer's
5
- details page or by running ``describe-layers``. ::
6
-
7
- aws opsworks describe-load-based-auto-scaling --region us-east-1 --layer-ids 6bec29c9-c866-41a0-aba5-fa3e374ce2a1
8
-
9
- *Output*: The example layer has a single load-based instance. ::
10
-
11
- {
12
- "LoadBasedAutoScalingConfigurations": [
13
- {
14
- "DownScaling": {
15
- "IgnoreMetricsTime": 10,
16
- "ThresholdsWaitTime": 10,
17
- "InstanceCount": 1,
18
- "CpuThreshold": 30.0
19
- },
20
- "Enable": true,
21
- "UpScaling": {
22
- "IgnoreMetricsTime": 5,
23
- "ThresholdsWaitTime": 5,
24
- "InstanceCount": 1,
25
- "CpuThreshold": 80.0
26
- },
27
- "LayerId": "6bec29c9-c866-41a0-aba5-fa3e374ce2a1"
28
- }
29
- ]
30
- }
31
-
32
-
33
- **More Information**
34
-
35
- For more information, see `How Automatic Load-based Scaling Works`_ in the *AWS OpsWorks User Guide*.
36
-
37
- .. _`How Automatic Load-based Scaling Works`: http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-autoscaling.html#workinginstances-autoscaling-loadbased
@@ -1,24 +0,0 @@
1
- **To obtain a user's profile**
2
-
3
- The following example shows how to obtain the profile
4
- of the AWS Identity and Access Management (IAM) user that is running the command. ::
5
-
6
- aws opsworks --region us-east-1 describe-my-user-profile
7
-
8
- *Output*: For brevity, most of the user's SSH public key is replaced by an ellipsis (...). ::
9
-
10
- {
11
- "UserProfile": {
12
- "IamUserArn": "arn:aws:iam::123456789012:user/myusername",
13
- "SshPublicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQ...3LQ4aX9jpxQw== rsa-key-20141104",
14
- "Name": "myusername",
15
- "SshUsername": "myusername"
16
- }
17
- }
18
-
19
- **More Information**
20
-
21
- For more information, see `Importing Users into AWS OpsWorks`_ in the *AWS OpsWorks User Guide*.
22
-
23
- .. _`Importing Users into AWS OpsWorks`: http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users-manage-import.html
24
-