aws-sdk-auditmanager 1.15.0 → 1.16.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -81,6 +81,12 @@ module Aws::AuditManager
81
81
  ControlCommentBody = Shapes::StringShape.new(name: 'ControlCommentBody')
82
82
  ControlComments = Shapes::ListShape.new(name: 'ControlComments')
83
83
  ControlDescription = Shapes::StringShape.new(name: 'ControlDescription')
84
+ ControlDomainInsights = Shapes::StructureShape.new(name: 'ControlDomainInsights')
85
+ ControlDomainInsightsList = Shapes::ListShape.new(name: 'ControlDomainInsightsList')
86
+ ControlInsightsMetadata = Shapes::ListShape.new(name: 'ControlInsightsMetadata')
87
+ ControlInsightsMetadataByAssessment = Shapes::ListShape.new(name: 'ControlInsightsMetadataByAssessment')
88
+ ControlInsightsMetadataByAssessmentItem = Shapes::StructureShape.new(name: 'ControlInsightsMetadataByAssessmentItem')
89
+ ControlInsightsMetadataItem = Shapes::StructureShape.new(name: 'ControlInsightsMetadataItem')
84
90
  ControlMappingSource = Shapes::StructureShape.new(name: 'ControlMappingSource')
85
91
  ControlMappingSources = Shapes::ListShape.new(name: 'ControlMappingSources')
86
92
  ControlMetadata = Shapes::StructureShape.new(name: 'ControlMetadata')
@@ -147,6 +153,7 @@ module Aws::AuditManager
147
153
  EvidenceAttributeValue = Shapes::StringShape.new(name: 'EvidenceAttributeValue')
148
154
  EvidenceAttributes = Shapes::MapShape.new(name: 'EvidenceAttributes')
149
155
  EvidenceIds = Shapes::ListShape.new(name: 'EvidenceIds')
156
+ EvidenceInsights = Shapes::StructureShape.new(name: 'EvidenceInsights')
150
157
  EvidenceList = Shapes::ListShape.new(name: 'EvidenceList')
151
158
  EvidenceSources = Shapes::ListShape.new(name: 'EvidenceSources')
152
159
  Filename = Shapes::StringShape.new(name: 'Filename')
@@ -181,6 +188,10 @@ module Aws::AuditManager
181
188
  GetEvidenceFoldersByAssessmentResponse = Shapes::StructureShape.new(name: 'GetEvidenceFoldersByAssessmentResponse')
182
189
  GetEvidenceRequest = Shapes::StructureShape.new(name: 'GetEvidenceRequest')
183
190
  GetEvidenceResponse = Shapes::StructureShape.new(name: 'GetEvidenceResponse')
191
+ GetInsightsByAssessmentRequest = Shapes::StructureShape.new(name: 'GetInsightsByAssessmentRequest')
192
+ GetInsightsByAssessmentResponse = Shapes::StructureShape.new(name: 'GetInsightsByAssessmentResponse')
193
+ GetInsightsRequest = Shapes::StructureShape.new(name: 'GetInsightsRequest')
194
+ GetInsightsResponse = Shapes::StructureShape.new(name: 'GetInsightsResponse')
184
195
  GetOrganizationAdminAccountRequest = Shapes::StructureShape.new(name: 'GetOrganizationAdminAccountRequest')
185
196
  GetOrganizationAdminAccountResponse = Shapes::StructureShape.new(name: 'GetOrganizationAdminAccountResponse')
186
197
  GetServicesInScopeRequest = Shapes::StructureShape.new(name: 'GetServicesInScopeRequest')
@@ -189,6 +200,8 @@ module Aws::AuditManager
189
200
  GetSettingsResponse = Shapes::StructureShape.new(name: 'GetSettingsResponse')
190
201
  HyperlinkName = Shapes::StringShape.new(name: 'HyperlinkName')
191
202
  IamArn = Shapes::StringShape.new(name: 'IamArn')
203
+ Insights = Shapes::StructureShape.new(name: 'Insights')
204
+ InsightsByAssessment = Shapes::StructureShape.new(name: 'InsightsByAssessment')
192
205
  Integer = Shapes::IntegerShape.new(name: 'Integer')
