awscli 1.40.17__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 (401) 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 +57 -10
  8. awscli/compat.py +11 -0
  9. awscli/customizations/argrename.py +1 -3
  10. awscli/customizations/cliinputjson.py +4 -0
  11. awscli/customizations/cloudformation/deploy.py +23 -6
  12. awscli/customizations/cloudformation/deployer.py +2 -2
  13. awscli/customizations/cloudformation/package.py +3 -2
  14. awscli/customizations/cloudfront.py +3 -1
  15. awscli/customizations/cloudtrail/subscribe.py +5 -5
  16. awscli/customizations/cloudtrail/validation.py +32 -11
  17. awscli/customizations/codecommit.py +2 -3
  18. awscli/customizations/codedeploy/deregister.py +5 -2
  19. awscli/customizations/codedeploy/push.py +7 -6
  20. awscli/customizations/codedeploy/register.py +5 -2
  21. awscli/customizations/codedeploy/systems.py +3 -1
  22. awscli/customizations/commands.py +2 -1
  23. awscli/customizations/configservice/getstatus.py +3 -3
  24. awscli/customizations/datapipeline/__init__.py +7 -4
  25. awscli/customizations/datapipeline/createdefaultroles.py +4 -2
  26. awscli/customizations/dlm/createdefaultrole.py +4 -2
  27. awscli/customizations/ec2/bundleinstance.py +2 -1
  28. awscli/customizations/eks/get_token.py +6 -4
  29. awscli/customizations/eks/update_kubeconfig.py +15 -3
  30. awscli/customizations/emr/argumentschema.py +355 -344
  31. awscli/customizations/emr/createcluster.py +520 -282
  32. awscli/customizations/emr/emrutils.py +83 -50
  33. awscli/customizations/emr/helptext.py +132 -74
  34. awscli/customizations/emr/steputils.py +92 -52
  35. awscli/customizations/gamelift/getlog.py +3 -2
  36. awscli/customizations/gamelift/uploadbuild.py +30 -15
  37. awscli/customizations/globalargs.py +169 -0
  38. awscli/customizations/logs/startlivetail.py +3 -3
  39. awscli/customizations/paginate.py +66 -1
  40. awscli/customizations/rds.py +3 -1
  41. awscli/customizations/removals.py +4 -0
  42. awscli/customizations/s3/filegenerator.py +7 -1
  43. awscli/customizations/s3/fileinfo.py +5 -1
  44. awscli/customizations/s3/fileinfobuilder.py +7 -0
  45. awscli/customizations/s3/s3handler.py +11 -0
  46. awscli/customizations/s3/subcommands.py +147 -6
  47. awscli/customizations/s3/syncstrategy/base.py +9 -0
  48. awscli/customizations/s3/syncstrategy/caseconflict.py +96 -0
  49. awscli/customizations/s3/utils.py +25 -0
  50. awscli/customizations/s3uploader.py +18 -8
  51. awscli/customizations/scalarparse.py +48 -9
  52. awscli/customizations/utils.py +2 -1
  53. awscli/customizations/waiters.py +3 -2
  54. awscli/data/cli.json +5 -0
  55. awscli/examples/apigateway/update-vpc-link.rst +47 -0
  56. awscli/examples/apigatewayv2/create-routing-rule.rst +52 -0
  57. awscli/examples/apigatewayv2/delete-routing-rule.rst +11 -0
  58. awscli/examples/apigatewayv2/get-routing-rule.rst +35 -0
  59. awscli/examples/apigatewayv2/list-routing-rules.rst +38 -0
  60. awscli/examples/apigatewayv2/put-routing-rule.rst +52 -0
  61. awscli/examples/application-signals/batch-get-service-level-objective-budget-report.rst +99 -0
  62. awscli/examples/application-signals/create-service-level-objective.rst +88 -0
  63. awscli/examples/application-signals/delete-service-level-objective.rst +10 -0
  64. awscli/examples/application-signals/get-service-level-objective.rst +53 -0
  65. awscli/examples/application-signals/get-service.rst +72 -0
  66. awscli/examples/application-signals/list-service-dependencies.rst +96 -0
  67. awscli/examples/application-signals/list-service-dependents.rst +36 -0
  68. awscli/examples/application-signals/list-service-level-objectives.rst +17 -0
  69. awscli/examples/application-signals/list-service-operations.rst +63 -0
  70. awscli/examples/application-signals/list-services.rst +61 -0
  71. awscli/examples/application-signals/list-tags-for-resource.rst +17 -0
  72. awscli/examples/application-signals/start-discovery.rst +9 -0
  73. awscli/examples/application-signals/tag-resource.rst +11 -0
  74. awscli/examples/application-signals/untag-resource.rst +11 -0
  75. awscli/examples/application-signals/update-service-level-objective.rst +69 -0
  76. awscli/examples/cloudformation/_package_description.rst +4 -4
  77. awscli/examples/cloudformation/create-generated-template.rst +50 -0
  78. awscli/examples/cloudformation/create-stack-refactor.rst +16 -0
  79. awscli/examples/cloudformation/delete-generated-template.rst +10 -0
  80. awscli/examples/cloudformation/describe-generated-template.rst +62 -0
  81. awscli/examples/cloudformation/describe-resource-scan.rst +38 -0
  82. awscli/examples/cloudformation/describe-stack-refactor.rst +20 -0
  83. awscli/examples/cloudformation/execute-stack-refactor.rst +10 -0
  84. awscli/examples/cloudformation/list-generated-templates.rst +41 -0
  85. awscli/examples/cloudformation/list-resource-scan-related-resources.rst +47 -0
  86. awscli/examples/cloudformation/list-resource-scan-resources.rst +30 -0
  87. awscli/examples/cloudformation/list-stack-refactor-actions.rst +71 -0
  88. awscli/examples/cloudformation/start-resource-scan.rst +14 -0
  89. awscli/examples/cloudfront/associate-distribution-tenant-web-acl.rst +18 -0
  90. awscli/examples/cloudfront/associate-distribution-web-acl.rst +18 -0
  91. awscli/examples/cloudfront/create-connection-group.rst +39 -0
  92. awscli/examples/cloudfront/create-distribution-tenant.rst +275 -0
  93. awscli/examples/cloudfront/create-distribution.rst +625 -235
  94. awscli/examples/cloudfront/create-invalidation-for-distribution-tenant.rst +29 -0
  95. awscli/examples/cloudfront/delete-connection-group.rst +11 -0
  96. awscli/examples/cloudfront/delete-distribution-tenant.rst +11 -0
  97. awscli/examples/cloudfront/disassociate-distribution-tenant-web-acl.rst +16 -0
  98. awscli/examples/cloudfront/disassociate-distribution-web-acl.rst +16 -0
  99. awscli/examples/cloudfront/get-connection-group-by-routing-endpoint.rst +26 -0
  100. awscli/examples/cloudfront/get-connection-group.rst +26 -0
  101. awscli/examples/cloudfront/get-distribution-tenant-by-domain.rst +37 -0
  102. awscli/examples/cloudfront/get-distribution-tenant.rst +31 -0
  103. awscli/examples/cloudfront/get-invalidation-for-distribution-tenant.rst +29 -0
  104. awscli/examples/cloudfront/get-managed-certificate-details.rst +25 -0
  105. awscli/examples/cloudfront/list-connection-groups.rst +38 -0
  106. awscli/examples/cloudfront/list-distribution-tenants-by-customization.rst +45 -0
  107. awscli/examples/cloudfront/list-distribution-tenants.rst +90 -0
  108. awscli/examples/cloudfront/list-distributions-by-connection-mode.rst +115 -0
  109. awscli/examples/cloudfront/list-domain-conflicts.rst +22 -0
  110. awscli/examples/cloudfront/list-invalidations-for-distribution-tenant.rst +22 -0
  111. awscli/examples/cloudfront/update-connection-group.rst +29 -0
  112. awscli/examples/cloudfront/update-distribution-tenant.rst +76 -0
  113. awscli/examples/cloudfront/update-domain-association.rst +18 -0
  114. awscli/examples/cloudfront/verify-dns-configuration.rst +20 -0
  115. awscli/examples/ec2/associate-ipam-resource-discovery.rst +1 -1
  116. awscli/examples/ec2/authorize-security-group-ingress.rst +1 -1
  117. awscli/examples/ec2/create-ipam-resource-discovery.rst +1 -1
  118. awscli/examples/ec2/delete-ipam-pool.rst +1 -1
  119. awscli/examples/ec2/describe-addresses-attribute.rst +1 -1
  120. awscli/examples/ec2/get-ipam-discovered-public-addresses.rst +1 -1
  121. awscli/examples/ec2/modify-ipam-resource-discovery.rst +1 -1
  122. awscli/examples/ec2/modify-ipam-scope.rst +1 -1
  123. awscli/examples/ec2/release-ipam-pool-allocation.rst +3 -3
  124. awscli/examples/eks/associate-access-policy.rst +29 -0
  125. awscli/examples/eks/create-access-entry.rst +54 -0
  126. awscli/examples/eks/create-pod-identity-association.rst +59 -0
  127. awscli/examples/eks/delete-access-entry.rst +11 -0
  128. awscli/examples/eks/delete-pod-identity-association.rst +28 -0
  129. awscli/examples/eks/describe-access-entry.rst +25 -0
  130. awscli/examples/eks/describe-insight.rst +36 -0
  131. awscli/examples/eks/describe-pod-identity-association.rst +28 -0
  132. awscli/examples/eks/disassociate-access-policy.rst +12 -0
  133. awscli/examples/eks/list-access-entries.rst +19 -0
  134. awscli/examples/eks/list-access-policies.rst +90 -0
  135. awscli/examples/eks/list-associated-access-policies.rst +27 -0
  136. awscli/examples/eks/list-insights.rst +67 -0
  137. awscli/examples/eks/list-pod-identity-associations.rst +61 -0
  138. awscli/examples/eks/update-access-entry.rst +28 -0
  139. awscli/examples/eks/update-pod-identity-association.rst +29 -0
  140. awscli/examples/elbv2/modify-listener.rst +95 -86
  141. awscli/examples/emr/create-cluster-synopsis.txt +1 -0
  142. awscli/examples/global_options.rst +4 -0
  143. awscli/examples/global_synopsis.rst +1 -0
  144. awscli/examples/guardduty/update-detector.rst +23 -0
  145. awscli/examples/ivs-realtime/create-stage.rst +6 -3
  146. awscli/examples/ivs-realtime/get-composition.rst +7 -4
  147. awscli/examples/ivs-realtime/get-participant.rst +99 -31
  148. awscli/examples/ivs-realtime/get-stage.rst +3 -2
  149. awscli/examples/ivs-realtime/list-participant-events.rst +54 -2
  150. awscli/examples/ivs-realtime/list-participant-replicas.rst +24 -0
  151. awscli/examples/ivs-realtime/list-participants.rst +61 -3
  152. awscli/examples/ivs-realtime/start-composition.rst +88 -3
  153. awscli/examples/ivs-realtime/start-participant-replication.rst +24 -0
  154. awscli/examples/ivs-realtime/stop-participant-replication.rst +24 -0
  155. awscli/examples/ivs-realtime/update-stage.rst +51 -3
  156. awscli/examples/kms/create-key.rst +42 -7
  157. awscli/examples/kms/delete-imported-key-material.rst +8 -2
  158. awscli/examples/kms/describe-key.rst +2 -0
  159. awscli/examples/kms/disable-key.rst +1 -1
  160. awscli/examples/kms/generate-data-key-pair-without-plaintext.rst +1 -0
  161. awscli/examples/kms/generate-data-key-pair.rst +1 -0
  162. awscli/examples/kms/generate-data-key-without-plaintext.rst +2 -1
  163. awscli/examples/kms/generate-data-key.rst +5 -4
  164. awscli/examples/kms/generate-mac.rst +45 -0
  165. awscli/examples/kms/generate-random.rst +1 -1
  166. awscli/examples/kms/get-public-key.rst +2 -3
  167. awscli/examples/kms/import-key-material.rst +6 -1
  168. awscli/examples/kms/re-encrypt.rst +3 -3
  169. awscli/examples/kms/sign.rst +1 -1
  170. awscli/examples/kms/verify-mac.rst +27 -0
  171. awscli/examples/kms/verify.rst +5 -1
  172. awscli/examples/lambda/create-function.rst +4 -4
  173. awscli/examples/lambda/get-function.rst +3 -3
  174. awscli/examples/lambda/list-functions.rst +6 -6
  175. awscli/examples/medical-imaging/create-datastore.rst +19 -2
  176. awscli/examples/medical-imaging/get-datastore.rst +24 -1
  177. awscli/examples/networkmanager/get-vpc-attachment.rst +1 -1
  178. awscli/examples/omics/cancel-run.rst +1 -1
  179. awscli/examples/omics/create-run-group.rst +4 -2
  180. awscli/examples/omics/create-workflow.rst +1 -1
  181. awscli/examples/omics/delete-run-group.rst +1 -1
  182. awscli/examples/omics/delete-run.rst +1 -1
  183. awscli/examples/omics/delete-workflow.rst +1 -1
  184. awscli/examples/omics/get-run-group.rst +1 -1
  185. awscli/examples/omics/get-run-task.rst +1 -1
  186. awscli/examples/omics/get-run.rst +1 -1
  187. awscli/examples/omics/get-workflow.rst +1 -1
  188. awscli/examples/omics/list-run-groups.rst +1 -1
  189. awscli/examples/omics/list-run-tasks.rst +1 -1
  190. awscli/examples/omics/list-runs.rst +1 -1
  191. awscli/examples/omics/list-workflows.rst +1 -1
  192. awscli/examples/omics/start-run.rst +1 -2
  193. awscli/examples/omics/update-workflow.rst +1 -1
  194. awscli/examples/pi/create-performance-analysis-report.rst +17 -0
  195. awscli/examples/pi/delete-performance-analysis-report.rst +12 -0
  196. awscli/examples/pi/describe-dimension-keys.rst +33 -1
  197. awscli/examples/pi/get-dimension-key-details.rst +25 -0
  198. awscli/examples/pi/get-performance-analysis-report.rst +27 -0
  199. awscli/examples/pi/get-resource-metadata.rst +20 -0
  200. awscli/examples/pi/list-available-resource-dimensions.rst +48 -0
  201. awscli/examples/pi/list-available-resource-metrics.rst +29 -0
  202. awscli/examples/pi/list-performance-analysis-reports.rst +44 -0
  203. awscli/examples/pi/list-tags-for-resource.rst +20 -0
  204. awscli/examples/pi/tag-resource.rst +12 -0
  205. awscli/examples/pi/untag-resource.rst +12 -0
  206. awscli/examples/route53domains/get-domain-detail.rst +3 -3
  207. awscli/examples/securityhub/describe-hub.rst +6 -4
  208. awscli/examples/servicediscovery/create-service.rst +50 -10
  209. awscli/examples/servicediscovery/delete-namespace.rst +18 -4
  210. awscli/examples/servicediscovery/delete-service-attributes.rst +15 -3
  211. awscli/examples/servicediscovery/delete-service.rst +13 -3
  212. awscli/examples/servicediscovery/deregister-instance.rst +18 -2
  213. awscli/examples/servicediscovery/discover-instances-revision.rst +18 -1
  214. awscli/examples/servicediscovery/discover-instances.rst +32 -2
  215. awscli/examples/servicediscovery/get-instance.rst +30 -4
  216. awscli/examples/servicediscovery/get-instances-health-status.rst +19 -1
  217. awscli/examples/servicediscovery/get-namespace.rst +40 -9
  218. awscli/examples/servicediscovery/get-operation.rst +32 -6
  219. awscli/examples/servicediscovery/get-service-attributes.rst +25 -3
  220. awscli/examples/servicediscovery/get-service.rst +35 -7
  221. awscli/examples/servicediscovery/list-instances.rst +38 -3
  222. awscli/examples/servicediscovery/list-namespaces.rst +45 -22
  223. awscli/examples/servicediscovery/list-services.rst +30 -2
  224. awscli/examples/servicediscovery/register-instance.rst +18 -2
  225. awscli/examples/servicediscovery/update-http-namespace.rst +22 -5
  226. awscli/examples/servicediscovery/update-instance-custom-health-status.rst +14 -1
  227. awscli/examples/servicediscovery/update-private-dns-namespace.rst +22 -5
  228. awscli/examples/servicediscovery/update-public-dns-namespace.rst +22 -5
  229. awscli/examples/servicediscovery/update-service-attributes.rst +14 -2
  230. awscli/examples/servicediscovery/update-service.rst +20 -4
  231. awscli/examples/ssm/put-parameter.rst +6 -6
  232. awscli/examples/verifiedpermissions/update-policy.rst +10 -78
  233. awscli/examples/workspaces/describe-workspace-directories.rst +1 -2
  234. awscli/examples/workspaces/register-workspace-directory.rst +2 -3
  235. awscli/handlers.py +0 -4
  236. awscli/paramfile.py +21 -4
  237. awscli/testutils.py +22 -4
  238. awscli/topics/config-vars.rst +1 -1
  239. awscli/topics/s3-case-insensitivity.rst +105 -0
  240. awscli/topics/topic-tags.json +16 -0
  241. awscli/utils.py +33 -2
  242. {awscli-1.40.17.dist-info → awscli-1.44.26.dist-info}/METADATA +18 -3
  243. {awscli-1.40.17.dist-info → awscli-1.44.26.dist-info}/RECORD +251 -308
  244. awscli/customizations/opsworks.py +0 -543
  245. awscli/customizations/opsworkscm.py +0 -21
  246. awscli/examples/elastictranscoder/cancel-job.rst +0 -8
  247. awscli/examples/elastictranscoder/create-job.rst +0 -94
  248. awscli/examples/elastictranscoder/create-pipeline.rst +0 -94
  249. awscli/examples/elastictranscoder/create-preset.rst +0 -141
  250. awscli/examples/elastictranscoder/delete-pipeline.rst +0 -13
  251. awscli/examples/elastictranscoder/delete-preset.rst +0 -8
  252. awscli/examples/elastictranscoder/list-jobs-by-pipeline.rst +0 -13
  253. awscli/examples/elastictranscoder/list-jobs-by-status.rst +0 -14
  254. awscli/examples/elastictranscoder/list-pipelines.rst +0 -84
  255. awscli/examples/elastictranscoder/list-presets.rst +0 -95
  256. awscli/examples/elastictranscoder/read-job.rst +0 -65
  257. awscli/examples/elastictranscoder/read-pipeline.rst +0 -59
  258. awscli/examples/elastictranscoder/read-preset.rst +0 -100
  259. awscli/examples/elastictranscoder/update-pipeline-notifications.rst +0 -52
  260. awscli/examples/elastictranscoder/update-pipeline-status.rst +0 -53
  261. awscli/examples/elastictranscoder/update-pipeline.rst +0 -95
  262. awscli/examples/opsworks/assign-instance.rst +0 -14
  263. awscli/examples/opsworks/assign-volume.rst +0 -17
  264. awscli/examples/opsworks/associate-elastic-ip.rst +0 -14
  265. awscli/examples/opsworks/attach-elastic-load-balancer.rst +0 -14
  266. awscli/examples/opsworks/create-app.rst +0 -64
  267. awscli/examples/opsworks/create-deployment.rst +0 -66
  268. awscli/examples/opsworks/create-instance.rst +0 -25
  269. awscli/examples/opsworks/create-layer.rst +0 -17
  270. awscli/examples/opsworks/create-server.rst +0 -43
  271. awscli/examples/opsworks/create-stack.rst +0 -25
  272. awscli/examples/opsworks/create-user-profile.rst +0 -24
  273. awscli/examples/opsworks/delete-app.rst +0 -17
  274. awscli/examples/opsworks/delete-instance.rst +0 -15
  275. awscli/examples/opsworks/delete-layer.rst +0 -17
  276. awscli/examples/opsworks/delete-stack.rst +0 -18
  277. awscli/examples/opsworks/delete-user-profile.rst +0 -17
  278. awscli/examples/opsworks/deregister-elastic-ip.rst +0 -13
  279. awscli/examples/opsworks/deregister-instance.rst +0 -14
  280. awscli/examples/opsworks/deregister-rds-db-instance.rst +0 -20
  281. awscli/examples/opsworks/deregister-volume.rst +0 -15
  282. awscli/examples/opsworks/describe-apps.rst +0 -38
  283. awscli/examples/opsworks/describe-commands.rst +0 -43
  284. awscli/examples/opsworks/describe-deployments.rst +0 -52
  285. awscli/examples/opsworks/describe-elastic-ips.rst +0 -24
  286. awscli/examples/opsworks/describe-elastic-load-balancers.rst +0 -37
  287. awscli/examples/opsworks/describe-instances.rst +0 -95
  288. awscli/examples/opsworks/describe-layers.rst +0 -171
  289. awscli/examples/opsworks/describe-load-based-auto-scaling.rst +0 -37
  290. awscli/examples/opsworks/describe-my-user-profile.rst +0 -24
  291. awscli/examples/opsworks/describe-permissions.rst +0 -26
  292. awscli/examples/opsworks/describe-raid-arrays.rst +0 -31
  293. awscli/examples/opsworks/describe-rds-db-instances.rst +0 -29
  294. awscli/examples/opsworks/describe-stack-provisioning-parameters.rst +0 -32
  295. awscli/examples/opsworks/describe-stack-summary.rst +0 -27
  296. awscli/examples/opsworks/describe-stacks.rst +0 -65
  297. awscli/examples/opsworks/describe-timebased-auto-scaling.rst +0 -39
  298. awscli/examples/opsworks/describe-user-profiles.rst +0 -32
  299. awscli/examples/opsworks/describe-volumes.rst +0 -31
  300. awscli/examples/opsworks/detach-elastic-load-balancer.rst +0 -14
  301. awscli/examples/opsworks/disassociate-elastic-ip.rst +0 -14
  302. awscli/examples/opsworks/get-hostname-suggestion.rst +0 -21
  303. awscli/examples/opsworks/reboot-instance.rst +0 -14
  304. awscli/examples/opsworks/register-elastic-ip.rst +0 -19
  305. awscli/examples/opsworks/register-rds-db-instance.rst +0 -15
  306. awscli/examples/opsworks/register-volume.rst +0 -18
  307. awscli/examples/opsworks/register.rst +0 -105
  308. awscli/examples/opsworks/set-load-based-auto-scaling.rst +0 -38
  309. awscli/examples/opsworks/set-permission.rst +0 -23
  310. awscli/examples/opsworks/set-time-based-auto-scaling.rst +0 -33
  311. awscli/examples/opsworks/start-instance.rst +0 -20
  312. awscli/examples/opsworks/start-stack.rst +0 -15
  313. awscli/examples/opsworks/stop-instance.rst +0 -20
  314. awscli/examples/opsworks/stop-stack.rst +0 -15
  315. awscli/examples/opsworks/unassign-instance.rst +0 -14
  316. awscli/examples/opsworks/unassign-volume.rst +0 -16
  317. awscli/examples/opsworks/update-app.rst +0 -14
  318. awscli/examples/opsworks/update-elastic-ip.rst +0 -14
  319. awscli/examples/opsworks/update-instance.rst +0 -14
  320. awscli/examples/opsworks/update-layer.rst +0 -14
  321. awscli/examples/opsworks/update-my-user-profile.rst +0 -16
  322. awscli/examples/opsworks/update-rds-db-instance.rst +0 -18
  323. awscli/examples/opsworks/update-volume.rst +0 -16
  324. awscli/examples/opsworkscm/associate-node.rst +0 -22
  325. awscli/examples/opsworkscm/create-backup.rst +0 -46
  326. awscli/examples/opsworkscm/create-server.rst +0 -48
  327. awscli/examples/opsworkscm/delete-backup.rst +0 -17
  328. awscli/examples/opsworkscm/delete-server.rst +0 -16
  329. awscli/examples/opsworkscm/describe-account-attributes.rst +0 -26
  330. awscli/examples/opsworkscm/describe-backups.rst +0 -44
  331. awscli/examples/opsworkscm/describe-events.rst +0 -21
  332. awscli/examples/opsworkscm/describe-node-association-status.rst +0 -20
  333. awscli/examples/opsworkscm/describe-servers.rst +0 -48
  334. awscli/examples/opsworkscm/disassociate-node.rst +0 -19
  335. awscli/examples/opsworkscm/restore-server.rst +0 -20
  336. awscli/examples/opsworkscm/start-maintenance.rst +0 -39
  337. awscli/examples/opsworkscm/update-server-engine-attributes.rst +0 -43
  338. awscli/examples/opsworkscm/update-server.rst +0 -42
  339. awscli/examples/qldb/cancel-journal-kinesis-stream.rst +0 -15
  340. awscli/examples/qldb/create-ledger.rst +0 -43
  341. awscli/examples/qldb/delete-ledger.rst +0 -10
  342. awscli/examples/qldb/describe-journal-kinesis-stream.rst +0 -29
  343. awscli/examples/qldb/describe-journal-s3-export.rst +0 -30
  344. awscli/examples/qldb/describe-ledger.rst +0 -23
  345. awscli/examples/qldb/export-journal-to-s3.rst +0 -28
  346. awscli/examples/qldb/get-block.rst +0 -55
  347. awscli/examples/qldb/get-digest.rst +0 -17
  348. awscli/examples/qldb/get-revision.rst +0 -57
  349. awscli/examples/qldb/list-journal-kinesis-streams-for-ledger.rst +0 -30
  350. awscli/examples/qldb/list-journal-s3-exports-for-ledger.rst +0 -31
  351. awscli/examples/qldb/list-journal-s3-exports.rst +0 -46
  352. awscli/examples/qldb/list-ledgers.rst +0 -24
  353. awscli/examples/qldb/list-tags-for-resource.rst +0 -17
  354. awscli/examples/qldb/stream-journal-to-kinesis.rst +0 -46
  355. awscli/examples/qldb/tag-resource.rst +0 -11
  356. awscli/examples/qldb/untag-resource.rst +0 -11
  357. awscli/examples/qldb/update-ledger-permissions-mode.rst +0 -34
  358. awscli/examples/qldb/update-ledger.rst +0 -63
  359. awscli/examples/robomaker/batch-describe-simulation-job.rst +0 -150
  360. awscli/examples/robomaker/cancel-simulation-job.rst +0 -6
  361. awscli/examples/robomaker/create-deployment-job.rst +0 -37
  362. awscli/examples/robomaker/create-fleet.rst +0 -18
  363. awscli/examples/robomaker/create-robot-application-version.rst +0 -31
  364. awscli/examples/robomaker/create-robot-application.rst +0 -29
  365. awscli/examples/robomaker/create-robot.rst +0 -20
  366. awscli/examples/robomaker/create-simulation-application-version.rst +0 -39
  367. awscli/examples/robomaker/create-simulation-application.rst +0 -38
  368. awscli/examples/robomaker/create-simulation-job.rst +0 -43
  369. awscli/examples/robomaker/delete-fleet.rst +0 -7
  370. awscli/examples/robomaker/delete-robot-application.rst +0 -7
  371. awscli/examples/robomaker/delete-robot.rst +0 -7
  372. awscli/examples/robomaker/delete-simulation-application.rst +0 -7
  373. awscli/examples/robomaker/deregister-robot.rst +0 -14
  374. awscli/examples/robomaker/describe-deployment-job.rst +0 -38
  375. awscli/examples/robomaker/describe-fleet.rst +0 -28
  376. awscli/examples/robomaker/describe-robot-application.rst +0 -29
  377. awscli/examples/robomaker/describe-robot.rst +0 -21
  378. awscli/examples/robomaker/describe-simulation-application.rst +0 -37
  379. awscli/examples/robomaker/describe-simulation-job.rst +0 -45
  380. awscli/examples/robomaker/list-deployment-jobs.rst +0 -57
  381. awscli/examples/robomaker/list-fleets.rst +0 -22
  382. awscli/examples/robomaker/list-robot-applications.rst +0 -32
  383. awscli/examples/robomaker/list-robots.rst +0 -45
  384. awscli/examples/robomaker/list-simulation-applications.rst +0 -50
  385. awscli/examples/robomaker/list-simulation-jobs.rst +0 -80
  386. awscli/examples/robomaker/list-tags-for-resource.rst +0 -16
  387. awscli/examples/robomaker/register-robot.rst +0 -14
  388. awscli/examples/robomaker/restart-simulation-job.rst +0 -7
  389. awscli/examples/robomaker/sync-deployment-job.rst +0 -30
  390. awscli/examples/robomaker/tag-resource.rst +0 -7
  391. awscli/examples/robomaker/untag-resource.rst +0 -7
  392. awscli/examples/robomaker/update-robot-application.rst +0 -28
  393. awscli/examples/robomaker/update-simulation-application.rst +0 -36
  394. {awscli-1.40.17.data → awscli-1.44.26.data}/scripts/aws +0 -0
  395. {awscli-1.40.17.data → awscli-1.44.26.data}/scripts/aws.cmd +0 -0
  396. {awscli-1.40.17.data → awscli-1.44.26.data}/scripts/aws_bash_completer +0 -0
  397. {awscli-1.40.17.data → awscli-1.44.26.data}/scripts/aws_completer +0 -0
  398. {awscli-1.40.17.data → awscli-1.44.26.data}/scripts/aws_zsh_completer.sh +0 -0
  399. {awscli-1.40.17.dist-info → awscli-1.44.26.dist-info}/LICENSE.txt +0 -0
  400. {awscli-1.40.17.dist-info → awscli-1.44.26.dist-info}/WHEEL +0 -0
  401. {awscli-1.40.17.dist-info → awscli-1.44.26.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- **To discover the revision of an instance**
1
+ **Example 1: To discover the revision of an instance**
2
2
 
3
3
  The following ``discover-instances-revision`` example discovers the increasing revision of an instance. ::
4
4
 
@@ -13,3 +13,20 @@ Output::
13
13
  }
