aws-sdk-auditmanager 1.10.0 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,6 +37,8 @@ module Aws::AuditManager
37
37
  AssessmentFramework = Shapes::StructureShape.new(name: 'AssessmentFramework')
38
38
  AssessmentFrameworkDescription = Shapes::StringShape.new(name: 'AssessmentFrameworkDescription')
39
39
  AssessmentFrameworkMetadata = Shapes::StructureShape.new(name: 'AssessmentFrameworkMetadata')
40
+ AssessmentFrameworkShareRequest = Shapes::StructureShape.new(name: 'AssessmentFrameworkShareRequest')
41
+ AssessmentFrameworkShareRequestList = Shapes::ListShape.new(name: 'AssessmentFrameworkShareRequestList')
40
42
  AssessmentMetadata = Shapes::StructureShape.new(name: 'AssessmentMetadata')
41
43
  AssessmentMetadataItem = Shapes::StructureShape.new(name: 'AssessmentMetadataItem')
42
44
  AssessmentName = Shapes::StringShape.new(name: 'AssessmentName')
@@ -122,6 +124,8 @@ module Aws::AuditManager
122
124
  Delegations = Shapes::ListShape.new(name: 'Delegations')
123
125
  DeleteAssessmentFrameworkRequest = Shapes::StructureShape.new(name: 'DeleteAssessmentFrameworkRequest')
124
126
  DeleteAssessmentFrameworkResponse = Shapes::StructureShape.new(name: 'DeleteAssessmentFrameworkResponse')
127
+ DeleteAssessmentFrameworkShareRequest = Shapes::StructureShape.new(name: 'DeleteAssessmentFrameworkShareRequest')
128
+ DeleteAssessmentFrameworkShareResponse = Shapes::StructureShape.new(name: 'DeleteAssessmentFrameworkShareResponse')
125
129
  DeleteAssessmentReportRequest = Shapes::StructureShape.new(name: 'DeleteAssessmentReportRequest')
126
130
  DeleteAssessmentReportResponse = Shapes::StructureShape.new(name: 'DeleteAssessmentReportResponse')
127
131
  DeleteAssessmentRequest = Shapes::StructureShape.new(name: 'DeleteAssessmentRequest')
@@ -192,6 +196,8 @@ module Aws::AuditManager
192
196
  Keywords = Shapes::ListShape.new(name: 'Keywords')
193
197
  KmsKey = Shapes::StringShape.new(name: 'KmsKey')
194
198
  LastUpdatedBy = Shapes::StringShape.new(name: 'LastUpdatedBy')
199
+ ListAssessmentFrameworkShareRequestsRequest = Shapes::StructureShape.new(name: 'ListAssessmentFrameworkShareRequestsRequest')
200
+ ListAssessmentFrameworkShareRequestsResponse = Shapes::StructureShape.new(name: 'ListAssessmentFrameworkShareRequestsResponse')
195
201
  ListAssessmentFrameworksRequest = Shapes::StructureShape.new(name: 'ListAssessmentFrameworksRequest')
196
202
  ListAssessmentFrameworksResponse = Shapes::StructureShape.new(name: 'ListAssessmentFrameworksResponse')
197
203
  ListAssessmentMetadata = Shapes::ListShape.new(name: 'ListAssessmentMetadata')
@@ -213,7 +219,9 @@ module Aws::AuditManager
213
219
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
214
220
  Notification = Shapes::StructureShape.new(name: 'Notification')
215
221
  Notifications = Shapes::ListShape.new(name: 'Notifications')
222
+ NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
216
223
  ObjectTypeEnum = Shapes::StringShape.new(name: 'ObjectTypeEnum')
224
+ Region = Shapes::StringShape.new(name: 'Region')
217
225
  RegisterAccountRequest = Shapes::StructureShape.new(name: 'RegisterAccountRequest')
218
226
  RegisterAccountResponse = Shapes::StructureShape.new(name: 'RegisterAccountResponse')