193
206
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
194
207
  KeywordInputType = Shapes::StringShape.new(name: 'KeywordInputType')
@@ -196,6 +209,8 @@ module Aws::AuditManager
196
209
  Keywords = Shapes::ListShape.new(name: 'Keywords')
197
210
  KmsKey = Shapes::StringShape.new(name: 'KmsKey')
198
211
  LastUpdatedBy = Shapes::StringShape.new(name: 'LastUpdatedBy')
212
+ ListAssessmentControlInsightsByControlDomainRequest = Shapes::StructureShape.new(name: 'ListAssessmentControlInsightsByControlDomainRequest')
213
+ ListAssessmentControlInsightsByControlDomainResponse = Shapes::StructureShape.new(name: 'ListAssessmentControlInsightsByControlDomainResponse')
199
214
  ListAssessmentFrameworkShareRequestsRequest = Shapes::StructureShape.new(name: 'ListAssessmentFrameworkShareRequestsRequest')
200
215
  ListAssessmentFrameworkShareRequestsResponse = Shapes::StructureShape.new(name: 'ListAssessmentFrameworkShareRequestsResponse')
201
216
  ListAssessmentFrameworksRequest = Shapes::StructureShape.new(name: 'ListAssessmentFrameworksRequest')
@@ -205,6 +220,12 @@ module Aws::AuditManager
205
220
  ListAssessmentReportsResponse = Shapes::StructureShape.new(name: 'ListAssessmentReportsResponse')
206
221
  ListAssessmentsRequest = Shapes::StructureShape.new(name: 'ListAssessmentsRequest')
207
222
  ListAssessmentsResponse = Shapes::StructureShape.new(name: 'ListAssessmentsResponse')
223
+ ListControlDomainInsightsByAssessmentRequest = Shapes::StructureShape.new(name: 'ListControlDomainInsightsByAssessmentRequest')
224
+ ListControlDomainInsightsByAssessmentResponse = Shapes::StructureShape.new(name: 'ListControlDomainInsightsByAssessmentResponse')
225
+ ListControlDomainInsightsRequest = Shapes::StructureShape.new(name: 'ListControlDomainInsightsRequest')
226
+ ListControlDomainInsightsResponse = Shapes::StructureShape.new(name: 'ListControlDomainInsightsResponse')
227
+ ListControlInsightsByControlDomainRequest = Shapes::StructureShape.new(name: 'ListControlInsightsByControlDomainRequest')
228
+ ListControlInsightsByControlDomainResponse = Shapes::StructureShape.new(name: 'ListControlInsightsByControlDomainResponse')
208
229
  ListControlsRequest = Shapes::StructureShape.new(name: 'ListControlsRequest')
209
230
  ListControlsResponse = Shapes::StructureShape.new(name: 'ListControlsResponse')
210
231
  ListKeywordsForDataSourceRequest = Shapes::StructureShape.new(name: 'ListKeywordsForDataSourceRequest')
@@ -563,6 +584,33 @@ module Aws::AuditManager
563
584
 
564
585
  ControlComments.member = Shapes::ShapeRef.new(shape: ControlComment)
565
586
 