14
14
 
15
15
  For more information, see `AWS Cloud Map service instances <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-instances.html>`__ in the *AWS Cloud Map Developer Guide*.
16
+
17
+ **Example 2: To discover the revision of instances from a specific owner account**
18
+
19
+ The following ``discover-instances-revision`` example discovers the revision of instances from a specific owner account. The owner-account parameter is necessary for instances in namespaces that are shared with your account. ::
20
+
21
+ aws servicediscovery discover-instances-revision \
22
+ --namespace-name shared-namespace \
23
+ --service-name shared-service \
24
+ --owner-account 123456789111
25
+
26
+ Output::
27
+
28
+ {
29
+ "InstancesRevision": 1234567890
30
+ }
31
+
32
+ For more information, see `Shared AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html>`__ and `AWS Cloud Map service instances <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-instances.html>`__ in the *AWS Cloud Map Developer Guide*.
@@ -1,4 +1,4 @@
1
- **To discover registered instances**
1
+ **Example 1: To discover registered instances**
2
2
 
3
3
  The following ``discover-instances`` example discovers registered instances. ::
4
4
 
@@ -22,7 +22,37 @@ Output::
22
22
  "AWS_INSTANCE_PORT": "808"
23
23
  }
24
24
  }
25
- ]
25
+ ],
26
+ "InstancesRevision": 85648075627387284
26
27
  }
