Skip to content

Commit a1007af

Browse files
author
AWS
committed
Amazon Simple Systems Manager (SSM) Update: Add SessionId as a filter for DescribeSessions API
1 parent 5fa3534 commit a1007af

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
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": "Add SessionId as a filter for DescribeSessions API"
6+
}

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2432,7 +2432,7 @@
24322432
"members":{
24332433
"key":{
24342434
"shape":"AssociationFilterKey",
2435-
"documentation":"<p>The name of the filter.</p>"
2435+
"documentation":"<p>The name of the filter.</p> <note> <p> <code>InstanceId</code> has been deprecated.</p> </note>"
24362436
},
24372437
"value":{
24382438
"shape":"AssociationFilterValue",
@@ -8846,7 +8846,7 @@
88468846
"members":{
88478847
"AssociationFilterList":{
88488848
"shape":"AssociationFilterList",
8849-
"documentation":"<p>One or more filters. Use a filter to return a more specific list of results.</p>"
8849+
"documentation":"<p>One or more filters. Use a filter to return a more specific list of results.</p> <note> <p>Filtering associations using the <code>InstanceID</code> attribute only returns legacy associations created using the <code>InstanceID</code> attribute. Associations targeting the instance that are part of the Target Attributes <code>ResourceGroup</code> or <code>Tags</code> are not returned.</p> </note>"
88508850
},
88518851
"MaxResults":{
88528852
"shape":"MaxResults",
@@ -12766,7 +12766,7 @@
1276612766
},
1276712767
"value":{
1276812768
"shape":"SessionFilterValue",
12769-
"documentation":"<p>The filter value. Valid values for each filter key are as follows:</p> <ul> <li> <p>InvokedAfter: Specify a timestamp to limit your results. For example, specify 2018-08-29T00:00:00Z to see sessions that started August 29, 2018, and later.</p> </li> <li> <p>InvokedBefore: Specify a timestamp to limit your results. For example, specify 2018-08-29T00:00:00Z to see sessions that started before August 29, 2018.</p> </li> <li> <p>Target: Specify an instance to which session connections have been made.</p> </li> <li> <p>Owner: Specify an AWS user account to see a list of sessions started by that user.</p> </li> <li> <p>Status: Specify a valid session status to see a list of all sessions with that status. Status values you can specify include:</p> <ul> <li> <p>Connected</p> </li> <li> <p>Connecting</p> </li> <li> <p>Disconnected</p> </li> <li> <p>Terminated</p> </li> <li> <p>Terminating</p> </li> <li> <p>Failed</p> </li> </ul> </li> </ul>"
12769+
"documentation":"<p>The filter value. Valid values for each filter key are as follows:</p> <ul> <li> <p>InvokedAfter: Specify a timestamp to limit your results. For example, specify 2018-08-29T00:00:00Z to see sessions that started August 29, 2018, and later.</p> </li> <li> <p>InvokedBefore: Specify a timestamp to limit your results. For example, specify 2018-08-29T00:00:00Z to see sessions that started before August 29, 2018.</p> </li> <li> <p>Target: Specify an instance to which session connections have been made.</p> </li> <li> <p>Owner: Specify an AWS user account to see a list of sessions started by that user.</p> </li> <li> <p>Status: Specify a valid session status to see a list of all sessions with that status. Status values you can specify include:</p> <ul> <li> <p>Connected</p> </li> <li> <p>Connecting</p> </li> <li> <p>Disconnected</p> </li> <li> <p>Terminated</p> </li> <li> <p>Terminating</p> </li> <li> <p>Failed</p> </li> </ul> </li> <li> <p>SessionId: Specify a session ID to return details about the session.</p> </li> </ul>"
1277012770
}
1277112771
},
1277212772
"documentation":"<p>Describes a filter for Session Manager information.</p>"
@@ -12778,13 +12778,14 @@
1277812778
"InvokedBefore",
1277912779
"Target",
1278012780
"Owner",
12781-
"Status"
12781+
"Status",
12782+
"SessionId"
1278212783
]
1278312784
},
1278412785
"SessionFilterList":{
1278512786
"type":"list",
1278612787
"member":{"shape":"SessionFilter"},
12787-
"max":5,
12788+
"max":6,
1278812789
"min":1
1278912790
},
1279012791
"SessionFilterValue":{

0 commit comments

Comments
 (0)