aws-sdk-macie2 1.3.1 → 1.4.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-macie2.rb +3 -1
- data/lib/aws-sdk-macie2/client.rb +21 -15
- data/lib/aws-sdk-macie2/client_api.rb +2 -0
- data/lib/aws-sdk-macie2/errors.rb +2 -0
- data/lib/aws-sdk-macie2/resource.rb +2 -0
- data/lib/aws-sdk-macie2/types.rb +46 -34
- 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: 88ec4f213d8cd1bb5a30776e7a84346613669f01e4ef50ffd5ac4efe242394de
|
4
|
+
data.tar.gz: b96c8168f3e57e166936a871e8de1510db3a96884e87ac8aad336a39a8c5fdd6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dccebf0908edb789190d25f6cfa509fbffeafc3a98d472a52050d154f061abb3fb39064c335a8794f046540de96787032265f721217156cc5eea5a4e9b6ec337
|
7
|
+
data.tar.gz: 072c38479563aa6fe8588fccc5ddadd942eab3a8382ad2c102cd1ba58cf1c68731ffd018f163c9d163b5cf3a16ac067619b6e44c384169580e43a5011f608218
|
data/lib/aws-sdk-macie2.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-macie2/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::Macie2
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.4.0'
|
49
51
|
|
50
52
|
end
|
@@ -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:
|
@@ -560,8 +562,9 @@ module Aws::Macie2
|
|
560
562
|
# filter.
|
561
563
|
#
|
562
564
|
# @option params [required, String] :action
|
563
|
-
# The action to perform on findings that meet the filter criteria.
|
564
|
-
#
|
565
|
+
# The action to perform on findings that meet the filter criteria. To
|
566
|
+
# suppress (automatically archive) findings that meet the criteria, set
|
567
|
+
# this value to ARCHIVE. Valid values are:
|
565
568
|
#
|
566
569
|
# @option params [String] :client_token
|
567
570
|
# **A suitable default value is auto-generated.** You should normally
|
@@ -1128,9 +1131,10 @@ module Aws::Macie2
|
|
1128
1131
|
# not need to pass this option.**
|
1129
1132
|
#
|
1130
1133
|
# @option params [String] :finding_publishing_frequency
|
1131
|
-
# The frequency with which Amazon Macie publishes
|
1132
|
-
# account. This includes
|
1133
|
-
#
|
1134
|
+
# The frequency with which Amazon Macie publishes updates to policy
|
1135
|
+
# findings for an account. This includes publishing updates to AWS
|
1136
|
+
# Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch
|
1137
|
+
# Events). Valid values are:
|
1134
1138
|
#
|
1135
1139
|
# @option params [String] :status
|
1136
1140
|
# The status of an Amazon Macie account. Valid values are:
|
@@ -1231,7 +1235,7 @@ module Aws::Macie2
|
|
1231
1235
|
req.send_request(options)
|
1232
1236
|
end
|
1233
1237
|
|
1234
|
-
# Retrieves the configuration settings for
|
1238
|
+
# Retrieves the configuration settings for storing data classification
|
1235
1239
|
# results.
|
1236
1240
|
#
|
1237
1241
|
# @return [Types::GetClassificationExportConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -2111,13 +2115,13 @@ module Aws::Macie2
|
|
2111
2115
|
req.send_request(options)
|
2112
2116
|
end
|
2113
2117
|
|
2114
|
-
# Creates or updates the configuration settings for
|
2118
|
+
# Creates or updates the configuration settings for storing data
|
2115
2119
|
# classification results.
|
2116
2120
|
#
|
2117
2121
|
# @option params [required, Types::ClassificationExportConfiguration] :configuration
|
2118
|
-
# Specifies where to
|
2122
|
+
# Specifies where to store data classification results, and the
|
2119
2123
|
# encryption settings to use when storing results in that location.
|
2120
|
-
# Currently, you can
|
2124
|
+
# Currently, you can store classification results only in an S3 bucket.
|
2121
2125
|
#
|
2122
2126
|
# @return [Types::PutClassificationExportConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2123
2127
|
#
|
@@ -2273,8 +2277,9 @@ module Aws::Macie2
|
|
2273
2277
|
# Updates the criteria and other settings for a findings filter.
|
2274
2278
|
#
|
2275
2279
|
# @option params [String] :action
|
2276
|
-
# The action to perform on findings that meet the filter criteria.
|
2277
|
-
#
|
2280
|
+
# The action to perform on findings that meet the filter criteria. To
|
2281
|
+
# suppress (automatically archive) findings that meet the criteria, set
|
2282
|
+
# this value to ARCHIVE. Valid values are:
|
2278
2283
|
#
|
2279
2284
|
# @option params [String] :description
|
2280
2285
|
#
|
@@ -2333,9 +2338,10 @@ module Aws::Macie2
|
|
2333
2338
|
# configuration settings for a Macie account.
|
2334
2339
|
#
|
2335
2340
|
# @option params [String] :finding_publishing_frequency
|
2336
|
-
# The frequency with which Amazon Macie publishes
|
2337
|
-
# account. This includes
|
2338
|
-
#
|
2341
|
+
# The frequency with which Amazon Macie publishes updates to policy
|
2342
|
+
# findings for an account. This includes publishing updates to AWS
|
2343
|
+
# Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch
|
2344
|
+
# Events). Valid values are:
|
2339
2345
|
#
|
2340
2346
|
# @option params [String] :status
|
2341
2347
|
# The status of an Amazon Macie account. Valid values are:
|
@@ -2418,7 +2424,7 @@ module Aws::Macie2
|
|
2418
2424
|
params: params,
|
2419
2425
|
config: config)
|
2420
2426
|
context[:gem_name] = 'aws-sdk-macie2'
|
2421
|
-
context[:gem_version] = '1.
|
2427
|
+
context[:gem_version] = '1.4.0'
|
2422
2428
|
Seahorse::Client::Request.new(handlers, context)
|
2423
2429
|
end
|
2424
2430
|
|
data/lib/aws-sdk-macie2/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:
|
@@ -183,7 +185,7 @@ module Aws::Macie2
|
|
183
185
|
#
|
184
186
|
# @!attribute [rw] session_context
|
185
187
|
# Provides information about a session that was created for an entity
|
186
|
-
#
|
188
|
+
# that performed an action by using temporary security credentials.
|
187
189
|
# @return [Types::SessionContext]
|
188
190
|
#
|
189
191
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AssumedRole AWS API Documentation
|
@@ -661,9 +663,9 @@ module Aws::Macie2
|
|
661
663
|
include Aws::Structure
|
662
664
|
end
|
663
665
|
|
664
|
-
# Specifies where to
|
666
|
+
# Specifies where to store data classification results, and the
|
665
667
|
# encryption settings to use when storing results in that location.
|
666
|
-
# Currently, you can
|
668
|
+
# Currently, you can store classification results only in an S3 bucket.
|
667
669
|
#
|
668
670
|
# @note When making an API call, you may pass ClassificationExportConfiguration
|
669
671
|
# data as a hash:
|
@@ -677,7 +679,7 @@ module Aws::Macie2
|
|
677
679
|
# }
|
678
680
|
#
|
679
681
|
# @!attribute [rw] s3_destination
|
680
|
-
# Specifies an S3 bucket to
|
682
|
+
# Specifies an S3 bucket to store data classification results in, and
|
681
683
|
# the encryption settings to use when storing results in that bucket.
|
682
684
|
# @return [Types::S3Destination]
|
683
685
|
#
|
@@ -1012,8 +1014,9 @@ module Aws::Macie2
|
|
1012
1014
|
# }
|
1013
1015
|
#
|
1014
1016
|
# @!attribute [rw] action
|
1015
|
-
# The action to perform on findings that meet the filter criteria.
|
1016
|
-
#
|
1017
|
+
# The action to perform on findings that meet the filter criteria. To
|
1018
|
+
# suppress (automatically archive) findings that meet the criteria,
|
1019
|
+
# set this value to ARCHIVE. Valid values are:
|
1017
1020
|
# @return [String]
|
1018
1021
|
#
|
1019
1022
|
# @!attribute [rw] client_token
|
@@ -1742,9 +1745,10 @@ module Aws::Macie2
|
|
1742
1745
|
# @return [String]
|
1743
1746
|
#
|
1744
1747
|
# @!attribute [rw] finding_publishing_frequency
|
1745
|
-
# The frequency with which Amazon Macie publishes
|
1746
|
-
# account. This includes
|
1747
|
-
#
|
1748
|
+
# The frequency with which Amazon Macie publishes updates to policy
|
1749
|
+
# findings for an account. This includes publishing updates to AWS
|
1750
|
+
# Security Hub and Amazon EventBridge (formerly called Amazon
|
1751
|
+
# CloudWatch Events). Valid values are:
|
1748
1752
|
# @return [String]
|
1749
1753
|
#
|
1750
1754
|
# @!attribute [rw] status
|
@@ -1812,7 +1816,7 @@ module Aws::Macie2
|
|
1812
1816
|
#
|
1813
1817
|
# @!attribute [rw] session_context
|
1814
1818
|
# Provides information about a session that was created for an entity
|
1815
|
-
#
|
1819
|
+
# that performed an action by using temporary security credentials.
|
1816
1820
|
# @return [Types::SessionContext]
|
1817
1821
|
#
|
1818
1822
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/FederatedUser AWS API Documentation
|
@@ -1918,6 +1922,8 @@ module Aws::Macie2
|
|
1918
1922
|
# produced a policy finding.
|
1919
1923
|
#
|
1920
1924
|
# @!attribute [rw] action_type
|
1925
|
+
# The type of action that occurred for the resource and produced the
|
1926
|
+
# policy finding.
|
1921
1927
|
# @return [String]
|
1922
1928
|
#
|
1923
1929
|
# @!attribute [rw] api_call_details
|
@@ -1943,7 +1949,7 @@ module Aws::Macie2
|
|
1943
1949
|
include Aws::Structure
|
1944
1950
|
end
|
1945
1951
|
|
1946
|
-
# Provides information about an entity
|
1952
|
+
# Provides information about an entity that performed an action that
|
1947
1953
|
# produced a policy finding for a resource.
|
1948
1954
|
#
|
1949
1955
|
# @!attribute [rw] domain_details
|
@@ -2128,12 +2134,12 @@ module Aws::Macie2
|
|
2128
2134
|
class GetClassificationExportConfigurationRequest < Aws::EmptyStructure; end
|
2129
2135
|
|
2130
2136
|
# Provides information about the current configuration settings for
|
2131
|
-
#
|
2137
|
+
# storing data classification results.
|
2132
2138
|
#
|
2133
2139
|
# @!attribute [rw] configuration
|
2134
|
-
# Specifies where to
|
2140
|
+
# Specifies where to store data classification results, and the
|
2135
2141
|
# encryption settings to use when storing results in that location.
|
2136
|
-
# Currently, you can
|
2142
|
+
# Currently, you can store classification results only in an S3
|
2137
2143
|
# bucket.
|
2138
2144
|
# @return [Types::ClassificationExportConfiguration]
|
2139
2145
|
#
|
@@ -2303,8 +2309,9 @@ module Aws::Macie2
|
|
2303
2309
|
# Provides information about a findings filter.
|
2304
2310
|
#
|
2305
2311
|
# @!attribute [rw] action
|
2306
|
-
# The action to perform on findings that meet the filter criteria.
|
2307
|
-
#
|
2312
|
+
# The action to perform on findings that meet the filter criteria. To
|
2313
|
+
# suppress (automatically archive) findings that meet the criteria,
|
2314
|
+
# set this value to ARCHIVE. Valid values are:
|
2308
2315
|
# @return [String]
|
2309
2316
|
#
|
2310
2317
|
# @!attribute [rw] arn
|
@@ -2422,9 +2429,10 @@ module Aws::Macie2
|
|
2422
2429
|
# @return [Time]
|
2423
2430
|
#
|
2424
2431
|
# @!attribute [rw] finding_publishing_frequency
|
2425
|
-
# The frequency with which Amazon Macie publishes
|
2426
|
-
# account. This includes
|
2427
|
-
#
|
2432
|
+
# The frequency with which Amazon Macie publishes updates to policy
|
2433
|
+
# findings for an account. This includes publishing updates to AWS
|
2434
|
+
# Security Hub and Amazon EventBridge (formerly called Amazon
|
2435
|
+
# CloudWatch Events). Valid values are:
|
2428
2436
|
# @return [String]
|
2429
2437
|
#
|
2430
2438
|
# @!attribute [rw] service_role
|
@@ -3540,7 +3548,7 @@ module Aws::Macie2
|
|
3540
3548
|
# @return [Types::FindingAction]
|
3541
3549
|
#
|
3542
3550
|
# @!attribute [rw] actor
|
3543
|
-
# Provides information about an entity
|
3551
|
+
# Provides information about an entity that performed an action that
|
3544
3552
|
# produced a policy finding for a resource.
|
3545
3553
|
# @return [Types::FindingActor]
|
3546
3554
|
#
|
@@ -3552,9 +3560,9 @@ module Aws::Macie2
|
|
3552
3560
|
include Aws::Structure
|
3553
3561
|
end
|
3554
3562
|
|
3555
|
-
# Specifies where to
|
3563
|
+
# Specifies where to store data classification results, and the
|
3556
3564
|
# encryption settings to use when storing results in that location.
|
3557
|
-
# Currently, you can
|
3565
|
+
# Currently, you can store classification results only in an S3 bucket.
|
3558
3566
|
#
|
3559
3567
|
# @note When making an API call, you may pass PutClassificationExportConfigurationRequest
|
3560
3568
|
# data as a hash:
|
@@ -3570,9 +3578,9 @@ module Aws::Macie2
|
|
3570
3578
|
# }
|
3571
3579
|
#
|
3572
3580
|
# @!attribute [rw] configuration
|
3573
|
-
# Specifies where to
|
3581
|
+
# Specifies where to store data classification results, and the
|
3574
3582
|
# encryption settings to use when storing results in that location.
|
3575
|
-
# Currently, you can
|
3583
|
+
# Currently, you can store classification results only in an S3
|
3576
3584
|
# bucket.
|
3577
3585
|
# @return [Types::ClassificationExportConfiguration]
|
3578
3586
|
#
|
@@ -3583,13 +3591,13 @@ module Aws::Macie2
|
|
3583
3591
|
include Aws::Structure
|
3584
3592
|
end
|
3585
3593
|
|
3586
|
-
# Provides information about updated settings for
|
3594
|
+
# Provides information about updated settings for storing data
|
3587
3595
|
# classification results.
|
3588
3596
|
#
|
3589
3597
|
# @!attribute [rw] configuration
|
3590
|
-
# Specifies where to
|
3598
|
+
# Specifies where to store data classification results, and the
|
3591
3599
|
# encryption settings to use when storing results in that location.
|
3592
|
-
# Currently, you can
|
3600
|
+
# Currently, you can store classification results only in an S3
|
3593
3601
|
# bucket.
|
3594
3602
|
# @return [Types::ClassificationExportConfiguration]
|
3595
3603
|
#
|
@@ -3736,7 +3744,7 @@ module Aws::Macie2
|
|
3736
3744
|
include Aws::Structure
|
3737
3745
|
end
|
3738
3746
|
|
3739
|
-
# Specifies an S3 bucket to
|
3747
|
+
# Specifies an S3 bucket to store data classification results in, and
|
3740
3748
|
# the encryption settings to use when storing results in that bucket.
|
3741
3749
|
#
|
3742
3750
|
# @note When making an API call, you may pass S3Destination
|
@@ -3971,6 +3979,8 @@ module Aws::Macie2
|
|
3971
3979
|
# occurrences of sensitive data that produced a finding.
|
3972
3980
|
#
|
3973
3981
|
# @!attribute [rw] category
|
3982
|
+
# The category of sensitive data that was detected and produced the
|
3983
|
+
# finding.
|
3974
3984
|
# @return [String]
|
3975
3985
|
#
|
3976
3986
|
# @!attribute [rw] detections
|
@@ -4042,7 +4052,7 @@ module Aws::Macie2
|
|
4042
4052
|
end
|
4043
4053
|
|
4044
4054
|
# Provides information about a session that was created for an entity
|
4045
|
-
#
|
4055
|
+
# that performed an action by using temporary security credentials.
|
4046
4056
|
#
|
4047
4057
|
# @!attribute [rw] attributes
|
4048
4058
|
# Provides information about the context in which temporary security
|
@@ -4476,8 +4486,9 @@ module Aws::Macie2
|
|
4476
4486
|
# }
|
4477
4487
|
#
|
4478
4488
|
# @!attribute [rw] action
|
4479
|
-
# The action to perform on findings that meet the filter criteria.
|
4480
|
-
#
|
4489
|
+
# The action to perform on findings that meet the filter criteria. To
|
4490
|
+
# suppress (automatically archive) findings that meet the criteria,
|
4491
|
+
# set this value to ARCHIVE. Valid values are:
|
4481
4492
|
# @return [String]
|
4482
4493
|
#
|
4483
4494
|
# @!attribute [rw] description
|
@@ -4538,9 +4549,10 @@ module Aws::Macie2
|
|
4538
4549
|
# }
|
4539
4550
|
#
|
4540
4551
|
# @!attribute [rw] finding_publishing_frequency
|
4541
|
-
# The frequency with which Amazon Macie publishes
|
4542
|
-
# account. This includes
|
4543
|
-
#
|
4552
|
+
# The frequency with which Amazon Macie publishes updates to policy
|
4553
|
+
# findings for an account. This includes publishing updates to AWS
|
4554
|
+
# Security Hub and Amazon EventBridge (formerly called Amazon
|
4555
|
+
# CloudWatch Events). Valid values are:
|
4544
4556
|
# @return [String]
|
4545
4557
|
#
|
4546
4558
|
# @!attribute [rw] status
|
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.4.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-06-
|
11
|
+
date: 2020-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|