27
28
 
28
29
  For more information, see `AWS Cloud Map service instances <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-instances.html>`__ in the *AWS Cloud Map Developer Guide*.
30
+
31
+ **Example 2: To discover instances from a specific owner account**
32
+
33
+ The following ``discover-instances`` example discovers registered instances from a specific owner account. This parameter is necessary to discover instances in namespaces that are shared with your account. ::
34
+
35
+ aws servicediscovery discover-instances \
36
+ --namespace-name shared-namespace \
37
+ --service-name shared-service \
38
+ --owner-account 123456789111
39
+
40
+ Output::
41
+
42
+ {
43
+ "Instances": [
44
+ {
45
+ "InstanceId": "shared-instance-1234",
46
+ "NamespaceName": "shared-namespace",
47
+ "ServiceName": "shared-service",
48
+ "HealthStatus": "HEALTHY",
49
+ "Attributes": {
50
+ "AWS_INSTANCE_IPV4": "203.0.113.75",
51
+ "AWS_INSTANCE_PORT": "80"
52
+ }
53
+ }
54
+ ],
55
+ "InstancesRevision": 1234567890
56
+ }
57
+
58
+ For more information, see `Shared AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html>`__ and `AWS Cloud Map service instances <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-instances.html>`__ in the *AWS Cloud Map Developer Guide*.
@@ -1,4 +1,4 @@
1
- **To get the details of an instance**
1
+ **Example 1: To get the details of an instance**
2
2
 
