Skip to content

Commit edf661d

Browse files
Update CodeWhisperer API model (Include reference URL & Add SensitiveString Structure)(#3241)
Co-authored-by: andrewyuq <[email protected]>
1 parent 381687b commit edf661d

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

sdk-codegen/codegen-resources/codewhisperer/service-2.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,12 +293,13 @@
293293
"GetAccessTokenRequestIdentityTokenString":{
294294
"type":"string",
295295
"max":1024,
296-
"min":0
296+
"min":0,
297+
"sensitive": true
297298
},
298299
"GetAccessTokenResponse":{
299300
"type":"structure",
300301
"members":{
301-
"accessToken":{"shape":"String"}
302+
"accessToken":{"shape":"SensitiveString"}
302303
}
303304
},
304305
"GetCodeScanRequest":{
@@ -433,6 +434,7 @@
433434
"members":{
434435
"licenseName":{"shape":"ReferenceLicenseNameString"},
435436
"repository":{"shape":"ReferenceRepositoryString"},
437+
"url": {"shape":"ReferenceUrlString"},
436438
"recommendationContentSpan":{"shape":"Span"}
437439
}
438440
},
@@ -446,6 +448,11 @@
446448
"max":1024,
447449
"min":1
448450
},
451+
"ReferenceUrlString": {
452+
"type": "string",
453+
"max": 1024,
454+
"min": 1
455+
},
449456
"References":{
450457
"type":"list",
451458
"member":{"shape":"Reference"},
@@ -460,6 +467,10 @@
460467
},
461468
"exception":true
462469
},
470+
"SensitiveString":{
471+
"type": "string",
472+
"sensitive": true
473+
},
463474
"Span":{
464475
"type":"structure",
465476
"members":{

0 commit comments

Comments
 (0)