Skip to content

Commit 8480290

Browse files
author
AWS
committed
AWS Secrets Manager Update: Add SortBy parameter to ListSecrets
1 parent f265c8c commit 8480290

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
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": "AWS Secrets Manager",
4+
"contributor": "",
5+
"description": "Add SortBy parameter to ListSecrets"
6+
}

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,6 +1107,10 @@
11071107
"SortOrder":{
11081108
"shape":"SortOrderType",
11091109
"documentation":"<p>Secrets are listed by <code>CreatedDate</code>. </p>"
1110+
},
1111+
"SortBy":{
1112+
"shape":"SortByType",
1113+
"documentation":"<p>If not specified, secrets are listed by <code>CreatedDate</code>.</p>"
11101114
}
11111115
}
11121116
},
@@ -1759,6 +1763,15 @@
17591763
"key":{"shape":"SecretVersionIdType"},
17601764
"value":{"shape":"SecretVersionStagesType"}
17611765
},
1766+
"SortByType":{
1767+
"type":"string",
1768+
"enum":[
1769+
"created-date",
1770+
"last-accessed-date",
1771+
"last-changed-date",
1772+
"name"
1773+
]
1774+
},
17621775
"SortOrderType":{
17631776
"type":"string",
17641777
"enum":[

0 commit comments

Comments
 (0)