3
3
  The following ``get-instance`` example gets the attributes of a service. ::
4
4
 
@@ -8,8 +8,9 @@ The following ``get-instance`` example gets the attributes of a service. ::
8
8
 
9
9
  Output::
10
10
 
11
- {
12
- "Instances": {
11
+ {
12
+ "ResourceOwner": "123456789012",
13
+ "Instance": {
13
14
  "Id": "arn:aws:servicediscovery:us-west-2:111122223333;:service/srv-e4anhexample0004",
14
15
  "Attributes": {
15
16
  "AWS_INSTANCE_IPV4": "192.0.2.44",
@@ -17,8 +18,33 @@ Output::
17
18
  "color": "green",
18
19
  "region": "us-west-2",
19
20
  "stage": "beta"
20
- }
21
+ },
22
+ "CreatedByAccount": "123456789012"
21
23
  }
22
24
  }
23
25
 
24
26
  For more information, see `AWS Cloud Map service instances <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-instances.html>`__ in the *AWS Cloud Map Developer Guide*.
27
+
28
+ **Example 2: To get the details of an instance using service ARN for shared namespaces**
29
+
30
+ The following ``get-instance`` example gets the attributes of an instance using a service ARN instead of service ID. Specifying an ARN is required when getting details of instances associated with namespaces that are shared with your account. The instance returned in this example was registered by account ``123456789111`` in a namespace owned by account ``123456789012``. ::
31
+
32
+ aws servicediscovery get-instance \
33
+ --service-id arn:aws:servicediscovery:us-west-2:123456789012:service/srv-p5zdwlg5uvvzjita \
34
+ --instance-id web-server-01
35
+
36
+ Output::
37
+
38
+ {
39
+ "ResourceOwner": "123456789012",
40
+ "Instance": {
41
+ "Id": "web-server-01",
42
+ "Attributes": {
43
+ "AWS_INSTANCE_IPV4": "203.0.113.15",
44
+ "AWS_INSTANCE_PORT": "80"
45
+ },
46
+ "CreatedByAccount": "123456789111"
47
+ }
48
+ }
49
+
50
+ For more information about cross-account namespace sharing, see `Shared AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
@@ -1,4 +1,4 @@
1
- **To get the health status of instances associated with a service**
1
+ **Example 1: To get the health status of instances associated with a service**
2
2
 
3
3
  The following ``get-instances-health-status`` example gets the health status of instances associated with the specified service. ::
4
4
 
@@ -15,3 +15,21 @@ Output::
15
15
  }
16
16
 
17
17
  For more information, see `AWS Cloud Map service instances <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-instances.html>`__ in the *AWS Cloud Map Developer Guide*.
18
+
19
+ **Example 2: To get the health status of instances using service ARN for shared namespaces**
20
+
21
+ The following ``get-instances-health-status`` example gets the health status of instances using a service ARN instead of service ID. Specifying an ARN is required when getting health status for instances associated with namespaces that are shared with the requester's account. ::
22
+
23
+ aws servicediscovery get-instances-health-status \
24
+ --service-id arn:aws:servicediscovery:us-west-2:123456789012:service/srv-p5zdwlg5uvvzjita
25
+
26
+ Output::
27
+
28
+ {
29
+ "Status": {
30
+ "web-server-01": "HEALTHY",
31
+ "web-server-02": "UNHEALTHY"
32
+ }
33
+ }
34
+
35
+ For more information, see `AWS Cloud Map service instances <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-instances.html>`__ and `Shared AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
@@ -1,28 +1,59 @@
1
- **To get the details of a namespace**
1
+ **Example 1: To get the details of a namespace**
2
2
 
3
3
  The following ``get-namespace`` example retrieves information about the specified namespace. ::
4
4
 
5
5
  aws servicediscovery get-namespace \
6
- --id ns-e4anhexample0004
6
+ --id ns-abcd1234xmpl5678
7
7
 
8
8
  Output::
9
9
 
10
10
  {
11
- "Namespaces": {
12
- "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-e4anhexample0004",
13
- "CreateDate": "20181118T211712Z",
14
- "CreatorRequestId": "example-creator-request-id-0001",
15
- "Description": "Example.com AWS Cloud Map HTTP Namespace",
16
- "Id": "ns-e4anhexample0004",
11
+ "Namespace": {
12
+ "Id": "ns-abcd1234xmpl5678",
13
+ "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-abcd1234xmpl5678",
14
+ "ResourceOwner": "123456789012",
17
15
  "Name": "example-http.com",
16
+ "Type": "HTTP",
17
+ "Description": "Example.com AWS Cloud Map HTTP Namespace",
18
18
  "Properties": {
19
19
  "DnsProperties": {},
20
20
  "HttpProperties": {
21
21
  "HttpName": "example-http.com"
22
22
  }
23
23
  },
24
- "Type": "HTTP"
24
+ "CreateDate": "2024-02-23T13:35:21.874000-06:00",
25
+ "CreatorRequestId": "abcd1234-5678-90ab-cdef-xmpl12345678"
25
26
  }
26
27
  }
27
28
 
28
29
  For more information, see `AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
30
+
31
+ **Example 2: To get the details of a namespace using ARN**
32
+
33
+ The following ``get-namespace`` example retrieves information about the specified namespace using its ARN. Specifying the ARN is necessary for retreiving details of a namespace shared with your account. ::
34
+
35
+ aws servicediscovery get-namespace \
36
+ --id arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-abcd1234xmpl5678
37
+
38
+ Output::
39
+
40
+ {
41
+ "Namespace": {
42
+ "Id": "ns-abcd1234xmpl5678",
43
+ "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-abcd1234xmpl5678",
44
+ "ResourceOwner": "123456789012",
45
+ "Name": "example-http.com",
46
+ "Type": "HTTP",
47
+ "Description": "Example.com AWS Cloud Map HTTP Namespace",
48
+ "Properties": {
49
+ "DnsProperties": {},
50
+ "HttpProperties": {
51
+ "HttpName": "example-http.com"
52
+ }
53
+ },
54
+ "CreateDate": "2024-02-23T13:35:21.874000-06:00",
55
+ "CreatorRequestId": "abcd1234-5678-90ab-cdef-xmpl12345678"
56
+ }
57
+ }
58
+
59
+ For more information, see `Shared AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
@@ -1,23 +1,49 @@
1
- **To get the result of an operation**
1
+ **Example 1: To get the result of an operation**
2
2
 
3
3
  The following ``get-operation`` example gets the result of a namespace creation operation. ::
4
4
 
5
5
  aws servicediscovery get-operation \
6
- --operation-id gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd
6
+ --operation-id abcd1234xmpl5678abcd1234xmpl5678-abcd1234
7
7
 
8
8
  Output::
9
9
 
10
10
  {
11
11
  "Operation": {
12
- "Id": "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd",
12
+ "Id": "abcd1234xmpl5678abcd1234xmpl5678-abcd1234",
13
13
  "Type": "CREATE_NAMESPACE",
14
14
  "Status": "SUCCESS",
15
- "CreateDate": 1587055860.121,
16
- "UpdateDate": 1587055900.469,
15
+ "CreateDate": "2025-01-13T13:35:21.874000-06:00",
16
+ "UpdateDate": "2025-01-13T13:36:02.469000-06:00",
17
17
  "Targets": {
18
- "NAMESPACE": "ns-ylexjili4cdxy3xm"
18
+ "NAMESPACE": "ns-abcd1234xmpl5678"
19
19
  }
20
20
  }
21
21
  }
22
22
 
23
23
  For more information, see `Creating an AWS Cloud Map namespace to group application services <https://docs.aws.amazon.com/cloud-map/latest/dg/creating-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
24
+
25
+ **Example 2: To get an operation from a specific owner account**
26
+
27
+ The following ``get-operation`` example gets the result of an operation associated with a specific namespace owner account. This parameter is necessary to get the result of operations associated with namespaces shared with your account. ::
28
+
29
+ aws servicediscovery get-operation \
30
+ --operation-id abcd1234xmpl5678abcd1234xmpl5678-abcd1234 \
31
+ --owner-account 123456789111
32
+
33
+ Output::
34
+
35
+ {
36
+ "Operation": {
37
+ "Id": "abcd1234xmpl5678abcd1234xmpl5678-abcd1234",
38
+ "OwnerAccount": "123456789111",
39
+ "Type": "CREATE_NAMESPACE",
40
+ "Status": "SUCCESS",
41
+ "CreateDate": "2025-01-13T13:35:21.874000-06:00",
42
+ "UpdateDate": "2025-01-13T13:36:02.469000-06:00",
43
+ "Targets": {
44
+ "NAMESPACE": "ns-abcd1234xmpl5678"
45
+ }
46
+ }
47
+ }
48
+
49
+ For more information, see `Shared AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
@@ -1,15 +1,16 @@
1
- **To get the attributes of an service**
1
+ **Example 1: To get the attributes of a service**
2
2
 
3
3
  The following ``get-service-attributes`` example gets the attributes of a service. ::
4
4
 
5
5
  aws servicediscovery get-service-attributes \
6
- --service-id srv-e4anhexample0004
6
+ --service-id srv-abcd1234xmpl5678
7
7
 
8
8
  Output::
9
9
 
10
10
  {
11
11
  "ServiceAttributes": {
12
- "ServiceArn": "arn:aws:servicediscovery:us-west-2:111122223333;:service/srv-e4anhexample0004",
12
+ "ServiceArn": "arn:aws:servicediscovery:us-west-2:123456789012:service/srv-abcd1234xmpl5678",
13
+ "ResourceOwner": "123456789012",
13
14
  "Attributes": {
14
15
  "Port": "80"
15
16
  }
@@ -17,3 +18,24 @@ Output::
17
18
  }
18
19
 
19
20
  For more information, see `AWS Cloud Map services <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-services.html>`__ in the *AWS Cloud Map Developer Guide*.
21
+
22
+ **Example 2: To get the attributes of a service using ARN**
23
+
24
+ The following ``get-service-attributes`` example gets the attributes of a service using its ARN. Specifying an ARN is necessary for getting attributes of a service created in a namespace shared with your account. ::
25
+
26
+ aws servicediscovery get-service-attributes \
27
+ --service-id arn:aws:servicediscovery:us-west-2:123456789012:service/srv-abcd1234xmpl5678
28
+
29
+ Output::
30
+
31
+ {
32
+ "ServiceAttributes": {
33
+ "ServiceArn": "arn:aws:servicediscovery:us-west-2:123456789012:service/srv-abcd1234xmpl5678",
34
+ "ResourceOwner": "123456789012",
35
+ "Attributes": {
36
+ "Port": "80"
37
+ }
38
+ }
39
+ }
40
+
41
+ For more information, see `AWS Cloud Map services <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-services.html>`__ and `Shared AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
@@ -1,23 +1,51 @@
1
- **To get the settings of a service**
1
+ **Example 1: To get the settings of a service**
2
2
 
3
3
  The following ``get-service`` example gets the settings of a specified service. ::
4
4
 
5
5
  aws servicediscovery get-service \
6
- --id srv-e4anhexample0004
6
+ --id srv-abcd1234xmpl5678
7
7
 
8
8
  Output::
9
9
 
10
10
  {
11
11
  "Service": {
12
- "Id": "srv-e4anhexample0004",
13
- "Arn": "arn:aws:servicediscovery:us-west-2:111122223333:service/srv-e4anhexample0004",
12
+ "Id": "srv-abcd1234xmpl5678",
13
+ "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:service/srv-abcd1234xmpl5678",
14
+ "ResourceOwner": "123456789012",
14
15
  "Name": "test-service",
15
- "NamespaceId": "ns-e4anhexample0004",
16
+ "NamespaceId": "ns-abcd1234xmpl5678",
16
17
  "DnsConfig": {},
17
18
  "Type": "HTTP",
18
- "CreateDate": "2025-02-24T10:59:02.905000-06:00",
19
- "CreatorRequestId": "3f50f9d9-b14c-482e-a556-d2a22fe6106d"
19
+ "CreateDate": "2025-08-18T13:53:02.775000-05:00",
20
+ "CreatorRequestId": "abcd1234-5678-90ab-cdef-xmpl12345678",
21
+ "CreatedByAccount": "123456789012"
20
22
  }
21
23
  }
22
24
 
23
25
  For more information, see `AWS Cloud Map services <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-services.html>`__ in the *AWS Cloud Map Developer Guide*.
26
+
27
+ **Example 2: To get the settings of a service using ARN**
28
+
29
+ The following ``get-service`` example gets the settings of a specified service using its ARN. Specifying the ARN is necessary when retrieving information about a service created in a namespace that is shared with your account. The caller account ``123456789111`` created the service in a namespace shared by account ``123456789012``. ::
30
+
31
+ aws servicediscovery get-service \
32
+ --id arn:aws:servicediscovery:us-west-2:123456789012:service/srv-abcd1234xmpl5678
33
+
34
+ Output::
35
+
36
+ {
37
+ "Service": {
38
+ "Id": "srv-abcd1234xmpl5678",
39
+ "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:service/srv-abcd1234xmpl5678",
40
+ "ResourceOwner": "123456789012",
41
+ "Name": "test-service",
42
+ "NamespaceId": "ns-abcd1234xmpl5678",
43
+ "DnsConfig": {},
44
+ "Type": "HTTP",
45
+ "CreateDate": "2025-08-18T13:53:02.775000-05:00",
46
+ "CreatorRequestId": "abcd1234-5678-90ab-cdef-xmpl12345678",
47
+ "CreatedByAccount": "123456789111"
48
+ }
49
+ }
50
+
51
+ For more information, see `Creating an AWS Cloud Map service for an application component <https://docs.aws.amazon.com/cloud-map/latest/dg/creating-services.html>`__ and `Shared AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
@@ -1,4 +1,4 @@
1
- **To list service instances**
1
+ **Example 1: To list service instances**
2
2
 
3
3
  The following ``list-instances`` example lists service instances. ::
4
4
 
@@ -14,10 +14,45 @@ Output::
14
14
  "Attributes": {
15
15
  "AWS_INSTANCE_IPV4": "172.2.1.3",
16
16
  "AWS_INSTANCE_PORT": "808"
17
- }
17
+ },
18
+ "CreatedByAccount": "123456789012"
19
+ }
20
+ ],
21
+ "ResourceOwner": "123456789012"
22
+ }
23
+
24
+ For more information, see `Listing AWS Cloud Map service instances <https://docs.aws.amazon.com/cloud-map/latest/dg/listing-instances.html>`__ in the *AWS Cloud Map Developer Guide*.
25
+
26
+ **Example 2: To list service instances using service ARN**
27
+
28
+ The following ``list-instances`` example lists service instances using a service ARN instead of service ID. Specifying an ARN is required when listing instances associated with namespaces that are shared with your account. ::
29
+
30
+ aws servicediscovery list-instances \
31
+ --service-id arn:aws:servicediscovery:us-west-2:123456789012:service/srv-p5zdwlg5uvvzjita
32
+
33
+ Output::
34
+
35
+ {
36
+ "ResourceOwner": "123456789012",
37
+ "Instances": [
38
+ {
39
+ "Id": "web-server-01",
40
+ "Attributes": {
41
+ "AWS_INSTANCE_IPV4": "203.0.113.15",
42
+ "AWS_INSTANCE_PORT": "80"
43
+ },
44
+ "CreatedByAccount": "123456789012"
45
+ },
46
+ {
47
+ "Id": "web-server-02",
48
+ "Attributes": {
49
+ "AWS_INSTANCE_IPV4": "203.0.113.16",
50
+ "AWS_INSTANCE_PORT": "80"
51
+ },
52
+ "CreatedByAccount": "123456789012"
18
53
  }
19
54
  ]
20
55
  }
