awscli 1.42.33__py3-none-any.whl → 1.42.69__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of awscli might be problematic. Click here for more details.

Files changed (99) hide show
  1. awscli/__init__.py +1 -1
  2. awscli/arguments.py +1 -1
  3. awscli/customizations/eks/update_kubeconfig.py +12 -1
  4. awscli/customizations/scalarparse.py +7 -5
  5. awscli/examples/ivs-realtime/get-composition.rst +7 -4
  6. awscli/examples/ivs-realtime/start-composition.rst +88 -3
  7. awscli/examples/lambda/create-function.rst +4 -4
  8. awscli/examples/lambda/get-function.rst +3 -3
  9. awscli/examples/lambda/list-functions.rst +6 -6
  10. awscli/examples/securityhub/describe-hub.rst +6 -4
  11. awscli/examples/servicediscovery/create-service.rst +50 -10
  12. awscli/examples/servicediscovery/delete-namespace.rst +18 -4
  13. awscli/examples/servicediscovery/delete-service-attributes.rst +15 -3
  14. awscli/examples/servicediscovery/delete-service.rst +13 -3
  15. awscli/examples/servicediscovery/deregister-instance.rst +18 -2
  16. awscli/examples/servicediscovery/discover-instances-revision.rst +18 -1
  17. awscli/examples/servicediscovery/discover-instances.rst +32 -2
  18. awscli/examples/servicediscovery/get-instance.rst +30 -4
  19. awscli/examples/servicediscovery/get-instances-health-status.rst +19 -1
  20. awscli/examples/servicediscovery/get-namespace.rst +40 -9
  21. awscli/examples/servicediscovery/get-operation.rst +32 -6
  22. awscli/examples/servicediscovery/get-service-attributes.rst +25 -3
  23. awscli/examples/servicediscovery/get-service.rst +35 -7
  24. awscli/examples/servicediscovery/list-instances.rst +38 -3
  25. awscli/examples/servicediscovery/list-namespaces.rst +45 -22
  26. awscli/examples/servicediscovery/list-services.rst +30 -2
  27. awscli/examples/servicediscovery/register-instance.rst +18 -2
  28. awscli/examples/servicediscovery/update-http-namespace.rst +22 -5
  29. awscli/examples/servicediscovery/update-instance-custom-health-status.rst +14 -1
  30. awscli/examples/servicediscovery/update-private-dns-namespace.rst +22 -5
  31. awscli/examples/servicediscovery/update-public-dns-namespace.rst +22 -5
  32. awscli/examples/servicediscovery/update-service-attributes.rst +14 -2
  33. awscli/examples/servicediscovery/update-service.rst +20 -4
  34. awscli/topics/config-vars.rst +1 -1
  35. {awscli-1.42.33.dist-info → awscli-1.42.69.dist-info}/METADATA +4 -2
  36. {awscli-1.42.33.dist-info → awscli-1.42.69.dist-info}/RECORD +44 -99
  37. awscli/examples/qldb/cancel-journal-kinesis-stream.rst +0 -15
  38. awscli/examples/qldb/create-ledger.rst +0 -43
  39. awscli/examples/qldb/delete-ledger.rst +0 -10
  40. awscli/examples/qldb/describe-journal-kinesis-stream.rst +0 -29
  41. awscli/examples/qldb/describe-journal-s3-export.rst +0 -30
  42. awscli/examples/qldb/describe-ledger.rst +0 -23
  43. awscli/examples/qldb/export-journal-to-s3.rst +0 -28
  44. awscli/examples/qldb/get-block.rst +0 -55
  45. awscli/examples/qldb/get-digest.rst +0 -17
  46. awscli/examples/qldb/get-revision.rst +0 -57
  47. awscli/examples/qldb/list-journal-kinesis-streams-for-ledger.rst +0 -30
  48. awscli/examples/qldb/list-journal-s3-exports-for-ledger.rst +0 -31
  49. awscli/examples/qldb/list-journal-s3-exports.rst +0 -46
  50. awscli/examples/qldb/list-ledgers.rst +0 -24
  51. awscli/examples/qldb/list-tags-for-resource.rst +0 -17
  52. awscli/examples/qldb/stream-journal-to-kinesis.rst +0 -46
  53. awscli/examples/qldb/tag-resource.rst +0 -11
  54. awscli/examples/qldb/untag-resource.rst +0 -11
  55. awscli/examples/qldb/update-ledger-permissions-mode.rst +0 -34
  56. awscli/examples/qldb/update-ledger.rst +0 -63
  57. awscli/examples/robomaker/batch-describe-simulation-job.rst +0 -150
  58. awscli/examples/robomaker/cancel-simulation-job.rst +0 -6
  59. awscli/examples/robomaker/create-deployment-job.rst +0 -37
  60. awscli/examples/robomaker/create-fleet.rst +0 -18
  61. awscli/examples/robomaker/create-robot-application-version.rst +0 -31
  62. awscli/examples/robomaker/create-robot-application.rst +0 -29
  63. awscli/examples/robomaker/create-robot.rst +0 -20
  64. awscli/examples/robomaker/create-simulation-application-version.rst +0 -39
  65. awscli/examples/robomaker/create-simulation-application.rst +0 -38
  66. awscli/examples/robomaker/create-simulation-job.rst +0 -43
  67. awscli/examples/robomaker/delete-fleet.rst +0 -7
  68. awscli/examples/robomaker/delete-robot-application.rst +0 -7
  69. awscli/examples/robomaker/delete-robot.rst +0 -7
  70. awscli/examples/robomaker/delete-simulation-application.rst +0 -7
  71. awscli/examples/robomaker/deregister-robot.rst +0 -14
  72. awscli/examples/robomaker/describe-deployment-job.rst +0 -38
  73. awscli/examples/robomaker/describe-fleet.rst +0 -28
  74. awscli/examples/robomaker/describe-robot-application.rst +0 -29
  75. awscli/examples/robomaker/describe-robot.rst +0 -21
  76. awscli/examples/robomaker/describe-simulation-application.rst +0 -37
  77. awscli/examples/robomaker/describe-simulation-job.rst +0 -45
  78. awscli/examples/robomaker/list-deployment-jobs.rst +0 -57
  79. awscli/examples/robomaker/list-fleets.rst +0 -22
  80. awscli/examples/robomaker/list-robot-applications.rst +0 -32
  81. awscli/examples/robomaker/list-robots.rst +0 -45
  82. awscli/examples/robomaker/list-simulation-applications.rst +0 -50
  83. awscli/examples/robomaker/list-simulation-jobs.rst +0 -80
  84. awscli/examples/robomaker/list-tags-for-resource.rst +0 -16
  85. awscli/examples/robomaker/register-robot.rst +0 -14
  86. awscli/examples/robomaker/restart-simulation-job.rst +0 -7
  87. awscli/examples/robomaker/sync-deployment-job.rst +0 -30
  88. awscli/examples/robomaker/tag-resource.rst +0 -7
  89. awscli/examples/robomaker/untag-resource.rst +0 -7
  90. awscli/examples/robomaker/update-robot-application.rst +0 -28
  91. awscli/examples/robomaker/update-simulation-application.rst +0 -36
  92. {awscli-1.42.33.data → awscli-1.42.69.data}/scripts/aws +0 -0
  93. {awscli-1.42.33.data → awscli-1.42.69.data}/scripts/aws.cmd +0 -0
  94. {awscli-1.42.33.data → awscli-1.42.69.data}/scripts/aws_bash_completer +0 -0
  95. {awscli-1.42.33.data → awscli-1.42.69.data}/scripts/aws_completer +0 -0
  96. {awscli-1.42.33.data → awscli-1.42.69.data}/scripts/aws_zsh_completer.sh +0 -0
  97. {awscli-1.42.33.dist-info → awscli-1.42.69.dist-info}/LICENSE.txt +0 -0
  98. {awscli-1.42.33.dist-info → awscli-1.42.69.dist-info}/WHEEL +0 -0
  99. {awscli-1.42.33.dist-info → awscli-1.42.69.dist-info}/top_level.txt +0 -0
