aws-sdk-auditmanager 1.40.0 → 1.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/sig/client.rbs ADDED
@@ -0,0 +1,933 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module AuditManager
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _AssociateAssessmentReportEvidenceFolderResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateAssessmentReportEvidenceFolderResponse]
77
+ end
78
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#associate_assessment_report_evidence_folder-instance_method
79
+ def associate_assessment_report_evidence_folder: (
80
+ assessment_id: ::String,
81
+ evidence_folder_id: ::String
82
+ ) -> _AssociateAssessmentReportEvidenceFolderResponseSuccess
83
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateAssessmentReportEvidenceFolderResponseSuccess
84
+
85
+ interface _BatchAssociateAssessmentReportEvidenceResponseSuccess
86
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchAssociateAssessmentReportEvidenceResponse]
87
+ def evidence_ids: () -> ::Array[::String]
88
+ def errors: () -> ::Array[Types::AssessmentReportEvidenceError]
89
+ end
90
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#batch_associate_assessment_report_evidence-instance_method
91
+ def batch_associate_assessment_report_evidence: (
92
+ assessment_id: ::String,
93
+ evidence_folder_id: ::String,
94
+ evidence_ids: Array[::String]
95
+ ) -> _BatchAssociateAssessmentReportEvidenceResponseSuccess
96
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchAssociateAssessmentReportEvidenceResponseSuccess
97
+
98
+ interface _BatchCreateDelegationByAssessmentResponseSuccess
99
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchCreateDelegationByAssessmentResponse]
100
+ def delegations: () -> ::Array[Types::Delegation]
101
+ def errors: () -> ::Array[Types::BatchCreateDelegationByAssessmentError]
102
+ end
103
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#batch_create_delegation_by_assessment-instance_method
104
+ def batch_create_delegation_by_assessment: (
105
+ create_delegation_requests: Array[
106
+ {
107
+ comment: ::String?,
108
+ control_set_id: ::String?,
109
+ role_arn: ::String?,
110
+ role_type: ("PROCESS_OWNER" | "RESOURCE_OWNER")?
111
+ },
112
+ ],
113
+ assessment_id: ::String
114
+ ) -> _BatchCreateDelegationByAssessmentResponseSuccess
115
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchCreateDelegationByAssessmentResponseSuccess
116
+
117
+ interface _BatchDeleteDelegationByAssessmentResponseSuccess
118
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchDeleteDelegationByAssessmentResponse]
119
+ def errors: () -> ::Array[Types::BatchDeleteDelegationByAssessmentError]
120
+ end
121
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#batch_delete_delegation_by_assessment-instance_method
122
+ def batch_delete_delegation_by_assessment: (
123
+ delegation_ids: Array[::String],
124
+ assessment_id: ::String
125
+ ) -> _BatchDeleteDelegationByAssessmentResponseSuccess
126
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteDelegationByAssessmentResponseSuccess
127
+
128
+ interface _BatchDisassociateAssessmentReportEvidenceResponseSuccess
129
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchDisassociateAssessmentReportEvidenceResponse]
130
+ def evidence_ids: () -> ::Array[::String]
131
+ def errors: () -> ::Array[Types::AssessmentReportEvidenceError]
132
+ end
133
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#batch_disassociate_assessment_report_evidence-instance_method
134
+ def batch_disassociate_assessment_report_evidence: (
135
+ assessment_id: ::String,
136
+ evidence_folder_id: ::String,
137
+ evidence_ids: Array[::String]
138
+ ) -> _BatchDisassociateAssessmentReportEvidenceResponseSuccess
139
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDisassociateAssessmentReportEvidenceResponseSuccess
140
+
141
+ interface _BatchImportEvidenceToAssessmentControlResponseSuccess
142
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchImportEvidenceToAssessmentControlResponse]
143
+ def errors: () -> ::Array[Types::BatchImportEvidenceToAssessmentControlError]
144
+ end
145
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#batch_import_evidence_to_assessment_control-instance_method
146
+ def batch_import_evidence_to_assessment_control: (
147
+ assessment_id: ::String,
148
+ control_set_id: ::String,
149
+ control_id: ::String,
150
+ manual_evidence: Array[
151
+ {
152
+ s3_resource_path: ::String?,
153
+ text_response: ::String?,
154
+ evidence_file_name: ::String?
155
+ },
156
+ ]
157
+ ) -> _BatchImportEvidenceToAssessmentControlResponseSuccess
158
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchImportEvidenceToAssessmentControlResponseSuccess
159
+
160
+ interface _CreateAssessmentResponseSuccess
161
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAssessmentResponse]
162
+ def assessment: () -> Types::Assessment
163
+ end
164
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#create_assessment-instance_method
165
+ def create_assessment: (
166
+ name: ::String,
167
+ ?description: ::String,
168
+ assessment_reports_destination: {
169
+ destination_type: ("S3")?,
170
+ destination: ::String?
171
+ },
172
+ scope: {
173
+ aws_accounts: Array[
174
+ {
175
+ id: ::String?,
176
+ email_address: ::String?,
177
+ name: ::String?
178
+ },
179
+ ]?,
180
+ aws_services: Array[
181
+ {
182
+ service_name: ::String?
183
+ },
184
+ ]?
185
+ },
186
+ roles: Array[
187
+ {
188
+ role_type: ("PROCESS_OWNER" | "RESOURCE_OWNER"),
189
+ role_arn: ::String
190
+ },
191
+ ],
192
+ framework_id: ::String,
193
+ ?tags: Hash[::String, ::String]
194
+ ) -> _CreateAssessmentResponseSuccess
195
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAssessmentResponseSuccess
196
+
197
+ interface _CreateAssessmentFrameworkResponseSuccess
198
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAssessmentFrameworkResponse]
199
+ def framework: () -> Types::Framework
200
+ end
201
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#create_assessment_framework-instance_method
202
+ def create_assessment_framework: (
203
+ name: ::String,
204
+ ?description: ::String,
205
+ ?compliance_type: ::String,
206
+ control_sets: Array[
207
+ {
208
+ name: ::String,
209
+ controls: Array[
210
+ {
211
+ id: ::String
212
+ },
213
+ ]?
214
+ },
215
+ ],
216
+ ?tags: Hash[::String, ::String]
217
+ ) -> _CreateAssessmentFrameworkResponseSuccess
218
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAssessmentFrameworkResponseSuccess
219
+
220
+ interface _CreateAssessmentReportResponseSuccess
221
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAssessmentReportResponse]
222
+ def assessment_report: () -> Types::AssessmentReport
223
+ end
224
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#create_assessment_report-instance_method
225
+ def create_assessment_report: (
226
+ name: ::String,
227
+ ?description: ::String,
228
+ assessment_id: ::String,
229
+ ?query_statement: ::String
230
+ ) -> _CreateAssessmentReportResponseSuccess
231
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAssessmentReportResponseSuccess
232
+
233
+ interface _CreateControlResponseSuccess
234
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateControlResponse]
235
+ def control: () -> Types::Control
236
+ end
237
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#create_control-instance_method
238
+ def create_control: (
239
+ name: ::String,
240
+ ?description: ::String,
241
+ ?testing_information: ::String,
242
+ ?action_plan_title: ::String,
243
+ ?action_plan_instructions: ::String,
244
+ control_mapping_sources: Array[
245
+ {
246
+ source_name: ::String?,
247
+ source_description: ::String?,
248
+ source_set_up_option: ("System_Controls_Mapping" | "Procedural_Controls_Mapping")?,
249
+ source_type: ("AWS_Cloudtrail" | "AWS_Config" | "AWS_Security_Hub" | "AWS_API_Call" | "MANUAL")?,
250
+ source_keyword: {
251
+ keyword_input_type: ("SELECT_FROM_LIST" | "UPLOAD_FILE" | "INPUT_TEXT")?,
252
+ keyword_value: ::String?
253
+ }?,
254
+ source_frequency: ("DAILY" | "WEEKLY" | "MONTHLY")?,
255
+ troubleshooting_text: ::String?
256
+ },
257
+ ],
258
+ ?tags: Hash[::String, ::String]
259
+ ) -> _CreateControlResponseSuccess
260
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateControlResponseSuccess
261
+
262
+ interface _DeleteAssessmentResponseSuccess
263
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAssessmentResponse]
264
+ end
265
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#delete_assessment-instance_method
266
+ def delete_assessment: (
267
+ assessment_id: ::String
268
+ ) -> _DeleteAssessmentResponseSuccess
269
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAssessmentResponseSuccess
270
+
271
+ interface _DeleteAssessmentFrameworkResponseSuccess
272
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAssessmentFrameworkResponse]
273
+ end
274
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#delete_assessment_framework-instance_method
275
+ def delete_assessment_framework: (
276
+ framework_id: ::String
277
+ ) -> _DeleteAssessmentFrameworkResponseSuccess
278
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAssessmentFrameworkResponseSuccess
279
+
280
+ interface _DeleteAssessmentFrameworkShareResponseSuccess
281
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAssessmentFrameworkShareResponse]
282
+ end
283
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#delete_assessment_framework_share-instance_method
284
+ def delete_assessment_framework_share: (
285
+ request_id: ::String,
286
+ request_type: ("SENT" | "RECEIVED")
287
+ ) -> _DeleteAssessmentFrameworkShareResponseSuccess
288
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAssessmentFrameworkShareResponseSuccess
289
+
290
+ interface _DeleteAssessmentReportResponseSuccess
291
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAssessmentReportResponse]
292
+ end
293
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#delete_assessment_report-instance_method
294
+ def delete_assessment_report: (
295
+ assessment_id: ::String,
296
+ assessment_report_id: ::String
297
+ ) -> _DeleteAssessmentReportResponseSuccess
298
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAssessmentReportResponseSuccess
299
+
300
+ interface _DeleteControlResponseSuccess
301
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteControlResponse]
302
+ end
303
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#delete_control-instance_method
304
+ def delete_control: (
305
+ control_id: ::String
306
+ ) -> _DeleteControlResponseSuccess
307
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteControlResponseSuccess
308
+
309
+ interface _DeregisterAccountResponseSuccess
310
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterAccountResponse]
311
+ def status: () -> ("ACTIVE" | "INACTIVE" | "PENDING_ACTIVATION")
312
+ end
313
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#deregister_account-instance_method
314
+ def deregister_account: (
315
+ ) -> _DeregisterAccountResponseSuccess
316
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterAccountResponseSuccess
317
+
318
+ interface _DeregisterOrganizationAdminAccountResponseSuccess
319
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterOrganizationAdminAccountResponse]
320
+ end
321
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#deregister_organization_admin_account-instance_method
322
+ def deregister_organization_admin_account: (
323
+ ?admin_account_id: ::String
324
+ ) -> _DeregisterOrganizationAdminAccountResponseSuccess
325
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterOrganizationAdminAccountResponseSuccess
326
+
327
+ interface _DisassociateAssessmentReportEvidenceFolderResponseSuccess
328
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateAssessmentReportEvidenceFolderResponse]
329
+ end
330
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#disassociate_assessment_report_evidence_folder-instance_method
331
+ def disassociate_assessment_report_evidence_folder: (
332
+ assessment_id: ::String,
333
+ evidence_folder_id: ::String
334
+ ) -> _DisassociateAssessmentReportEvidenceFolderResponseSuccess
335
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateAssessmentReportEvidenceFolderResponseSuccess
336
+
337
+ interface _GetAccountStatusResponseSuccess
338
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountStatusResponse]
339
+ def status: () -> ("ACTIVE" | "INACTIVE" | "PENDING_ACTIVATION")
340
+ end
341
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#get_account_status-instance_method
342
+ def get_account_status: (
343
+ ) -> _GetAccountStatusResponseSuccess
344
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccountStatusResponseSuccess
345
+
346
+ interface _GetAssessmentResponseSuccess
347
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAssessmentResponse]
348
+ def assessment: () -> Types::Assessment
349
+ def user_role: () -> Types::Role
350
+ end
351
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#get_assessment-instance_method
352
+ def get_assessment: (
353
+ assessment_id: ::String
354
+ ) -> _GetAssessmentResponseSuccess
355
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAssessmentResponseSuccess
356
+
357
+ interface _GetAssessmentFrameworkResponseSuccess
358
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAssessmentFrameworkResponse]
359
+ def framework: () -> Types::Framework
360
+ end
361
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#get_assessment_framework-instance_method
362
+ def get_assessment_framework: (
363
+ framework_id: ::String
364
+ ) -> _GetAssessmentFrameworkResponseSuccess
365
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAssessmentFrameworkResponseSuccess
366
+
367
+ interface _GetAssessmentReportUrlResponseSuccess
368
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAssessmentReportUrlResponse]
369
+ def pre_signed_url: () -> Types::URL
370
+ end
371
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#get_assessment_report_url-instance_method
372
+ def get_assessment_report_url: (
373
+ assessment_report_id: ::String,
374
+ assessment_id: ::String
375
+ ) -> _GetAssessmentReportUrlResponseSuccess
376
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAssessmentReportUrlResponseSuccess
377
+
378
+ interface _GetChangeLogsResponseSuccess
379
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetChangeLogsResponse]
380
+ def change_logs: () -> ::Array[Types::ChangeLog]
381
+ def next_token: () -> ::String
382
+ end
383
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#get_change_logs-instance_method
384
+ def get_change_logs: (
385
+ assessment_id: ::String,
386
+ ?control_set_id: ::String,
387
+ ?control_id: ::String,
388
+ ?next_token: ::String,
389
+ ?max_results: ::Integer
390
+ ) -> _GetChangeLogsResponseSuccess
391
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetChangeLogsResponseSuccess
392
+
393
+ interface _GetControlResponseSuccess
394
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetControlResponse]
395
+ def control: () -> Types::Control
396
+ end
397
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#get_control-instance_method
398
+ def get_control: (
399
+ control_id: ::String
400
+ ) -> _GetControlResponseSuccess
401
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetControlResponseSuccess
402
+
403
+ interface _GetDelegationsResponseSuccess
404
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDelegationsResponse]
405
+ def delegations: () -> ::Array[Types::DelegationMetadata]
406
+ def next_token: () -> ::String
407
+ end
408
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#get_delegations-instance_method
409
+ def get_delegations: (
410
+ ?next_token: ::String,
411
+ ?max_results: ::Integer
412
+ ) -> _GetDelegationsResponseSuccess
413
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDelegationsResponseSuccess
414
+
415
+ interface _GetEvidenceResponseSuccess
416
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEvidenceResponse]
417
+ def evidence: () -> Types::Evidence
418
+ end
419
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#get_evidence-instance_method
420
+ def get_evidence: (
421
+ assessment_id: ::String,
422
+ control_set_id: ::String,
423
+ evidence_folder_id: ::String,
424
+ evidence_id: ::String
425
+ ) -> _GetEvidenceResponseSuccess
426
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEvidenceResponseSuccess
427
+
428
+ interface _GetEvidenceByEvidenceFolderResponseSuccess
429
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEvidenceByEvidenceFolderResponse]
430
+ def evidence: () -> ::Array[Types::Evidence]
431
+ def next_token: () -> ::String
432
+ end
433
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#get_evidence_by_evidence_folder-instance_method
434
+ def get_evidence_by_evidence_folder: (
435
+ assessment_id: ::String,
436
+ control_set_id: ::String,
437
+ evidence_folder_id: ::String,
438
+ ?next_token: ::String,
439
+ ?max_results: ::Integer
440
+ ) -> _GetEvidenceByEvidenceFolderResponseSuccess
441
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEvidenceByEvidenceFolderResponseSuccess
442
+
443
+ interface _GetEvidenceFileUploadUrlResponseSuccess
444
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEvidenceFileUploadUrlResponse]
445
+ def evidence_file_name: () -> ::String
446
+ def upload_url: () -> ::String
447
+ end
448
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#get_evidence_file_upload_url-instance_method
449
+ def get_evidence_file_upload_url: (
450
+ file_name: ::String
451
+ ) -> _GetEvidenceFileUploadUrlResponseSuccess
452
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEvidenceFileUploadUrlResponseSuccess
453
+
454
+ interface _GetEvidenceFolderResponseSuccess
455
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEvidenceFolderResponse]
456
+ def evidence_folder: () -> Types::AssessmentEvidenceFolder
457
+ end
458
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#get_evidence_folder-instance_method
459
+ def get_evidence_folder: (
460
+ assessment_id: ::String,
461
+ control_set_id: ::String,
462
+ evidence_folder_id: ::String
463
+ ) -> _GetEvidenceFolderResponseSuccess
464
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEvidenceFolderResponseSuccess
465
+
466
+ interface _GetEvidenceFoldersByAssessmentResponseSuccess
467
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEvidenceFoldersByAssessmentResponse]
468
+ def evidence_folders: () -> ::Array[Types::AssessmentEvidenceFolder]
469
+ def next_token: () -> ::String
470
+ end
471
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#get_evidence_folders_by_assessment-instance_method
472
+ def get_evidence_folders_by_assessment: (
473
+ assessment_id: ::String,
474
+ ?next_token: ::String,
475
+ ?max_results: ::Integer
476
+ ) -> _GetEvidenceFoldersByAssessmentResponseSuccess
477
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEvidenceFoldersByAssessmentResponseSuccess
478
+
479
+ interface _GetEvidenceFoldersByAssessmentControlResponseSuccess
480
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEvidenceFoldersByAssessmentControlResponse]
481
+ def evidence_folders: () -> ::Array[Types::AssessmentEvidenceFolder]
482
+ def next_token: () -> ::String
483
+ end
484
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#get_evidence_folders_by_assessment_control-instance_method
485
+ def get_evidence_folders_by_assessment_control: (
486
+ assessment_id: ::String,
487
+ control_set_id: ::String,
488
+ control_id: ::String,
489
+ ?next_token: ::String,
490
+ ?max_results: ::Integer
491
+ ) -> _GetEvidenceFoldersByAssessmentControlResponseSuccess
492
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEvidenceFoldersByAssessmentControlResponseSuccess
493
+
494
+ interface _GetInsightsResponseSuccess
495
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetInsightsResponse]
496
+ def insights: () -> Types::Insights
497
+ end
498
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#get_insights-instance_method
499
+ def get_insights: (
500
+ ) -> _GetInsightsResponseSuccess
501
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInsightsResponseSuccess
502
+
503
+ interface _GetInsightsByAssessmentResponseSuccess
504
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetInsightsByAssessmentResponse]
505
+ def insights: () -> Types::InsightsByAssessment
506
+ end
507
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#get_insights_by_assessment-instance_method
508
+ def get_insights_by_assessment: (
509
+ assessment_id: ::String
510
+ ) -> _GetInsightsByAssessmentResponseSuccess
511
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInsightsByAssessmentResponseSuccess
512
+
513
+ interface _GetOrganizationAdminAccountResponseSuccess
514
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetOrganizationAdminAccountResponse]
515
+ def admin_account_id: () -> ::String
516
+ def organization_id: () -> ::String
517
+ end
518
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#get_organization_admin_account-instance_method
519
+ def get_organization_admin_account: (
520
+ ) -> _GetOrganizationAdminAccountResponseSuccess
521
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOrganizationAdminAccountResponseSuccess
522
+
523
+ interface _GetServicesInScopeResponseSuccess
524
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetServicesInScopeResponse]
525
+ def service_metadata: () -> ::Array[Types::ServiceMetadata]
526
+ end
527
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#get_services_in_scope-instance_method
528
+ def get_services_in_scope: (
529
+ ) -> _GetServicesInScopeResponseSuccess
530
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetServicesInScopeResponseSuccess
531
+
532
+ interface _GetSettingsResponseSuccess
533
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSettingsResponse]
534
+ def settings: () -> Types::Settings
535
+ end
536
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#get_settings-instance_method
537
+ def get_settings: (
538
+ attribute: ("ALL" | "IS_AWS_ORG_ENABLED" | "SNS_TOPIC" | "DEFAULT_ASSESSMENT_REPORTS_DESTINATION" | "DEFAULT_PROCESS_OWNERS" | "EVIDENCE_FINDER_ENABLEMENT" | "DEREGISTRATION_POLICY" | "DEFAULT_EXPORT_DESTINATION")
539
+ ) -> _GetSettingsResponseSuccess
540
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSettingsResponseSuccess
541
+
542
+ interface _ListAssessmentControlInsightsByControlDomainResponseSuccess
543
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAssessmentControlInsightsByControlDomainResponse]
544
+ def control_insights_by_assessment: () -> ::Array[Types::ControlInsightsMetadataByAssessmentItem]
545
+ def next_token: () -> ::String
546
+ end
547
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#list_assessment_control_insights_by_control_domain-instance_method
548
+ def list_assessment_control_insights_by_control_domain: (
549
+ control_domain_id: ::String,
550
+ assessment_id: ::String,
551
+ ?next_token: ::String,
552
+ ?max_results: ::Integer
553
+ ) -> _ListAssessmentControlInsightsByControlDomainResponseSuccess
554
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssessmentControlInsightsByControlDomainResponseSuccess
555
+
556
+ interface _ListAssessmentFrameworkShareRequestsResponseSuccess
557
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAssessmentFrameworkShareRequestsResponse]
558
+ def assessment_framework_share_requests: () -> ::Array[Types::AssessmentFrameworkShareRequest]
559
+ def next_token: () -> ::String
560
+ end
561
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#list_assessment_framework_share_requests-instance_method
562
+ def list_assessment_framework_share_requests: (
563
+ request_type: ("SENT" | "RECEIVED"),
564
+ ?next_token: ::String,
565
+ ?max_results: ::Integer
566
+ ) -> _ListAssessmentFrameworkShareRequestsResponseSuccess
567
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssessmentFrameworkShareRequestsResponseSuccess
568
+
569
+ interface _ListAssessmentFrameworksResponseSuccess
570
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAssessmentFrameworksResponse]
571
+ def framework_metadata_list: () -> ::Array[Types::AssessmentFrameworkMetadata]
572
+ def next_token: () -> ::String
573
+ end
574
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#list_assessment_frameworks-instance_method
575
+ def list_assessment_frameworks: (
576
+ framework_type: ("Standard" | "Custom"),
577
+ ?next_token: ::String,
578
+ ?max_results: ::Integer
579
+ ) -> _ListAssessmentFrameworksResponseSuccess
580
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssessmentFrameworksResponseSuccess
581
+
582
+ interface _ListAssessmentReportsResponseSuccess
583
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAssessmentReportsResponse]
584
+ def assessment_reports: () -> ::Array[Types::AssessmentReportMetadata]
585
+ def next_token: () -> ::String
586
+ end
587
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#list_assessment_reports-instance_method
588
+ def list_assessment_reports: (
589
+ ?next_token: ::String,
590
+ ?max_results: ::Integer
591
+ ) -> _ListAssessmentReportsResponseSuccess
592
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssessmentReportsResponseSuccess
593
+
594
+ interface _ListAssessmentsResponseSuccess
595
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAssessmentsResponse]
596
+ def assessment_metadata: () -> ::Array[Types::AssessmentMetadataItem]
597
+ def next_token: () -> ::String
598
+ end
599
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#list_assessments-instance_method
600
+ def list_assessments: (
601
+ ?status: ("ACTIVE" | "INACTIVE"),
602
+ ?next_token: ::String,
603
+ ?max_results: ::Integer
604
+ ) -> _ListAssessmentsResponseSuccess
605
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssessmentsResponseSuccess
606
+
607
+ interface _ListControlDomainInsightsResponseSuccess
608
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListControlDomainInsightsResponse]
609
+ def control_domain_insights: () -> ::Array[Types::ControlDomainInsights]
610
+ def next_token: () -> ::String
611
+ end
612
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#list_control_domain_insights-instance_method
613
+ def list_control_domain_insights: (
614
+ ?next_token: ::String,
615
+ ?max_results: ::Integer
616
+ ) -> _ListControlDomainInsightsResponseSuccess
617
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListControlDomainInsightsResponseSuccess
618
+
619
+ interface _ListControlDomainInsightsByAssessmentResponseSuccess
620
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListControlDomainInsightsByAssessmentResponse]
621
+ def control_domain_insights: () -> ::Array[Types::ControlDomainInsights]
622
+ def next_token: () -> ::String
623
+ end
624
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#list_control_domain_insights_by_assessment-instance_method
625
+ def list_control_domain_insights_by_assessment: (
626
+ assessment_id: ::String,
627
+ ?next_token: ::String,
628
+ ?max_results: ::Integer
629
+ ) -> _ListControlDomainInsightsByAssessmentResponseSuccess
630
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListControlDomainInsightsByAssessmentResponseSuccess
631
+
632
+ interface _ListControlInsightsByControlDomainResponseSuccess
633
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListControlInsightsByControlDomainResponse]
634
+ def control_insights_metadata: () -> ::Array[Types::ControlInsightsMetadataItem]
635
+ def next_token: () -> ::String
636
+ end
637
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#list_control_insights_by_control_domain-instance_method
638
+ def list_control_insights_by_control_domain: (
639
+ control_domain_id: ::String,
640
+ ?next_token: ::String,
641
+ ?max_results: ::Integer
642
+ ) -> _ListControlInsightsByControlDomainResponseSuccess
643
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListControlInsightsByControlDomainResponseSuccess
644
+
645
+ interface _ListControlsResponseSuccess
646
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListControlsResponse]
647
+ def control_metadata_list: () -> ::Array[Types::ControlMetadata]
648
+ def next_token: () -> ::String
649
+ end
650
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#list_controls-instance_method
651
+ def list_controls: (
652
+ control_type: ("Standard" | "Custom"),
653
+ ?next_token: ::String,
654
+ ?max_results: ::Integer
655
+ ) -> _ListControlsResponseSuccess
656
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListControlsResponseSuccess
657
+
658
+ interface _ListKeywordsForDataSourceResponseSuccess
659
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListKeywordsForDataSourceResponse]
660
+ def keywords: () -> ::Array[::String]
661
+ def next_token: () -> ::String
662
+ end
663
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#list_keywords_for_data_source-instance_method
664
+ def list_keywords_for_data_source: (
665
+ source: ("AWS_Cloudtrail" | "AWS_Config" | "AWS_Security_Hub" | "AWS_API_Call" | "MANUAL"),
666
+ ?next_token: ::String,
667
+ ?max_results: ::Integer
668
+ ) -> _ListKeywordsForDataSourceResponseSuccess
669
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListKeywordsForDataSourceResponseSuccess
670
+
671
+ interface _ListNotificationsResponseSuccess
672
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListNotificationsResponse]
673
+ def notifications: () -> ::Array[Types::Notification]
674
+ def next_token: () -> ::String
675
+ end
676
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#list_notifications-instance_method
677
+ def list_notifications: (
678
+ ?next_token: ::String,
679
+ ?max_results: ::Integer
680
+ ) -> _ListNotificationsResponseSuccess
681
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNotificationsResponseSuccess
682
+
683
+ interface _ListTagsForResourceResponseSuccess
684
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
685
+ def tags: () -> ::Hash[::String, ::String]
686
+ end
687
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#list_tags_for_resource-instance_method
688
+ def list_tags_for_resource: (
689
+ resource_arn: ::String
690
+ ) -> _ListTagsForResourceResponseSuccess
691
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
692
+
693
+ interface _RegisterAccountResponseSuccess
694
+ include ::Seahorse::Client::_ResponseSuccess[Types::RegisterAccountResponse]
695
+ def status: () -> ("ACTIVE" | "INACTIVE" | "PENDING_ACTIVATION")
696
+ end
697
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#register_account-instance_method
698
+ def register_account: (
699
+ ?kms_key: ::String,
700
+ ?delegated_admin_account: ::String
701
+ ) -> _RegisterAccountResponseSuccess
702
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterAccountResponseSuccess
703
+
704
+ interface _RegisterOrganizationAdminAccountResponseSuccess
705
+ include ::Seahorse::Client::_ResponseSuccess[Types::RegisterOrganizationAdminAccountResponse]
706
+ def admin_account_id: () -> ::String
707
+ def organization_id: () -> ::String
708
+ end
709
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#register_organization_admin_account-instance_method
710
+ def register_organization_admin_account: (
711
+ admin_account_id: ::String
712
+ ) -> _RegisterOrganizationAdminAccountResponseSuccess
713
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterOrganizationAdminAccountResponseSuccess
714
+
715
+ interface _StartAssessmentFrameworkShareResponseSuccess
716
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartAssessmentFrameworkShareResponse]
717
+ def assessment_framework_share_request: () -> Types::AssessmentFrameworkShareRequest
718
+ end
719
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#start_assessment_framework_share-instance_method
720
+ def start_assessment_framework_share: (
721
+ framework_id: ::String,
722
+ destination_account: ::String,
723
+ destination_region: ::String,
724
+ ?comment: ::String
725
+ ) -> _StartAssessmentFrameworkShareResponseSuccess
726
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartAssessmentFrameworkShareResponseSuccess
727
+
728
+ interface _TagResourceResponseSuccess
729
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
730
+ end
731
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#tag_resource-instance_method
732
+ def tag_resource: (
733
+ resource_arn: ::String,
734
+ tags: Hash[::String, ::String]
735
+ ) -> _TagResourceResponseSuccess
736
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
737
+
738
+ interface _UntagResourceResponseSuccess
739
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
740
+ end
741
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#untag_resource-instance_method
742
+ def untag_resource: (
743
+ resource_arn: ::String,
744
+ tag_keys: Array[::String]
745
+ ) -> _UntagResourceResponseSuccess
746
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
747
+
748
+ interface _UpdateAssessmentResponseSuccess
749
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAssessmentResponse]
750
+ def assessment: () -> Types::Assessment
751
+ end
752
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#update_assessment-instance_method
753
+ def update_assessment: (
754
+ assessment_id: ::String,
755
+ ?assessment_name: ::String,
756
+ ?assessment_description: ::String,
757
+ scope: {
758
+ aws_accounts: Array[
759
+ {
760
+ id: ::String?,
761
+ email_address: ::String?,
762
+ name: ::String?
763
+ },
764
+ ]?,
765
+ aws_services: Array[
766
+ {
767
+ service_name: ::String?
768
+ },
769
+ ]?
770
+ },
771
+ ?assessment_reports_destination: {
772
+ destination_type: ("S3")?,
773
+ destination: ::String?
774
+ },
775
+ ?roles: Array[
776
+ {
777
+ role_type: ("PROCESS_OWNER" | "RESOURCE_OWNER"),
778
+ role_arn: ::String
779
+ },
780
+ ]
781
+ ) -> _UpdateAssessmentResponseSuccess
782
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAssessmentResponseSuccess
783
+
784
+ interface _UpdateAssessmentControlResponseSuccess
785
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAssessmentControlResponse]
786
+ def control: () -> Types::AssessmentControl
787
+ end
788
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#update_assessment_control-instance_method
789
+ def update_assessment_control: (
790
+ assessment_id: ::String,
791
+ control_set_id: ::String,
792
+ control_id: ::String,
793
+ ?control_status: ("UNDER_REVIEW" | "REVIEWED" | "INACTIVE"),
794
+ ?comment_body: ::String
795
+ ) -> _UpdateAssessmentControlResponseSuccess
796
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAssessmentControlResponseSuccess
797
+
798
+ interface _UpdateAssessmentControlSetStatusResponseSuccess
799
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAssessmentControlSetStatusResponse]
800
+ def control_set: () -> Types::AssessmentControlSet
801
+ end
802
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#update_assessment_control_set_status-instance_method
803
+ def update_assessment_control_set_status: (
804
+ assessment_id: ::String,
805
+ control_set_id: ::String,
806
+ status: ("ACTIVE" | "UNDER_REVIEW" | "REVIEWED"),
807
+ comment: ::String
808
+ ) -> _UpdateAssessmentControlSetStatusResponseSuccess
809
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAssessmentControlSetStatusResponseSuccess
810
+
811
+ interface _UpdateAssessmentFrameworkResponseSuccess
812
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAssessmentFrameworkResponse]
813
+ def framework: () -> Types::Framework
814
+ end
815
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#update_assessment_framework-instance_method
816
+ def update_assessment_framework: (
817
+ framework_id: ::String,
818
+ name: ::String,
819
+ ?description: ::String,
820
+ ?compliance_type: ::String,
821
+ control_sets: Array[
822
+ {
823
+ id: ::String?,
824
+ name: ::String,
825
+ controls: Array[
826
+ {
827
+ id: ::String
828
+ },
829
+ ]
830
+ },
831
+ ]
832
+ ) -> _UpdateAssessmentFrameworkResponseSuccess
833
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAssessmentFrameworkResponseSuccess
834
+
835
+ interface _UpdateAssessmentFrameworkShareResponseSuccess
836
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAssessmentFrameworkShareResponse]
837
+ def assessment_framework_share_request: () -> Types::AssessmentFrameworkShareRequest
838
+ end
839
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#update_assessment_framework_share-instance_method
840
+ def update_assessment_framework_share: (
841
+ request_id: ::String,
842
+ request_type: ("SENT" | "RECEIVED"),
843
+ action: ("ACCEPT" | "DECLINE" | "REVOKE")
844
+ ) -> _UpdateAssessmentFrameworkShareResponseSuccess
845
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAssessmentFrameworkShareResponseSuccess
846
+
847
+ interface _UpdateAssessmentStatusResponseSuccess
848
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAssessmentStatusResponse]
849
+ def assessment: () -> Types::Assessment
850
+ end
851
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#update_assessment_status-instance_method
852
+ def update_assessment_status: (
853
+ assessment_id: ::String,
854
+ status: ("ACTIVE" | "INACTIVE")
855
+ ) -> _UpdateAssessmentStatusResponseSuccess
856
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAssessmentStatusResponseSuccess
857
+
858
+ interface _UpdateControlResponseSuccess
859
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateControlResponse]
860
+ def control: () -> Types::Control
861
+ end
862
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#update_control-instance_method
863
+ def update_control: (
864
+ control_id: ::String,
865
+ name: ::String,
866
+ ?description: ::String,
867
+ ?testing_information: ::String,
868
+ ?action_plan_title: ::String,
869
+ ?action_plan_instructions: ::String,
870
+ control_mapping_sources: Array[
871
+ {
872
+ source_id: ::String?,
873
+ source_name: ::String?,
874
+ source_description: ::String?,
875
+ source_set_up_option: ("System_Controls_Mapping" | "Procedural_Controls_Mapping")?,
876
+ source_type: ("AWS_Cloudtrail" | "AWS_Config" | "AWS_Security_Hub" | "AWS_API_Call" | "MANUAL")?,
877
+ source_keyword: {
878
+ keyword_input_type: ("SELECT_FROM_LIST" | "UPLOAD_FILE" | "INPUT_TEXT")?,
879
+ keyword_value: ::String?
880
+ }?,
881
+ source_frequency: ("DAILY" | "WEEKLY" | "MONTHLY")?,
882
+ troubleshooting_text: ::String?
883
+ },
884
+ ]
885
+ ) -> _UpdateControlResponseSuccess
886
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateControlResponseSuccess
887
+
888
+ interface _UpdateSettingsResponseSuccess
889
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSettingsResponse]
890
+ def settings: () -> Types::Settings
891
+ end
892
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#update_settings-instance_method
893
+ def update_settings: (
894
+ ?sns_topic: ::String,
895
+ ?default_assessment_reports_destination: {
896
+ destination_type: ("S3")?,
897
+ destination: ::String?
898
+ },
899
+ ?default_process_owners: Array[
900
+ {
901
+ role_type: ("PROCESS_OWNER" | "RESOURCE_OWNER"),
902
+ role_arn: ::String
903
+ },
904
+ ],
905
+ ?kms_key: ::String,
906
+ ?evidence_finder_enabled: bool,
907
+ ?deregistration_policy: {
908
+ delete_resources: ("ALL" | "DEFAULT")?
909
+ },
910
+ ?default_export_destination: {
911
+ destination_type: ("S3")?,
912
+ destination: ::String?
913
+ }
914
+ ) -> _UpdateSettingsResponseSuccess
915
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSettingsResponseSuccess
916
+
917
+ interface _ValidateAssessmentReportIntegrityResponseSuccess
918
+ include ::Seahorse::Client::_ResponseSuccess[Types::ValidateAssessmentReportIntegrityResponse]
919
+ def signature_valid: () -> bool
920
+ def signature_algorithm: () -> ::String
921
+ def signature_date_time: () -> ::String
922
+ def signature_key_id: () -> ::String
923
+ def validation_errors: () -> ::Array[::String]
924
+ end
925
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AuditManager/Client.html#validate_assessment_report_integrity-instance_method
926
+ def validate_assessment_report_integrity: (
927
+ s3_relative_path: ::String
928
+ ) -> _ValidateAssessmentReportIntegrityResponseSuccess
929
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ValidateAssessmentReportIntegrityResponseSuccess
930
+ end
931
+ end
932
+ end
933
+