587
+ ControlDomainInsights.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "name"))
588
+ ControlDomainInsights.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "id"))
589
+ ControlDomainInsights.add_member(:controls_count_by_noncompliant_evidence, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "controlsCountByNoncompliantEvidence"))
590
+ ControlDomainInsights.add_member(:total_controls_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "totalControlsCount"))
591
+ ControlDomainInsights.add_member(:evidence_insights, Shapes::ShapeRef.new(shape: EvidenceInsights, location_name: "evidenceInsights"))
592
+ ControlDomainInsights.add_member(:last_updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdated"))
593
+ ControlDomainInsights.struct_class = Types::ControlDomainInsights
594
+
595
+ ControlDomainInsightsList.member = Shapes::ShapeRef.new(shape: ControlDomainInsights)
596
+
597
+ ControlInsightsMetadata.member = Shapes::ShapeRef.new(shape: ControlInsightsMetadataItem)
598
+
599
+ ControlInsightsMetadataByAssessment.member = Shapes::ShapeRef.new(shape: ControlInsightsMetadataByAssessmentItem)
600
+
601
+ ControlInsightsMetadataByAssessmentItem.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "name"))
602
+ ControlInsightsMetadataByAssessmentItem.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "id"))
603
+ ControlInsightsMetadataByAssessmentItem.add_member(:evidence_insights, Shapes::ShapeRef.new(shape: EvidenceInsights, location_name: "evidenceInsights"))
604
+ ControlInsightsMetadataByAssessmentItem.add_member(:control_set_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "controlSetName"))
605
+ ControlInsightsMetadataByAssessmentItem.add_member(:last_updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdated"))
606
+ ControlInsightsMetadataByAssessmentItem.struct_class = Types::ControlInsightsMetadataByAssessmentItem
607
+
608
+ ControlInsightsMetadataItem.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "name"))
609
+ ControlInsightsMetadataItem.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "id"))
610
+ ControlInsightsMetadataItem.add_member(:evidence_insights, Shapes::ShapeRef.new(shape: EvidenceInsights, location_name: "evidenceInsights"))
611
+ ControlInsightsMetadataItem.add_member(:last_updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdated"))
612
+ ControlInsightsMetadataItem.struct_class = Types::ControlInsightsMetadataItem
613
+
566
614
  ControlMappingSource.add_member(:source_id, Shapes::ShapeRef.new(shape: UUID, location_name: "sourceId"))
567
615
  ControlMappingSource.add_member(:source_name, Shapes::ShapeRef.new(shape: SourceName, location_name: "sourceName"))
568
616
  ControlMappingSource.add_member(:source_description, Shapes::ShapeRef.new(shape: SourceDescription, location_name: "sourceDescription"))
@@ -759,6 +807,11 @@ module Aws::AuditManager
759
807
 
760
808
  EvidenceIds.member = Shapes::ShapeRef.new(shape: UUID)
761
809
 
810
+ EvidenceInsights.add_member(:noncompliant_evidence_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "noncompliantEvidenceCount"))
811
+ EvidenceInsights.add_member(:compliant_evidence_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "compliantEvidenceCount"))
812
+ EvidenceInsights.add_member(:inconclusive_evidence_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "inconclusiveEvidenceCount"))
813
+ EvidenceInsights.struct_class = Types::EvidenceInsights
814
+
762
815
  EvidenceList.member = Shapes::ShapeRef.new(shape: Evidence)
763
816
 
764
817
  EvidenceSources.member = Shapes::ShapeRef.new(shape: NonEmptyString)
@@ -885,6 +938,17 @@ module Aws::AuditManager
885
938
  GetEvidenceResponse.add_member(:evidence, Shapes::ShapeRef.new(shape: Evidence, location_name: "evidence"))
886
939
  GetEvidenceResponse.struct_class = Types::GetEvidenceResponse
887
940
 
941
+ GetInsightsByAssessmentRequest.add_member(:assessment_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "assessmentId"))
942
+ GetInsightsByAssessmentRequest.struct_class = Types::GetInsightsByAssessmentRequest
943
+
944
+ GetInsightsByAssessmentResponse.add_member(:insights, Shapes::ShapeRef.new(shape: InsightsByAssessment, location_name: "insights"))
945
+ GetInsightsByAssessmentResponse.struct_class = Types::GetInsightsByAssessmentResponse
946
+
947
+ GetInsightsRequest.struct_class = Types::GetInsightsRequest
948
+
949
+ GetInsightsResponse.add_member(:insights, Shapes::ShapeRef.new(shape: Insights, location_name: "insights"))
950
+ GetInsightsResponse.struct_class = Types::GetInsightsResponse
951
+
888
952
  GetOrganizationAdminAccountRequest.struct_class = Types::GetOrganizationAdminAccountRequest
889
953
 
890
954
  GetOrganizationAdminAccountResponse.add_member(:admin_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "adminAccountId"))