219
227
  RegisterOrganizationAdminAccountRequest = Shapes::StructureShape.new(name: 'RegisterOrganizationAdminAccountRequest')
@@ -231,6 +239,10 @@ module Aws::AuditManager
231
239
  ServiceMetadataList = Shapes::ListShape.new(name: 'ServiceMetadataList')
232
240
  SettingAttribute = Shapes::StringShape.new(name: 'SettingAttribute')
233
241
  Settings = Shapes::StructureShape.new(name: 'Settings')
242
+ ShareRequestAction = Shapes::StringShape.new(name: 'ShareRequestAction')
243
+ ShareRequestComment = Shapes::StringShape.new(name: 'ShareRequestComment')
244
+ ShareRequestStatus = Shapes::StringShape.new(name: 'ShareRequestStatus')
245
+ ShareRequestType = Shapes::StringShape.new(name: 'ShareRequestType')
234
246
  SnsArn = Shapes::StringShape.new(name: 'SnsArn')
235
247
  SourceDescription = Shapes::StringShape.new(name: 'SourceDescription')
236
248
  SourceFrequency = Shapes::StringShape.new(name: 'SourceFrequency')
@@ -238,6 +250,8 @@ module Aws::AuditManager
238
250
  SourceName = Shapes::StringShape.new(name: 'SourceName')
239
251
  SourceSetUpOption = Shapes::StringShape.new(name: 'SourceSetUpOption')
240
252
  SourceType = Shapes::StringShape.new(name: 'SourceType')
253
+ StartAssessmentFrameworkShareRequest = Shapes::StructureShape.new(name: 'StartAssessmentFrameworkShareRequest')
254
+ StartAssessmentFrameworkShareResponse = Shapes::StructureShape.new(name: 'StartAssessmentFrameworkShareResponse')
241
255
  String = Shapes::StringShape.new(name: 'String')
242
256
  TagKey = Shapes::StringShape.new(name: 'TagKey')
243
257
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
@@ -262,6 +276,8 @@ module Aws::AuditManager
262
276
  UpdateAssessmentFrameworkControlSets = Shapes::ListShape.new(name: 'UpdateAssessmentFrameworkControlSets')
263
277
  UpdateAssessmentFrameworkRequest = Shapes::StructureShape.new(name: 'UpdateAssessmentFrameworkRequest')
264
278
  UpdateAssessmentFrameworkResponse = Shapes::StructureShape.new(name: 'UpdateAssessmentFrameworkResponse')
279
+ UpdateAssessmentFrameworkShareRequest = Shapes::StructureShape.new(name: 'UpdateAssessmentFrameworkShareRequest')
280
+ UpdateAssessmentFrameworkShareResponse = Shapes::StructureShape.new(name: 'UpdateAssessmentFrameworkShareResponse')
265
281
  UpdateAssessmentRequest = Shapes::StructureShape.new(name: 'UpdateAssessmentRequest')
266
282
  UpdateAssessmentResponse = Shapes::StructureShape.new(name: 'UpdateAssessmentResponse')
267
283
  UpdateAssessmentStatusRequest = Shapes::StructureShape.new(name: 'UpdateAssessmentStatusRequest')
@@ -369,6 +385,25 @@ module Aws::AuditManager
369
385
  AssessmentFrameworkMetadata.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedAt"))
370
386
  AssessmentFrameworkMetadata.struct_class = Types::AssessmentFrameworkMetadata
371
387
 
