aws-sdk-macie2 1.38.0 → 1.42.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d32309ef523d1efaf4fa5382638e3ed7d6d12d88bc99380de9a3c203b58f089
4
- data.tar.gz: 267a6db6b085bc3145021b63ca15b79f307159cd29128cb27a2418e404dc159b
3
+ metadata.gz: 2069c26d63ac1cc4d2571c9f615500e33d79ab6c1cf002edb2ac1ccb7e0d69e0
4
+ data.tar.gz: 288503c1b245a4019c99064f667151ac0918b6edd0d9586002d77f828e1d8ee7
5
5
  SHA512:
6
- metadata.gz: 2f4647efd053bd9d28f35929ac5fd96e129a25a9da9b47cdb669f72dd0042419128bfb432ccc94b98dff0564e8a704a643c48a2f1215e1b6f56c3d56fd85f290
7
- data.tar.gz: 7e4596d77e38f278b4ebd84bbb66b41ed9bbbd462a3552ca5f5e356d855bd00d803e2d26eb823ccaa74700341c705e6c2edc5515ddb78762275e9a2362166b77
6
+ metadata.gz: a06abad6780ca7bc3db942158196ae595d40d3f752205595753b3dbbf05cdb1261d9d19c56a8e62ecc6d8de7bc8ba11e70c1358a1910a38de0308bfbe80fe5da
7
+ data.tar.gz: 16007669d8c097e559eb403e1a6eeacc0ba4a23406dbaf5888da784b92d3f1ea65e573b520a6b67733c5d87bf9ea48dfaea0e09d579e3eec9d48b46ed9b392f7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.42.0 (2022-01-19)
5
+ ------------------
6
+
7
+ * Feature - This release of the Amazon Macie API introduces stricter validation of requests to create custom data identifiers.
8
+
9
+ 1.41.0 (2021-12-21)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.40.0 (2021-11-30)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.39.0 (2021-11-23)
20
+ ------------------
21
+
22
+ * Feature - Documentation updates for Amazon Macie
23
+
4
24
  1.38.0 (2021-11-04)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.38.0
1
+ 1.42.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
30
31
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
32
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
33
 
@@ -73,6 +74,7 @@ module Aws::Macie2
73
74
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
75
  add_plugin(Aws::Plugins::TransferEncoding)
75
76
  add_plugin(Aws::Plugins::HttpChecksum)
77
+ add_plugin(Aws::Plugins::DefaultsMode)
76
78
  add_plugin(Aws::Plugins::SignatureV4)
77
79
  add_plugin(Aws::Plugins::Protocols::RestJson)
78
80
 
@@ -119,7 +121,9 @@ module Aws::Macie2
119
121
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
122
  # are very aggressive. Construct and pass an instance of
121
123
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
124
+ # enable retries and extended timeouts. Instance profile credential
125
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
126
+ # to true.
123
127
  #
124
128
  # @option options [required, String] :region
125
129
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +177,10 @@ module Aws::Macie2
173
177
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
178
  # a clock skew correction and retry requests with skewed client clocks.
175
179
  #
180
+ # @option options [String] :defaults_mode ("legacy")
181
+ # See {Aws::DefaultsModeConfiguration} for a list of the
182
+ # accepted modes and the configuration defaults that are included.
183
+ #
176
184
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
185
  # Set to true to disable SDK automatically adding host prefix
178
186
  # to default service endpoint when available.
@@ -295,7 +303,7 @@ module Aws::Macie2
295
303
  # seconds to wait when opening a HTTP session before raising a
296
304
  # `Timeout::Error`.
297
305
  #
298
- # @option options [Integer] :http_read_timeout (60) The default
306
+ # @option options [Float] :http_read_timeout (60) The default
299
307
  # number of seconds to wait for response data. This value can
300
308
  # safely be set per-request on the session.
301
309
  #
@@ -311,6 +319,9 @@ module Aws::Macie2
311
319
  # disables this behaviour. This value can safely be set per
312
320
  # request on the session.
313
321
  #
322
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
323
+ # in seconds.
324
+ #
314
325
  # @option options [Boolean] :http_wire_trace (false) When `true`,
315
326
  # HTTP debug output will be sent to the `:logger`.
316
327
  #
@@ -599,9 +610,9 @@ module Aws::Macie2
599
610
  #
600
611
  # @option params [Integer] :maximum_match_distance
601
612
  #
602
- # @option params [String] :name
613
+ # @option params [required, String] :name
603
614
  #