@@ -902,11 +966,38 @@ module Aws::AuditManager
902
966
  GetSettingsResponse.add_member(:settings, Shapes::ShapeRef.new(shape: Settings, location_name: "settings"))
903
967
  GetSettingsResponse.struct_class = Types::GetSettingsResponse
904
968
 
969
+ Insights.add_member(:active_assessments_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "activeAssessmentsCount"))
970
+ Insights.add_member(:noncompliant_evidence_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "noncompliantEvidenceCount"))
971
+ Insights.add_member(:compliant_evidence_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "compliantEvidenceCount"))
972
+ Insights.add_member(:inconclusive_evidence_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "inconclusiveEvidenceCount"))
973
+ Insights.add_member(:assessment_controls_count_by_noncompliant_evidence, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "assessmentControlsCountByNoncompliantEvidence"))
974
+ Insights.add_member(:total_assessment_controls_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "totalAssessmentControlsCount"))
975
+ Insights.add_member(:last_updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdated"))
976
+ Insights.struct_class = Types::Insights
977
+
978
+ InsightsByAssessment.add_member(:noncompliant_evidence_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "noncompliantEvidenceCount"))
979
+ InsightsByAssessment.add_member(:compliant_evidence_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "compliantEvidenceCount"))
980
+ InsightsByAssessment.add_member(:inconclusive_evidence_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "inconclusiveEvidenceCount"))
981
+ InsightsByAssessment.add_member(:assessment_controls_count_by_noncompliant_evidence, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "assessmentControlsCountByNoncompliantEvidence"))
982
+ InsightsByAssessment.add_member(:total_assessment_controls_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "totalAssessmentControlsCount"))
983
+ InsightsByAssessment.add_member(:last_updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdated"))
984
+ InsightsByAssessment.struct_class = Types::InsightsByAssessment
985
+
905
986
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
906
987
  InternalServerException.struct_class = Types::InternalServerException
907
988
 
908
989
  Keywords.member = Shapes::ShapeRef.new(shape: KeywordValue)
909
990
 
991
+ ListAssessmentControlInsightsByControlDomainRequest.add_member(:control_domain_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "querystring", location_name: "controlDomainId"))
992
+ ListAssessmentControlInsightsByControlDomainRequest.add_member(:assessment_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "querystring", location_name: "assessmentId"))
993
+ ListAssessmentControlInsightsByControlDomainRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "nextToken"))
994
+ ListAssessmentControlInsightsByControlDomainRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
995
+ ListAssessmentControlInsightsByControlDomainRequest.struct_class = Types::ListAssessmentControlInsightsByControlDomainRequest
996
+
997
+ ListAssessmentControlInsightsByControlDomainResponse.add_member(:control_insights_by_assessment, Shapes::ShapeRef.new(shape: ControlInsightsMetadataByAssessment, location_name: "controlInsightsByAssessment"))
998
+ ListAssessmentControlInsightsByControlDomainResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
999
+ ListAssessmentControlInsightsByControlDomainResponse.struct_class = Types::ListAssessmentControlInsightsByControlDomainResponse
1000
+
910
1001
  ListAssessmentFrameworkShareRequestsRequest.add_member(:request_type, Shapes::ShapeRef.new(shape: ShareRequestType, required: true, location: "querystring", location_name: "requestType"))
911
1002
  ListAssessmentFrameworkShareRequestsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "nextToken"))
912
1003
  ListAssessmentFrameworkShareRequestsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
@@ -935,6 +1026,7 @@ module Aws::AuditManager
935
1026
  ListAssessmentReportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
936
1027
  ListAssessmentReportsResponse.struct_class = Types::ListAssessmentReportsResponse
937
1028
 
1029
+ ListAssessmentsRequest.add_member(:status, Shapes::ShapeRef.new(shape: AssessmentStatus, location: "querystring", location_name: "status"))
938
1030
  ListAssessmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "nextToken"))
939
1031
  ListAssessmentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
940
1032
  ListAssessmentsRequest.struct_class = Types::ListAssessmentsRequest