awscli/__init__.py CHANGED
@@ -18,7 +18,7 @@ A Universal Command Line Environment for Amazon Web Services.
18
18
 
19
19
  import os
20
20
 
21
- __version__ = '1.42.33'
21
+ __version__ = '1.42.69'
22
22
 
23
23
  #
24
24
  # Get our data path to be added to botocore's search path
awscli/arguments.py CHANGED
@@ -449,7 +449,7 @@ class CLIArgument(BaseCLIArgument):
449
449
  cli_name = self.cli_name
450
450
  parser.add_argument(
451
451
  cli_name,
452
- help=self.documentation,
452
+ help=self.documentation.replace('%', '%%'),
453
453
  type=self.cli_type,
454
454
  required=self.required,
455
455
  )
@@ -77,6 +77,12 @@ class UpdateKubeconfigCommand(BasicCommand):
77
77
  "connect to the cluster the first time."),
78
78
  'required': False
79
79
  },
80
+ {
81
+ 'name': 'proxy-url',
82
+ 'help_text': ("Optionally specify a proxy url to route "
83
+ "traffic via when connecting to a cluster."),
84
+ 'required': False
85
+ },
80
86
  {
81
87
  'name': 'dry-run',
82
88
  'action': 'store_true',
@@ -305,7 +311,7 @@ class EKSClient(object):
305
311
  endpoint = self.cluster_description.get("endpoint")
306
312
  arn = self.cluster_description.get("arn")
307
313
 
308
- return OrderedDict([
314
+ generated_cluster = OrderedDict([
309
315
  ("cluster", OrderedDict([
310
316
  ("certificate-authority-data", cert_data),
311
317
  ("server", endpoint)
@@ -313,6 +319,11 @@ class EKSClient(object):
313
319
  ("name", arn)
314
320
  ])
315
321
 
322
+ if self._parsed_args.proxy_url is not None:
323
+ generated_cluster["cluster"]["proxy-url"] = self._parsed_args.proxy_url
324
+
325
+ return generated_cluster
326
+
316
327
  def get_user_entry(self, user_alias=None):
317
328
  """
318
329
  Return a user entry generated using
@@ -49,7 +49,7 @@ def add_timestamp_parser(session):
49
49
  try:
50
50
  timestamp_format = session.get_scoped_config().get(
51
51
  'cli_timestamp_format',
52
- 'none')
52
+ 'wire')
53
53
  except ProfileNotFound:
54
54
  # If a --profile is provided that does not exist, loading
55
55
  # a value from get_scoped_config will crash the CLI.
@@ -57,9 +57,11 @@ def add_timestamp_parser(session):
57
57
  # the session-initialized event, which happens before a
58
58
  # profile can be created, even if the command would have
59
59
  # successfully created a profile. Instead of crashing here
60
- # on a ProfileNotFound the CLI should just use 'none'.
61
- timestamp_format = 'none'
62
- if timestamp_format == 'none':
60
+ # on a ProfileNotFound the CLI should just use 'wire'.
61
+ timestamp_format = 'wire'
62
+ # We also support 'none' for backwards compatibility reasons, though we
63
+ # document 'wire' instead.
64
+ if timestamp_format == 'wire' or timestamp_format == 'none':
63
65
  # For backwards compatibility reasons, we replace botocore's timestamp
64
66
  # parser (which parses to a datetime.datetime object) with the
65
67
  # identity function which prints the date exactly the same as it comes
@@ -69,7 +71,7 @@ def add_timestamp_parser(session):
69
71
  timestamp_parser = iso_format
70
72
  else:
71
73
  raise ValueError('Unknown cli_timestamp_format value: %s, valid values'
72
- ' are "none" or "iso8601"' % timestamp_format)
74
+ ' are "none", "wire" or "iso8601"' % timestamp_format)
73
75
  factory.set_parser_defaults(timestamp_parser=timestamp_parser)
74
76
 
75
77
 
@@ -51,9 +51,10 @@ Output::
51
51
  ],
52
52
  "layout": {
53
53
  "grid": {
54
- "featuredParticipantAttribute": ""
54
+ "featuredParticipantAttribute": "",
55
55
  "gridGap": 2,
56
56
  "omitStoppedVideo": false,
57
+ "participantOrderAttribute": "",
57
58
  "videoAspectRatio": "VIDEO",
58
59
  "videoFillMode": ""
59
60
  }
@@ -65,7 +66,7 @@ Output::
65
66
  }
66
67
  }
67
68
 
68
- For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon IVS Real-Time Streaming User Guide*.
69
+ For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon Interactive Video Service User Guide*.
69
70
 
70
71
  **Example 2: To get a composition with PiP layout**
71
72
 
@@ -123,6 +124,7 @@ Output::
123
124
  "featuredParticipantAttribute": "abcdefg",
124
125
  "gridGap": 0,
125
126
  "omitStoppedVideo": false,
127
+ "participantOrderAttribute": "",
126
128
  "pipBehavior": "STATIC",
127
129
  "pipOffset": 0,
128
130
  "pipParticipantAttribute": "",
@@ -137,7 +139,7 @@ Output::
137
139
  }
138
140
  }
139
141
 
140
- For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon IVS Real-Time Streaming User Guide*.
142
+ For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon Interactive Video Service User Guide*.
141
143
 
142
144
  **Example 3: To get a composition with thumbnail recording enabled**
143
145
 
@@ -203,6 +205,7 @@ Output::
203
205
  "featuredParticipantAttribute": ""
204
206
  "gridGap": 2,
205
207
  "omitStoppedVideo": false,
208
+ "participantOrderAttribute": "",
206
209
  "videoAspectRatio": "VIDEO",
207
210
  "videoFillMode": "" }
208
211
  },
@@ -213,4 +216,4 @@ Output::
213
216
  }
214
217
  }
215
218
 
216
- For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon IVS Real-Time Streaming User Guide*.
219
+ For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon Interactive Video Service User Guide*.
@@ -57,6 +57,7 @@ Output::
57
57
  "featuredParticipantAttribute": ""
58
58
  "gridGap": 2,
59
59
  "omitStoppedVideo": false,
60
+ "participantOrderAttribute": "",
60
61
  "videoAspectRatio": "VIDEO",
61
62
  "videoFillMode": ""
62
63
  }
@@ -68,7 +69,7 @@ Output::
68
69
  }
69
70
  }
70
71
 
71
- For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon IVS Real-Time Streaming User Guide*.
72
+ For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon Interactive Video Service User Guide*.
72
73
 
73
74
  **Example 2: To start a composition with PiP layout**
74
75
 
@@ -129,6 +130,7 @@ Output::
129
130
  "featuredParticipantAttribute": "abcdefg",
130
131
  "gridGap": 0,
131
132
  "omitStoppedVideo": false,
133
+ "participantOrderAttribute": "",
132
134
  "pipBehavior": "STATIC",
133
135
  "pipOffset": 0,
134
136
  "pipParticipantAttribute": "",
@@ -143,7 +145,7 @@ Output::
143
145
  }
144
146
  }
145
147
 
146
- For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon IVS Real-Time Streaming User Guide*.
148
+ For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon Interactive Video Service User Guide*.
147
149
 
148
150
  **Example 3: To start a composition with thumbnail recording enabled**
149
151
 
@@ -212,6 +214,7 @@ Output::
212
214
  "featuredParticipantAttribute": ""
213
215
  "gridGap": 2,
214
216
  "omitStoppedVideo": false,
217
+ "participantOrderAttribute": "",
215
218
  "videoAspectRatio": "VIDEO",
216
219
  "videoFillMode": ""
217
220
  }
@@ -223,4 +226,86 @@ Output::
223
226
  }
224
227
  }
225
228
 
226
- For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon IVS Real-Time Streaming User Guide*.
229
+ For more information, see `Composite Recording (Real-Time Streaming) <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon Interactive Video Service User Guide*.
230
+
231
+ **Example 4: To start a composition using grid layout with custom participant ordering**
232
+
233
+ The following ``start-composition`` example starts a composition for the specified stage to be streamed to the specified locations using grid layout with custom participant ordering. ::
234
+
235
+ aws ivs-realtime start-composition \
236
+ --stage-arn arn:aws:ivs:ap-northeast-1:123456789012:stage/defgABCDabcd \
237
+ --destinations '[{"channel": {"channelArn": "arn:aws:ivs:ap-northeast-1:123456789012:channel/abcABCdefDEg", \
238
+ "encoderConfigurationArn": "arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef"}}, \
239
+ {"s3": {"encoderConfigurationArns": ["arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef"], \
240
+ "storageConfigurationArn": "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/FefABabCDcdE", \
241
+ "thumbnailConfigurations": [{"storage": ["SEQUENTIAL"],"targetIntervalSeconds": 60}]}}]' \
242
+ --layout grid='{participantOrderAttribute="abcdefg"}'
243
+
244
+ Output::
245
+
246
+ {
247
+ "composition": {
248
+ "arn": "arn:aws:ivs:ap-northeast-1:123456789012:composition/abcdABCDefgh",
249
+ "destinations": [
250
+ {
251
+ "configuration": {
252
+ "channel": {
253
+ "channelArn": "arn:aws:ivs:ap-northeast-1:123456789012:channel/abcABCdefDEg",
254
+ "encoderConfigurationArn": "arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef"
255
+ },
256
+ "name": ""
257
+ },
258
+ "id": "AabBCcdDEefF",
259
+ "state": "STARTING"
260
+ },
261
+ {
262
+ "configuration": {
263
+ "name": "",
264
+ "s3": {
265
+ "encoderConfigurationArns": [
266
+ "arn:aws:ivs:arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef"
267
+ ],
268
+ "recordingConfiguration": {
269
+ "format": "HLS",
270
+ "hlsConfiguration": {
271
+ "targetSegmentDurationSeconds": 2
272
+ }
273
+ },
274
+ "storageConfigurationArn": "arn:arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/FefABabCDcdE",
275
+ "thumbnailConfigurations": [
276
+ {
277
+ "targetIntervalSeconds": 60,
278
+ "storage": [
279
+ "SEQUENTIAL"
280
+ ]
281
+ }
282
+ ]
283
+ }
284
+ },
285
+ "detail": {
286
+ "s3": {
287
+ "recordingPrefix": "aBcDeFgHhGfE/AbCdEfGhHgFe/GHFabcgefABC/composite"
288
+ }
289
+ },
290
+ "id": "GHFabcgefABC",
291
+ "state": "STARTING"
292
+ }
293
+ ],
294
+ "layout": {
295
+ "grid": {
296
+ "featuredParticipantAttribute": ""
297
+ "gridGap": 2,
298
+ "omitStoppedVideo": false,
299
+ "participantOrderAttribute": "abcdefg",
300
+ "videoAspectRatio": "VIDEO",
301
+ "videoFillMode": ""
302
+ }
303
+ },
304
+ "stageArn": "arn:aws:ivs:ap-northeast-1:123456789012:stage/defgABCDabcd",
305
+ "startTime": "2023-10-16T23:24:00+00:00",
306
+ "state": "STARTING",
307
+ "tags": {}
308
+ }
309
+ }
310
+
311
+ For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon Interactive Video Service User Guide*.
@@ -4,7 +4,7 @@ The following ``create-function`` example creates a Lambda function named ``my-f
4
4
 
5
5
  aws lambda create-function \
6
6
  --function-name my-function \
7
- --runtime nodejs18.x \
7
+ --runtime nodejs22.x \
8
8
  --zip-file fileb://my-function.zip \
9
9
  --handler my-function.handler \
10
10
  --role arn:aws:iam::123456789012:role/service-role/MyTestFunction-role-tges6bf4
@@ -28,10 +28,10 @@ Output::
28
28
  "Version": "$LATEST",
29
29
  "Role": "arn:aws:iam::123456789012:role/service-role/MyTestFunction-role-zgur6bf4",
30
30
  "Timeout": 3,
31
- "LastModified": "2023-10-14T22:26:11.234+0000",
31
+ "LastModified": "2025-10-14T22:26:11.234+0000",
32
32
  "Handler": "my-function.handler",
33
- "Runtime": "nodejs18.x",
33
+ "Runtime": "nodejs22.x",
34
34
  "Description": ""
35
35
  }
36
36
 
37
- For more information, see `AWS Lambda Function Configuration <https://docs.aws.amazon.com/lambda/latest/dg/resource-model.html>`__ in the *AWS Lambda Developer Guide*.
37
+ For more information, see `Configure Lambda function memory <https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html>`__ in the *AWS Lambda Developer Guide*.
@@ -34,10 +34,10 @@ Output::
34
34
  "Handler": "index.handler",
35
35
  "Role": "arn:aws:iam::123456789012:role/service-role/helloWorldPython-role-uy3l9qyq",
36
36
  "Timeout": 3,
37
- "LastModified": "2019-09-24T18:20:35.054+0000",
38
- "Runtime": "nodejs10.x",
37
+ "LastModified": "2025-09-24T18:20:35.054+0000",
38
+ "Runtime": "nodejs22.x",
39
39
  "Description": ""
40
40
  }
41
41
  }
42
42
 
43
- For more information, see `AWS Lambda Function Configuration <https://docs.aws.amazon.com/lambda/latest/dg/resource-model.html>`__ in the *AWS Lambda Developer Guide*.
43
+ For more information, see `Configure Lambda function memory <https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html>`__ in the *AWS Lambda Developer Guide*.
@@ -22,8 +22,8 @@ Output::
22
22
  "Handler": "helloworld.handler",
23
23
  "Role": "arn:aws:iam::123456789012:role/service-role/MyTestFunction-role-zgur6bf4",
24
24
  "Timeout": 3,
25
- "LastModified": "2023-09-23T18:32:33.857+0000",
26
- "Runtime": "nodejs18.x",
25
+ "LastModified": "2025-09-23T18:32:33.857+0000",
26
+ "Runtime": "nodejs22.x",
27
27
  "Description": ""
28
28
  },
29
29
  {
@@ -45,8 +45,8 @@ Output::
45
45
  "Handler": "index.handler",
46
46
  "Role": "arn:aws:iam::123456789012:role/service-role/helloWorldPython-role-uy3l9qyq",
47
47
  "Timeout": 3,
48
- "LastModified": "2023-10-01T16:47:28.490+0000",
49
- "Runtime": "nodejs18.x",
48
+ "LastModified": "2025-10-01T16:47:28.490+0000",
49
+ "Runtime": "nodejs22.x",
50
50
  "Description": ""
51
51
  },
52
52
  {
@@ -78,11 +78,11 @@ Output::
78
78
  "Handler": "lambda_function.lambda_handler",
79
79
  "Role": "arn:aws:iam::123456789012:role/service-role/my-python-function-role-z5g7dr6n",
80
80
  "Timeout": 3,
81
- "LastModified": "2023-10-01T19:40:41.643+0000",
81
+ "LastModified": "2025-10-01T19:40:41.643+0000",
82
82
  "Runtime": "python3.11",
83
83
  "Description": ""
84
84
  }
85
85
  ]
86
86
  }
87
87
 
88
- For more information, see `AWS Lambda Function Configuration <https://docs.aws.amazon.com/lambda/latest/dg/resource-model.html>`__ in the *AWS Lambda Developer Guide*.
88
+ For more information, see `Configure Lambda function memory <https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html>`__ in the *AWS Lambda Developer Guide*.
@@ -1,15 +1,17 @@
1
1
  **To get information about a hub resource**
2
2
 
3
- The following ``describe-hub`` example returns the subscription date for the specified hub resource. The hub resource is identified by its ARN. ::
3
+ The following ``describe-hub`` example returns the subscription date and other configuration settings for the specified hub resource. The hub resource is identified by its ARN. ::
4
4
 
5
- aws securityhub describe-hub \
5
+ aws securityhub describe-hub \
6
6
  --hub-arn "arn:aws:securityhub:us-west-1:123456789012:hub/default"
7
7
 
8
8
  Output::
9
9
 
10
10
  {
11
11
  "HubArn": "arn:aws:securityhub:us-west-1:123456789012:hub/default",
12
- "SubscribedAt": "2019-11-19T23:15:10.046Z"
12
+ "SubscribedAt": "2019-11-19T23:15:10.046Z",
13
+ "AutoEnableControls": true,
14
+ "ControlFindingGenerator": "SECURITY_CONTROL"
13
15
  }
14
16
 
15
- For more information, see `AWS::SecurityHub::Hub <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-hub.html>`__ in the *AWS CloudFormation User Guide*.
17
+ For more information, see `AWS::SecurityHub::Hub <https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-securityhub-hub.html>`__ in the *AWS CloudFormation User Guide*.
@@ -1,22 +1,23 @@
1
- **To create a service**
1
+ **Example 1: To create a service using namespace ID**
2
2
 
3
3
  The following ``create-service`` example creates a service. ::
4
4
 
5
5
  aws servicediscovery create-service \
6
6
  --name myservice \
7
7
  --namespace-id ns-ylexjili4cdxy3xm \
8
- --dns-config "NamespaceId=ns-ylexjili4cdxy3xm,RoutingPolicy=MULTIVALUE,DnsRecords=[{Type=A,TTL=60}]"
8
+ --dns-config "RoutingPolicy=MULTIVALUE,DnsRecords=[{Type=A,TTL=60}]"
9
9
 
10
10
  Output::
11
11
 
12
12
  {
13
- "Service": {
14
- "Id": "srv-p5zdwlg5uvvzjita",
15
- "Arn": "arn:aws:servicediscovery:us-west-2:803642222207:service/srv-p5zdwlg5uvvzjita",
13
+ "Service": {
14
+ "Id": "srv-abcd1234xmpl5678",
15
+ "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:service/srv-abcd1234xmpl5678",
16
+ "ResourceOwner": "123456789012",
16
17
  "Name": "myservice",
17
- "NamespaceId": "ns-ylexjili4cdxy3xm",
18
+ "NamespaceId": "ns-abcd1234xmpl5678",
18
19
  "DnsConfig": {
19
- "NamespaceId": "ns-ylexjili4cdxy3xm",
20
+ "NamespaceId": "ns-abcd1234xmpl5678",
20
21
  "RoutingPolicy": "MULTIVALUE",
21
22
  "DnsRecords": [
22
23
  {
@@ -25,10 +26,49 @@ Output::
25
26
  }
26
27
  ]
27
28
  },
28
- "CreateDate": 1587081768.334,
29
- "CreatorRequestId": "567c1193-6b00-4308-bd57-ad38a8822d25"
29
+ "Type": "DNS_HTTP",
30
+ "CreateDate": "2025-08-18T13:45:31.023000-05:00",
31
+ "CreatorRequestId": "abcd1234-5678-90ab-cdef-xmpl12345678",
32
+ "CreatedByAccount": "123456789012"
30
33
  }
31
34
  }
32
35
 
33
- For more information, see `Creating services <https://docs.aws.amazon.com/cloud-map/latest/dg/creating-services.html>`__ in the *AWS Cloud Map Developer Guide*.
36
+ 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>`__ in the *AWS Cloud Map Developer Guide*.
37
+
38
+ **Example 2: To create a service using namespace ARN**
39
+
40
+ The following ``create-service`` example creates a service using a namespace ARN instead of namespace ID. Specifying a namespace ARN is necessary when creating a service in a shared namespace. ::
41
+
42
+ aws servicediscovery create-service \
43
+ --name myservice-arn \
44
+ --namespace-id arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-abcd1234xmpl5678 \
45
+ --dns-config "RoutingPolicy=MULTIVALUE,DnsRecords=[{Type=A,TTL=60}]"
46
+
47
+ Output::
48
+
49
+ {
50
+ "Service": {
51
+ "Id": "srv-abcd1234xmpl5678",
52
+ "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:service/srv-abcd1234xmpl5678",
53
+ "ResourceOwner": "123456789012",
54
+ "Name": "myservice-arn",
55
+ "NamespaceId": "ns-abcd1234xmpl5678",
56
+ "DnsConfig": {
57
+ "NamespaceId": "ns-abcd1234xmpl5678",
58
+ "RoutingPolicy": "MULTIVALUE",
59
+ "DnsRecords": [
60
+ {
61
+ "Type": "A",
62
+ "TTL": 60
63
+ }
64
+ ]
65
+ },
66
+ "Type": "DNS_HTTP",
67
+ "CreateDate": "2025-08-18T13:45:31.023000-05:00",
68
+ "CreatorRequestId": "abcd1234-5678-90ab-cdef-xmpl12345678",
69
+ "CreatedByAccount": "123456789012"
70
+ }
71
+ }
72
+
73
+ 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*.
34
74
 
@@ -1,17 +1,31 @@
1
- **To delete a namespace**
1
+ **Example 1: To delete a namespace**
2
2
 
3
3
  The following ``delete-namespace`` example deletes a namespace. ::
4
4
 
5
5
  aws servicediscovery delete-namespace \
6
- --id ns-ylexjili4cdxy3xm
6
+ --id ns-abcd1234xmpl5678
7
7
 
8
8
  Output::
9
9
 
10
10
  {
11
- "OperationId": "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k98y6drk"
11
+ "OperationId": "abcd1234-5678-90ab-cdef-xmpl12345678"
12
12
  }
13
13
 
14
14
  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>`__ .
15
15
 
16
- For more information, see `Deleting namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/deleting-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
16
+ For more information, see `Deleting an AWS Cloud Map namespace <https://docs.aws.amazon.com/cloud-map/latest/dg/deleting-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
17
17
 
18
+ **Example 2: To delete a namespace using namespace ARN**
19
+
20
+ The following ``delete-namespace`` example deletes a namespace using its ARN. ::
21
+
22
+ aws servicediscovery delete-namespace \
23
+ --id arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-abcd1234xmpl5678
24
+
25
+ Output::
26
+
27
+ {
28
+ "OperationId": "abcd1234-5678-90ab-cdef-xmpl12345678"
29
+ }
30
+
31
+ For more information, see `Deleting an AWS Cloud Map namespace <https://docs.aws.amazon.com/cloud-map/latest/dg/deleting-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
@@ -1,11 +1,23 @@
1
- **To delete a service attribute**
1
+ **Example 1: To delete a service attribute**
2
2
 
3
3
  The following ``delete-service-attributes`` example deletes a service attribute with the key ``Port`` that is associated with the specified service. ::
4
4
 
5
5
  aws servicediscovery delete-service-attributes \
6
- --service-id srv-e4anhexample0004 \
6
+ --service-id srv-abcd1234xmpl5678 \
7
7
  --attributes Port
8
8
 
9
9
  This command produces no output.
10
10
 
11
- For more information, see `Deleting namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/deleting-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
11
+ 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*.
12
+
13
+ **Example 2: To delete a service attribute using ARN**
14
+
15
+ The following ``delete-service-attributes`` example deletes a service attribute using the service ARN. Specifying the ARN is necessary for deleting attributes associated with services created in namespaces shared with your account. ::
16
+
17
+ aws servicediscovery delete-service-attributes \
18
+ --service-id arn:aws:servicediscovery:us-west-2:123456789012:service/srv-abcd1234xmpl5678 \
19
+ --attributes Port
20
+
21
+ This command produces no output.
22
+
23
+ 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,11 +1,21 @@
1
- **To delete a service**
1
+ **Example 1: To delete a service**
2
2
 
3
3
  The following ``delete-service`` example deletes a service. ::
4
4
 
5
5
  aws servicediscovery delete-service \
6
- --id srv-p5zdwlg5uvvzjita
6
+ --id srv-abcd1234xmpl5678
7
7
 
8
8
  This command produces no output.
9
9
 
10
- For more information, see `Deleting services <https://docs.aws.amazon.com/cloud-map/latest/dg/deleting-services.html>`__ in the *AWS Cloud Map Developer Guide*.
10
+ For more information, see `Deleting an AWS Cloud Map service <https://docs.aws.amazon.com/cloud-map/latest/dg/deleting-services.html>`__ in the *AWS Cloud Map Developer Guide*.
11
11
 
12
+ **Example 2: To delete a service using ARN**
13
+
14
+ The following ``delete-service`` example deletes a service using its ARN. ::
15
+
16
+ aws servicediscovery delete-service \
17
+ --id arn:aws:servicediscovery:us-west-2:123456789012:service/srv-abcd1234xmpl5678
18
+
19
+ This command produces no output.
20
+
21
+ For more information, see `Deleting an AWS Cloud Map service <https://docs.aws.amazon.com/cloud-map/latest/dg/deleting-services.html>`__ in the *AWS Cloud Map Developer Guide*.
@@ -1,4 +1,4 @@
1
- **To deregister a service instance**
1
+ **Example 1: To deregister a service instance**
2
2
 
3
3
  The following ``deregister-instance`` example deregisters a service instance. ::
4
4
 
@@ -12,7 +12,23 @@ Output::
12
12
  "OperationId": "4yejorelbukcjzpnr6tlmrghsjwpngf4-k98rnaiq"
13
13
  }
14
14
 
15
- 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>`__ .
15
+ 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>`__.
16
16
 
17
17
  For more information, see `Deregistering service instances <https://docs.aws.amazon.com/cloud-map/latest/dg/deregistering-instances.html>`__ in the *AWS Cloud Map Developer Guide*.
18
18
 
19
+ **Example 2: To deregister a service instance using service ARN for shared namespaces**
20
+
21
+ The following ``deregister-instance`` example deregisters a service instance using a service ARN instead of service ID. Specifying an ARN is required when deregistering instances from services created in namespaces that are shared with your account. ::
22
+
23
+ aws servicediscovery deregister-instance \
24
+ --service-id arn:aws:servicediscovery:us-west-2:123456789012:service/srv-p5zdwlg5uvvzjita \
25
+ --instance-id web-server-01
26
+
27
+ Output::
28
+
29
+ {
30
+ "OperationId": "gv4g5meo7ndmkqjrhpn39wk42xmpl"
31
+ }
32
+
33
+ For more information, see `Shared AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html>`__ and `Deregistering an AWS Cloud Map service instance <https://docs.aws.amazon.com/cloud-map/latest/dg/deregistering-instances.html>`__ in the *AWS Cloud Map Developer Guide*.
34
+
@@ -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*.