aws-sdk-auditmanager 1.27.0 → 1.29.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-auditmanager/client.rb +157 -69
- data/lib/aws-sdk-auditmanager/client_api.rb +22 -0
- data/lib/aws-sdk-auditmanager/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-auditmanager/endpoint_provider.rb +75 -77
- data/lib/aws-sdk-auditmanager/types.rb +241 -786
- data/lib/aws-sdk-auditmanager.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8972e9bd0e4f608a9096f41e7ef3013337d9ce4bfd9cc11647a61b4f65d5d2f6
|
4
|
+
data.tar.gz: 1a1490c229c96eff6033aa840f1d2895d8e967cc89bdec4713decd18bdea91e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 143d79930226e388f6e6eeaf246ac62d3e2f20d81f8778dfc1d0b616bee419a9b3d9d7563469792021559958c5bc2c8459f6bd95037f98df2fed2e0196fd9d61
|
7
|
+
data.tar.gz: afe797c8b860542d42ffbc6c3a5eed1edee8090ef2409f1102a8f80b589c846bd5b526d0a71668f705d28872d1dd9222e8ca48be0ca5f50f1b0ed4ddcec31d69
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.29.0 (2023-01-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces a new data retention option in your Audit Manager settings. You can now use the DeregistrationPolicy parameter to specify if you want to delete your data when you deregister Audit Manager.
|
8
|
+
|
9
|
+
1.28.0 (2022-11-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release introduces a new feature for Audit Manager: Evidence finder. You can now use evidence finder to quickly query your evidence, and add the matching evidence results to an assessment report.
|
13
|
+
|
4
14
|
1.27.0 (2022-10-25)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.29.0
|
@@ -368,7 +368,7 @@ module Aws::AuditManager
|
|
368
368
|
|
369
369
|
# @!group API Operations
|
370
370
|
|
371
|
-
# Associates an evidence folder to an assessment report in
|
371
|
+
# Associates an evidence folder to an assessment report in an Audit
|
372
372
|
# Manager assessment.
|
373
373
|
#
|
374
374
|
# @option params [required, String] :assessment_id
|
@@ -575,7 +575,33 @@ module Aws::AuditManager
|
|
575
575
|
end
|
576
576
|
|
577
577
|
# Uploads one or more pieces of evidence to a control in an Audit
|
578
|
-
# Manager assessment.
|
578
|
+
# Manager assessment. You can upload manual evidence from any Amazon
|
579
|
+
# Simple Storage Service (Amazon S3) bucket by specifying the S3 URI of
|
580
|
+
# the evidence.
|
581
|
+
#
|
582
|
+
# You must upload manual evidence to your S3 bucket before you can
|
583
|
+
# upload it to your assessment. For instructions, see [CreateBucket][1]
|
584
|
+
# and [PutObject][2] in the *Amazon Simple Storage Service API
|
585
|
+
# Reference.*
|
586
|
+
#
|
587
|
+
# The following restrictions apply to this action:
|
588
|
+
#
|
589
|
+
# * Maximum size of an individual evidence file: 100 MB
|
590
|
+
#
|
591
|
+
# * Number of daily manual evidence uploads per control: 100
|
592
|
+
#
|
593
|
+
# * Supported file formats: See [Supported file types for manual
|
594
|
+
# evidence][3] in the *Audit Manager User Guide*
|
595
|
+
#
|
596
|
+
# For more information about Audit Manager service restrictions, see
|
597
|
+
# [Quotas and restrictions for Audit Manager][4].
|
598
|
+
#
|
599
|
+
#
|
600
|
+
#
|
601
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html
|
602
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
|
603
|
+
# [3]: https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#supported-manual-evidence-files
|
604
|
+
# [4]: https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html
|
579
605
|
#
|
580
606
|
# @option params [required, String] :assessment_id
|
581
607
|
# The identifier for the assessment.
|
@@ -885,6 +911,30 @@ module Aws::AuditManager
|
|
885
911
|
# @option params [required, String] :assessment_id
|
886
912
|
# The identifier for the assessment.
|
887
913
|
#
|
914
|
+
# @option params [String] :query_statement
|
915
|
+
# A SQL statement that represents an evidence finder query.
|
916
|
+
#
|
917
|
+
# Provide this parameter when you want to generate an assessment report
|
918
|
+
# from the results of an evidence finder search query. When you use this
|
919
|
+
# parameter, Audit Manager generates a one-time report using only the
|
920
|
+
# evidence from the query output. This report does not include any
|
921
|
+
# assessment evidence that was manually [added to a report using the
|
922
|
+
# console][1], or [associated with a report using the API][2].
|
923
|
+
#
|
924
|
+
# To use this parameter, the [enablementStatus][3] of evidence finder
|
925
|
+
# must be `ENABLED`.
|
926
|
+
#
|
927
|
+
# For examples and help resolving `queryStatement` validation
|
928
|
+
# exceptions, see [Troubleshooting evidence finder issues][4] in the
|
929
|
+
# *Audit Manager User Guide.*
|
930
|
+
#
|
931
|
+
#
|
932
|
+
#
|
933
|
+
# [1]: https://docs.aws.amazon.com/audit-manager/latest/userguide/generate-assessment-report.html#generate-assessment-report-include-evidence
|
934
|
+
# [2]: https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_BatchAssociateAssessmentReportEvidence.html
|
935
|
+
# [3]: https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_EvidenceFinderEnablement.html#auditmanager-Type-EvidenceFinderEnablement-enablementStatus
|
936
|
+
# [4]: https://docs.aws.amazon.com/audit-manager/latest/userguide/evidence-finder-issues.html#querystatement-exceptions
|
937
|
+
#
|
888
938
|
# @return [Types::CreateAssessmentReportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
889
939
|
#
|
890
940
|
# * {Types::CreateAssessmentReportResponse#assessment_report #assessment_report} => Types::AssessmentReport
|
@@ -895,6 +945,7 @@ module Aws::AuditManager
|
|
895
945
|
# name: "AssessmentReportName", # required
|
896
946
|
# description: "AssessmentReportDescription",
|
897
947
|
# assessment_id: "UUID", # required
|
948
|
+
# query_statement: "QueryStatement",
|
898
949
|
# })
|
899
950
|
#
|
900
951
|
# @example Response structure
|
@@ -1158,47 +1209,21 @@ module Aws::AuditManager
|
|
1158
1209
|
|
1159
1210
|
# Deregisters an account in Audit Manager.
|
1160
1211
|
#
|
1161
|
-
# <note markdown="1">
|
1162
|
-
#
|
1163
|
-
#
|
1164
|
-
# can
|
1165
|
-
#
|
1166
|
-
#
|
1167
|
-
# To delete your Audit Manager resource data, see the following
|
1168
|
-
# instructions:
|
1169
|
-
#
|
1170
|
-
# * [DeleteAssessment][1] (see also: [Deleting an assessment][2] in the
|
1171
|
-
# *Audit Manager User Guide*)
|
1172
|
-
#
|
1173
|
-
# * [DeleteAssessmentFramework][3] (see also: [Deleting a custom
|
1174
|
-
# framework][4] in the *Audit Manager User Guide*)
|
1175
|
-
#
|
1176
|
-
# * [DeleteAssessmentFrameworkShare][5] (see also: [Deleting a share
|
1177
|
-
# request][6] in the *Audit Manager User Guide*)
|
1178
|
-
#
|
1179
|
-
# * [DeleteAssessmentReport][7] (see also: [Deleting an assessment
|
1180
|
-
# report][8] in the *Audit Manager User Guide*)
|
1181
|
-
#
|
1182
|
-
# * [DeleteControl][9] (see also: [Deleting a custom control][10] in the
|
1183
|
-
# *Audit Manager User Guide*)
|
1212
|
+
# <note markdown="1"> Before you deregister, you can use the [UpdateSettings][1] API
|
1213
|
+
# operation to set your preferred data retention policy. By default,
|
1214
|
+
# Audit Manager retains your data. If you want to delete your data, you
|
1215
|
+
# can use the `DeregistrationPolicy` attribute to request the deletion
|
1216
|
+
# of your data.
|
1184
1217
|
#
|
1185
|
-
#
|
1186
|
-
#
|
1218
|
+
# For more information about data retention, see [Data Protection][2] in
|
1219
|
+
# the *Audit Manager User Guide*.
|
1187
1220
|
#
|
1188
1221
|
# </note>
|
1189
1222
|
#
|
1190
1223
|
#
|
1191
1224
|
#
|
1192
|
-
# [1]: https://docs.aws.amazon.com/audit-manager/latest/APIReference/
|
1193
|
-
# [2]: https://docs.aws.amazon.com/audit-manager/latest/userguide/
|
1194
|
-
# [3]: https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFramework.html
|
1195
|
-
# [4]: https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-custom-framework.html
|
1196
|
-
# [5]: https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFrameworkShare.html
|
1197
|
-
# [6]: https://docs.aws.amazon.com/audit-manager/latest/userguide/deleting-shared-framework-requests.html
|
1198
|
-
# [7]: https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentReport.html
|
1199
|
-
# [8]: https://docs.aws.amazon.com/audit-manager/latest/userguide/generate-assessment-report.html#delete-assessment-report-steps
|
1200
|
-
# [9]: https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteControl.html
|
1201
|
-
# [10]: https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-controls.html
|
1225
|
+
# [1]: https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_UpdateSettings.html
|
1226
|
+
# [2]: https://docs.aws.amazon.com/audit-manager/latest/userguide/data-protection.html
|
1202
1227
|
#
|
1203
1228
|
# @return [Types::DeregisterAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1204
1229
|
#
|
@@ -1224,51 +1249,71 @@ module Aws::AuditManager
|
|
1224
1249
|
# settings, you continue to have access to the evidence that you
|
1225
1250
|
# previously collected under that account. This is also the case when
|
1226
1251
|
# you deregister a delegated administrator from Organizations. However,
|
1227
|
-
# Audit Manager
|
1252
|
+
# Audit Manager stops collecting and attaching evidence to that
|
1228
1253
|
# delegated administrator account moving forward.
|
1229
1254
|
#
|
1230
|
-
#
|
1255
|
+
# Keep in mind the following cleanup task if you use evidence finder:
|
1256
|
+
#
|
1257
|
+
# Before you use your management account to remove a delegated
|
1258
|
+
# administrator, make sure that the current delegated administrator
|
1259
|
+
# account signs in to Audit Manager and disables evidence finder first.
|
1260
|
+
# Disabling evidence finder automatically deletes the event data store
|
1261
|
+
# that was created in their account when they enabled evidence finder.
|
1262
|
+
# If this task isn’t completed, the event data store remains in their
|
1263
|
+
# account. In this case, we recommend that the original delegated
|
1264
|
+
# administrator goes to CloudTrail Lake and manually [deletes the event
|
1265
|
+
# data store][1].
|
1266
|
+
#
|
1267
|
+
# This cleanup task is necessary to ensure that you don't end up with
|
1268
|
+
# multiple event data stores. Audit Manager ignores an unused event data
|
1269
|
+
# store after you remove or change a delegated administrator account.
|
1270
|
+
# However, the unused event data store continues to incur storage costs
|
1271
|
+
# from CloudTrail Lake if you don't delete it.
|
1272
|
+
#
|
1273
|
+
# When you deregister a delegated administrator account for Audit
|
1231
1274
|
# Manager, the data for that account isn’t deleted. If you want to
|
1232
1275
|
# delete resource data for a delegated administrator account, you must
|
1233
1276
|
# perform that task separately before you deregister the account.
|
1234
1277
|
# Either, you can do this in the Audit Manager console. Or, you can use
|
1235
1278
|
# one of the delete API operations that are provided by Audit Manager.
|
1236
1279
|
#
|
1237
|
-
#
|
1280
|
+
# To delete your Audit Manager resource data, see the following
|
1238
1281
|
# instructions:
|
1239
1282
|
#
|
1240
|
-
#
|
1283
|
+
# * [DeleteAssessment][2] (see also: [Deleting an assessment][3] in the
|
1241
1284
|
# *Audit Manager User Guide*)
|
1242
1285
|
#
|
1243
|
-
# * [DeleteAssessmentFramework][
|
1244
|
-
# framework][
|
1286
|
+
# * [DeleteAssessmentFramework][4] (see also: [Deleting a custom
|
1287
|
+
# framework][5] in the *Audit Manager User Guide*)
|
1245
1288
|
#
|
1246
|
-
# * [DeleteAssessmentFrameworkShare][
|
1247
|
-
# request][
|
1289
|
+
# * [DeleteAssessmentFrameworkShare][6] (see also: [Deleting a share
|
1290
|
+
# request][7] in the *Audit Manager User Guide*)
|
1248
1291
|
#
|
1249
|
-
# * [DeleteAssessmentReport][
|
1250
|
-
# report][
|
1292
|
+
# * [DeleteAssessmentReport][8] (see also: [Deleting an assessment
|
1293
|
+
# report][9] in the *Audit Manager User Guide*)
|
1251
1294
|
#
|
1252
|
-
# * [DeleteControl][
|
1253
|
-
# *Audit Manager User Guide*)
|
1295
|
+
# * [DeleteControl][10] (see also: [Deleting a custom control][11] in
|
1296
|
+
# the *Audit Manager User Guide*)
|
1254
1297
|
#
|
1255
|
-
#
|
1256
|
-
# evidence
|
1298
|
+
# At this time, Audit Manager doesn't provide an option to delete
|
1299
|
+
# evidence for a specific delegated administrator. Instead, when your
|
1300
|
+
# management account deregisters Audit Manager, we perform a cleanup for
|
1301
|
+
# the current delegated administrator account at the time of
|
1302
|
+
# deregistration.
|
1257
1303
|
#
|
1258
|
-
# </note>
|
1259
1304
|
#
|
1260
1305
|
#
|
1261
|
-
#
|
1262
|
-
# [
|
1263
|
-
# [
|
1264
|
-
# [
|
1265
|
-
# [
|
1266
|
-
# [
|
1267
|
-
# [
|
1268
|
-
# [
|
1269
|
-
# [
|
1270
|
-
# [
|
1271
|
-
# [
|
1306
|
+
# [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-eds-disable-termination.html
|
1307
|
+
# [2]: https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessment.html
|
1308
|
+
# [3]: https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-assessment.html
|
1309
|
+
# [4]: https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFramework.html
|
1310
|
+
# [5]: https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-custom-framework.html
|
1311
|
+
# [6]: https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFrameworkShare.html
|
1312
|
+
# [7]: https://docs.aws.amazon.com/audit-manager/latest/userguide/deleting-shared-framework-requests.html
|
1313
|
+
# [8]: https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentReport.html
|
1314
|
+
# [9]: https://docs.aws.amazon.com/audit-manager/latest/userguide/generate-assessment-report.html#delete-assessment-report-steps
|
1315
|
+
# [10]: https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteControl.html
|
1316
|
+
# [11]: https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-controls.html
|
1272
1317
|
#
|
1273
1318
|
# @option params [String] :admin_account_id
|
1274
1319
|
# The identifier for the administrator account.
|
@@ -1734,6 +1779,7 @@ module Aws::AuditManager
|
|
1734
1779
|
# resp.evidence.resources_included #=> Array
|
1735
1780
|
# resp.evidence.resources_included[0].arn #=> String
|
1736
1781
|
# resp.evidence.resources_included[0].value #=> String
|
1782
|
+
# resp.evidence.resources_included[0].compliance_check #=> String
|
1737
1783
|
# resp.evidence.attributes #=> Hash
|
1738
1784
|
# resp.evidence.attributes["EvidenceAttributeKey"] #=> String
|
1739
1785
|
# resp.evidence.iam_id #=> String
|
@@ -1801,6 +1847,7 @@ module Aws::AuditManager
|
|
1801
1847
|
# resp.evidence[0].resources_included #=> Array
|
1802
1848
|
# resp.evidence[0].resources_included[0].arn #=> String
|
1803
1849
|
# resp.evidence[0].resources_included[0].value #=> String
|
1850
|
+
# resp.evidence[0].resources_included[0].compliance_check #=> String
|
1804
1851
|
# resp.evidence[0].attributes #=> Hash
|
1805
1852
|
# resp.evidence[0].attributes["EvidenceAttributeKey"] #=> String
|
1806
1853
|
# resp.evidence[0].iam_id #=> String
|
@@ -1936,7 +1983,7 @@ module Aws::AuditManager
|
|
1936
1983
|
end
|
1937
1984
|
|
1938
1985
|
# Returns a list of evidence folders that are associated with a
|
1939
|
-
# specified control
|
1986
|
+
# specified control in an Audit Manager assessment.
|
1940
1987
|
#
|
1941
1988
|
# @option params [required, String] :assessment_id
|
1942
1989
|
# The identifier for the assessment.
|
@@ -2084,8 +2131,15 @@ module Aws::AuditManager
|
|
2084
2131
|
req.send_request(options)
|
2085
2132
|
end
|
2086
2133
|
|
2087
|
-
# Returns a list of the
|
2088
|
-
# assessment.
|
2134
|
+
# Returns a list of all of the Amazon Web Services that you can choose
|
2135
|
+
# to include in your assessment. When you [create an assessment][1],
|
2136
|
+
# specify which of these services you want to include to narrow the
|
2137
|
+
# assessment's [scope][2].
|
2138
|
+
#
|
2139
|
+
#
|
2140
|
+
#
|
2141
|
+
# [1]: https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_CreateAssessment.html
|
2142
|
+
# [2]: https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Scope.html
|
2089
2143
|
#
|
2090
2144
|
# @return [Types::GetServicesInScopeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2091
2145
|
#
|
@@ -2111,7 +2165,7 @@ module Aws::AuditManager
|
|
2111
2165
|
# Returns the settings for the specified Amazon Web Services account.
|
2112
2166
|
#
|
2113
2167
|
# @option params [required, String] :attribute
|
2114
|
-
# The list of
|
2168
|
+
# The list of setting attribute enum values.
|
2115
2169
|
#
|
2116
2170
|
# @return [Types::GetSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2117
2171
|
#
|
@@ -2120,7 +2174,7 @@ module Aws::AuditManager
|
|
2120
2174
|
# @example Request syntax with placeholder values
|
2121
2175
|
#
|
2122
2176
|
# resp = client.get_settings({
|
2123
|
-
# attribute: "ALL", # required, accepts ALL, IS_AWS_ORG_ENABLED, SNS_TOPIC, DEFAULT_ASSESSMENT_REPORTS_DESTINATION, DEFAULT_PROCESS_OWNERS
|
2177
|
+
# attribute: "ALL", # required, accepts ALL, IS_AWS_ORG_ENABLED, SNS_TOPIC, DEFAULT_ASSESSMENT_REPORTS_DESTINATION, DEFAULT_PROCESS_OWNERS, EVIDENCE_FINDER_ENABLEMENT, DEREGISTRATION_POLICY
|
2124
2178
|
# })
|
2125
2179
|
#
|
2126
2180
|
# @example Response structure
|
@@ -2133,6 +2187,11 @@ module Aws::AuditManager
|
|
2133
2187
|
# resp.settings.default_process_owners[0].role_type #=> String, one of "PROCESS_OWNER", "RESOURCE_OWNER"
|
2134
2188
|
# resp.settings.default_process_owners[0].role_arn #=> String
|
2135
2189
|
# resp.settings.kms_key #=> String
|
2190
|
+
# resp.settings.evidence_finder_enablement.event_data_store_arn #=> String
|
2191
|
+
# resp.settings.evidence_finder_enablement.enablement_status #=> String, one of "ENABLED", "DISABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS"
|
2192
|
+
# resp.settings.evidence_finder_enablement.backfill_status #=> String, one of "NOT_STARTED", "IN_PROGRESS", "COMPLETED"
|
2193
|
+
# resp.settings.evidence_finder_enablement.error #=> String
|
2194
|
+
# resp.settings.deregistration_policy.delete_resources #=> String, one of "ALL", "DEFAULT"
|
2136
2195
|
#
|
2137
2196
|
# @see http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetSettings AWS API Documentation
|
2138
2197
|
#
|
@@ -3603,6 +3662,26 @@ module Aws::AuditManager
|
|
3603
3662
|
# @option params [String] :kms_key
|
3604
3663
|
# The KMS key details.
|
3605
3664
|
#
|
3665
|
+
# @option params [Boolean] :evidence_finder_enabled
|
3666
|
+
# Specifies whether the evidence finder feature is enabled. Change this
|
3667
|
+
# attribute to enable or disable evidence finder.
|
3668
|
+
#
|
3669
|
+
# When you use this attribute to disable evidence finder, Audit Manager
|
3670
|
+
# deletes the event data store that’s used to query your evidence data.
|
3671
|
+
# As a result, you can’t re-enable evidence finder and use the feature
|
3672
|
+
# again. Your only alternative is to [deregister][1] and then
|
3673
|
+
# [re-register][2] Audit Manager.
|
3674
|
+
#
|
3675
|
+
#
|
3676
|
+
#
|
3677
|
+
# [1]: https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeregisterAccount.html
|
3678
|
+
# [2]: https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_RegisterAccount.html
|
3679
|
+
#
|
3680
|
+
# @option params [Types::DeregistrationPolicy] :deregistration_policy
|
3681
|
+
# The deregistration policy for your Audit Manager data. You can use
|
3682
|
+
# this attribute to determine how your data is handled when you
|
3683
|
+
# deregister Audit Manager.
|
3684
|
+
#
|
3606
3685
|
# @return [Types::UpdateSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3607
3686
|
#
|
3608
3687
|
# * {Types::UpdateSettingsResponse#settings #settings} => Types::Settings
|
@@ -3622,6 +3701,10 @@ module Aws::AuditManager
|
|
3622
3701
|
# },
|
3623
3702
|
# ],
|
3624
3703
|
# kms_key: "KmsKey",
|
3704
|
+
# evidence_finder_enabled: false,
|
3705
|
+
# deregistration_policy: {
|
3706
|
+
# delete_resources: "ALL", # accepts ALL, DEFAULT
|
3707
|
+
# },
|
3625
3708
|
# })
|
3626
3709
|
#
|
3627
3710
|
# @example Response structure
|
@@ -3634,6 +3717,11 @@ module Aws::AuditManager
|
|
3634
3717
|
# resp.settings.default_process_owners[0].role_type #=> String, one of "PROCESS_OWNER", "RESOURCE_OWNER"
|
3635
3718
|
# resp.settings.default_process_owners[0].role_arn #=> String
|
3636
3719
|
# resp.settings.kms_key #=> String
|
3720
|
+
# resp.settings.evidence_finder_enablement.event_data_store_arn #=> String
|
3721
|
+
# resp.settings.evidence_finder_enablement.enablement_status #=> String, one of "ENABLED", "DISABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS"
|
3722
|
+
# resp.settings.evidence_finder_enablement.backfill_status #=> String, one of "NOT_STARTED", "IN_PROGRESS", "COMPLETED"
|
3723
|
+
# resp.settings.evidence_finder_enablement.error #=> String
|
3724
|
+
# resp.settings.deregistration_policy.delete_resources #=> String, one of "ALL", "DEFAULT"
|
3637
3725
|
#
|
3638
3726
|
# @see http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateSettings AWS API Documentation
|
3639
3727
|
#
|
@@ -3695,7 +3783,7 @@ module Aws::AuditManager
|
|
3695
3783
|
params: params,
|
3696
3784
|
config: config)
|
3697
3785
|
context[:gem_name] = 'aws-sdk-auditmanager'
|
3698
|
-
context[:gem_version] = '1.
|
3786
|
+
context[:gem_version] = '1.29.0'
|
3699
3787
|
Seahorse::Client::Request.new(handlers, context)
|
3700
3788
|
end
|
3701
3789
|
|
@@ -75,6 +75,7 @@ module Aws::AuditManager
|
|
75
75
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
76
76
|
ChangeLog = Shapes::StructureShape.new(name: 'ChangeLog')
|
77
77
|
ChangeLogs = Shapes::ListShape.new(name: 'ChangeLogs')
|
78
|
+
CloudTrailArn = Shapes::StringShape.new(name: 'CloudTrailArn')
|
78
79
|
ComplianceType = Shapes::StringShape.new(name: 'ComplianceType')
|
79
80
|
Control = Shapes::StructureShape.new(name: 'Control')
|
80
81
|
ControlComment = Shapes::StructureShape.new(name: 'ControlComment')
|
@@ -138,10 +139,12 @@ module Aws::AuditManager
|
|
138
139
|
DeleteAssessmentResponse = Shapes::StructureShape.new(name: 'DeleteAssessmentResponse')
|
139
140
|
DeleteControlRequest = Shapes::StructureShape.new(name: 'DeleteControlRequest')
|
140
141
|
DeleteControlResponse = Shapes::StructureShape.new(name: 'DeleteControlResponse')
|
142
|
+
DeleteResources = Shapes::StringShape.new(name: 'DeleteResources')
|
141
143
|
DeregisterAccountRequest = Shapes::StructureShape.new(name: 'DeregisterAccountRequest')
|
142
144
|
DeregisterAccountResponse = Shapes::StructureShape.new(name: 'DeregisterAccountResponse')
|
143
145
|
DeregisterOrganizationAdminAccountRequest = Shapes::StructureShape.new(name: 'DeregisterOrganizationAdminAccountRequest')
|
144
146
|
DeregisterOrganizationAdminAccountResponse = Shapes::StructureShape.new(name: 'DeregisterOrganizationAdminAccountResponse')
|
147
|
+
DeregistrationPolicy = Shapes::StructureShape.new(name: 'DeregistrationPolicy')
|
145
148
|
DisassociateAssessmentReportEvidenceFolderRequest = Shapes::StructureShape.new(name: 'DisassociateAssessmentReportEvidenceFolderRequest')
|
146
149
|
DisassociateAssessmentReportEvidenceFolderResponse = Shapes::StructureShape.new(name: 'DisassociateAssessmentReportEvidenceFolderResponse')
|
147
150
|
EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
|
@@ -152,6 +155,9 @@ module Aws::AuditManager
|
|
152
155
|
EvidenceAttributeKey = Shapes::StringShape.new(name: 'EvidenceAttributeKey')
|
153
156
|
EvidenceAttributeValue = Shapes::StringShape.new(name: 'EvidenceAttributeValue')
|
154
157
|
EvidenceAttributes = Shapes::MapShape.new(name: 'EvidenceAttributes')
|
158
|
+
EvidenceFinderBackfillStatus = Shapes::StringShape.new(name: 'EvidenceFinderBackfillStatus')
|
159
|
+
EvidenceFinderEnablement = Shapes::StructureShape.new(name: 'EvidenceFinderEnablement')
|
160
|
+
EvidenceFinderEnablementStatus = Shapes::StringShape.new(name: 'EvidenceFinderEnablementStatus')
|
155
161
|
EvidenceIds = Shapes::ListShape.new(name: 'EvidenceIds')
|
156
162
|
EvidenceInsights = Shapes::StructureShape.new(name: 'EvidenceInsights')
|
157
163
|
EvidenceList = Shapes::ListShape.new(name: 'EvidenceList')
|
@@ -242,6 +248,7 @@ module Aws::AuditManager
|
|
242
248
|
Notifications = Shapes::ListShape.new(name: 'Notifications')
|
243
249
|
NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
|
244
250
|
ObjectTypeEnum = Shapes::StringShape.new(name: 'ObjectTypeEnum')
|
251
|
+
QueryStatement = Shapes::StringShape.new(name: 'QueryStatement')
|
245
252
|
Region = Shapes::StringShape.new(name: 'Region')
|
246
253
|
RegisterAccountRequest = Shapes::StructureShape.new(name: 'RegisterAccountRequest')
|
247
254
|
RegisterAccountResponse = Shapes::StructureShape.new(name: 'RegisterAccountResponse')
|
@@ -668,6 +675,7 @@ module Aws::AuditManager
|
|
668
675
|
CreateAssessmentReportRequest.add_member(:name, Shapes::ShapeRef.new(shape: AssessmentReportName, required: true, location_name: "name"))
|
669
676
|
CreateAssessmentReportRequest.add_member(:description, Shapes::ShapeRef.new(shape: AssessmentReportDescription, location_name: "description"))
|
670
677
|
CreateAssessmentReportRequest.add_member(:assessment_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "assessmentId"))
|
678
|
+
CreateAssessmentReportRequest.add_member(:query_statement, Shapes::ShapeRef.new(shape: QueryStatement, location_name: "queryStatement"))
|
671
679
|
CreateAssessmentReportRequest.struct_class = Types::CreateAssessmentReportRequest
|
672
680
|
|
673
681
|
CreateAssessmentReportResponse.add_member(:assessment_report, Shapes::ShapeRef.new(shape: AssessmentReport, location_name: "assessmentReport"))
|
@@ -781,6 +789,9 @@ module Aws::AuditManager
|
|
781
789
|
|
782
790
|
DeregisterOrganizationAdminAccountResponse.struct_class = Types::DeregisterOrganizationAdminAccountResponse
|
783
791
|
|
792
|
+
DeregistrationPolicy.add_member(:delete_resources, Shapes::ShapeRef.new(shape: DeleteResources, location_name: "deleteResources"))
|
793
|
+
DeregistrationPolicy.struct_class = Types::DeregistrationPolicy
|
794
|
+
|
784
795
|
DisassociateAssessmentReportEvidenceFolderRequest.add_member(:assessment_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "assessmentId"))
|
785
796
|
DisassociateAssessmentReportEvidenceFolderRequest.add_member(:evidence_folder_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "evidenceFolderId"))
|
786
797
|
DisassociateAssessmentReportEvidenceFolderRequest.struct_class = Types::DisassociateAssessmentReportEvidenceFolderRequest
|
@@ -807,6 +818,12 @@ module Aws::AuditManager
|
|
807
818
|
EvidenceAttributes.key = Shapes::ShapeRef.new(shape: EvidenceAttributeKey)
|
808
819
|
EvidenceAttributes.value = Shapes::ShapeRef.new(shape: EvidenceAttributeValue)
|
809
820
|
|
821
|
+
EvidenceFinderEnablement.add_member(:event_data_store_arn, Shapes::ShapeRef.new(shape: CloudTrailArn, location_name: "eventDataStoreArn"))
|
822
|
+
EvidenceFinderEnablement.add_member(:enablement_status, Shapes::ShapeRef.new(shape: EvidenceFinderEnablementStatus, location_name: "enablementStatus"))
|
823
|
+
EvidenceFinderEnablement.add_member(:backfill_status, Shapes::ShapeRef.new(shape: EvidenceFinderBackfillStatus, location_name: "backfillStatus"))
|
824
|
+
EvidenceFinderEnablement.add_member(:error, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "error"))
|
825
|
+
EvidenceFinderEnablement.struct_class = Types::EvidenceFinderEnablement
|
826
|
+
|
810
827
|
EvidenceIds.member = Shapes::ShapeRef.new(shape: UUID)
|
811
828
|
|
812
829
|
EvidenceInsights.add_member(:noncompliant_evidence_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "noncompliantEvidenceCount"))
|
@@ -1128,6 +1145,7 @@ module Aws::AuditManager
|
|
1128
1145
|
|
1129
1146
|
Resource.add_member(:arn, Shapes::ShapeRef.new(shape: GenericArn, location_name: "arn"))
|
1130
1147
|
Resource.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
1148
|
+
Resource.add_member(:compliance_check, Shapes::ShapeRef.new(shape: String, location_name: "complianceCheck"))
|
1131
1149
|
Resource.struct_class = Types::Resource
|
1132
1150
|
|
1133
1151
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
@@ -1163,6 +1181,8 @@ module Aws::AuditManager
|
|
1163
1181
|
Settings.add_member(:default_assessment_reports_destination, Shapes::ShapeRef.new(shape: AssessmentReportsDestination, location_name: "defaultAssessmentReportsDestination"))
|
1164
1182
|
Settings.add_member(:default_process_owners, Shapes::ShapeRef.new(shape: Roles, location_name: "defaultProcessOwners"))
|
1165
1183
|
Settings.add_member(:kms_key, Shapes::ShapeRef.new(shape: KmsKey, location_name: "kmsKey"))
|
1184
|
+
Settings.add_member(:evidence_finder_enablement, Shapes::ShapeRef.new(shape: EvidenceFinderEnablement, location_name: "evidenceFinderEnablement"))
|
1185
|
+
Settings.add_member(:deregistration_policy, Shapes::ShapeRef.new(shape: DeregistrationPolicy, location_name: "deregistrationPolicy"))
|
1166
1186
|
Settings.struct_class = Types::Settings
|
1167
1187
|
|
1168
1188
|
SourceKeyword.add_member(:keyword_input_type, Shapes::ShapeRef.new(shape: KeywordInputType, location_name: "keywordInputType"))
|
@@ -1280,6 +1300,8 @@ module Aws::AuditManager
|
|
1280
1300
|
UpdateSettingsRequest.add_member(:default_assessment_reports_destination, Shapes::ShapeRef.new(shape: AssessmentReportsDestination, location_name: "defaultAssessmentReportsDestination"))
|
1281
1301
|
UpdateSettingsRequest.add_member(:default_process_owners, Shapes::ShapeRef.new(shape: Roles, location_name: "defaultProcessOwners"))
|
1282
1302
|
UpdateSettingsRequest.add_member(:kms_key, Shapes::ShapeRef.new(shape: KmsKey, location_name: "kmsKey"))
|
1303
|
+
UpdateSettingsRequest.add_member(:evidence_finder_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "evidenceFinderEnabled"))
|
1304
|
+
UpdateSettingsRequest.add_member(:deregistration_policy, Shapes::ShapeRef.new(shape: DeregistrationPolicy, location_name: "deregistrationPolicy"))
|
1283
1305
|
UpdateSettingsRequest.struct_class = Types::UpdateSettingsRequest
|
1284
1306
|
|
1285
1307
|
UpdateSettingsResponse.add_member(:settings, Shapes::ShapeRef.new(shape: Settings, location_name: "settings"))
|
@@ -50,6 +50,9 @@ module Aws::AuditManager
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|