@@ -943,6 +1035,32 @@ module Aws::AuditManager
943
1035
  ListAssessmentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
944
1036
  ListAssessmentsResponse.struct_class = Types::ListAssessmentsResponse
945
1037
 
1038
+ ListControlDomainInsightsByAssessmentRequest.add_member(:assessment_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "querystring", location_name: "assessmentId"))
1039
+ ListControlDomainInsightsByAssessmentRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "nextToken"))
1040
+ ListControlDomainInsightsByAssessmentRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1041
+ ListControlDomainInsightsByAssessmentRequest.struct_class = Types::ListControlDomainInsightsByAssessmentRequest
1042
+
1043
+ ListControlDomainInsightsByAssessmentResponse.add_member(:control_domain_insights, Shapes::ShapeRef.new(shape: ControlDomainInsightsList, location_name: "controlDomainInsights"))
1044
+ ListControlDomainInsightsByAssessmentResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
1045
+ ListControlDomainInsightsByAssessmentResponse.struct_class = Types::ListControlDomainInsightsByAssessmentResponse
1046
+
1047
+ ListControlDomainInsightsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "nextToken"))
1048
+ ListControlDomainInsightsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1049
+ ListControlDomainInsightsRequest.struct_class = Types::ListControlDomainInsightsRequest
1050
+
1051
+ ListControlDomainInsightsResponse.add_member(:control_domain_insights, Shapes::ShapeRef.new(shape: ControlDomainInsightsList, location_name: "controlDomainInsights"))
1052
+ ListControlDomainInsightsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
1053
+ ListControlDomainInsightsResponse.struct_class = Types::ListControlDomainInsightsResponse
1054
+
1055
+ ListControlInsightsByControlDomainRequest.add_member(:control_domain_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "querystring", location_name: "controlDomainId"))
1056
+ ListControlInsightsByControlDomainRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "nextToken"))
1057
+ ListControlInsightsByControlDomainRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1058
+ ListControlInsightsByControlDomainRequest.struct_class = Types::ListControlInsightsByControlDomainRequest
1059
+
1060
+ ListControlInsightsByControlDomainResponse.add_member(:control_insights_metadata, Shapes::ShapeRef.new(shape: ControlInsightsMetadata, location_name: "controlInsightsMetadata"))
1061
+ ListControlInsightsByControlDomainResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
1062
+ ListControlInsightsByControlDomainResponse.struct_class = Types::ListControlInsightsByControlDomainResponse
1063
+
946
1064
  ListControlsRequest.add_member(:control_type, Shapes::ShapeRef.new(shape: ControlType, required: true, location: "querystring", location_name: "controlType"))
947
1065
  ListControlsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "nextToken"))
948
1066
  ListControlsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
@@ -1586,6 +1704,28 @@ module Aws::AuditManager
1586
1704
  )
1587
1705
  end)
1588
1706
 
1707
+ api.add_operation(:get_insights, Seahorse::Model::Operation.new.tap do |o|
1708
+ o.name = "GetInsights"
1709
+ o.http_method = "GET"
1710
+ o.http_request_uri = "/insights"
1711
+ o.input = Shapes::ShapeRef.new(shape: GetInsightsRequest)
1712
+ o.output = Shapes::ShapeRef.new(shape: GetInsightsResponse)
1713
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1714
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1715
+ end)
1716
+
1717
+ api.add_operation(:get_insights_by_assessment, Seahorse::Model::Operation.new.tap do |o|
1718
+ o.name = "GetInsightsByAssessment"
1719
+ o.http_method = "GET"
1720
+ o.http_request_uri = "/insights/assessments/{assessmentId}"
1721
+ o.input = Shapes::ShapeRef.new(shape: GetInsightsByAssessmentRequest)
1722
+ o.output = Shapes::ShapeRef.new(shape: GetInsightsByAssessmentResponse)
1723
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1724
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1725
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1726
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1727
+ end)
1728
+
1589
1729
  api.add_operation(:get_organization_admin_account, Seahorse::Model::Operation.new.tap do |o|
1590
1730
  o.name = "GetOrganizationAdminAccount"
1591
1731
  o.http_method = "GET"
@@ -1619,6 +1759,24 @@ module Aws::AuditManager
1619
1759
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1620
1760
  end)