21
56
 
22
- For more information, see `Viewing a list of service instances <https://docs.aws.amazon.com/cloud-map/latest/dg/listing-instances.html>`__ in the *AWS Cloud Map Developer Guide*.
57
+ For more information about cross-account namespace sharing, see `Shared AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html>`_ and `Listing AWS Cloud Map service instances <https://docs.aws.amazon.com/cloud-map/latest/dg/listing-instances.html>`__ in the *AWS Cloud Map Developer Guide*.
23
58
 
@@ -1,4 +1,4 @@
1
- **To list namespaces**
1
+ **Example 1: To list namespaces**
2
2
 
3
3
  The following ``list-namespaces`` example lists namespaces. ::
4
4
 
@@ -9,50 +9,73 @@ Output::
9
9
  {
10
10
  "Namespaces": [
11
11
  {
12
- "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-a3ccy2e7e3a7rile",
13
- "CreateDate": 1585354387.357,
14
- "Id": "ns-a3ccy2e7e3a7rile",
12
+ "Id": "ns-abcd1234xmpl5678",
13
+ "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-abcd1234xmpl5678",
14
+ "ResourceOwner": "123456789012",
15
15
  "Name": "local",
16
+ "Type": "DNS_PRIVATE",
16
17
  "Properties": {
17
18
  "DnsProperties": {
18
- "HostedZoneId": "Z06752353VBUDTC32S84S"
19
+ "HostedZoneId": "Z06752353VBUDTC32S84S",
20
+ "SOA": {}
19
21
  },
20
22
  "HttpProperties": {
21
23
  "HttpName": "local"
22
24
  }
23
25
  },
24
- "Type": "DNS_PRIVATE"
26
+ "CreateDate": "2023-07-17T13:37:27.872000-05:00"
25
27
  },
26
28
  {
27
- "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-pocfyjtrsmwtvcxx",
28
- "CreateDate": 1586468974.698,
29
- "Description": "My second namespace",
30
- "Id": "ns-pocfyjtrsmwtvcxx",
29
+ "Id": "ns-abcd1234xmpl9012",
30
+ "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-abcd1234xmpl9012",
31
+ "ResourceOwner": "123456789012",
31
32
  "Name": "My-second-namespace",
33
+ "Type": "HTTP",
34
+ "Description": "My second namespace",
32
35
  "Properties": {
33
- "DnsProperties": {},
36
+ "DnsProperties": {
37
+ "SOA": {}
38
+ },
34
39
  "HttpProperties": {
35
40
  "HttpName": "My-second-namespace"
36
41
  }
37
42
  },
38
- "Type": "HTTP"
39
- },
43
+ "CreateDate": "2023-11-14T10:35:47.840000-06:00"
44
+ }
45
+ ]
46
+ }
47
+
48
+ For more information, see `Listing AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/listing-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
49
+
50
+ **Example 2: To list namespaces shared by other accounts**
51
+
52
+ The following ``list-namespaces`` example lists namespaces that are shared with the caller account by other AWS accounts using the ``RESOURCE_OWNER`` filter. ::
53
+
54
+ aws servicediscovery list-namespaces \
55
+ --filters Name=RESOURCE_OWNER,Values=OTHER_ACCOUNTS,Condition=EQ
56
+
57
+ Output::
58
+
59
+ {
60
+ "Namespaces": [
40
61
  {
41
- "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-ylexjili4cdxy3xm",
42
- "CreateDate": 1587055896.798,
43
- "Id": "ns-ylexjili4cdxy3xm",
44
- "Name": "example.com",
62
+ "Id": "ns-abcd1234xmpl5678",
63
+ "Arn": "arn:aws:servicediscovery:us-west-2:123456789111:namespace/ns-abcd1234xmpl5678",
64
+ "ResourceOwner": "123456789111",
65
+ "Name": "shared-namespace",
66
+ "Type": "HTTP",
67
+ "Description": "Namespace shared from another account",
45
68
  "Properties": {
46
69
  "DnsProperties": {
47
- "HostedZoneId": "Z09983722P0QME1B3KC8I"
70
+ "SOA": {}
48
71
  },
49
- "HttpProperties": {
50
- "HttpName": "example.com"
72
+ "HttpProperties": {
73
+ "HttpName": "shared-namespace"
51
74
  }
52
75
  },
53
- "Type": "DNS_PRIVATE"
76
+ "CreateDate": "2025-01-13T13:35:21.874000-06:00"
54
77
  }
55
78
  ]
56
79
  }
57
80
 
58
- For more information, see `Viewing a list of namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/listing-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
81
+ For more information, see `Shared AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
@@ -1,4 +1,4 @@
1
- **To list services**
1
+ **Example 1: To list services**
2
2
 
3
3
  The following ``list-services`` example lists services. ::
4
4
 
@@ -26,5 +26,33 @@ Output::
26
26
  ]
27
27
  }
28
28
 
29
- For more information, see `Viewing a list of services <https://docs.aws.amazon.com/cloud-map/latest/dg/listing-services.html>`__ in the *AWS Cloud Map Developer Guide*.
29
+ For more information, see `Listing AWS Cloud Map services in a namespace <https://docs.aws.amazon.com/cloud-map/latest/dg/listing-services.html>`__ in the *AWS Cloud Map Developer Guide*.
30
30
 
