aws-sdk-macie2 1.69.0 → 1.70.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 +107 -22
- data/lib/aws-sdk-macie2/client_api.rb +84 -0
- data/lib/aws-sdk-macie2/endpoints.rb +28 -0
- data/lib/aws-sdk-macie2/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-macie2/types.rb +249 -104
- data/lib/aws-sdk-macie2.rb +1 -1
- data/sig/client.rbs +32 -2
- data/sig/types.rbs +46 -1
- metadata +2 -2
data/sig/client.rbs
CHANGED
@@ -94,6 +94,21 @@ module Aws
|
|
94
94
|
) -> _BatchGetCustomDataIdentifiersResponseSuccess
|
95
95
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetCustomDataIdentifiersResponseSuccess
|
96
96
|
|
97
|
+
interface _BatchUpdateAutomatedDiscoveryAccountsResponseSuccess
|
98
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchUpdateAutomatedDiscoveryAccountsResponse]
|
99
|
+
def errors: () -> ::Array[Types::AutomatedDiscoveryAccountUpdateError]
|
100
|
+
end
|
101
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#batch_update_automated_discovery_accounts-instance_method
|
102
|
+
def batch_update_automated_discovery_accounts: (
|
103
|
+
?accounts: Array[
|
104
|
+
{
|
105
|
+
account_id: ::String?,
|
106
|
+
status: ("ENABLED" | "DISABLED")?
|
107
|
+
},
|
108
|
+
]
|
109
|
+
) -> _BatchUpdateAutomatedDiscoveryAccountsResponseSuccess
|
110
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchUpdateAutomatedDiscoveryAccountsResponseSuccess
|
111
|
+
|
97
112
|
interface _CreateAllowListResponseSuccess
|
98
113
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateAllowListResponse]
|
99
114
|
def arn: () -> ::String
|
@@ -541,6 +556,7 @@ module Aws
|
|
541
556
|
|
542
557
|
interface _GetAutomatedDiscoveryConfigurationResponseSuccess
|
543
558
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetAutomatedDiscoveryConfigurationResponse]
|
559
|
+
def auto_enable_organization_members: () -> ("ALL" | "NEW" | "NONE")
|
544
560
|
def classification_scope_id: () -> ::String
|
545
561
|
def disabled_at: () -> ::Time
|
546
562
|
def first_enabled_at: () -> ::Time
|
@@ -840,6 +856,19 @@ module Aws
|
|
840
856
|
) -> _ListAllowListsResponseSuccess
|
841
857
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAllowListsResponseSuccess
|
842
858
|
|
859
|
+
interface _ListAutomatedDiscoveryAccountsResponseSuccess
|
860
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAutomatedDiscoveryAccountsResponse]
|
861
|
+
def items: () -> ::Array[Types::AutomatedDiscoveryAccount]
|
862
|
+
def next_token: () -> ::String
|
863
|
+
end
|
864
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#list_automated_discovery_accounts-instance_method
|
865
|
+
def list_automated_discovery_accounts: (
|
866
|
+
?account_ids: Array[::String],
|
867
|
+
?max_results: ::Integer,
|
868
|
+
?next_token: ::String
|
869
|
+
) -> _ListAutomatedDiscoveryAccountsResponseSuccess
|
870
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAutomatedDiscoveryAccountsResponseSuccess
|
871
|
+
|
843
872
|
interface _ListClassificationJobsResponseSuccess
|
844
873
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListClassificationJobsResponse]
|
845
874
|
def items: () -> ::Array[Types::JobSummary]
|
@@ -1072,7 +1101,7 @@ module Aws
|
|
1072
1101
|
{
|
1073
1102
|
simple_criterion: {
|
1074
1103
|
comparator: ("EQ" | "NE")?,
|
1075
|
-
key: ("ACCOUNT_ID" | "S3_BUCKET_NAME" | "S3_BUCKET_EFFECTIVE_PERMISSION" | "S3_BUCKET_SHARED_ACCESS")?,
|
1104
|
+
key: ("ACCOUNT_ID" | "S3_BUCKET_NAME" | "S3_BUCKET_EFFECTIVE_PERMISSION" | "S3_BUCKET_SHARED_ACCESS" | "AUTOMATED_DISCOVERY_MONITORING_STATUS")?,
|
1076
1105
|
values: Array[::String]?
|
1077
1106
|
}?,
|
1078
1107
|
tag_criterion: {
|
@@ -1092,7 +1121,7 @@ module Aws
|
|
1092
1121
|
{
|
1093
1122
|
simple_criterion: {
|
1094
1123
|
comparator: ("EQ" | "NE")?,
|
1095
|
-
key: ("ACCOUNT_ID" | "S3_BUCKET_NAME" | "S3_BUCKET_EFFECTIVE_PERMISSION" | "S3_BUCKET_SHARED_ACCESS")?,
|
1124
|
+
key: ("ACCOUNT_ID" | "S3_BUCKET_NAME" | "S3_BUCKET_EFFECTIVE_PERMISSION" | "S3_BUCKET_SHARED_ACCESS" | "AUTOMATED_DISCOVERY_MONITORING_STATUS")?,
|
1096
1125
|
values: Array[::String]?
|
1097
1126
|
}?,
|
1098
1127
|
tag_criterion: {
|
@@ -1176,6 +1205,7 @@ module Aws
|
|
1176
1205
|
end
|
1177
1206
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#update_automated_discovery_configuration-instance_method
|
1178
1207
|
def update_automated_discovery_configuration: (
|
1208
|
+
?auto_enable_organization_members: ("ALL" | "NEW" | "NONE"),
|
1179
1209
|
status: ("ENABLED" | "DISABLED")
|
1180
1210
|
) -> _UpdateAutomatedDiscoveryConfigurationResponseSuccess
|
1181
1211
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAutomatedDiscoveryConfigurationResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -85,6 +85,24 @@ module Aws::Macie2
|
|
85
85
|
SENSITIVE: []
|
86
86
|
end
|
87
87
|
|
88
|
+
class AutomatedDiscoveryAccount
|
89
|
+
attr_accessor account_id: ::String
|
90
|
+
attr_accessor status: ("ENABLED" | "DISABLED")
|
91
|
+
SENSITIVE: []
|
92
|
+
end
|
93
|
+
|
94
|
+
class AutomatedDiscoveryAccountUpdate
|
95
|
+
attr_accessor account_id: ::String
|
96
|
+
attr_accessor status: ("ENABLED" | "DISABLED")
|
97
|
+
SENSITIVE: []
|
98
|
+
end
|
99
|
+
|
100
|
+
class AutomatedDiscoveryAccountUpdateError
|
101
|
+
attr_accessor account_id: ::String
|
102
|
+
attr_accessor error_code: ("ACCOUNT_PAUSED" | "ACCOUNT_NOT_FOUND")
|
103
|
+
SENSITIVE: []
|
104
|
+
end
|
105
|
+
|
88
106
|
class AwsAccount
|
89
107
|
attr_accessor account_id: ::String
|
90
108
|
attr_accessor principal_id: ::String
|
@@ -117,6 +135,16 @@ module Aws::Macie2
|
|
117
135
|
SENSITIVE: []
|
118
136
|
end
|
119
137
|
|
138
|
+
class BatchUpdateAutomatedDiscoveryAccountsRequest
|
139
|
+
attr_accessor accounts: ::Array[Types::AutomatedDiscoveryAccountUpdate]
|
140
|
+
SENSITIVE: []
|
141
|
+
end
|
142
|
+
|
143
|
+
class BatchUpdateAutomatedDiscoveryAccountsResponse
|
144
|
+
attr_accessor errors: ::Array[Types::AutomatedDiscoveryAccountUpdateError]
|
145
|
+
SENSITIVE: []
|
146
|
+
end
|
147
|
+
|
120
148
|
class BlockPublicAccess
|
121
149
|
attr_accessor block_public_acls: bool
|
122
150
|
attr_accessor block_public_policy: bool
|
@@ -177,6 +205,7 @@ module Aws::Macie2
|
|
177
205
|
class BucketMetadata
|
178
206
|
attr_accessor account_id: ::String
|
179
207
|
attr_accessor allows_unencrypted_object_uploads: ("TRUE" | "FALSE" | "UNKNOWN")
|
208
|
+
attr_accessor automated_discovery_monitoring_status: ("MONITORED" | "NOT_MONITORED")
|
180
209
|
attr_accessor bucket_arn: ::String
|
181
210
|
attr_accessor bucket_created_at: ::Time
|
182
211
|
attr_accessor bucket_name: ::String
|
@@ -726,6 +755,7 @@ module Aws::Macie2
|
|
726
755
|
end
|
727
756
|
|
728
757
|
class GetAutomatedDiscoveryConfigurationResponse
|
758
|
+
attr_accessor auto_enable_organization_members: ("ALL" | "NEW" | "NONE")
|
729
759
|
attr_accessor classification_scope_id: ::String
|
730
760
|
attr_accessor disabled_at: ::Time
|
731
761
|
attr_accessor first_enabled_at: ::Time
|
@@ -1103,6 +1133,19 @@ module Aws::Macie2
|
|
1103
1133
|
SENSITIVE: []
|
1104
1134
|
end
|
1105
1135
|
|
1136
|
+
class ListAutomatedDiscoveryAccountsRequest
|
1137
|
+
attr_accessor account_ids: ::Array[::String]
|
1138
|
+
attr_accessor max_results: ::Integer
|
1139
|
+
attr_accessor next_token: ::String
|
1140
|
+
SENSITIVE: []
|
1141
|
+
end
|
1142
|
+
|
1143
|
+
class ListAutomatedDiscoveryAccountsResponse
|
1144
|
+
attr_accessor items: ::Array[Types::AutomatedDiscoveryAccount]
|
1145
|
+
attr_accessor next_token: ::String
|
1146
|
+
SENSITIVE: []
|
1147
|
+
end
|
1148
|
+
|
1106
1149
|
class ListClassificationJobsRequest
|
1107
1150
|
attr_accessor filter_criteria: Types::ListJobsFilterCriteria
|
1108
1151
|
attr_accessor max_results: ::Integer
|
@@ -1289,6 +1332,7 @@ module Aws::Macie2
|
|
1289
1332
|
|
1290
1333
|
class MatchingBucket
|
1291
1334
|
attr_accessor account_id: ::String
|
1335
|
+
attr_accessor automated_discovery_monitoring_status: ("MONITORED" | "NOT_MONITORED")
|
1292
1336
|
attr_accessor bucket_name: ::String
|
1293
1337
|
attr_accessor classifiable_object_count: ::Integer
|
1294
1338
|
attr_accessor classifiable_size_in_bytes: ::Integer
|
@@ -1576,7 +1620,7 @@ module Aws::Macie2
|
|
1576
1620
|
|
1577
1621
|
class SearchResourcesSimpleCriterion
|
1578
1622
|
attr_accessor comparator: ("EQ" | "NE")
|
1579
|
-
attr_accessor key: ("ACCOUNT_ID" | "S3_BUCKET_NAME" | "S3_BUCKET_EFFECTIVE_PERMISSION" | "S3_BUCKET_SHARED_ACCESS")
|
1623
|
+
attr_accessor key: ("ACCOUNT_ID" | "S3_BUCKET_NAME" | "S3_BUCKET_EFFECTIVE_PERMISSION" | "S3_BUCKET_SHARED_ACCESS" | "AUTOMATED_DISCOVERY_MONITORING_STATUS")
|
1580
1624
|
attr_accessor values: ::Array[::String]
|
1581
1625
|
SENSITIVE: []
|
1582
1626
|
end
|
@@ -1811,6 +1855,7 @@ module Aws::Macie2
|
|
1811
1855
|
end
|
1812
1856
|
|
1813
1857
|
class UpdateAutomatedDiscoveryConfigurationRequest
|
1858
|
+
attr_accessor auto_enable_organization_members: ("ALL" | "NEW" | "NONE")
|
1814
1859
|
attr_accessor status: ("ENABLED" | "DISABLED")
|
1815
1860
|
SENSITIVE: []
|
1816
1861
|
end
|
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.70.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: 2024-06-
|
11
|
+
date: 2024-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|