388
+ AssessmentFrameworkShareRequest.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "id"))
389
+ AssessmentFrameworkShareRequest.add_member(:framework_id, Shapes::ShapeRef.new(shape: UUID, location_name: "frameworkId"))
390
+ AssessmentFrameworkShareRequest.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, location_name: "frameworkName"))
391
+ AssessmentFrameworkShareRequest.add_member(:framework_description, Shapes::ShapeRef.new(shape: FrameworkDescription, location_name: "frameworkDescription"))
392
+ AssessmentFrameworkShareRequest.add_member(:status, Shapes::ShapeRef.new(shape: ShareRequestStatus, location_name: "status"))
393
+ AssessmentFrameworkShareRequest.add_member(:source_account, Shapes::ShapeRef.new(shape: AccountId, location_name: "sourceAccount"))
394
+ AssessmentFrameworkShareRequest.add_member(:destination_account, Shapes::ShapeRef.new(shape: AccountId, location_name: "destinationAccount"))
395
+ AssessmentFrameworkShareRequest.add_member(:destination_region, Shapes::ShapeRef.new(shape: Region, location_name: "destinationRegion"))
396
+ AssessmentFrameworkShareRequest.add_member(:expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "expirationTime"))
397
+ AssessmentFrameworkShareRequest.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
398
+ AssessmentFrameworkShareRequest.add_member(:last_updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdated"))
399
+ AssessmentFrameworkShareRequest.add_member(:comment, Shapes::ShapeRef.new(shape: ShareRequestComment, location_name: "comment"))
400
+ AssessmentFrameworkShareRequest.add_member(:standard_controls_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "standardControlsCount"))
401
+ AssessmentFrameworkShareRequest.add_member(:custom_controls_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "customControlsCount"))
402
+ AssessmentFrameworkShareRequest.add_member(:compliance_type, Shapes::ShapeRef.new(shape: ComplianceType, location_name: "complianceType"))
403
+ AssessmentFrameworkShareRequest.struct_class = Types::AssessmentFrameworkShareRequest
404
+
405
+ AssessmentFrameworkShareRequestList.member = Shapes::ShapeRef.new(shape: AssessmentFrameworkShareRequest)
406
+
372
407
  AssessmentMetadata.add_member(:name, Shapes::ShapeRef.new(shape: AssessmentName, location_name: "name"))
373
408
  AssessmentMetadata.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "id"))
374
409
  AssessmentMetadata.add_member(:description, Shapes::ShapeRef.new(shape: AssessmentDescription, location_name: "description"))
@@ -664,6 +699,12 @@ module Aws::AuditManager
664
699
 
665
700
  DeleteAssessmentFrameworkResponse.struct_class = Types::DeleteAssessmentFrameworkResponse
666
701
 
702
+ DeleteAssessmentFrameworkShareRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "requestId"))
703
+ DeleteAssessmentFrameworkShareRequest.add_member(:request_type, Shapes::ShapeRef.new(shape: ShareRequestType, required: true, location: "querystring", location_name: "requestType"))
704
+ DeleteAssessmentFrameworkShareRequest.struct_class = Types::DeleteAssessmentFrameworkShareRequest
705
+
706
+ DeleteAssessmentFrameworkShareResponse.struct_class = Types::DeleteAssessmentFrameworkShareResponse
707
+
667
708
  DeleteAssessmentReportRequest.add_member(:assessment_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "assessmentId"))
668
709
  DeleteAssessmentReportRequest.add_member(:assessment_report_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "assessmentReportId"))
669
710
  DeleteAssessmentReportRequest.struct_class = Types::DeleteAssessmentReportRequest
@@ -866,6 +907,15 @@ module Aws::AuditManager
866
907
 
867
908
  Keywords.member = Shapes::ShapeRef.new(shape: KeywordValue)
868
909
 
910
+ ListAssessmentFrameworkShareRequestsRequest.add_member(:request_type, Shapes::ShapeRef.new(shape: ShareRequestType, required: true, location: "querystring", location_name: "requestType"))
911
+ ListAssessmentFrameworkShareRequestsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "nextToken"))
912
+ ListAssessmentFrameworkShareRequestsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
913
+ ListAssessmentFrameworkShareRequestsRequest.struct_class = Types::ListAssessmentFrameworkShareRequestsRequest
914
+
915
+ ListAssessmentFrameworkShareRequestsResponse.add_member(:assessment_framework_share_requests, Shapes::ShapeRef.new(shape: AssessmentFrameworkShareRequestList, location_name: "assessmentFrameworkShareRequests"))
916
+ ListAssessmentFrameworkShareRequestsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
917
+ ListAssessmentFrameworkShareRequestsResponse.struct_class = Types::ListAssessmentFrameworkShareRequestsResponse
918
+
869
919
  ListAssessmentFrameworksRequest.add_member(:framework_type, Shapes::ShapeRef.new(shape: FrameworkType, required: true, location: "querystring", location_name: "frameworkType"))