31
+ **Example 2: To list services created in shared namespaces**
32
+
33
+ The following ``list-services`` example lists services that are created in namespaces shared with the caller account ``123456789012`` by other AWS accounts using the ``RESOURCE_OWNER`` filter. ::
34
+
35
+ aws servicediscovery list-services \
36
+ --filters Name=RESOURCE_OWNER,Values=OTHER_ACCOUNTS,Condition=EQ
37
+
38
+ Output::
39
+
40
+ {
41
+ "Services": [
42
+ {
43
+ "Id": "srv-abcd1234xmpl5678",
44
+ "Arn": "arn:aws:servicediscovery:us-west-2:123456789111:service/srv-abcd1234xmpl5678",
45
+ "ResourceOwner": "123456789111",
46
+ "Name": "shared-service",
47
+ "NamespaceId": "ns-abcd1234xmpl5678",
48
+ "Type": "HTTP",
49
+ "Description": "Service in shared namespace",
50
+ "DnsConfig": {},
51
+ "CreateDate": "2025-01-13T13:35:21.874000-06:00",
52
+ "CreatorRequestId": "abcd1234-5678-90ab-cdef-xmpl12345678",
53
+ "CreatedByAccount": "123456789012"
54
+ }
55
+ ]
56
+ }
57
+
58
+ For more information, see `Shared AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html>`__ and `Listing AWS Cloud Map services in a namespace <https://docs.aws.amazon.com/cloud-map/latest/dg/listing-services.html>`__ in the *AWS Cloud Map Developer Guide*.
@@ -1,4 +1,4 @@
1
- **To register a service instance**
1
+ **Example 1: To register a service instance using service ID**
2
2
 
