aws-sdk-macie 1.18.0 → 1.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-macie.rb +4 -2
- data/lib/aws-sdk-macie/client.rb +67 -46
- 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 +2 -0
- data/lib/aws-sdk-macie/types.rb +64 -38
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c28697c2bd2f37f079ab2c42899ed69e975abbd5166bf95514cdb9638b985cd
|
4
|
+
data.tar.gz: 0ed4993113956702d50cad7d67052797f13ac7b088391f8115afdae27e218526
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f46db4c2d1afc5599922f5bbad56ec25a3768251e1b7058104524e1634cc7f7a27716797919380102e65532d41520600cf7472ee4882a7a9c0188d13efbf0749
|
7
|
+
data.tar.gz: 920a89a44e69eb490e03029f7479bcdfaecdb4ea7b360b33e9ab66b87f293c4f6e6f5a81a4bb4d8874d9ade395ee613f1f6858d4f0c91754491bd4e391444e0c
|
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:
|
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-macie/customizations'
|
|
42
44
|
#
|
43
45
|
# See {Errors} for more information.
|
44
46
|
#
|
45
|
-
#
|
47
|
+
# @!group service
|
46
48
|
module Aws::Macie
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.23.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
|
|
@@ -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
|
|
@@ -81,13 +85,28 @@ module Aws::Macie
|
|
81
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
82
86
|
# credentials.
|
83
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
84
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
85
103
|
# from an EC2 IMDS on an EC2 instance.
|
86
104
|
#
|
87
|
-
# * `Aws::
|
88
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
89
107
|
#
|
90
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
91
110
|
#
|
92
111
|
# When `:credentials` are not configured directly, the following
|
93
112
|
# locations will be searched for credentials:
|
@@ -97,10 +116,10 @@ module Aws::Macie
|
|
97
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
98
117
|
# * `~/.aws/credentials`
|
99
118
|
# * `~/.aws/config`
|
100
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
101
|
-
# very aggressive. Construct and pass an instance of
|
102
|
-
# `Aws::InstanceProfileCredentails`
|
103
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
104
123
|
#
|
105
124
|
# @option options [required, String] :region
|
106
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -161,7 +180,7 @@ module Aws::Macie
|
|
161
180
|
# @option options [String] :endpoint
|
162
181
|
# The client endpoint is normally constructed from the `:region`
|
163
182
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
183
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
184
|
#
|
166
185
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
186
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +195,7 @@ module Aws::Macie
|
|
176
195
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
196
|
#
|
178
197
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
198
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
199
|
#
|
181
200
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
201
|
# The log formatter.
|
@@ -318,12 +337,12 @@ module Aws::Macie
|
|
318
337
|
|
319
338
|
# @!group API Operations
|
320
339
|
|
321
|
-
# Associates a specified AWS account with Amazon Macie as a
|
322
|
-
# account.
|
340
|
+
# Associates a specified AWS account with Amazon Macie Classic as a
|
341
|
+
# member account.
|
323
342
|
#
|
324
343
|
# @option params [required, String] :member_account_id
|
325
344
|
# The ID of the AWS account that you want to associate with Amazon Macie
|
326
|
-
# as a member account.
|
345
|
+
# Classic as a member account.
|
327
346
|
#
|
328
347
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
329
348
|
#
|
@@ -342,19 +361,20 @@ module Aws::Macie
|
|
342
361
|
req.send_request(options)
|
343
362
|
end
|
344
363
|
|
345
|
-
# Associates specified S3 resources with Amazon Macie for
|
346
|
-
# data classification. If memberAccountId isn't
|
347
|
-
# associates specified S3 resources with Macie
|
348
|
-
# account. If memberAccountId is
|
349
|
-
# specified S3 resources with Macie
|
364
|
+
# Associates specified S3 resources with Amazon Macie Classic for
|
365
|
+
# monitoring and data classification. If memberAccountId isn't
|
366
|
+
# specified, the action associates specified S3 resources with Macie
|
367
|
+
# Classic for the current master account. If memberAccountId is
|
368
|
+
# specified, the action associates specified S3 resources with Macie
|
369
|
+
# Classic for the specified member account.
|
350
370
|
#
|
351
371
|
# @option params [String] :member_account_id
|
352
|
-
# The ID of the Amazon Macie member account whose resources you
|
353
|
-
# associate with Macie.
|
372
|
+
# The ID of the Amazon Macie Classic member account whose resources you
|
373
|
+
# want to associate with Macie Classic.
|
354
374
|
#
|
355
375
|
# @option params [required, Array<Types::S3ResourceClassification>] :s3_resources
|
356
|
-
# The S3 resources that you want to associate with Amazon Macie
|
357
|
-
# monitoring and data classification.
|
376
|
+
# The S3 resources that you want to associate with Amazon Macie Classic
|
377
|
+
# for monitoring and data classification.
|
358
378
|
#
|
359
379
|
# @return [Types::AssociateS3ResourcesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
360
380
|
#
|
@@ -393,11 +413,11 @@ module Aws::Macie
|
|
393
413
|
req.send_request(options)
|
394
414
|
end
|
395
415
|
|
396
|
-
# Removes the specified member account from Amazon Macie.
|
416
|
+
# Removes the specified member account from Amazon Macie Classic.
|
397
417
|
#
|
398
418
|
# @option params [required, String] :member_account_id
|
399
|
-
# The ID of the member account that you want to remove from Amazon
|
400
|
-
#
|
419
|
+
# The ID of the member account that you want to remove from Amazon Macie
|
420
|
+
# Classic.
|
401
421
|
#
|
402
422
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
403
423
|
#
|
@@ -416,19 +436,19 @@ module Aws::Macie
|
|
416
436
|
req.send_request(options)
|
417
437
|
end
|
418
438
|
|
419
|
-
# Removes specified S3 resources from being monitored by Amazon Macie
|
420
|
-
# If memberAccountId isn't specified, the action removes
|
421
|
-
# resources from Macie for the current master
|
422
|
-
# memberAccountId is specified, the action removes specified
|
423
|
-
# resources from Macie for the specified member account.
|
439
|
+
# Removes specified S3 resources from being monitored by Amazon Macie
|
440
|
+
# Classic. If memberAccountId isn't specified, the action removes
|
441
|
+
# specified S3 resources from Macie Classic for the current master
|
442
|
+
# account. If memberAccountId is specified, the action removes specified
|
443
|
+
# S3 resources from Macie Classic for the specified member account.
|
424
444
|
#
|
425
445
|
# @option params [String] :member_account_id
|
426
|
-
# The ID of the Amazon Macie member account whose resources you
|
427
|
-
# remove from being monitored by Amazon Macie.
|
446
|
+
# The ID of the Amazon Macie Classic member account whose resources you
|
447
|
+
# want to remove from being monitored by Amazon Macie Classic.
|
428
448
|
#
|
429
449
|
# @option params [required, Array<Types::S3Resource>] :associated_s3_resources
|
430
450
|
# The S3 resources (buckets or prefixes) that you want to remove from
|
431
|
-
# being monitored and classified by Amazon Macie.
|
451
|
+
# being monitored and classified by Amazon Macie Classic.
|
432
452
|
#
|
433
453
|
# @return [Types::DisassociateS3ResourcesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
434
454
|
#
|
@@ -463,8 +483,8 @@ module Aws::Macie
|
|
463
483
|
req.send_request(options)
|
464
484
|
end
|
465
485
|
|
466
|
-
# Lists all Amazon Macie member accounts for the current Amazon
|
467
|
-
# master account.
|
486
|
+
# Lists all Amazon Macie Classic member accounts for the current Amazon
|
487
|
+
# Macie Classic master account.
|
468
488
|
#
|
469
489
|
# @option params [String] :next_token
|
470
490
|
# Use this parameter when paginating results. Set the value of this
|
@@ -506,15 +526,15 @@ module Aws::Macie
|
|
506
526
|
req.send_request(options)
|
507
527
|
end
|
508
528
|
|
509
|
-
# Lists all the S3 resources associated with Amazon Macie. If
|
529
|
+
# Lists all the S3 resources associated with Amazon Macie Classic. If
|
510
530
|
# memberAccountId isn't specified, the action lists the S3 resources
|
511
|
-
# associated with Amazon Macie for the current master account.
|
512
|
-
# memberAccountId is specified, the action lists the S3 resources
|
513
|
-
# associated with Amazon Macie for the specified member account.
|
531
|
+
# associated with Amazon Macie Classic for the current master account.
|
532
|
+
# If memberAccountId is specified, the action lists the S3 resources
|
533
|
+
# associated with Amazon Macie Classic for the specified member account.
|
514
534
|
#
|
515
535
|
# @option params [String] :member_account_id
|
516
|
-
# The Amazon Macie member account ID whose associated S3
|
517
|
-
# want to list.
|
536
|
+
# The Amazon Macie Classic member account ID whose associated S3
|
537
|
+
# resources you want to list.
|
518
538
|
#
|
519
539
|
# @option params [String] :next_token
|
520
540
|
# Use this parameter when paginating results. Set its value to null on
|
@@ -562,13 +582,14 @@ module Aws::Macie
|
|
562
582
|
# Updates the classification types for the specified S3 resources. If
|
563
583
|
# memberAccountId isn't specified, the action updates the
|
564
584
|
# classification types of the S3 resources associated with Amazon Macie
|
565
|
-
# for the current master account. If memberAccountId is
|
566
|
-
# action updates the classification types of the S3
|
567
|
-
# with Amazon Macie for the specified
|
585
|
+
# Classic for the current master account. If memberAccountId is
|
586
|
+
# specified, the action updates the classification types of the S3
|
587
|
+
# resources associated with Amazon Macie Classic for the specified
|
588
|
+
# member account.
|
568
589
|
#
|
569
590
|
# @option params [String] :member_account_id
|
570
|
-
# The AWS ID of the Amazon Macie member account whose S3
|
571
|
-
# classification types you want to update.
|
591
|
+
# The AWS ID of the Amazon Macie Classic member account whose S3
|
592
|
+
# resources' classification types you want to update.
|
572
593
|
#
|
573
594
|
# @option params [required, Array<Types::S3ResourceClassificationUpdate>] :s3_resources_update
|
574
595
|
# The S3 resources whose classification types you want to update.
|
@@ -623,7 +644,7 @@ module Aws::Macie
|
|
623
644
|
params: params,
|
624
645
|
config: config)
|
625
646
|
context[:gem_name] = 'aws-sdk-macie'
|
626
|
-
context[:gem_version] = '1.
|
647
|
+
context[:gem_version] = '1.23.0'
|
627
648
|
Seahorse::Client::Request.new(handlers, context)
|
628
649
|
end
|
629
650
|
|
data/lib/aws-sdk-macie/errors.rb
CHANGED
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.23.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-08-25 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
|