aws-sdk-macie2 1.17.0 → 1.18.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 +4 -4
- data/lib/aws-sdk-macie2.rb +1 -1
- data/lib/aws-sdk-macie2/client.rb +5 -1
- data/lib/aws-sdk-macie2/client_api.rb +10 -0
- data/lib/aws-sdk-macie2/types.rb +42 -5
- 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: 2dab61020196dfda27cc0a9ecd2bf179866b107565de54fb924c23da8a9cf928
|
4
|
+
data.tar.gz: 95844f89076304185c2df59c29772c4d16754f2769cc259938ee2ced411c28f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4e68866d3a82fbd933857f94b1c05a491bee4d6dba9db5ecd7b07fa9915248efc5dd12be27322e2aebed6740858311654e5b5aeb83c2e3d51fa3f9057bc18ab
|
7
|
+
data.tar.gz: ff06b95df76b5a24c67b58c75b133cf4703e005db1a57396facb49491efe93cdf63cf42eac24dc7503df66b9bc6bf18f4f017b3c920273069aec513eeaa3718e
|
data/lib/aws-sdk-macie2.rb
CHANGED
@@ -921,6 +921,10 @@ module Aws::Macie2
|
|
921
921
|
# resp.buckets[0].bucket_name #=> String
|
922
922
|
# resp.buckets[0].classifiable_object_count #=> Integer
|
923
923
|
# resp.buckets[0].classifiable_size_in_bytes #=> Integer
|
924
|
+
# resp.buckets[0].job_details.is_defined_in_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
|
925
|
+
# resp.buckets[0].job_details.is_monitored_by_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
|
926
|
+
# resp.buckets[0].job_details.last_job_id #=> String
|
927
|
+
# resp.buckets[0].job_details.last_job_run_time #=> Time
|
924
928
|
# resp.buckets[0].last_updated #=> Time
|
925
929
|
# resp.buckets[0].object_count #=> Integer
|
926
930
|
# resp.buckets[0].object_count_by_encryption_type.customer_managed #=> Integer
|
@@ -2540,7 +2544,7 @@ module Aws::Macie2
|
|
2540
2544
|
params: params,
|
2541
2545
|
config: config)
|
2542
2546
|
context[:gem_name] = 'aws-sdk-macie2'
|
2543
|
-
context[:gem_version] = '1.
|
2547
|
+
context[:gem_version] = '1.18.0'
|
2544
2548
|
Seahorse::Client::Request.new(handlers, context)
|
2545
2549
|
end
|
2546
2550
|
|
@@ -150,7 +150,10 @@ module Aws::Macie2
|
|
150
150
|
IpCountry = Shapes::StructureShape.new(name: 'IpCountry')
|
151
151
|
IpGeoLocation = Shapes::StructureShape.new(name: 'IpGeoLocation')
|
152
152
|
IpOwner = Shapes::StructureShape.new(name: 'IpOwner')
|
153
|
+
IsDefinedInJob = Shapes::StringShape.new(name: 'IsDefinedInJob')
|
154
|
+
IsMonitoredByJob = Shapes::StringShape.new(name: 'IsMonitoredByJob')
|
153
155
|
JobComparator = Shapes::StringShape.new(name: 'JobComparator')
|
156
|
+
JobDetails = Shapes::StructureShape.new(name: 'JobDetails')
|
154
157
|
JobScheduleFrequency = Shapes::StructureShape.new(name: 'JobScheduleFrequency')
|
155
158
|
JobScopeTerm = Shapes::StructureShape.new(name: 'JobScopeTerm')
|
156
159
|
JobScopingBlock = Shapes::StructureShape.new(name: 'JobScopingBlock')
|
@@ -400,6 +403,7 @@ module Aws::Macie2
|
|
400
403
|
BucketMetadata.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __string, location_name: "bucketName"))
|
401
404
|
BucketMetadata.add_member(:classifiable_object_count, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableObjectCount"))
|
402
405
|
BucketMetadata.add_member(:classifiable_size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableSizeInBytes"))
|
406
|
+
BucketMetadata.add_member(:job_details, Shapes::ShapeRef.new(shape: JobDetails, location_name: "jobDetails"))
|
403
407
|
BucketMetadata.add_member(:last_updated, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastUpdated"))
|
404
408
|
BucketMetadata.add_member(:object_count, Shapes::ShapeRef.new(shape: __long, location_name: "objectCount"))
|
405
409
|
BucketMetadata.add_member(:object_count_by_encryption_type, Shapes::ShapeRef.new(shape: ObjectCountByEncryptionType, location_name: "objectCountByEncryptionType"))
|
@@ -874,6 +878,12 @@ module Aws::Macie2
|
|
874
878
|
IpOwner.add_member(:org, Shapes::ShapeRef.new(shape: __string, location_name: "org"))
|
875
879
|
IpOwner.struct_class = Types::IpOwner
|
876
880
|
|
881
|
+
JobDetails.add_member(:is_defined_in_job, Shapes::ShapeRef.new(shape: IsDefinedInJob, location_name: "isDefinedInJob"))
|
882
|
+
JobDetails.add_member(:is_monitored_by_job, Shapes::ShapeRef.new(shape: IsMonitoredByJob, location_name: "isMonitoredByJob"))
|
883
|
+
JobDetails.add_member(:last_job_id, Shapes::ShapeRef.new(shape: __string, location_name: "lastJobId"))
|
884
|
+
JobDetails.add_member(:last_job_run_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastJobRunTime"))
|
885
|
+
JobDetails.struct_class = Types::JobDetails
|
886
|
+
|
877
887
|
JobScheduleFrequency.add_member(:daily_schedule, Shapes::ShapeRef.new(shape: DailySchedule, location_name: "dailySchedule"))
|
878
888
|
JobScheduleFrequency.add_member(:monthly_schedule, Shapes::ShapeRef.new(shape: MonthlySchedule, location_name: "monthlySchedule"))
|
879
889
|
JobScheduleFrequency.add_member(:weekly_schedule, Shapes::ShapeRef.new(shape: WeeklySchedule, location_name: "weeklySchedule"))
|
data/lib/aws-sdk-macie2/types.rb
CHANGED
@@ -519,6 +519,12 @@ module Aws::Macie2
|
|
519
519
|
# @!attribute [rw] classifiable_size_in_bytes
|
520
520
|
# @return [Integer]
|
521
521
|
#
|
522
|
+
# @!attribute [rw] job_details
|
523
|
+
# Specifies whether any one-time or recurring classification jobs are
|
524
|
+
# configured to analyze data in an S3 bucket, and, if so, the details
|
525
|
+
# of the job that ran most recently.
|
526
|
+
# @return [Types::JobDetails]
|
527
|
+
#
|
522
528
|
# @!attribute [rw] last_updated
|
523
529
|
# @return [Time]
|
524
530
|
#
|
@@ -585,6 +591,7 @@ module Aws::Macie2
|
|
585
591
|
:bucket_name,
|
586
592
|
:classifiable_object_count,
|
587
593
|
:classifiable_size_in_bytes,
|
594
|
+
:job_details,
|
588
595
|
:last_updated,
|
589
596
|
:object_count,
|
590
597
|
:object_count_by_encryption_type,
|
@@ -1760,7 +1767,8 @@ module Aws::Macie2
|
|
1760
1767
|
# Provides information about when a classification job was paused and
|
1761
1768
|
# when it will expire and be cancelled if it isn't resumed. This
|
1762
1769
|
# object is present only if a job's current status (jobStatus) is
|
1763
|
-
# USER\_PAUSED.
|
1770
|
+
# USER\_PAUSED. The information in this object applies only to a job
|
1771
|
+
# that was paused while it had a status of RUNNING.
|
1764
1772
|
# @return [Types::UserPausedDetails]
|
1765
1773
|
#
|
1766
1774
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJobResponse AWS API Documentation
|
@@ -3060,6 +3068,33 @@ module Aws::Macie2
|
|
3060
3068
|
include Aws::Structure
|
3061
3069
|
end
|
3062
3070
|
|
3071
|
+
# Specifies whether any one-time or recurring classification jobs are
|
3072
|
+
# configured to analyze data in an S3 bucket, and, if so, the details of
|
3073
|
+
# the job that ran most recently.
|
3074
|
+
#
|
3075
|
+
# @!attribute [rw] is_defined_in_job
|
3076
|
+
# @return [String]
|
3077
|
+
#
|
3078
|
+
# @!attribute [rw] is_monitored_by_job
|
3079
|
+
# @return [String]
|
3080
|
+
#
|
3081
|
+
# @!attribute [rw] last_job_id
|
3082
|
+
# @return [String]
|
3083
|
+
#
|
3084
|
+
# @!attribute [rw] last_job_run_time
|
3085
|
+
# @return [Time]
|
3086
|
+
#
|
3087
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/JobDetails AWS API Documentation
|
3088
|
+
#
|
3089
|
+
class JobDetails < Struct.new(
|
3090
|
+
:is_defined_in_job,
|
3091
|
+
:is_monitored_by_job,
|
3092
|
+
:last_job_id,
|
3093
|
+
:last_job_run_time)
|
3094
|
+
SENSITIVE = []
|
3095
|
+
include Aws::Structure
|
3096
|
+
end
|
3097
|
+
|
3063
3098
|
# Specifies the recurrence pattern for running a classification job.
|
3064
3099
|
#
|
3065
3100
|
# @note When making an API call, you may pass JobScheduleFrequency
|
@@ -3222,7 +3257,8 @@ module Aws::Macie2
|
|
3222
3257
|
# Provides information about when a classification job was paused and
|
3223
3258
|
# when it will expire and be cancelled if it isn't resumed. This
|
3224
3259
|
# object is present only if a job's current status (jobStatus) is
|
3225
|
-
# USER\_PAUSED.
|
3260
|
+
# USER\_PAUSED. The information in this object applies only to a job
|
3261
|
+
# that was paused while it had a status of RUNNING.
|
3226
3262
|
# @return [Types::UserPausedDetails]
|
3227
3263
|
#
|
3228
3264
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/JobSummary AWS API Documentation
|
@@ -4180,8 +4216,8 @@ module Aws::Macie2
|
|
4180
4216
|
include Aws::Structure
|
4181
4217
|
end
|
4182
4218
|
|
4183
|
-
# Specifies which
|
4184
|
-
# job analyzes.
|
4219
|
+
# Specifies which AWS account owns the S3 buckets that a classification
|
4220
|
+
# job analyzes, and the buckets to analyze for the account.
|
4185
4221
|
#
|
4186
4222
|
# @note When making an API call, you may pass S3BucketDefinitionForJob
|
4187
4223
|
# data as a hash:
|
@@ -5376,7 +5412,8 @@ module Aws::Macie2
|
|
5376
5412
|
# Provides information about when a classification job was paused and
|
5377
5413
|
# when it will expire and be cancelled if it isn't resumed. This object
|
5378
5414
|
# is present only if a job's current status (jobStatus) is
|
5379
|
-
# USER\_PAUSED.
|
5415
|
+
# USER\_PAUSED. The information in this object applies only to a job
|
5416
|
+
# that was paused while it had a status of RUNNING.
|
5380
5417
|
#
|
5381
5418
|
# @!attribute [rw] job_expires_at
|
5382
5419
|
# @return [Time]
|
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.18.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-
|
11
|
+
date: 2020-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|