604
- # @option params [String] :regex
615
+ # @option params [required, String] :regex
605
616
  #
606
617
  # @option params [Array<Types::SeverityLevel>] :severity_levels
607
618
  # The severity to assign to findings that the custom data identifier
@@ -636,8 +647,8 @@ module Aws::Macie2
636
647
  # ignore_words: ["__string"],
637
648
  # keywords: ["__string"],
638
649
  # maximum_match_distance: 1,
639
- # name: "__string",
640
- # regex: "__string",
650
+ # name: "__string", # required
651
+ # regex: "__string", # required
641
652
  # severity_levels: [
642
653
  # {
643
654
  # occurrences_threshold: 1, # required
@@ -1183,8 +1194,8 @@ module Aws::Macie2
1183
1194
  req.send_request(options)
1184
1195
  end
1185
1196
 
1186
- # Retrieves the Amazon Macie configuration settings for an Amazon Web
1187
- # Services organization.
1197
+ # Retrieves the Amazon Macie configuration settings for an organization
1198
+ # in Organizations.
1188
1199
  #
1189
1200
  # @return [Types::DescribeOrganizationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1190
1201
  #
@@ -1205,8 +1216,8 @@ module Aws::Macie2
1205
1216
  req.send_request(options)
1206
1217
  end
1207
1218
 
1208
- # Disables an Amazon Macie account and deletes Macie resources for the
1209
- # account.
1219
+ # Disables Amazon Macie and deletes all settings and resources for a
1220
+ # Macie account.
1210
1221
  #
1211
1222
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1212
1223
  #
@@ -1220,7 +1231,7 @@ module Aws::Macie2
1220
1231
  end
1221
1232
 
1222
1233
  # Disables an account as the delegated Amazon Macie administrator
1223
- # account for an Amazon Web Services organization.
1234
+ # account for an organization in Organizations.
1224
1235
  #
1225
1236
  # @option params [required, String] :admin_account_id
1226
1237
  #
@@ -1335,7 +1346,7 @@ module Aws::Macie2
1335
1346
  end
1336
1347
 
1337
1348
  # Designates an account as the delegated Amazon Macie administrator
1338
- # account for an Amazon Web Services organization.
1349
+ # account for an organization in Organizations.
1339
1350
  #
1340
1351
  # @option params [required, String] :admin_account_id
1341
1352
  #
@@ -1384,8 +1395,8 @@ module Aws::Macie2
1384
1395
  req.send_request(options)
1385
1396
  end
1386
1397
 
1387
- # Retrieves (queries) aggregated statistical data for all the S3 buckets
1388
- # that Amazon Macie monitors and analyzes.
1398
+ # Retrieves (queries) aggregated statistical data about S3 buckets that
1399
+ # Amazon Macie monitors and analyzes.
1389
1400
  #
1390
1401
  # @option params [String] :account_id
1391
1402
  #
@@ -2436,7 +2447,7 @@ module Aws::Macie2
2436
2447
  end
2437
2448
 
2438
2449
  # Retrieves information about the delegated Amazon Macie administrator
2439
- # account for an Amazon Web Services organization.
2450
+ # account for an organization in Organizations.
2440
2451
  #
2441
2452
  # @option params [Integer] :max_results
2442
2453
  #
@@ -2880,8 +2891,8 @@ module Aws::Macie2
2880
2891
  req.send_request(options)
2881
2892
  end
2882
2893
 
2883
- # Suspends or re-enables an Amazon Macie account, or updates the
2884
- # configuration settings for a Macie account.
2894
+ # Suspends or re-enables Amazon Macie, or updates the configuration
2895
+ # settings for a Macie account.
2885
2896
  #
2886
2897
  # @option params [String] :finding_publishing_frequency
2887
2898
  # The frequency with which Amazon Macie publishes updates to policy
@@ -2941,8 +2952,8 @@ module Aws::Macie2
2941
2952
  req.send_request(options)
2942
2953
  end
2943
2954
 
2944
- # Updates the Amazon Macie configuration settings for an Amazon Web
2945
- # Services organization.
2955
+ # Updates the Amazon Macie configuration settings for an organization in
2956
+ # Organizations.
2946
2957
  #
2947
2958
  # @option params [required, Boolean] :auto_enable
2948
2959
  #
@@ -2976,7 +2987,7 @@ module Aws::Macie2
2976
2987
  params: params,
2977
2988
  config: config)
