Skip to content

Commit 8afb2ca

Browse files
author
AWS
committed
Amazon Simple Systems Manager (SSM) Update: Adds support for Session Reason and Max Session Duration for Systems Manager Session Manager.
1 parent ad6b7e0 commit 8afb2ca

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Simple Systems Manager (SSM)",
4+
"contributor": "",
5+
"description": "Adds support for Session Reason and Max Session Duration for Systems Manager Session Manager."
6+
}

services/ssm/src/main/resources/codegen-resources/service-2.json

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10877,6 +10877,12 @@
1087710877
"max":50,
1087810878
"min":5
1087910879
},
10880+
"MaxSessionDuration":{
10881+
"type":"string",
10882+
"max":4,
10883+
"min":1,
10884+
"pattern":"^([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|1[0-4][0-3][0-9]|1440)$"
10885+
},
1088010886
"MetadataKey":{
1088110887
"type":"string",
1088210888
"max":256,
@@ -12279,7 +12285,7 @@
1227912285
"members":{
1228012286
"Key":{
1228112287
"shape":"ParameterStringFilterKey",
12282-
"documentation":"<p>The name of the filter.</p> <p>The <code>ParameterStringFilter</code> object is used by the <a>DescribeParameters</a> and <a>GetParametersByPath</a> API operations. However, not all of the pattern values listed for <code>Key</code> can be used with both operations.</p> <p>For <code>DescribeActions</code>, all of the listed patterns are valid except <code>Label</code>.</p> <p>For <code>GetParametersByPath</code>, the following patterns listed for <code>Key</code> aren't valid: <code>tag</code>, <code>DataType</code>, <code>Name</code>, <code>Path</code>, and <code>Tier</code>.</p> <p>For examples of Amazon Web Services CLI commands demonstrating valid parameter filter constructions, see <a href=\"https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-search.html\">Searching for Systems Manager parameters</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>"
12288+
"documentation":"<p>The name of the filter.</p> <p>The <code>ParameterStringFilter</code> object is used by the <a>DescribeParameters</a> and <a>GetParametersByPath</a> API operations. However, not all of the pattern values listed for <code>Key</code> can be used with both operations.</p> <p>For <code>DescribeParameters</code>, all of the listed patterns are valid except <code>Label</code>.</p> <p>For <code>GetParametersByPath</code>, the following patterns listed for <code>Key</code> aren't valid: <code>tag</code>, <code>DataType</code>, <code>Name</code>, <code>Path</code>, and <code>Tier</code>.</p> <p>For examples of Amazon Web Services CLI commands demonstrating valid parameter filter constructions, see <a href=\"https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-search.html\">Searching for Systems Manager parameters</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>"
1228312289
},
1228412290
"Option":{
1228512291
"shape":"ParameterStringQueryOption",
@@ -14219,13 +14225,21 @@
1421914225
"shape":"SessionOwner",
1422014226
"documentation":"<p>The ID of the Amazon Web Services user account that started the session.</p>"
1422114227
},
14228+
"Reason":{
14229+
"shape":"SessionReason",
14230+
"documentation":"<p>The reason for connecting to the instance.</p>"
14231+
},
1422214232
"Details":{
1422314233
"shape":"SessionDetails",
1422414234
"documentation":"<p>Reserved for future use.</p>"
1422514235
},
1422614236
"OutputUrl":{
1422714237
"shape":"SessionManagerOutputUrl",
1422814238
"documentation":"<p>Reserved for future use.</p>"
14239+
},
14240+
"MaxSessionDuration":{
14241+
"shape":"MaxSessionDuration",
14242+
"documentation":"<p>The maximum duration of a session before it terminates.</p>"
1422914243
}
1423014244
},
1423114245
"documentation":"<p>Information about a Session Manager connection to an instance.</p>"
@@ -14337,6 +14351,12 @@
1433714351
"max":256,
1433814352
"min":1
1433914353
},
14354+
"SessionReason":{
14355+
"type":"string",
14356+
"max":256,
14357+
"min":1,
14358+
"pattern":"^.{1,256}$"
14359+
},
1434014360
"SessionState":{
1434114361
"type":"string",
1434214362
"enum":[
@@ -14576,6 +14596,10 @@
1457614596
"shape":"DocumentARN",
1457714597
"documentation":"<p>The name of the SSM document to define the parameters and plugin settings for the session. For example, <code>SSM-SessionManagerRunShell</code>. You can call the <a>GetDocument</a> API to verify the document exists before attempting to start a session. If no document name is provided, a shell to the instance is launched by default.</p>"
1457814598
},
14599+
"Reason":{
14600+
"shape":"SessionReason",
14601+
"documentation":"<p>The reason for connecting to the instance. This value is included in the details for the Amazon CloudWatch Events event created when you start the session.</p>"
14602+
},
1457914603
"Parameters":{
1458014604
"shape":"SessionManagerParameters",
1458114605
"documentation":"<p>Reserved for future use.</p>"

0 commit comments

Comments
 (0)