870
920
  ListAssessmentFrameworksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "nextToken"))
871
921
  ListAssessmentFrameworksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
@@ -996,6 +1046,15 @@ module Aws::AuditManager
996
1046
  SourceKeyword.add_member(:keyword_value, Shapes::ShapeRef.new(shape: KeywordValue, location_name: "keywordValue"))
997
1047
  SourceKeyword.struct_class = Types::SourceKeyword
998
1048
 
1049
+ StartAssessmentFrameworkShareRequest.add_member(:framework_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "frameworkId"))
1050
+ StartAssessmentFrameworkShareRequest.add_member(:destination_account, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "destinationAccount"))
1051
+ StartAssessmentFrameworkShareRequest.add_member(:destination_region, Shapes::ShapeRef.new(shape: Region, required: true, location_name: "destinationRegion"))
1052
+ StartAssessmentFrameworkShareRequest.add_member(:comment, Shapes::ShapeRef.new(shape: ShareRequestComment, location_name: "comment"))
1053
+ StartAssessmentFrameworkShareRequest.struct_class = Types::StartAssessmentFrameworkShareRequest
1054
+
1055
+ StartAssessmentFrameworkShareResponse.add_member(:assessment_framework_share_request, Shapes::ShapeRef.new(shape: AssessmentFrameworkShareRequest, location_name: "assessmentFrameworkShareRequest"))
1056
+ StartAssessmentFrameworkShareResponse.struct_class = Types::StartAssessmentFrameworkShareResponse
1057
+
999
1058
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
1000
1059
 
1001
1060
  TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
@@ -1053,6 +1112,14 @@ module Aws::AuditManager
1053
1112
  UpdateAssessmentFrameworkResponse.add_member(:framework, Shapes::ShapeRef.new(shape: Framework, location_name: "framework"))
1054
1113
  UpdateAssessmentFrameworkResponse.struct_class = Types::UpdateAssessmentFrameworkResponse
1055
1114
 
1115
+ UpdateAssessmentFrameworkShareRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "requestId"))
1116
+ UpdateAssessmentFrameworkShareRequest.add_member(:request_type, Shapes::ShapeRef.new(shape: ShareRequestType, required: true, location_name: "requestType"))
1117
+ UpdateAssessmentFrameworkShareRequest.add_member(:action, Shapes::ShapeRef.new(shape: ShareRequestAction, required: true, location_name: "action"))
1118
+ UpdateAssessmentFrameworkShareRequest.struct_class = Types::UpdateAssessmentFrameworkShareRequest
1119
+
1120
+ UpdateAssessmentFrameworkShareResponse.add_member(:assessment_framework_share_request, Shapes::ShapeRef.new(shape: AssessmentFrameworkShareRequest, location_name: "assessmentFrameworkShareRequest"))
1121
+ UpdateAssessmentFrameworkShareResponse.struct_class = Types::UpdateAssessmentFrameworkShareResponse
1122
+
1056
1123
  UpdateAssessmentRequest.add_member(:assessment_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "assessmentId"))
1057
1124
  UpdateAssessmentRequest.add_member(:assessment_name, Shapes::ShapeRef.new(shape: AssessmentName, location_name: "assessmentName"))
1058
1125
  UpdateAssessmentRequest.add_member(:assessment_description, Shapes::ShapeRef.new(shape: AssessmentDescription, location_name: "assessmentDescription"))
@@ -1277,6 +1344,18 @@ module Aws::AuditManager
1277
1344
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1278
1345
  end)