2978
2989
  context[:gem_name] = 'aws-sdk-macie2'
2979
- context[:gem_version] = '1.38.0'
2990
+ context[:gem_version] = '1.42.0'
2980
2991
  Seahorse::Client::Request.new(handlers, context)
2981
2992
  end
2982
2993
 
@@ -554,8 +554,8 @@ module Aws::Macie2
554
554
  CreateCustomDataIdentifierRequest.add_member(:ignore_words, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "ignoreWords"))
555
555
  CreateCustomDataIdentifierRequest.add_member(:keywords, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "keywords"))
556
556
  CreateCustomDataIdentifierRequest.add_member(:maximum_match_distance, Shapes::ShapeRef.new(shape: __integer, location_name: "maximumMatchDistance"))
557
- CreateCustomDataIdentifierRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
558
- CreateCustomDataIdentifierRequest.add_member(:regex, Shapes::ShapeRef.new(shape: __string, location_name: "regex"))
557
+ CreateCustomDataIdentifierRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
558
+ CreateCustomDataIdentifierRequest.add_member(:regex, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "regex"))
559
559
  CreateCustomDataIdentifierRequest.add_member(:severity_levels, Shapes::ShapeRef.new(shape: SeverityLevelList, location_name: "severityLevels"))
560
560
  CreateCustomDataIdentifierRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
561
561
  CreateCustomDataIdentifierRequest.struct_class = Types::CreateCustomDataIdentifierRequest
@@ -132,15 +132,15 @@ module Aws::Macie2
132
132
  end
133
133
 
134
134
  # Provides information about the delegated Amazon Macie administrator
135
- # account for an Amazon Web Services organization.
135
+ # account for an organization in Organizations.
136
136
  #
137
137
  # @!attribute [rw] account_id
138
138
  # @return [String]
139
139
  #
140
140
  # @!attribute [rw] status
141
141
  # The current status of an account as the delegated Amazon Macie
142
- # administrator account for an Amazon Web Services organization.
143
- # Possible values are:
142
+ # administrator account for an organization in Organizations. Possible
143
+ # values are:
144
144
  # @return [String]
145
145
  #
146
146
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AdminAccount AWS API Documentation
@@ -1195,8 +1195,8 @@ module Aws::Macie2
1195
1195
  # ignore_words: ["__string"],
1196
1196
  # keywords: ["__string"],
1197
1197
  # maximum_match_distance: 1,
1198
- # name: "__string",
1199
- # regex: "__string",
1198
+ # name: "__string", # required
1199
+ # regex: "__string", # required
1200
1200
  # severity_levels: [
1201
1201
  # {
1202
1202
  # occurrences_threshold: 1, # required
@@ -1376,7 +1376,12 @@ module Aws::Macie2
1376
1376
  include Aws::Structure
1377
1377
  end
1378
1378
 
1379
- # Specifies the settings for an Amazon Macie membership invitation.
1379
+ # Specifies the settings for an Amazon Macie membership invitation. When
1380
+ # you send an invitation, Macie notifies the recipient by creating an
1381
+ # Health event for the recipient's account and, if Macie is already
1382
+ # enabled for the account, displaying an **Accounts** badge and
1383
+ # notification on the recipient's console. You can optionally notify
1384
+ # the recipient by also sending the invitation as an email message.
1380
1385
  #
1381
1386
  # @note When making an API call, you may pass CreateInvitationsRequest
1382
1387
  # data as a hash:
@@ -2106,7 +2111,7 @@ module Aws::Macie2
2106
2111
  class DescribeOrganizationConfigurationRequest < Aws::EmptyStructure; end
2107
2112
 
2108
2113
  # Provides information about the Amazon Macie configuration settings for
2109
- # an Amazon Web Services organization.
2114
+ # an organization in Organizations.
2110
2115
  #
2111
2116
  # @!attribute [rw] auto_enable
2112
2117
  # @return [Boolean]
@@ -2266,10 +2271,10 @@ module Aws::Macie2
2266
2271
  #
2267
2272
  class EnableMacieResponse < Aws::EmptyStructure; end
2268
2273
 
2269
- # Specifies an account to designate as a delegated Amazon Macie
2270
- # administrator account for an Amazon Web Services organization. To
2271
- # submit this request, you must be a user of the management account for
2272
- # the Amazon Web Services organization.
2274
+ # Specifies an account to designate as the delegated Amazon Macie
2275
+ # administrator account for an organization in Organizations. To submit
2276
+ # this request, you must be a user of the Organizations management
2277
+ # account.
2273
2278
  #
