aws-sdk-macie 1.17.0 → 1.22.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 +5 -5
- data/lib/aws-sdk-macie.rb +3 -1
- data/lib/aws-sdk-macie/client.rb +70 -57
- data/lib/aws-sdk-macie/client_api.rb +2 -0
- data/lib/aws-sdk-macie/errors.rb +2 -0
- data/lib/aws-sdk-macie/resource.rb +3 -7
- data/lib/aws-sdk-macie/types.rb +64 -38
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1d59b142ddda439f86dde8732a248f4a1ef4a2241a0132f46351d136a25e7208
|
4
|
+
data.tar.gz: c8ae0ac772366ba7ca85de58a15f60c810e68aa9df0f0bcc11397570857810b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6100a0158cfaba46367f0cdf73910c80a86f7a98b6a0f4e6888063b3ae05b51e04e160ccb8c4832ed5b45350116c9f12b53479ee04c32a5ed1b5df32afd99fc8
|
7
|
+
data.tar.gz: 586c55139762f08a012d428091519cab33a1768328c2f666aa63f0fe56077f63ed98d18ef1bcd2cb5362b4199b44b768c29f69fa2556765aeca08e064e4e7c72
|
data/lib/aws-sdk-macie.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-macie/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::Macie
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.22.0'
|
49
51
|
|
50
52
|
end
|
data/lib/aws-sdk-macie/client.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:macie)
|
|
32
35
|
module Aws::Macie
|
33
36
|
# An API client for Macie. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
37
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
38
|
+
# client = Aws::Macie::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
40
43
|
#
|
41
44
|
# For details on configuring region and credentials see
|
42
45
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -69,6 +72,7 @@ module Aws::Macie
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
74
78
|
|
@@ -105,7 +109,7 @@ module Aws::Macie
|
|
105
109
|
# @option options [required, String] :region
|
106
110
|
# The AWS region to connect to. The configured `:region` is
|
107
111
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
109
113
|
#
|
110
114
|
# * `Aws.config[:region]`
|
111
115
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +165,7 @@ module Aws::Macie
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::Macie
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -229,15 +233,19 @@ module Aws::Macie
|
|
229
233
|
#
|
230
234
|
# @option options [String] :retry_mode ("legacy")
|
231
235
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
241
249
|
#
|
242
250
|
# @option options [String] :secret_access_key
|
243
251
|
#
|
@@ -275,8 +283,7 @@ module Aws::Macie
|
|
275
283
|
#
|
276
284
|
# @option options [Integer] :http_read_timeout (60) The default
|
277
285
|
# number of seconds to wait for response data. This value can
|
278
|
-
# safely be set
|
279
|
-
# per-request on the session yielded by {#session_for}.
|
286
|
+
# safely be set per-request on the session.
|
280
287
|
#
|
281
288
|
# @option options [Float] :http_idle_timeout (5) The number of
|
282
289
|
# seconds a connection is allowed to sit idle before it is
|
@@ -288,7 +295,7 @@ module Aws::Macie
|
|
288
295
|
# request body. This option has no effect unless the request has
|
289
296
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
290
297
|
# disables this behaviour. This value can safely be set per
|
291
|
-
# request on the session
|
298
|
+
# request on the session.
|
292
299
|
#
|
293
300
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
294
301
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -315,12 +322,12 @@ module Aws::Macie
|
|
315
322
|
|
316
323
|
# @!group API Operations
|
317
324
|
|
318
|
-
# Associates a specified AWS account with Amazon Macie as a
|
319
|
-
# account.
|
325
|
+
# Associates a specified AWS account with Amazon Macie Classic as a
|
326
|
+
# member account.
|
320
327
|
#
|
321
328
|
# @option params [required, String] :member_account_id
|
322
329
|
# The ID of the AWS account that you want to associate with Amazon Macie
|
323
|
-
# as a member account.
|
330
|
+
# Classic as a member account.
|
324
331
|
#
|
325
332
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
326
333
|
#
|
@@ -339,19 +346,20 @@ module Aws::Macie
|
|
339
346
|
req.send_request(options)
|
340
347
|
end
|
341
348
|
|
342
|
-
# Associates specified S3 resources with Amazon Macie for
|
343
|
-
# data classification. If memberAccountId isn't
|
344
|
-
# associates specified S3 resources with Macie
|
345
|
-
# account. If memberAccountId is
|
346
|
-
# specified S3 resources with Macie
|
349
|
+
# Associates specified S3 resources with Amazon Macie Classic for
|
350
|
+
# monitoring and data classification. If memberAccountId isn't
|
351
|
+
# specified, the action associates specified S3 resources with Macie
|
352
|
+
# Classic for the current master account. If memberAccountId is
|
353
|
+
# specified, the action associates specified S3 resources with Macie
|
354
|
+
# Classic for the specified member account.
|
347
355
|
#
|
348
356
|
# @option params [String] :member_account_id
|
349
|
-
# The ID of the Amazon Macie member account whose resources you
|
350
|
-
# associate with Macie.
|
357
|
+
# The ID of the Amazon Macie Classic member account whose resources you
|
358
|
+
# want to associate with Macie Classic.
|
351
359
|
#
|
352
360
|
# @option params [required, Array<Types::S3ResourceClassification>] :s3_resources
|
353
|
-
# The S3 resources that you want to associate with Amazon Macie
|
354
|
-
# monitoring and data classification.
|
361
|
+
# The S3 resources that you want to associate with Amazon Macie Classic
|
362
|
+
# for monitoring and data classification.
|
355
363
|
#
|
356
364
|
# @return [Types::AssociateS3ResourcesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
357
365
|
#
|
@@ -390,11 +398,11 @@ module Aws::Macie
|
|
390
398
|
req.send_request(options)
|
391
399
|
end
|
392
400
|
|
393
|
-
# Removes the specified member account from Amazon Macie.
|
401
|
+
# Removes the specified member account from Amazon Macie Classic.
|
394
402
|
#
|
395
403
|
# @option params [required, String] :member_account_id
|
396
|
-
# The ID of the member account that you want to remove from Amazon
|
397
|
-
#
|
404
|
+
# The ID of the member account that you want to remove from Amazon Macie
|
405
|
+
# Classic.
|
398
406
|
#
|
399
407
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
400
408
|
#
|
@@ -413,19 +421,19 @@ module Aws::Macie
|
|
413
421
|
req.send_request(options)
|
414
422
|
end
|
415
423
|
|
416
|
-
# Removes specified S3 resources from being monitored by Amazon Macie
|
417
|
-
# If memberAccountId isn't specified, the action removes
|
418
|
-
# resources from Macie for the current master
|
419
|
-
# memberAccountId is specified, the action removes specified
|
420
|
-
# resources from Macie for the specified member account.
|
424
|
+
# Removes specified S3 resources from being monitored by Amazon Macie
|
425
|
+
# Classic. If memberAccountId isn't specified, the action removes
|
426
|
+
# specified S3 resources from Macie Classic for the current master
|
427
|
+
# account. If memberAccountId is specified, the action removes specified
|
428
|
+
# S3 resources from Macie Classic for the specified member account.
|
421
429
|
#
|
422
430
|
# @option params [String] :member_account_id
|
423
|
-
# The ID of the Amazon Macie member account whose resources you
|
424
|
-
# remove from being monitored by Amazon Macie.
|
431
|
+
# The ID of the Amazon Macie Classic member account whose resources you
|
432
|
+
# want to remove from being monitored by Amazon Macie Classic.
|
425
433
|
#
|
426
434
|
# @option params [required, Array<Types::S3Resource>] :associated_s3_resources
|
427
435
|
# The S3 resources (buckets or prefixes) that you want to remove from
|
428
|
-
# being monitored and classified by Amazon Macie.
|
436
|
+
# being monitored and classified by Amazon Macie Classic.
|
429
437
|
#
|
430
438
|
# @return [Types::DisassociateS3ResourcesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
431
439
|
#
|
@@ -460,8 +468,8 @@ module Aws::Macie
|
|
460
468
|
req.send_request(options)
|
461
469
|
end
|
462
470
|
|
463
|
-
# Lists all Amazon Macie member accounts for the current Amazon
|
464
|
-
# master account.
|
471
|
+
# Lists all Amazon Macie Classic member accounts for the current Amazon
|
472
|
+
# Macie Classic master account.
|
465
473
|
#
|
466
474
|
# @option params [String] :next_token
|
467
475
|
# Use this parameter when paginating results. Set the value of this
|
@@ -479,6 +487,8 @@ module Aws::Macie
|
|
479
487
|
# * {Types::ListMemberAccountsResult#member_accounts #member_accounts} => Array<Types::MemberAccount>
|
480
488
|
# * {Types::ListMemberAccountsResult#next_token #next_token} => String
|
481
489
|
#
|
490
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
491
|
+
#
|
482
492
|
# @example Request syntax with placeholder values
|
483
493
|
#
|
484
494
|
# resp = client.list_member_accounts({
|
@@ -501,15 +511,15 @@ module Aws::Macie
|
|
501
511
|
req.send_request(options)
|
502
512
|
end
|
503
513
|
|
504
|
-
# Lists all the S3 resources associated with Amazon Macie. If
|
514
|
+
# Lists all the S3 resources associated with Amazon Macie Classic. If
|
505
515
|
# memberAccountId isn't specified, the action lists the S3 resources
|
506
|
-
# associated with Amazon Macie for the current master account.
|
507
|
-
# memberAccountId is specified, the action lists the S3 resources
|
508
|
-
# associated with Amazon Macie for the specified member account.
|
516
|
+
# associated with Amazon Macie Classic for the current master account.
|
517
|
+
# If memberAccountId is specified, the action lists the S3 resources
|
518
|
+
# associated with Amazon Macie Classic for the specified member account.
|
509
519
|
#
|
510
520
|
# @option params [String] :member_account_id
|
511
|
-
# The Amazon Macie member account ID whose associated S3
|
512
|
-
# want to list.
|
521
|
+
# The Amazon Macie Classic member account ID whose associated S3
|
522
|
+
# resources you want to list.
|
513
523
|
#
|
514
524
|
# @option params [String] :next_token
|
515
525
|
# Use this parameter when paginating results. Set its value to null on
|
@@ -526,6 +536,8 @@ module Aws::Macie
|
|
526
536
|
# * {Types::ListS3ResourcesResult#s3_resources #s3_resources} => Array<Types::S3ResourceClassification>
|
527
537
|
# * {Types::ListS3ResourcesResult#next_token #next_token} => String
|
528
538
|
#
|
539
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
540
|
+
#
|
529
541
|
# @example Request syntax with placeholder values
|
530
542
|
#
|
531
543
|
# resp = client.list_s3_resources({
|
@@ -555,13 +567,14 @@ module Aws::Macie
|
|
555
567
|
# Updates the classification types for the specified S3 resources. If
|
556
568
|
# memberAccountId isn't specified, the action updates the
|
557
569
|
# classification types of the S3 resources associated with Amazon Macie
|
558
|
-
# for the current master account. If memberAccountId is
|
559
|
-
# action updates the classification types of the S3
|
560
|
-
# with Amazon Macie for the specified
|
570
|
+
# Classic for the current master account. If memberAccountId is
|
571
|
+
# specified, the action updates the classification types of the S3
|
572
|
+
# resources associated with Amazon Macie Classic for the specified
|
573
|
+
# member account.
|
561
574
|
#
|
562
575
|
# @option params [String] :member_account_id
|
563
|
-
# The AWS ID of the Amazon Macie member account whose S3
|
564
|
-
# classification types you want to update.
|
576
|
+
# The AWS ID of the Amazon Macie Classic member account whose S3
|
577
|
+
# resources' classification types you want to update.
|
565
578
|
#
|
566
579
|
# @option params [required, Array<Types::S3ResourceClassificationUpdate>] :s3_resources_update
|
567
580
|
# The S3 resources whose classification types you want to update.
|
@@ -616,7 +629,7 @@ module Aws::Macie
|
|
616
629
|
params: params,
|
617
630
|
config: config)
|
618
631
|
context[:gem_name] = 'aws-sdk-macie'
|
619
|
-
context[:gem_version] = '1.
|
632
|
+
context[:gem_version] = '1.22.0'
|
620
633
|
Seahorse::Client::Request.new(handlers, context)
|
621
634
|
end
|
622
635
|
|
data/lib/aws-sdk-macie/errors.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,13 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::Macie
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::Macie::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::Macie::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::Macie::Resource.new(client: client)
|
11
|
+
|
16
12
|
class Resource
|
17
13
|
|
18
14
|
# @param options ({})
|
data/lib/aws-sdk-macie/types.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -22,6 +24,7 @@ module Aws::Macie
|
|
22
24
|
class AccessDeniedException < Struct.new(
|
23
25
|
:message,
|
24
26
|
:resource_type)
|
27
|
+
SENSITIVE = []
|
25
28
|
include Aws::Structure
|
26
29
|
end
|
27
30
|
|
@@ -34,13 +37,14 @@ module Aws::Macie
|
|
34
37
|
#
|
35
38
|
# @!attribute [rw] member_account_id
|
36
39
|
# The ID of the AWS account that you want to associate with Amazon
|
37
|
-
# Macie as a member account.
|
40
|
+
# Macie Classic as a member account.
|
38
41
|
# @return [String]
|
39
42
|
#
|
40
43
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/AssociateMemberAccountRequest AWS API Documentation
|
41
44
|
#
|
42
45
|
class AssociateMemberAccountRequest < Struct.new(
|
43
46
|
:member_account_id)
|
47
|
+
SENSITIVE = []
|
44
48
|
include Aws::Structure
|
45
49
|
end
|
46
50
|
|
@@ -62,13 +66,13 @@ module Aws::Macie
|
|
62
66
|
# }
|
63
67
|
#
|
64
68
|
# @!attribute [rw] member_account_id
|
65
|
-
# The ID of the Amazon Macie member account whose resources
|
66
|
-
# to associate with Macie.
|
69
|
+
# The ID of the Amazon Macie Classic member account whose resources
|
70
|
+
# you want to associate with Macie Classic.
|
67
71
|
# @return [String]
|
68
72
|
#
|
69
73
|
# @!attribute [rw] s3_resources
|
70
|
-
# The S3 resources that you want to associate with Amazon Macie
|
71
|
-
# monitoring and data classification.
|
74
|
+
# The S3 resources that you want to associate with Amazon Macie
|
75
|
+
# Classic for monitoring and data classification.
|
72
76
|
# @return [Array<Types::S3ResourceClassification>]
|
73
77
|
#
|
74
78
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/AssociateS3ResourcesRequest AWS API Documentation
|
@@ -76,23 +80,26 @@ module Aws::Macie
|
|
76
80
|
class AssociateS3ResourcesRequest < Struct.new(
|
77
81
|
:member_account_id,
|
78
82
|
:s3_resources)
|
83
|
+
SENSITIVE = []
|
79
84
|
include Aws::Structure
|
80
85
|
end
|
81
86
|
|
82
87
|
# @!attribute [rw] failed_s3_resources
|
83
|
-
# S3 resources that couldn't be associated with Amazon Macie.
|
84
|
-
# error code and an error message are provided for each failed
|
88
|
+
# S3 resources that couldn't be associated with Amazon Macie Classic.
|
89
|
+
# An error code and an error message are provided for each failed
|
90
|
+
# item.
|
85
91
|
# @return [Array<Types::FailedS3Resource>]
|
86
92
|
#
|
87
93
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/AssociateS3ResourcesResult AWS API Documentation
|
88
94
|
#
|
89
95
|
class AssociateS3ResourcesResult < Struct.new(
|
90
96
|
:failed_s3_resources)
|
97
|
+
SENSITIVE = []
|
91
98
|
include Aws::Structure
|
92
99
|
end
|
93
100
|
|
94
|
-
# The classification type that Amazon Macie applies to the
|
95
|
-
# resources.
|
101
|
+
# The classification type that Amazon Macie Classic applies to the
|
102
|
+
# associated S3 resources.
|
96
103
|
#
|
97
104
|
# @note When making an API call, you may pass ClassificationType
|
98
105
|
# data as a hash:
|
@@ -109,9 +116,9 @@ module Aws::Macie
|
|
109
116
|
#
|
110
117
|
# @!attribute [rw] continuous
|
111
118
|
# A continuous classification of the objects that are added to a
|
112
|
-
# specified S3 bucket. Amazon Macie begins performing
|
113
|
-
# classification after a bucket is successfully associated
|
114
|
-
# Macie.
|
119
|
+
# specified S3 bucket. Amazon Macie Classic begins performing
|
120
|
+
# continuous classification after a bucket is successfully associated
|
121
|
+
# with Amazon Macie Classic.
|
115
122
|
# @return [String]
|
116
123
|
#
|
117
124
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/ClassificationType AWS API Documentation
|
@@ -119,12 +126,13 @@ module Aws::Macie
|
|
119
126
|
class ClassificationType < Struct.new(
|
120
127
|
:one_time,
|
121
128
|
:continuous)
|
129
|
+
SENSITIVE = []
|
122
130
|
include Aws::Structure
|
123
131
|
end
|
124
132
|
|
125
|
-
# The classification type that Amazon Macie applies to the
|
126
|
-
# resources. At least one of the classification types
|
127
|
-
# continuous) must be specified.
|
133
|
+
# The classification type that Amazon Macie Classic applies to the
|
134
|
+
# associated S3 resources. At least one of the classification types
|
135
|
+
# (oneTime or continuous) must be specified.
|
128
136
|
#
|
129
137
|
# @note When making an API call, you may pass ClassificationTypeUpdate
|
130
138
|
# data as a hash:
|
@@ -141,9 +149,9 @@ module Aws::Macie
|
|
141
149
|
#
|
142
150
|
# @!attribute [rw] continuous
|
143
151
|
# A continuous classification of the objects that are added to a
|
144
|
-
# specified S3 bucket. Amazon Macie begins performing
|
145
|
-
# classification after a bucket is successfully associated
|
146
|
-
# Macie.
|
152
|
+
# specified S3 bucket. Amazon Macie Classic begins performing
|
153
|
+
# continuous classification after a bucket is successfully associated
|
154
|
+
# with Amazon Macie Classic.
|
147
155
|
# @return [String]
|
148
156
|
#
|
149
157
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/ClassificationTypeUpdate AWS API Documentation
|
@@ -151,6 +159,7 @@ module Aws::Macie
|
|
151
159
|
class ClassificationTypeUpdate < Struct.new(
|
152
160
|
:one_time,
|
153
161
|
:continuous)
|
162
|
+
SENSITIVE = []
|
154
163
|
include Aws::Structure
|
155
164
|
end
|
156
165
|
|
@@ -163,13 +172,14 @@ module Aws::Macie
|
|
163
172
|
#
|
164
173
|
# @!attribute [rw] member_account_id
|
165
174
|
# The ID of the member account that you want to remove from Amazon
|
166
|
-
# Macie.
|
175
|
+
# Macie Classic.
|
167
176
|
# @return [String]
|
168
177
|
#
|
169
178
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/DisassociateMemberAccountRequest AWS API Documentation
|
170
179
|
#
|
171
180
|
class DisassociateMemberAccountRequest < Struct.new(
|
172
181
|
:member_account_id)
|
182
|
+
SENSITIVE = []
|
173
183
|
include Aws::Structure
|
174
184
|
end
|
175
185
|
|
@@ -187,13 +197,13 @@ module Aws::Macie
|
|
187
197
|
# }
|
188
198
|
#
|
189
199
|
# @!attribute [rw] member_account_id
|
190
|
-
# The ID of the Amazon Macie member account whose resources
|
191
|
-
# to remove from being monitored by Amazon Macie.
|
200
|
+
# The ID of the Amazon Macie Classic member account whose resources
|
201
|
+
# you want to remove from being monitored by Amazon Macie Classic.
|
192
202
|
# @return [String]
|
193
203
|
#
|
194
204
|
# @!attribute [rw] associated_s3_resources
|
195
205
|
# The S3 resources (buckets or prefixes) that you want to remove from
|
196
|
-
# being monitored and classified by Amazon Macie.
|
206
|
+
# being monitored and classified by Amazon Macie Classic.
|
197
207
|
# @return [Array<Types::S3Resource>]
|
198
208
|
#
|
199
209
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/DisassociateS3ResourcesRequest AWS API Documentation
|
@@ -201,19 +211,21 @@ module Aws::Macie
|
|
201
211
|
class DisassociateS3ResourcesRequest < Struct.new(
|
202
212
|
:member_account_id,
|
203
213
|
:associated_s3_resources)
|
214
|
+
SENSITIVE = []
|
204
215
|
include Aws::Structure
|
205
216
|
end
|
206
217
|
|
207
218
|
# @!attribute [rw] failed_s3_resources
|
208
219
|
# S3 resources that couldn't be removed from being monitored and
|
209
|
-
# classified by Amazon Macie. An error code and an error
|
210
|
-
# provided for each failed item.
|
220
|
+
# classified by Amazon Macie Classic. An error code and an error
|
221
|
+
# message are provided for each failed item.
|
211
222
|
# @return [Array<Types::FailedS3Resource>]
|
212
223
|
#
|
213
224
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/DisassociateS3ResourcesResult AWS API Documentation
|
214
225
|
#
|
215
226
|
class DisassociateS3ResourcesResult < Struct.new(
|
216
227
|
:failed_s3_resources)
|
228
|
+
SENSITIVE = []
|
217
229
|
include Aws::Structure
|
218
230
|
end
|
219
231
|
|
@@ -237,6 +249,7 @@ module Aws::Macie
|
|
237
249
|
:failed_item,
|
238
250
|
:error_code,
|
239
251
|
:error_message)
|
252
|
+
SENSITIVE = []
|
240
253
|
include Aws::Structure
|
241
254
|
end
|
242
255
|
|
@@ -254,6 +267,7 @@ module Aws::Macie
|
|
254
267
|
class InternalException < Struct.new(
|
255
268
|
:error_code,
|
256
269
|
:message)
|
270
|
+
SENSITIVE = []
|
257
271
|
include Aws::Structure
|
258
272
|
end
|
259
273
|
|
@@ -277,6 +291,7 @@ module Aws::Macie
|
|
277
291
|
:error_code,
|
278
292
|
:message,
|
279
293
|
:field_name)
|
294
|
+
SENSITIVE = []
|
280
295
|
include Aws::Structure
|
281
296
|
end
|
282
297
|
|
@@ -301,6 +316,7 @@ module Aws::Macie
|
|
301
316
|
:error_code,
|
302
317
|
:message,
|
303
318
|
:resource_type)
|
319
|
+
SENSITIVE = []
|
304
320
|
include Aws::Structure
|
305
321
|
end
|
306
322
|
|
@@ -330,12 +346,13 @@ module Aws::Macie
|
|
330
346
|
class ListMemberAccountsRequest < Struct.new(
|
331
347
|
:next_token,
|
332
348
|
:max_results)
|
349
|
+
SENSITIVE = []
|
333
350
|
include Aws::Structure
|
334
351
|
end
|
335
352
|
|
336
353
|
# @!attribute [rw] member_accounts
|
337
|
-
# A list of the Amazon Macie member accounts returned by the
|
338
|
-
# The current master account is also included in this list.
|
354
|
+
# A list of the Amazon Macie Classic member accounts returned by the
|
355
|
+
# action. The current master account is also included in this list.
|
339
356
|
# @return [Array<Types::MemberAccount>]
|
340
357
|
#
|
341
358
|
# @!attribute [rw] next_token
|
@@ -351,6 +368,7 @@ module Aws::Macie
|
|
351
368
|
class ListMemberAccountsResult < Struct.new(
|
352
369
|
:member_accounts,
|
353
370
|
:next_token)
|
371
|
+
SENSITIVE = []
|
354
372
|
include Aws::Structure
|
355
373
|
end
|
356
374
|
|
@@ -364,8 +382,8 @@ module Aws::Macie
|
|
364
382
|
# }
|
365
383
|
#
|
366
384
|
# @!attribute [rw] member_account_id
|
367
|
-
# The Amazon Macie member account ID whose associated S3
|
368
|
-
# want to list.
|
385
|
+
# The Amazon Macie Classic member account ID whose associated S3
|
386
|
+
# resources you want to list.
|
369
387
|
# @return [String]
|
370
388
|
#
|
371
389
|
# @!attribute [rw] next_token
|
@@ -386,6 +404,7 @@ module Aws::Macie
|
|
386
404
|
:member_account_id,
|
387
405
|
:next_token,
|
388
406
|
:max_results)
|
407
|
+
SENSITIVE = []
|
389
408
|
include Aws::Structure
|
390
409
|
end
|
391
410
|
|
@@ -406,19 +425,21 @@ module Aws::Macie
|
|
406
425
|
class ListS3ResourcesResult < Struct.new(
|
407
426
|
:s3_resources,
|
408
427
|
:next_token)
|
428
|
+
SENSITIVE = []
|
409
429
|
include Aws::Structure
|
410
430
|
end
|
411
431
|
|
412
|
-
# Contains information about the Amazon Macie member account.
|
432
|
+
# Contains information about the Amazon Macie Classic member account.
|
413
433
|
#
|
414
434
|
# @!attribute [rw] account_id
|
415
|
-
# The AWS account ID of the Amazon Macie member account.
|
435
|
+
# The AWS account ID of the Amazon Macie Classic member account.
|
416
436
|
# @return [String]
|
417
437
|
#
|
418
438
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/MemberAccount AWS API Documentation
|
419
439
|
#
|
420
440
|
class MemberAccount < Struct.new(
|
421
441
|
:account_id)
|
442
|
+
SENSITIVE = []
|
422
443
|
include Aws::Structure
|
423
444
|
end
|
424
445
|
|
@@ -448,11 +469,12 @@ module Aws::Macie
|
|
448
469
|
class S3Resource < Struct.new(
|
449
470
|
:bucket_name,
|
450
471
|
:prefix)
|
472
|
+
SENSITIVE = []
|
451
473
|
include Aws::Structure
|
452
474
|
end
|
453
475
|
|
454
|
-
# The S3 resources that you want to associate with Amazon Macie
|
455
|
-
# monitoring and data classification. This data type is used as a
|
476
|
+
# The S3 resources that you want to associate with Amazon Macie Classic
|
477
|
+
# for monitoring and data classification. This data type is used as a
|
456
478
|
# request parameter in the AssociateS3Resources action and a response
|
457
479
|
# parameter in the ListS3Resources action.
|
458
480
|
#
|
@@ -470,17 +492,17 @@ module Aws::Macie
|
|
470
492
|
#
|
471
493
|
# @!attribute [rw] bucket_name
|
472
494
|
# The name of the S3 bucket that you want to associate with Amazon
|
473
|
-
# Macie.
|
495
|
+
# Macie Classic.
|
474
496
|
# @return [String]
|
475
497
|
#
|
476
498
|
# @!attribute [rw] prefix
|
477
499
|
# The prefix of the S3 bucket that you want to associate with Amazon
|
478
|
-
# Macie.
|
500
|
+
# Macie Classic.
|
479
501
|
# @return [String]
|
480
502
|
#
|
481
503
|
# @!attribute [rw] classification_type
|
482
504
|
# The classification type that you want to specify for the resource
|
483
|
-
# associated with Amazon Macie.
|
505
|
+
# associated with Amazon Macie Classic.
|
484
506
|
# @return [Types::ClassificationType]
|
485
507
|
#
|
486
508
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/S3ResourceClassification AWS API Documentation
|
@@ -489,6 +511,7 @@ module Aws::Macie
|
|
489
511
|
:bucket_name,
|
490
512
|
:prefix,
|
491
513
|
:classification_type)
|
514
|
+
SENSITIVE = []
|
492
515
|
include Aws::Structure
|
493
516
|
end
|
494
517
|
|
@@ -520,7 +543,7 @@ module Aws::Macie
|
|
520
543
|
#
|
521
544
|
# @!attribute [rw] classification_type_update
|
522
545
|
# The classification type that you want to update for the resource
|
523
|
-
# associated with Amazon Macie.
|
546
|
+
# associated with Amazon Macie Classic.
|
524
547
|
# @return [Types::ClassificationTypeUpdate]
|
525
548
|
#
|
526
549
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/S3ResourceClassificationUpdate AWS API Documentation
|
@@ -529,6 +552,7 @@ module Aws::Macie
|
|
529
552
|
:bucket_name,
|
530
553
|
:prefix,
|
531
554
|
:classification_type_update)
|
555
|
+
SENSITIVE = []
|
532
556
|
include Aws::Structure
|
533
557
|
end
|
534
558
|
|
@@ -550,8 +574,8 @@ module Aws::Macie
|
|
550
574
|
# }
|
551
575
|
#
|
552
576
|
# @!attribute [rw] member_account_id
|
553
|
-
# The AWS ID of the Amazon Macie member account whose S3
|
554
|
-
# classification types you want to update.
|
577
|
+
# The AWS ID of the Amazon Macie Classic member account whose S3
|
578
|
+
# resources' classification types you want to update.
|
555
579
|
# @return [String]
|
556
580
|
#
|
557
581
|
# @!attribute [rw] s3_resources_update
|
@@ -563,6 +587,7 @@ module Aws::Macie
|
|
563
587
|
class UpdateS3ResourcesRequest < Struct.new(
|
564
588
|
:member_account_id,
|
565
589
|
:s3_resources_update)
|
590
|
+
SENSITIVE = []
|
566
591
|
include Aws::Structure
|
567
592
|
end
|
568
593
|
|
@@ -575,6 +600,7 @@ module Aws::Macie
|
|
575
600
|
#
|
576
601
|
class UpdateS3ResourcesResult < Struct.new(
|
577
602
|
:failed_s3_resources)
|
603
|
+
SENSITIVE = []
|
578
604
|
include Aws::Structure
|
579
605
|
end
|
580
606
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-macie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.22.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: 2020-
|
11
|
+
date: 2020-06-23 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.
|
22
|
+
version: 3.99.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.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - Amazon Macie
|