3
3
  The following ``register-instance`` example registers a service instance. ::
4
4
 
@@ -15,5 +15,21 @@ Output::
15
15
 
16
16
  To confirm that the operation succeeded, you can run ``get-operation``. For more information, see `get-operation <https://docs.aws.amazon.com/cli/latest/reference/servicediscovery/get-operation.html>`__ .
17
17
 
18
- For more information, see `Registering instances <https://docs.aws.amazon.com/cloud-map/latest/dg/registering-instances.html>`__ in the *AWS Cloud Map Developer Guide*.
18
+ For more information about registering an instance, see `Registering a resource as an AWS Cloud Map service instance <https://docs.aws.amazon.com/cloud-map/latest/dg/registering-instances.html>`__ in the *AWS Cloud Map Developer Guide*.
19
19
 
20
+ **Example 2: To register a service instance using service ARN**
21
+
22
+ The following ``register-instance`` example registers a service instance using a service ARN. Specifying the ARN is required when registering instances in services that are shared with your account. ::
23
+
24
+ aws servicediscovery register-instance \
25
+ --service-id arn:aws:servicediscovery:us-west-2:123456789012:service/srv-p5zdwlg5uvvzjita \
26
+ --instance-id web-server-01 \
27
+ --attributes=AWS_INSTANCE_IPV4=203.0.113.15,AWS_INSTANCE_PORT=80
28
+
29
+ Output::
30
+
31
+ {
32
+ "OperationId": "gv4g5meo7ndmkqjrhpn39wk42xmpl"
33
+ }
34
+
35
+ For more information about cross-account namespace sharing, see `Shared AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
@@ -1,18 +1,35 @@
1
- **To update an HTTP namespace**
1
+ **Example 1: To update an HTTP namespace**
2
2
 
3
3
  The following ``update-http-namespace`` example updates the specified HTTP namespace's description. ::
4
4
 
5
5
  aws servicediscovery update-http-namespace \
6
- --id ns-vh4nbmEXAMPLE \
7
- --updater-request-id example-request-id \
6
+ --id ns-abcd1234xmpl5678 \
7
+ --updater-request-id abcd1234-5678-90ab-cdef-xmpl12345678 \
8
8
  --namespace Description="The updated namespace description."
9
9
 
10
10
  Output::
11
11
 
12
12
  {
13
- "OperationId": "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd"
13
+ "OperationId": "abcd1234-5678-90ab-cdef-xmpl12345678"
14
14
  }
15
15
 
16
16
  To confirm that the operation succeeded, you can run ``get-operation``. For more information, see `get-operation <https://docs.aws.amazon.com/cli/latest/reference/servicediscovery/get-operation.html>`__ .
17
17
 
18
- For more information, see `AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
18
+ For more information, see `AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
19
+
20
+ **Example 2: To update an HTTP namespace using ARN**
21
+
22
+ The following ``update-http-namespace`` example updates the specified HTTP namespace using its ARN. ::
23
+
24
+ aws servicediscovery update-http-namespace \
25
+ --id arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-abcd1234xmpl5678 \
26
+ --updater-request-id abcd1234-5678-90ab-cdef-xmpl12345678 \
27
+ --namespace Description="The updated namespace description."
28
+
29
+ Output::
30
+
31
+ {
32
+ "OperationId": "abcd1234-5678-90ab-cdef-xmpl12345678"
33
+ }
34
+
35
+ For more information, see `AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.