2274
2279
  # @note When making an API call, you may pass EnableOrganizationAdminAccountRequest
2275
2280
  # data as a hash:
@@ -2594,8 +2599,7 @@ module Aws::Macie2
2594
2599
  # invitation.
2595
2600
  #
2596
2601
  # @!attribute [rw] administrator
2597
- # Provides information about an Amazon Macie membership invitation
2598
- # that was received by an account.
2602
+ # Provides information about an Amazon Macie membership invitation.
2599
2603
  # @return [Types::Invitation]
2600
2604
  #
2601
2605
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccountResponse AWS API Documentation
@@ -3129,8 +3133,7 @@ module Aws::Macie2
3129
3133
  # that invitation.
3130
3134
  #
3131
3135
  # @!attribute [rw] master
3132
- # Provides information about an Amazon Macie membership invitation
3133
- # that was received by an account.
3136
+ # Provides information about an Amazon Macie membership invitation.
3134
3137
  # @return [Types::Invitation]
3135
3138
  #
3136
3139
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMasterAccountResponse AWS API Documentation
@@ -3182,8 +3185,7 @@ module Aws::Macie2
3182
3185
  #
3183
3186
  # @!attribute [rw] relationship_status
3184
3187
  # The current status of the relationship between an account and an
3185
- # associated Amazon Macie administrator account (*inviter account*).
3186
- # Possible values are:
3188
+ # associated Amazon Macie administrator account. Possible values are:
3187
3189
  # @return [String]
3188
3190
  #
3189
3191
  # @!attribute [rw] tags
@@ -3386,8 +3388,7 @@ module Aws::Macie2
3386
3388
  include Aws::Structure
3387
3389
  end
3388
3390
 
3389
- # Provides information about an Amazon Macie membership invitation that
3390
- # was received by an account.
3391
+ # Provides information about an Amazon Macie membership invitation.
3391
3392
  #
3392
3393
  # @!attribute [rw] account_id
3393
3394
  # @return [String]
@@ -3400,8 +3401,7 @@ module Aws::Macie2
3400
3401
  #
3401
3402
  # @!attribute [rw] relationship_status
3402
3403
  # The current status of the relationship between an account and an
3403
- # associated Amazon Macie administrator account (*inviter account*).
3404
- # Possible values are:
3404
+ # associated Amazon Macie administrator account. Possible values are:
3405
3405
  # @return [String]
3406
3406
  #
3407
3407
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Invitation AWS API Documentation
@@ -4273,7 +4273,7 @@ module Aws::Macie2
4273
4273
  end
4274
4274
 
4275
4275
  # Provides information about the delegated Amazon Macie administrator
4276
- # accounts for an Amazon Web Services organization.
4276
+ # accounts for an organization in Organizations.
4277
4277
  #
4278
4278
  # @!attribute [rw] admin_accounts
4279
4279
  # @return [Array<Types::AdminAccount>]
@@ -4490,8 +4490,7 @@ module Aws::Macie2
4490
4490
  #
4491
4491
  # @!attribute [rw] relationship_status
4492
4492
  # The current status of the relationship between an account and an
4493
- # associated Amazon Macie administrator account (*inviter account*).
4494
- # Possible values are:
4493
+ # associated Amazon Macie administrator account. Possible values are:
4495
4494
  # @return [String]
4496
4495
  #
4497
4496
  # @!attribute [rw] tags
@@ -6560,7 +6559,7 @@ module Aws::Macie2
6560
6559
  class UpdateMemberSessionResponse < Aws::EmptyStructure; end
6561
6560
 
6562
6561
  # Specifies whether to enable Amazon Macie automatically for accounts
6563
- # that are added to an Amazon Web Services organization.
6562
+ # that are added to an organization in Organizations.
6564
6563
  #
6565
6564
  # @note When making an API call, you may pass UpdateOrganizationConfigurationRequest
6566
6565
  # data as a hash:
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-macie2/customizations'
48
48
  # @!group service
49
49
  module Aws::Macie2
50
50
 
51
- GEM_VERSION = '1.38.0'
51
+ GEM_VERSION = '1.42.0'
52
52
 
53
53
  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.38.0
4
+ version: 1.42.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: 2021-11-04 00:00:00.000000000 Z
11
+ date: 2022-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.122.0
22
+ version: 3.125.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.122.0
32
+ version: 3.125.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement