aws-sdk-macie2 1.61.0 → 1.62.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-macie2/client.rb +33 -8
- data/lib/aws-sdk-macie2/client_api.rb +16 -0
- data/lib/aws-sdk-macie2/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-macie2/types.rb +116 -29
- data/lib/aws-sdk-macie2.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: 0a334305c82ec04a177ce329a1bec42f25eba3959170a07ab03d401144631372
|
4
|
+
data.tar.gz: 65f500c1f0cf2a3159f4698711c4e78d6c1db12f6358f355527c65cef30719bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0590156ad925a8bf515aee4989639b21049af2bc6c048c27b9833e0ea7cd08de8e463de2a25223bb4aa3e84e0edfae5ea0baf701188157ed63574e05b88f84e0'
|
7
|
+
data.tar.gz: efabc8d88f99b03f82181211e9065494e6770404cdb6ee63b816815af40169df4613d7c39e03e1c7b964fecdb454519ca0ed22ff689b11ba095e5799da0f32b6
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.62.0 (2023-11-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for configuring Macie to assume an IAM role when retrieving sample occurrences of sensitive data reported by findings.
|
8
|
+
|
4
9
|
1.61.0 (2023-09-27)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.62.0
|
@@ -2294,11 +2294,15 @@ module Aws::Macie2
|
|
2294
2294
|
# @return [Types::GetRevealConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2295
2295
|
#
|
2296
2296
|
# * {Types::GetRevealConfigurationResponse#configuration #configuration} => Types::RevealConfiguration
|
2297
|
+
# * {Types::GetRevealConfigurationResponse#retrieval_configuration #retrieval_configuration} => Types::RetrievalConfiguration
|
2297
2298
|
#
|
2298
2299
|
# @example Response structure
|
2299
2300
|
#
|
2300
2301
|
# resp.configuration.kms_key_id #=> String
|
2301
2302
|
# resp.configuration.status #=> String, one of "ENABLED", "DISABLED"
|
2303
|
+
# resp.retrieval_configuration.external_id #=> String
|
2304
|
+
# resp.retrieval_configuration.retrieval_mode #=> String, one of "CALLER_CREDENTIALS", "ASSUME_ROLE"
|
2305
|
+
# resp.retrieval_configuration.role_name #=> String
|
2302
2306
|
#
|
2303
2307
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetRevealConfiguration AWS API Documentation
|
2304
2308
|
#
|
@@ -2367,7 +2371,7 @@ module Aws::Macie2
|
|
2367
2371
|
#
|
2368
2372
|
# resp.code #=> String, one of "AVAILABLE", "UNAVAILABLE"
|
2369
2373
|
# resp.reasons #=> Array
|
2370
|
-
# resp.reasons[0] #=> String, one of "OBJECT_EXCEEDS_SIZE_QUOTA", "UNSUPPORTED_OBJECT_TYPE", "UNSUPPORTED_FINDING_TYPE", "INVALID_CLASSIFICATION_RESULT", "OBJECT_UNAVAILABLE"
|
2374
|
+
# resp.reasons[0] #=> String, one of "OBJECT_EXCEEDS_SIZE_QUOTA", "UNSUPPORTED_OBJECT_TYPE", "UNSUPPORTED_FINDING_TYPE", "INVALID_CLASSIFICATION_RESULT", "OBJECT_UNAVAILABLE", "ACCOUNT_NOT_IN_ORGANIZATION", "MISSING_GET_MEMBER_PERMISSION", "ROLE_TOO_PERMISSIVE", "MEMBER_ROLE_TOO_PERMISSIVE", "INVALID_RESULT_SIGNATURE", "RESULT_NOT_SIGNED"
|
2371
2375
|
#
|
2372
2376
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetSensitiveDataOccurrencesAvailability AWS API Documentation
|
2373
2377
|
#
|
@@ -3758,16 +3762,30 @@ module Aws::Macie2
|
|
3758
3762
|
# occurrences of sensitive data reported by findings.
|
3759
3763
|
#
|
3760
3764
|
# @option params [required, Types::RevealConfiguration] :configuration
|
3761
|
-
# Specifies the configuration
|
3762
|
-
# sensitive data reported by findings, and the
|
3763
|
-
#
|
3764
|
-
# configuration for the first time, your
|
3765
|
-
#
|
3766
|
-
#
|
3765
|
+
# Specifies the status of the Amazon Macie configuration for retrieving
|
3766
|
+
# occurrences of sensitive data reported by findings, and the Key
|
3767
|
+
# Management Service (KMS) key to use to encrypt sensitive data that's
|
3768
|
+
# retrieved. When you enable the configuration for the first time, your
|
3769
|
+
# request must specify an KMS key. Otherwise, an error occurs.
|
3770
|
+
#
|
3771
|
+
# @option params [Types::UpdateRetrievalConfiguration] :retrieval_configuration
|
3772
|
+
# Specifies the access method and settings to use when retrieving
|
3773
|
+
# occurrences of sensitive data reported by findings. If your request
|
3774
|
+
# specifies an Identity and Access Management (IAM) role to assume when
|
3775
|
+
# retrieving the sensitive data, Amazon Macie verifies that the role
|
3776
|
+
# exists and the attached policies are configured correctly. If there's
|
3777
|
+
# an issue, Macie returns an error. For information about addressing the
|
3778
|
+
# issue, see [Retrieving sensitive data samples with findings][1] in the
|
3779
|
+
# *Amazon Macie User Guide*.
|
3780
|
+
#
|
3781
|
+
#
|
3782
|
+
#
|
3783
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/findings-retrieve-sd.html
|
3767
3784
|
#
|
3768
3785
|
# @return [Types::UpdateRevealConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3769
3786
|
#
|
3770
3787
|
# * {Types::UpdateRevealConfigurationResponse#configuration #configuration} => Types::RevealConfiguration
|
3788
|
+
# * {Types::UpdateRevealConfigurationResponse#retrieval_configuration #retrieval_configuration} => Types::RetrievalConfiguration
|
3771
3789
|
#
|
3772
3790
|
# @example Request syntax with placeholder values
|
3773
3791
|
#
|
@@ -3776,12 +3794,19 @@ module Aws::Macie2
|
|
3776
3794
|
# kms_key_id: "__stringMin1Max2048",
|
3777
3795
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
3778
3796
|
# },
|
3797
|
+
# retrieval_configuration: {
|
3798
|
+
# retrieval_mode: "CALLER_CREDENTIALS", # required, accepts CALLER_CREDENTIALS, ASSUME_ROLE
|
3799
|
+
# role_name: "__stringMin1Max64PatternW",
|
3800
|
+
# },
|
3779
3801
|
# })
|
3780
3802
|
#
|
3781
3803
|
# @example Response structure
|
3782
3804
|
#
|
3783
3805
|
# resp.configuration.kms_key_id #=> String
|
3784
3806
|
# resp.configuration.status #=> String, one of "ENABLED", "DISABLED"
|
3807
|
+
# resp.retrieval_configuration.external_id #=> String
|
3808
|
+
# resp.retrieval_configuration.retrieval_mode #=> String, one of "CALLER_CREDENTIALS", "ASSUME_ROLE"
|
3809
|
+
# resp.retrieval_configuration.role_name #=> String
|
3785
3810
|
#
|
3786
3811
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateRevealConfiguration AWS API Documentation
|
3787
3812
|
#
|
@@ -3862,7 +3887,7 @@ module Aws::Macie2
|
|
3862
3887
|
params: params,
|
3863
3888
|
config: config)
|
3864
3889
|
context[:gem_name] = 'aws-sdk-macie2'
|
3865
|
-
context[:gem_version] = '1.
|
3890
|
+
context[:gem_version] = '1.62.0'
|
3866
3891
|
Seahorse::Client::Request.new(handlers, context)
|
3867
3892
|
end
|
3868
3893
|
|
@@ -275,6 +275,8 @@ module Aws::Macie2
|
|
275
275
|
ResourceProfileArtifact = Shapes::StructureShape.new(name: 'ResourceProfileArtifact')
|
276
276
|
ResourceStatistics = Shapes::StructureShape.new(name: 'ResourceStatistics')
|
277
277
|
ResourcesAffected = Shapes::StructureShape.new(name: 'ResourcesAffected')
|
278
|
+
RetrievalConfiguration = Shapes::StructureShape.new(name: 'RetrievalConfiguration')
|
279
|
+
RetrievalMode = Shapes::StringShape.new(name: 'RetrievalMode')
|
278
280
|
RevealConfiguration = Shapes::StructureShape.new(name: 'RevealConfiguration')
|
279
281
|
RevealRequestStatus = Shapes::StringShape.new(name: 'RevealRequestStatus')
|
280
282
|
RevealStatus = Shapes::StringShape.new(name: 'RevealStatus')
|
@@ -373,6 +375,7 @@ module Aws::Macie2
|
|
373
375
|
UpdateResourceProfileDetectionsResponse = Shapes::StructureShape.new(name: 'UpdateResourceProfileDetectionsResponse')
|
374
376
|
UpdateResourceProfileRequest = Shapes::StructureShape.new(name: 'UpdateResourceProfileRequest')
|
375
377
|
UpdateResourceProfileResponse = Shapes::StructureShape.new(name: 'UpdateResourceProfileResponse')
|
378
|
+
UpdateRetrievalConfiguration = Shapes::StructureShape.new(name: 'UpdateRetrievalConfiguration')
|
376
379
|
UpdateRevealConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateRevealConfigurationRequest')
|
377
380
|
UpdateRevealConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateRevealConfigurationResponse')
|
378
381
|
UpdateSensitivityInspectionTemplateRequest = Shapes::StructureShape.new(name: 'UpdateSensitivityInspectionTemplateRequest')
|
@@ -439,6 +442,7 @@ module Aws::Macie2
|
|
439
442
|
__stringMin1Max128Pattern = Shapes::StringShape.new(name: '__stringMin1Max128Pattern')
|
440
443
|
__stringMin1Max2048 = Shapes::StringShape.new(name: '__stringMin1Max2048')
|
441
444
|
__stringMin1Max512PatternSS = Shapes::StringShape.new(name: '__stringMin1Max512PatternSS')
|
445
|
+
__stringMin1Max64PatternW = Shapes::StringShape.new(name: '__stringMin1Max64PatternW')
|
442
446
|
__stringMin22Max22PatternAZ0922 = Shapes::StringShape.new(name: '__stringMin22Max22PatternAZ0922')
|
443
447
|
__stringMin3Max255PatternAZaZ093255 = Shapes::StringShape.new(name: '__stringMin3Max255PatternAZaZ093255')
|
444
448
|
__stringMin71Max89PatternArnAwsAwsCnAwsUsGovMacie2AZ19920D12AllowListAZ0922 = Shapes::StringShape.new(name: '__stringMin71Max89PatternArnAwsAwsCnAwsUsGovMacie2AZ19920D12AllowListAZ0922')
|
@@ -1115,6 +1119,7 @@ module Aws::Macie2
|
|
1115
1119
|
GetRevealConfigurationRequest.struct_class = Types::GetRevealConfigurationRequest
|
1116
1120
|
|
1117
1121
|
GetRevealConfigurationResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: RevealConfiguration, location_name: "configuration"))
|
1122
|
+
GetRevealConfigurationResponse.add_member(:retrieval_configuration, Shapes::ShapeRef.new(shape: RetrievalConfiguration, location_name: "retrievalConfiguration"))
|
1118
1123
|
GetRevealConfigurationResponse.struct_class = Types::GetRevealConfigurationResponse
|
1119
1124
|
|
1120
1125
|
GetSensitiveDataOccurrencesAvailabilityRequest.add_member(:finding_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "findingId"))
|
@@ -1491,6 +1496,11 @@ module Aws::Macie2
|
|
1491
1496
|
ResourcesAffected.add_member(:s3_object, Shapes::ShapeRef.new(shape: S3Object, location_name: "s3Object"))
|
1492
1497
|
ResourcesAffected.struct_class = Types::ResourcesAffected
|
1493
1498
|
|
1499
|
+
RetrievalConfiguration.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "externalId"))
|
1500
|
+
RetrievalConfiguration.add_member(:retrieval_mode, Shapes::ShapeRef.new(shape: RetrievalMode, required: true, location_name: "retrievalMode"))
|
1501
|
+
RetrievalConfiguration.add_member(:role_name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternW, location_name: "roleName"))
|
1502
|
+
RetrievalConfiguration.struct_class = Types::RetrievalConfiguration
|
1503
|
+
|
1494
1504
|
RevealConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: __stringMin1Max2048, location_name: "kmsKeyId"))
|
1495
1505
|
RevealConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: RevealStatus, required: true, location_name: "status"))
|
1496
1506
|
RevealConfiguration.struct_class = Types::RevealConfiguration
|
@@ -1814,10 +1824,16 @@ module Aws::Macie2
|
|
1814
1824
|
|
1815
1825
|
UpdateResourceProfileResponse.struct_class = Types::UpdateResourceProfileResponse
|
1816
1826
|
|
1827
|
+
UpdateRetrievalConfiguration.add_member(:retrieval_mode, Shapes::ShapeRef.new(shape: RetrievalMode, required: true, location_name: "retrievalMode"))
|
1828
|
+
UpdateRetrievalConfiguration.add_member(:role_name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternW, location_name: "roleName"))
|
1829
|
+
UpdateRetrievalConfiguration.struct_class = Types::UpdateRetrievalConfiguration
|
1830
|
+
|
1817
1831
|
UpdateRevealConfigurationRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: RevealConfiguration, required: true, location_name: "configuration"))
|
1832
|
+
UpdateRevealConfigurationRequest.add_member(:retrieval_configuration, Shapes::ShapeRef.new(shape: UpdateRetrievalConfiguration, location_name: "retrievalConfiguration"))
|
1818
1833
|
UpdateRevealConfigurationRequest.struct_class = Types::UpdateRevealConfigurationRequest
|
1819
1834
|
|
1820
1835
|
UpdateRevealConfigurationResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: RevealConfiguration, location_name: "configuration"))
|
1836
|
+
UpdateRevealConfigurationResponse.add_member(:retrieval_configuration, Shapes::ShapeRef.new(shape: RetrievalConfiguration, location_name: "retrievalConfiguration"))
|
1821
1837
|
UpdateRevealConfigurationResponse.struct_class = Types::UpdateRevealConfigurationResponse
|
1822
1838
|
|
1823
1839
|
UpdateSensitivityInspectionTemplateRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
@@ -32,7 +32,7 @@ module Aws::Macie2
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://macie2-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
data/lib/aws-sdk-macie2/types.rb
CHANGED
@@ -3248,18 +3248,24 @@ module Aws::Macie2
|
|
3248
3248
|
# the configuration for an Amazon Macie account.
|
3249
3249
|
#
|
3250
3250
|
# @!attribute [rw] configuration
|
3251
|
-
# Specifies the
|
3252
|
-
# sensitive data reported by findings, and
|
3253
|
-
#
|
3254
|
-
#
|
3255
|
-
#
|
3256
|
-
#
|
3251
|
+
# Specifies the status of the Amazon Macie configuration for
|
3252
|
+
# retrieving occurrences of sensitive data reported by findings, and
|
3253
|
+
# the Key Management Service (KMS) key to use to encrypt sensitive
|
3254
|
+
# data that's retrieved. When you enable the configuration for the
|
3255
|
+
# first time, your request must specify an KMS key. Otherwise, an
|
3256
|
+
# error occurs.
|
3257
3257
|
# @return [Types::RevealConfiguration]
|
3258
3258
|
#
|
3259
|
+
# @!attribute [rw] retrieval_configuration
|
3260
|
+
# Provides information about the access method and settings that are
|
3261
|
+
# used to retrieve occurrences of sensitive data reported by findings.
|
3262
|
+
# @return [Types::RetrievalConfiguration]
|
3263
|
+
#
|
3259
3264
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetRevealConfigurationResponse AWS API Documentation
|
3260
3265
|
#
|
3261
3266
|
class GetRevealConfigurationResponse < Struct.new(
|
3262
|
-
:configuration
|
3267
|
+
:configuration,
|
3268
|
+
:retrieval_configuration)
|
3263
3269
|
SENSITIVE = []
|
3264
3270
|
include Aws::Structure
|
3265
3271
|
end
|
@@ -5071,12 +5077,35 @@ module Aws::Macie2
|
|
5071
5077
|
include Aws::Structure
|
5072
5078
|
end
|
5073
5079
|
|
5074
|
-
#
|
5075
|
-
# sensitive data reported by findings
|
5076
|
-
#
|
5077
|
-
#
|
5078
|
-
#
|
5079
|
-
#
|
5080
|
+
# Provides information about the access method and settings that are
|
5081
|
+
# used to retrieve occurrences of sensitive data reported by findings.
|
5082
|
+
#
|
5083
|
+
# @!attribute [rw] external_id
|
5084
|
+
# @return [String]
|
5085
|
+
#
|
5086
|
+
# @!attribute [rw] retrieval_mode
|
5087
|
+
# The access method to use when retrieving occurrences of sensitive
|
5088
|
+
# data reported by findings. Valid values are:
|
5089
|
+
# @return [String]
|
5090
|
+
#
|
5091
|
+
# @!attribute [rw] role_name
|
5092
|
+
# @return [String]
|
5093
|
+
#
|
5094
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/RetrievalConfiguration AWS API Documentation
|
5095
|
+
#
|
5096
|
+
class RetrievalConfiguration < Struct.new(
|
5097
|
+
:external_id,
|
5098
|
+
:retrieval_mode,
|
5099
|
+
:role_name)
|
5100
|
+
SENSITIVE = []
|
5101
|
+
include Aws::Structure
|
5102
|
+
end
|
5103
|
+
|
5104
|
+
# Specifies the status of the Amazon Macie configuration for retrieving
|
5105
|
+
# occurrences of sensitive data reported by findings, and the Key
|
5106
|
+
# Management Service (KMS) key to use to encrypt sensitive data that's
|
5107
|
+
# retrieved. When you enable the configuration for the first time, your
|
5108
|
+
# request must specify an KMS key. Otherwise, an error occurs.
|
5080
5109
|
#
|
5081
5110
|
# @!attribute [rw] kms_key_id
|
5082
5111
|
# @return [String]
|
@@ -6615,23 +6644,75 @@ module Aws::Macie2
|
|
6615
6644
|
#
|
6616
6645
|
class UpdateResourceProfileResponse < Aws::EmptyStructure; end
|
6617
6646
|
|
6618
|
-
# Specifies the
|
6647
|
+
# Specifies the access method and settings to use when retrieving
|
6648
|
+
# occurrences of sensitive data reported by findings. If your request
|
6649
|
+
# specifies an Identity and Access Management (IAM) role to assume when
|
6650
|
+
# retrieving the sensitive data, Amazon Macie verifies that the role
|
6651
|
+
# exists and the attached policies are configured correctly. If there's
|
6652
|
+
# an issue, Macie returns an error. For information about addressing the
|
6653
|
+
# issue, see [Retrieving sensitive data samples with findings][1] in the
|
6654
|
+
# *Amazon Macie User Guide*.
|
6655
|
+
#
|
6656
|
+
#
|
6657
|
+
#
|
6658
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/findings-retrieve-sd.html
|
6659
|
+
#
|
6660
|
+
# @!attribute [rw] retrieval_mode
|
6661
|
+
# The access method to use when retrieving occurrences of sensitive
|
6662
|
+
# data reported by findings. Valid values are:
|
6663
|
+
# @return [String]
|
6664
|
+
#
|
6665
|
+
# @!attribute [rw] role_name
|
6666
|
+
# @return [String]
|
6667
|
+
#
|
6668
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateRetrievalConfiguration AWS API Documentation
|
6669
|
+
#
|
6670
|
+
class UpdateRetrievalConfiguration < Struct.new(
|
6671
|
+
:retrieval_mode,
|
6672
|
+
:role_name)
|
6673
|
+
SENSITIVE = []
|
6674
|
+
include Aws::Structure
|
6675
|
+
end
|
6676
|
+
|
6677
|
+
# Specifies configuration settings for retrieving occurrences of
|
6619
6678
|
# sensitive data reported by findings, and the status of the
|
6620
|
-
# configuration for an Amazon Macie account.
|
6679
|
+
# configuration for an Amazon Macie account. If you don't specify
|
6680
|
+
# retrievalConfiguration values for an existing configuration, Macie
|
6681
|
+
# sets the access method to CALLER\_CREDENTIALS. If your current access
|
6682
|
+
# method is ASSUME\_ROLE, Macie also deletes the external ID and role
|
6683
|
+
# name currently specified for the configuration. To keep these settings
|
6684
|
+
# for an existing configuration, specify the current
|
6685
|
+
# retrievalConfiguration values in your request.
|
6621
6686
|
#
|
6622
6687
|
# @!attribute [rw] configuration
|
6623
|
-
# Specifies the
|
6624
|
-
# sensitive data reported by findings, and
|
6625
|
-
#
|
6626
|
-
#
|
6627
|
-
#
|
6628
|
-
#
|
6688
|
+
# Specifies the status of the Amazon Macie configuration for
|
6689
|
+
# retrieving occurrences of sensitive data reported by findings, and
|
6690
|
+
# the Key Management Service (KMS) key to use to encrypt sensitive
|
6691
|
+
# data that's retrieved. When you enable the configuration for the
|
6692
|
+
# first time, your request must specify an KMS key. Otherwise, an
|
6693
|
+
# error occurs.
|
6629
6694
|
# @return [Types::RevealConfiguration]
|
6630
6695
|
#
|
6696
|
+
# @!attribute [rw] retrieval_configuration
|
6697
|
+
# Specifies the access method and settings to use when retrieving
|
6698
|
+
# occurrences of sensitive data reported by findings. If your request
|
6699
|
+
# specifies an Identity and Access Management (IAM) role to assume
|
6700
|
+
# when retrieving the sensitive data, Amazon Macie verifies that the
|
6701
|
+
# role exists and the attached policies are configured correctly. If
|
6702
|
+
# there's an issue, Macie returns an error. For information about
|
6703
|
+
# addressing the issue, see [Retrieving sensitive data samples with
|
6704
|
+
# findings][1] in the *Amazon Macie User Guide*.
|
6705
|
+
#
|
6706
|
+
#
|
6707
|
+
#
|
6708
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/findings-retrieve-sd.html
|
6709
|
+
# @return [Types::UpdateRetrievalConfiguration]
|
6710
|
+
#
|
6631
6711
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateRevealConfigurationRequest AWS API Documentation
|
6632
6712
|
#
|
6633
6713
|
class UpdateRevealConfigurationRequest < Struct.new(
|
6634
|
-
:configuration
|
6714
|
+
:configuration,
|
6715
|
+
:retrieval_configuration)
|
6635
6716
|
SENSITIVE = []
|
6636
6717
|
include Aws::Structure
|
6637
6718
|
end
|
@@ -6641,18 +6722,24 @@ module Aws::Macie2
|
|
6641
6722
|
# status of the configuration for an Amazon Macie account.
|
6642
6723
|
#
|
6643
6724
|
# @!attribute [rw] configuration
|
6644
|
-
# Specifies the
|
6645
|
-
# sensitive data reported by findings, and
|
6646
|
-
#
|
6647
|
-
#
|
6648
|
-
#
|
6649
|
-
#
|
6725
|
+
# Specifies the status of the Amazon Macie configuration for
|
6726
|
+
# retrieving occurrences of sensitive data reported by findings, and
|
6727
|
+
# the Key Management Service (KMS) key to use to encrypt sensitive
|
6728
|
+
# data that's retrieved. When you enable the configuration for the
|
6729
|
+
# first time, your request must specify an KMS key. Otherwise, an
|
6730
|
+
# error occurs.
|
6650
6731
|
# @return [Types::RevealConfiguration]
|
6651
6732
|
#
|
6733
|
+
# @!attribute [rw] retrieval_configuration
|
6734
|
+
# Provides information about the access method and settings that are
|
6735
|
+
# used to retrieve occurrences of sensitive data reported by findings.
|
6736
|
+
# @return [Types::RetrievalConfiguration]
|
6737
|
+
#
|
6652
6738
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateRevealConfigurationResponse AWS API Documentation
|
6653
6739
|
#
|
6654
6740
|
class UpdateRevealConfigurationResponse < Struct.new(
|
6655
|
-
:configuration
|
6741
|
+
:configuration,
|
6742
|
+
:retrieval_configuration)
|
6656
6743
|
SENSITIVE = []
|
6657
6744
|
include Aws::Structure
|
6658
6745
|
end
|
data/lib/aws-sdk-macie2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-macie2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.62.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|