Skip to content

Commit 5046cc7

Browse files
author
AWS
committed
AWS Audit Manager Update: AWS Audit Manager has updated the GetAssessment API operation to include a new response field called userRole. The userRole field indicates the role information and IAM ARN of the API caller.
1 parent 15b3bf7 commit 5046cc7

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": "AWS Audit Manager",
4+
"contributor": "",
5+
"description": "AWS Audit Manager has updated the GetAssessment API operation to include a new response field called userRole. The userRole field indicates the role information and IAM ARN of the API caller."
6+
}

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@
861861
"members":{
862862
"message":{"shape":"String"}
863863
},
864-
"documentation":"<p> You do not have sufficient access to perform this action. </p>",
864+
"documentation":"<p> Your account is not registered with AWS Audit Manager. Check the delegated administrator setup on the AWS Audit Manager settings page, and try again. </p>",
865865
"error":{"httpStatusCode":403},
866866
"exception":true
867867
},
@@ -2816,7 +2816,8 @@
28162816
"GetAssessmentResponse":{
28172817
"type":"structure",
28182818
"members":{
2819-
"assessment":{"shape":"Assessment"}
2819+
"assessment":{"shape":"Assessment"},
2820+
"userRole":{"shape":"Role"}
28202821
}
28212822
},
28222823
"GetChangeLogsRequest":{
@@ -3649,7 +3650,7 @@
36493650
"documentation":"<p> The Amazon Resource Name (ARN) of the IAM role. </p>"
36503651
}
36513652
},
3652-
"documentation":"<p> The wrapper that contains AWS Audit Manager role information, such as the role type and IAM Amazon Resource Name (ARN). </p>"
3653+
"documentation":"<p> The wrapper that contains the AWS Audit Manager role information of the current user, such as the role type and IAM Amazon Resource Name (ARN). </p>"
36533654
},
36543655
"RoleType":{
36553656
"type":"string",
@@ -3778,10 +3779,10 @@
37783779
},
37793780
"keywordValue":{
37803781
"shape":"KeywordValue",
3781-
"documentation":"<p> The value of the keyword used to search AWS CloudTrail logs when mapping a control data source. </p>"
3782+
"documentation":"<p> The value of the keyword used to search AWS CloudTrail logs, AWS Config rules, AWS Security Hub checks, and AWS API names when mapping a control data source. </p>"
37823783
}
37833784
},
3784-
"documentation":"<p> The keyword to search for in AWS CloudTrail logs. </p>"
3785+
"documentation":"<p> The keyword to search for in AWS CloudTrail logs, AWS Config rules, AWS Security Hub checks, and AWS API names. </p>"
37853786
},
37863787
"SourceName":{
37873788
"type":"string",

0 commit comments

Comments
 (0)