1621
1761
 
1762
+ api.add_operation(:list_assessment_control_insights_by_control_domain, Seahorse::Model::Operation.new.tap do |o|
1763
+ o.name = "ListAssessmentControlInsightsByControlDomain"
1764
+ o.http_method = "GET"
1765
+ o.http_request_uri = "/insights/controls-by-assessment"
1766
+ o.input = Shapes::ShapeRef.new(shape: ListAssessmentControlInsightsByControlDomainRequest)
1767
+ o.output = Shapes::ShapeRef.new(shape: ListAssessmentControlInsightsByControlDomainResponse)
1768
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1769
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1770
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1771
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1772
+ o[:pager] = Aws::Pager.new(
1773
+ limit_key: "max_results",
1774
+ tokens: {
1775
+ "next_token" => "next_token"
1776
+ }
1777
+ )
1778
+ end)
1779
+
1622
1780
  api.add_operation(:list_assessment_framework_share_requests, Seahorse::Model::Operation.new.tap do |o|
1623
1781
  o.name = "ListAssessmentFrameworkShareRequests"
1624
1782
  o.http_method = "GET"
@@ -1687,6 +1845,60 @@ module Aws::AuditManager
1687
1845
  )
1688
1846
  end)
1689
1847
 
1848
+ api.add_operation(:list_control_domain_insights, Seahorse::Model::Operation.new.tap do |o|
1849
+ o.name = "ListControlDomainInsights"
1850
+ o.http_method = "GET"
1851
+ o.http_request_uri = "/insights/control-domains"
1852
+ o.input = Shapes::ShapeRef.new(shape: ListControlDomainInsightsRequest)
1853
+ o.output = Shapes::ShapeRef.new(shape: ListControlDomainInsightsResponse)
1854
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1855
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1856
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1857
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1858
+ o[:pager] = Aws::Pager.new(
1859
+ limit_key: "max_results",
1860
+ tokens: {
1861
+ "next_token" => "next_token"
1862
+ }
1863
+ )
1864
+ end)
1865
+
1866
+ api.add_operation(:list_control_domain_insights_by_assessment, Seahorse::Model::Operation.new.tap do |o|
1867
+ o.name = "ListControlDomainInsightsByAssessment"
1868
+ o.http_method = "GET"
1869
+ o.http_request_uri = "/insights/control-domains-by-assessment"
1870
+ o.input = Shapes::ShapeRef.new(shape: ListControlDomainInsightsByAssessmentRequest)
1871
+ o.output = Shapes::ShapeRef.new(shape: ListControlDomainInsightsByAssessmentResponse)
1872
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1873
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1874
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1875
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1876
+ o[:pager] = Aws::Pager.new(
1877
+ limit_key: "max_results",
1878
+ tokens: {
1879
+ "next_token" => "next_token"
1880
+ }
1881
+ )
1882
+ end)
1883
+
1884
+ api.add_operation(:list_control_insights_by_control_domain, Seahorse::Model::Operation.new.tap do |o|
1885
+ o.name = "ListControlInsightsByControlDomain"
1886
+ o.http_method = "GET"
1887
+ o.http_request_uri = "/insights/controls"
1888
+ o.input = Shapes::ShapeRef.new(shape: ListControlInsightsByControlDomainRequest)
1889
+ o.output = Shapes::ShapeRef.new(shape: ListControlInsightsByControlDomainResponse)
1890
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1891
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1892
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1893
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1894
+ o[:pager] = Aws::Pager.new(
1895
+ limit_key: "max_results",
1896
+ tokens: {
1897
+ "next_token" => "next_token"
1898
+ }
1899
+ )
1900
+ end)
1901
+
1690
1902
  api.add_operation(:list_controls, Seahorse::Model::Operation.new.tap do |o|
1691
1903
  o.name = "ListControls"
1692
1904
  o.http_method = "GET"