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
@@ -0,0 +1,96 @@
1
+ **To return a list of service dependencies of the service that you specify**
2
+
3
+ The following ``list-service-dependencies`` example returns a list of service dependencies of the service that you specify. ::
4
+
5
+ aws application-signals list-service-dependencies \
6
+ --start-time 1732021200 \
7
+ --end-time 1732107600 \
8
+ --key-attributes Environment=api-gateway:prod, Name=PetAdoptionStatusUpdater,Type=Service
9
+
10
+ Output::
11
+
12
+ {
13
+ "ServiceDependencies": [{
14
+ "OperationName": "PUT /prod",
15
+ "DependencyKeyAttributes": {
16
+ "Environment": "lambda:default",
17
+ "Name": "Services-name",
18
+ "Type": "Service"
19
+ },
20
+ "DependencyOperationName": "Invoke",
21
+ "MetricReferences": [{
22
+ "Namespace": "ApplicationSignals",
23
+ "MetricType": "LATENCY",
24
+ "Dimensions": [{
25
+ "Name": "Environment",
26
+ "Value": "api-gateway:prod"
27
+ }, {
28
+ "Name": "Operation",
29
+ "Value": "PUT /prod"
30
+ }, {
31
+ "Name": "RemoteEnvironment",
32
+ "Value": "lambda:default"
33
+ }, {
34
+ "Name": "RemoteOperation",
35
+ "Value": "Invoke"
36
+ }, {
37
+ "Name": "RemoteService",
38
+ "Value": "Services-name"
39
+ }, {
40
+ "Name": "Service",
41
+ "Value": "PetAdoptionStatusUpdater"
42
+ }],
43
+ "MetricName": "Latency"
44
+ }, {
45
+ "Namespace": "ApplicationSignals",
46
+ "MetricType": "FAULT",
47
+ "Dimensions": [{
48
+ "Name": "Environment",
49
+ "Value": "api-gateway:prod"
50
+ }, {
51
+ "Name": "Operation",
52
+ "Value": "PUT /prod"
53
+ }, {
54
+ "Name": "RemoteEnvironment",
55
+ "Value": "lambda:default"
56
+ }, {
57
+ "Name": "RemoteOperation",
58
+ "Value": "Invoke"
59
+ }, {
60
+ "Name": "RemoteService",
61
+ "Value": "Services-name"
62
+ }, {
63
+ "Name": "Service",
64
+ "Value": "PetAdoptionStatusUpdater"
65
+ }],
66
+ "MetricName": "Fault"
67
+ }, {
68
+ "Namespace": "ApplicationSignals",
69
+ "MetricType": "ERROR",
70
+ "Dimensions": [{
71
+ "Name": "Environment",
72
+ "Value": "api-gateway:prod"
73
+ }, {
74
+ "Name": "Operation",
75
+ "Value": "PUT /prod"
76
+ }, {
77
+ "Name": "RemoteEnvironment",
78
+ "Value": "lambda:default"
79
+ }, {
80
+ "Name": "RemoteOperation",
81
+ "Value": "Invoke"
82
+ }, {
83
+ "Name": "RemoteService",
84
+ "Value": "Services-name"
85
+ }, {
86
+ "Name": "Service",
87
+ "Value": "PetAdoptionStatusUpdater"
88
+ }],
89
+ "MetricName": "Error"
90
+ }]
91
+ }],
92
+ "StartTime": "2024-11-19T13:00:00+00:00",
93
+ "EndTime": "2024-11-20T13:00:01+00:00"
94
+ }
95
+
96
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,36 @@
1
+ **To return the list of dependents that invoked the specified service during the provided time range**
2
+
3
+ The following ``list-service-dependents`` example returns the list of dependents that invoked the specified service during the provided time range. ::
4
+
5
+ aws application-signals list-service-dependents \
6
+ --start-time 1732021200 \
7
+ --end-time 1732107600 \
8
+ --key-attributes Environment=generic:default,Name=PetSite,Type=Service
9
+
10
+ Output::
11
+
12
+ {
13
+ "ServiceDependents": [{
14
+ "OperationName": "",
15
+ "DependentKeyAttributes": {
16
+ "Identifier": "pet-api-canary-hao",
17
+ "ResourceType": "AWS::Synthetics::Canary",
18
+ "Type": "AWS::Resource"
19
+ },
20
+ "DependentOperationName": "",
21
+ "MetricReferences": []
22
+ }, {
23
+ "OperationName": "",
24
+ "DependentKeyAttributes": {
25
+ "Identifier": "PetSite",
26
+ "ResourceType": "AWS::Synthetics::Canary",
27
+ "Type": "AWS::Resource"
28
+ },
29
+ "DependentOperationName": "",
30
+ "MetricReferences": []
31
+ }],
32
+ "StartTime": "2024-12-24T05:00:00+00:00",
33
+ "EndTime": "2024-12-25T06:00:01+00:00"
34
+ }
35
+
36
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,17 @@
1
+ **To return a list of SLOs created in this account.**
2
+
3
+ The following ``list-service-level-objectives`` example returns a list of SLOs created in this account. ::
4
+
5
+ aws application-signals list-service-level-objectives
6
+
7
+ Output::
8
+
9
+ {
10
+ "SloSummaries": [{
11
+ "Arn": "arn:aws:application-signals:us-east-1:123456789101:slo/test",
12
+ "Name": "test",
13
+ "CreatedTime": "2024-12-24T22:01:21.116000+05:30"
14
+ }]
15
+ }
16
+
17
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,63 @@
1
+ **To return a list of the operations of this service that have been discovered by Application Signals**
2
+
3
+ The following ``list-service-operations`` example returns a list of the operations of this service that have been discovered by Application Signals. ::
4
+
5
+ aws application-signals list-service-operations \
6
+ --start-time 1735017423 \
7
+ --end-time 1735103823 \
8
+ --key-attributes Environment=generic:default,Name=payforadoption,Type=Service
9
+
10
+ Output::
11
+
12
+ {
13
+ "ServiceOperations": [{
14
+ "Name": "POST /api",
15
+ "MetricReferences": [{
16
+ "Namespace": "ApplicationSignals",
17
+ "MetricType": "LATENCY",
18
+ "Dimensions": [{
19
+ "Name": "Environment",
20
+ "Value": "generic:default"
21
+ }, {
22
+ "Name": "Operation",
23
+ "Value": "POST /api"
24
+ }, {
25
+ "Name": "Service",
26
+ "Value": "payforadoption"
27
+ }],
28
+ "MetricName": "Latency"
29
+ }, {
30
+ "Namespace": "ApplicationSignals",
31
+ "MetricType": "FAULT",
32
+ "Dimensions": [{
33
+ "Name": "Environment",
34
+ "Value": "generic:default"
35
+ }, {
36
+ "Name": "Operation",
37
+ "Value": "POST /api"
38
+ }, {
39
+ "Name": "Service",
40
+ "Value": "payforadoption"
41
+ }],
42
+ "MetricName": "Fault"
43
+ }, {
44
+ "Namespace": "ApplicationSignals",
45
+ "MetricType": "ERROR",
46
+ "Dimensions": [{
47
+ "Name": "Environment",
48
+ "Value": "generic:default"
49
+ }, {
50
+ "Name": "Operation",
51
+ "Value": "POST /api"
52
+ }, {
53
+ "Name": "Service",
54
+ "Value": "payforadoption"
55
+ }],
56
+ "MetricName": "Error"
57
+ }]
58
+ }],
59
+ "StartTime": "2024-12-24T05:00:00+00:00",
60
+ "EndTime": "2024-12-25T06:00:01+00:00"
61
+ }
62
+
63
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,61 @@
1
+ **To return a list of services that have been discovered by Application Signals**
2
+
3
+ The following ``list-services`` example returns a list of services that have been discovered by Application Signals. ::
4
+
5
+ aws application-signals list-services \
6
+ --start-time 1734918791 \
7
+ --end-time 1734965591
8
+
9
+ Output::
10
+
11
+ {
12
+ "ServiceSummaries": [{
13
+ "KeyAttributes": {
14
+ "Environment": "lambda:default",
15
+ "Name": "hello-world-python",
16
+ "Type": "Service"
17
+ },
18
+ "AttributeMaps": [{
19
+ "Lambda.Function.Name": "hello-world-python",
20
+ "PlatformType": "AWS::Lambda"
21
+ }],
22
+ "MetricReferences": [{
23
+ "Namespace": "ApplicationSignals",
24
+ "MetricType": "LATENCY",
25
+ "Dimensions": [{
26
+ "Name": "Environment",
27
+ "Value": "lambda:default"
28
+ }, {
29
+ "Name": "Service",
30
+ "Value": "hello-world-python"
31
+ }],
32
+ "MetricName": "Latency"
33
+ }, {
34
+ "Namespace": "ApplicationSignals",
35
+ "MetricType": "FAULT",
36
+ "Dimensions": [{
37
+ "Name": "Environment",
38
+ "Value": "lambda:default"
39
+ }, {
40
+ "Name": "Service",
41
+ "Value": "hello-world-python"
42
+ }],
43
+ "MetricName": "Fault"
44
+ }, {
45
+ "Namespace": "ApplicationSignals",
46
+ "MetricType": "ERROR",
47
+ "Dimensions": [{
48
+ "Name": "Environment",
49
+ "Value": "lambda:default"
50
+ }, {
51
+ "Name": "Service",
52
+ "Value": "hello-world-python"
53
+ }],
54
+ "MetricName": "Error"
55
+ }]
56
+ }],
57
+ "StartTime": "2024-11-27T10:00:00+00:00",
58
+ "EndTime": "2024-11-27T14:00:01+00:00"
59
+ }
60
+
61
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,17 @@
1
+ **To display the tags associated with a CloudWatch resource**
2
+
3
+ The following ``list-tags-for-resource`` example displays the tags associated with a CloudWatch resource. ::
4
+
5
+ aws application-signals list-tags-for-resource \
6
+ --resource-arn "arn:aws:application-signals:us-east-1:123456789101:slo/SLOName"
7
+
8
+ Output::
9
+
10
+ {
11
+ "Tags": [{
12
+ "Key": "test",
13
+ "Value": "value"
14
+ }]
15
+ }
16
+
17
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,9 @@
1
+ **To enable this Amazon Web Services account to be able to use CloudWatch Application Signals**
2
+
3
+ The following ``start-discovery`` example enables this Amazon Web Services account to be able to use CloudWatch Application Signals by creating the *AWSServiceRoleForCloudWatchApplicationSignals* service-linked role. ::
4
+
5
+ aws application-signals start-discovery
6
+
7
+ This command produces no output.
8
+
9
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,11 @@
1
+ **To assigns one or more tags (key-value pairs) to the specified CloudWatch resource, such as a service level objective**
2
+
3
+ The following ``tag-resource`` example assigns one or more tags (key-value pairs) to the specified CloudWatch resource, such as a service level objective. ::
4
+
5
+ aws application-signals tag-resource \
6
+ --resource-arn "arn:aws:application-signals:us-east-1:123456789101:slo/SLOName" \
7
+ --tags '{"Key":"test","Value":"value"}'
8
+
9
+ This command produces no output.
10
+
11
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,11 @@
1
+ **To remove one or more tags from the specified resource**
2
+
3
+ The following ``untag-resource`` example removes one or more tags from the specified resource. ::
4
+
5
+ aws application-signals untag-resource \
6
+ --resource-arn "arn:aws:application-signals:us-east-1:123456789101:slo/SLOName" \
7
+ --tag-keys "test"
8
+
9
+ This command produces no output.
10
+
11
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,69 @@
1
+ **To update an existing service level objective (SLO)**
2
+
3
+ The following ``update-service-level-objective`` example updates an existing service level objective (SLO). ::
4
+
5
+ aws application-signals update-service-level-objective \
6
+ --cli-input-json file://update-slo.json
7
+
8
+ Contents of ``update-slo.json``::
9
+
10
+ {
11
+ "id": "arn:aws:application-signals:us-east-1:123456789101:slo/SLOName",
12
+ "goal": {
13
+ "Interval": {
14
+ "RollingInterval": {
15
+ "DurationUnit": "DAY",
16
+ "Duration": 7
17
+ }
18
+ },
19
+ "AttainmentGoal": 90.0,
20
+ "WarningThreshold": 50.0
21
+ }
22
+ }
23
+
24
+ Output::
25
+
26
+ {
27
+ "Slo": {
28
+ "Arn": "arn:aws:application-signals:us-east-1:123456789101:slo/SLOName",
29
+ "Name": "SLOName",
30
+ "Description": "Description of your SLO",
31
+ "CreatedTime": "2024-12-24T22:19:18.624000+05:30",
32
+ "LastUpdatedTime": "2024-12-27T08:51:38.278000+05:30",
33
+ "Sli": {
34
+ "SliMetric": {
35
+ "MetricDataQueries": [{
36
+ "Id": "m1",
37
+ "MetricStat": {
38
+ "Metric": {
39
+ "Namespace": "AWS/EC2",
40
+ "MetricName": "CPUUtilization",
41
+ "Dimensions": [{
42
+ "Name": "InstanceId",
43
+ "Value": "i-00987654345222"
44
+ }]
45
+ },
46
+ "Period": 60,
47
+ "Stat": "Average"
48
+ },
49
+ "ReturnData": true
50
+ }]
51
+ },
52
+ "MetricThreshold": 200.0,
53
+ "ComparisonOperator": "LessThanOrEqualTo"
54
+ },
55
+ "EvaluationType": "PeriodBased",
56
+ "Goal": {
57
+ "Interval": {
58
+ "RollingInterval": {
59
+ "DurationUnit": "DAY",
60
+ "Duration": 7
61
+ }
62
+ },
63
+ "AttainmentGoal": 90.0,
64
+ "WarningThreshold": 50.0
65
+ }
66
+ }
67
+ }
68
+
69
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,50 @@
1
+ **To create a generated template from scanned resources**
2
+
3
+ The following ``create-generated-template`` example creates a generated template named ``MyTemplate`` from scanned resources. ::
4
+
5
+ aws cloudformation create-generated-template \
6
+ --generated-template-name MyTemplate \
7
+ --resources file://resources.json
8
+
9
+ Contents of ``resources.json``::
10
+
11
+ [
12
+ {
13
+ "ResourceType": "AWS::EKS::Cluster",
14
+ "LogicalResourceId":"MyCluster",
15
+ "ResourceIdentifier": {
16
+ "ClusterName": "MyAppClusterName"
17
+ }
18
+ },
19
+ {
20
+ "ResourceType": "AWS::AutoScaling::AutoScalingGroup",
21
+ "LogicalResourceId":"MyASG",
22
+ "ResourceIdentifier": {
23
+ "AutoScalingGroupName": "MyAppASGName"
24
+ }
25
+ },
26
+ {
27
+ "ResourceType": "AWS::EKS::Nodegroup",
28
+ "LogicalResourceId":"MyNodegroup",
29
+ "ResourceIdentifier": {
30
+ "NodegroupName": "MyAppNodegroupName"
31
+ }
32
+ },
33
+ {
34
+ "ResourceType": "AWS::IAM::Role",
35
+ "LogicalResourceId":"MyRole",
36
+ "ResourceIdentifier": {
37
+ "RoleId": "arn:aws::iam::123456789012:role/MyAppIAMRole"
38
+ }
39
+ }
40
+ ]
41
+
42
+ Output::
43
+
44
+ {
45
+ "Arn":
46
+ "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/7fc8512c-d8cb-4e02-b266-d39c48344e48",
47
+ "Name": "MyTemplate"
48
+ }
49
+
50
+ For more information, see `Create a CloudFormation template from resources scanned with IaC generator <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/iac-generator-create-template-from-scanned-resources.html>`__ in the *AWS CloudFormation User Guide*.
@@ -0,0 +1,16 @@
1
+ **To create the stack definition for a stack refactor operation**
2
+
3
+ The following ``create-stack-refactor`` example creates the stack definition for stack refactoring. ::
4
+
5
+ aws cloudformation create-stack-refactor \
6
+ --stack-definitions \
7
+ StackName=Stack1,TemplateBody@=file://template1-updated.yaml \
8
+ StackName=Stack2,TemplateBody@=file://template2-updated.yaml
9
+
10
+ Output::
11
+
12
+ {
13
+ "StackRefactorId": "9c384f70-4e07-4ed7-a65d-fee5eb430841"
14
+ }
15
+
16
+ For more information, see `Stack refactoring <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-refactoring.html>`__ in the *AWS CloudFormation User Guide*.
@@ -0,0 +1,10 @@
1
+ **To delete a generated template**
2
+
3
+ The following ``delete-generated-template`` example deletes the specified template. ::
4
+
5
+ aws cloudformation delete-generated-template \
6
+ --generated-template-name MyTemplate
7
+
8
+ This command produces no output.
9
+
10
+ For more information, see `Generating templates from existing resources <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/generate-IaC.html>`__ in the *AWS CloudFormation User Guide*.
@@ -0,0 +1,62 @@
1
+ **To describe a generated template**
2
+
3
+ The following ``describe-generated-template`` example describes the specified template. ::
4
+
5
+ aws cloudformation describe-generated-template \
6
+ --generated-template-name MyTemplate
7
+
8
+ Output::
9
+
10
+ {
11
+ "GeneratedTemplateId": "arn:aws:cloudformation:us-east-1:123456789012:generatedTemplate/7d881acf-f307-4ded-910e-f8fb49b96894",
12
+ "GeneratedTemplateName": "MyTemplate",
13
+ "Resources": [
14
+ {
15
+ "ResourceType": "AWS::EC2::SecurityGroup",
16
+ "LogicalResourceId": "EC2SecurityGroup",
17
+ "ResourceIdentifier": {
18
+ "Id": "sg-1234567890abcdef0"
19
+ },
20
+ "ResourceStatus": "COMPLETE",
21
+ "ResourceStatusReason": "Resource Template complete",
22
+ "Warnings": []
23
+ },
24
+ {
25
+ "ResourceType": "AWS::EC2::Instance",
26
+ "LogicalResourceId": "EC2Instance",
27
+ "ResourceIdentifier": {
28
+ "InstanceId": "i-1234567890abcdef0"
29
+ },
30
+ "ResourceStatus": "COMPLETE",
31
+ "ResourceStatusReason": "Resource Template complete",
32
+ "Warnings": []
33
+ },
34
+ {
35
+ "ResourceType": "AWS::EC2::KeyPair",
36
+ "LogicalResourceId": "EC2KeyPairSshkeypair",
37
+ "ResourceIdentifier": {
38
+ "KeyName": "sshkeypair"
39
+ },
40
+ "ResourceStatus": "COMPLETE",
41
+ "ResourceStatusReason": "Resource Template complete",
42
+ "Warnings": []
43
+ }
44
+ ],
45
+ "Status": "COMPLETE",
46
+ "StatusReason": "All resources complete",
47
+ "CreationTime": "2025-09-23T19:38:06.435000+00:00",
48
+ "LastUpdatedTime": "2025-09-23T19:38:10.798000+00:00",
49
+ "Progress": {
50
+ "ResourcesSucceeded": 3,
51
+ "ResourcesFailed": 0,
52
+ "ResourcesProcessing": 0,
53
+ "ResourcesPending": 0
54
+ },
55
+ "TemplateConfiguration": {
56
+ "DeletionPolicy": "RETAIN",
57
+ "UpdateReplacePolicy": "RETAIN"
58
+ },
59
+ "TotalWarnings": 0
60
+ }
61
+
62
+ For more information, see `Generating templates from existing resources <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/generate-IaC.html>`__ in the *AWS CloudFormation User Guide*.
@@ -0,0 +1,38 @@
1
+ **To describe a resource scan**
2
+
3
+ The following ``describe-resource-scan`` example describes the resource scan with the specified scan ID. ::
4
+
5
+ aws cloudformation describe-resource-scan --region \
6
+ --resource-scan-id arn:aws:cloudformation:us-east-1:123456789012:resourceScan/0a699f15-489c-43ca-a3ef-3e6ecfa5da60
7
+
8
+ Output::
9
+
10
+ {
11
+ "ResourceScanId": "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/0a699f15-489c-43ca-a3ef-3e6ecfa5da60",
12
+ "Status": "COMPLETE",
13
+ "StartTime": "2025-08-21T03:10:38.485000+00:00",
14
+ "EndTime": "2025-08-21T03:20:28.485000+00:00",
15
+ "PercentageCompleted": 100.0,
16
+ "ResourceTypes": [
17
+ "AWS::CloudFront::CachePolicy",
18
+ "AWS::CloudFront::OriginRequestPolicy",
19
+ "AWS::EC2::DHCPOptions",
20
+ "AWS::EC2::InternetGateway",
21
+ "AWS::EC2::KeyPair",
22
+ "AWS::EC2::NetworkAcl",
23
+ "AWS::EC2::NetworkInsightsPath",
24
+ "AWS::EC2::NetworkInterface",
25
+ "AWS::EC2::PlacementGroup",
26
+ "AWS::EC2::Route",
27
+ "AWS::EC2::RouteTable",
28
+ "AWS::EC2::SecurityGroup",
29
+ "AWS::EC2::Subnet",
30
+ "AWS::EC2::SubnetCidrBlock",
31
+ "AWS::EC2::SubnetNetworkAclAssociation",
32
+ "AWS::EC2::SubnetRouteTableAssociation",
33
+ ...
34
+ ],
35
+ "ResourcesRead": 676
36
+ }
37
+
38
+ For more information, see `Generating templates from existing resources <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/generate-IaC.html>`__ in the *AWS CloudFormation User Guide*.
@@ -0,0 +1,20 @@
1
+ **To describe a stack refactor operation**
2
+
3
+ The following ``describe-stack-refactor`` example describes the stack refactor operation with the specified stack refactor ID. ::
4
+
5
+ aws cloudformation describe-stack-refactor \
6
+ --stack-refactor-id 9c384f70-4e07-4ed7-a65d-fee5eb430841
7
+
8
+ Output::
9
+
10
+ {
11
+ "StackRefactorId": "9c384f70-4e07-4ed7-a65d-fee5eb430841",
12
+ "StackIds": [
13
+ "arn:aws:cloudformation:us-east-1:123456789012:stack/Stack1/3e6a1ff0-94b1-11f0-aa6f-0a88d2e03acf",
14
+ "arn:aws:cloudformation:us-east-1:123456789012:stack/Stack2/5da91650-94b1-11f0-81cf-0a23500e151b"
15
+ ],
16
+ "ExecutionStatus": "AVAILABLE",
17
+ "Status": "CREATE_COMPLETE"
18
+ }
19
+
20
+ For more information, see `Stack refactoring <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-refactoring.html>`__ in the *AWS CloudFormation User Guide*.
@@ -0,0 +1,10 @@
1
+ **To complete a stack refactor operation**
2
+
3
+ The following ``execute-stack-refactor`` example completes the stack refactor operation with the specified stack refactor ID. ::
4
+
5
+ aws cloudformation execute-stack-refactor \
6
+ --stack-refactor-id 9c384f70-4e07-4ed7-a65d-fee5eb430841
7
+
8
+ This command produces no output.
9
+
10
+ For more information, see `Stack refactoring <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-refactoring.html>`__ in the *AWS CloudFormation User Guide*.
@@ -0,0 +1,41 @@
1
+ **To list generated templates**
2
+
3
+ The following ``list-generated-templates`` example lists all generated templates. ::
4
+
5
+ aws cloudformation list-generated-templates
6
+
7
+ Output::
8
+
9
+ {
10
+ "Summaries": [
11
+ {
12
+ "GeneratedTemplateId": "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/7fc8512c-d8cb-4e02-b266-d39c48344e48",
13
+ "GeneratedTemplateName": "MyTemplate",
14
+ "Status": "COMPLETE",
15
+ "StatusReason": "All resources complete",
16
+ "CreationTime": "2025-09-23T20:13:24.283000+00:00",
17
+ "LastUpdatedTime": "2025-09-23T20:13:28.610000+00:00",
18
+ "NumberOfResources": 4
19
+ },
20
+ {
21
+ "GeneratedTemplateId": "arn:aws:cloudformation:us-east-1:123456789012:generatedTemplate/f10dd1c4-edc6-4823-8153-ab6112b8d051",
22
+ "GeneratedTemplateName": "MyEC2InstanceTemplate",
23
+ "Status": "COMPLETE",
24
+ "StatusReason": "All resources complete",
25
+ "CreationTime": "2024-08-08T19:35:49.790000+00:00",
26
+ "LastUpdatedTime": "2024-08-08T19:35:52.207000+00:00",
27
+ "NumberOfResources": 3
28
+ },
29
+ {
30
+ "GeneratedTemplateId": "arn:aws:cloudformation:us-east-1:123456789012:generatedTemplate/e5a1c89f-7ce2-41bd-9bdf-75b7c852e3ca",
31
+ "GeneratedTemplateName": "MyEKSNodeGroupTemplate",
32
+ "Status": "COMPLETE",
33
+ "StatusReason": "All resources complete",
34
+ "CreationTime": "2024-07-16T20:39:27.883000+00:00",
35
+ "LastUpdatedTime": "2024-07-16T20:39:35.766000+00:00",
36
+ "NumberOfResources": 4
37
+ }
38
+ ]
39
+ }
40
+
41
+ For more information, see `Generating templates from existing resources <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/generate-IaC.html>`__ in the *AWS CloudFormation User Guide*.