1279
1346
 
1347
+ api.add_operation(:delete_assessment_framework_share, Seahorse::Model::Operation.new.tap do |o|
1348
+ o.name = "DeleteAssessmentFrameworkShare"
1349
+ o.http_method = "DELETE"
1350
+ o.http_request_uri = "/assessmentFrameworkShareRequests/{requestId}"
1351
+ o.input = Shapes::ShapeRef.new(shape: DeleteAssessmentFrameworkShareRequest)
1352
+ o.output = Shapes::ShapeRef.new(shape: DeleteAssessmentFrameworkShareResponse)
1353
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1354
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1355
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1356
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1357
+ end)
1358
+
1280
1359
  api.add_operation(:delete_assessment_report, Seahorse::Model::Operation.new.tap do |o|
1281
1360
  o.name = "DeleteAssessmentReport"
1282
1361
  o.http_method = "DELETE"
@@ -1540,6 +1619,23 @@ module Aws::AuditManager
1540
1619
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1541
1620
  end)
1542
1621
 
1622
+ api.add_operation(:list_assessment_framework_share_requests, Seahorse::Model::Operation.new.tap do |o|
1623
+ o.name = "ListAssessmentFrameworkShareRequests"
1624
+ o.http_method = "GET"
1625
+ o.http_request_uri = "/assessmentFrameworkShareRequests"
1626
+ o.input = Shapes::ShapeRef.new(shape: ListAssessmentFrameworkShareRequestsRequest)
1627
+ o.output = Shapes::ShapeRef.new(shape: ListAssessmentFrameworkShareRequestsResponse)
1628
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1629
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1630
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1631
+ o[:pager] = Aws::Pager.new(
1632
+ limit_key: "max_results",
1633
+ tokens: {
1634
+ "next_token" => "next_token"
1635
+ }
1636
+ )
1637
+ end)
1638
+
1543
1639
  api.add_operation(:list_assessment_frameworks, Seahorse::Model::Operation.new.tap do |o|
1544
1640
  o.name = "ListAssessmentFrameworks"
1545
1641
  o.http_method = "GET"
@@ -1677,6 +1773,18 @@ module Aws::AuditManager
1677
1773
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1678
1774
  end)
1679
1775
 
1776
+ api.add_operation(:start_assessment_framework_share, Seahorse::Model::Operation.new.tap do |o|
1777
+ o.name = "StartAssessmentFrameworkShare"
1778
+ o.http_method = "POST"
1779
+ o.http_request_uri = "/assessmentFrameworks/{frameworkId}/shareRequests"
1780
+ o.input = Shapes::ShapeRef.new(shape: StartAssessmentFrameworkShareRequest)
1781
+ o.output = Shapes::ShapeRef.new(shape: StartAssessmentFrameworkShareResponse)
1782
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1783
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1784
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1785
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1786
+ end)
1787
+
1680
1788
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1681
1789
  o.name = "TagResource"
1682
1790
  o.http_method = "POST"
@@ -1747,6 +1855,18 @@ module Aws::AuditManager
1747
1855
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1748
1856
  end)
1749
1857
 
1858
+ api.add_operation(:update_assessment_framework_share, Seahorse::Model::Operation.new.tap do |o|
1859
+ o.name = "UpdateAssessmentFrameworkShare"
1860
+ o.http_method = "PUT"
1861
+ o.http_request_uri = "/assessmentFrameworkShareRequests/{requestId}"
1862
+ o.input = Shapes::ShapeRef.new(shape: UpdateAssessmentFrameworkShareRequest)
1863
+ o.output = Shapes::ShapeRef.new(shape: UpdateAssessmentFrameworkShareResponse)
1864
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1865
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1866
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1867
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1868
+ end)
1869
+
1750
1870
  api.add_operation(:update_assessment_status, Seahorse::Model::Operation.new.tap do |o|
1751
1871
  o.name = "UpdateAssessmentStatus"
1752
1872
  o.http_method = "PUT"