aws-sdk-macie2 1.16.0 → 1.17.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a39830b8290bee8a7b4b74530fce49c942bab720da72120e25ea8cab49fe08c
4
- data.tar.gz: 234d19d57c41adb310daf71436289c9d42cb95d46ae3932db8756bff017e1c03
3
+ metadata.gz: 6e23b8956f4cbe366ada629a3f9afc98724be67a7f2764c6e1de32bd096a7f05
4
+ data.tar.gz: e1734e0828d51bf48202f5042734b370719945666ae6cc1f79006097268e228b
5
5
  SHA512:
6
- metadata.gz: b6009ff895a7a67c19787744e2eafbf6464ea57fbfda24d340369a7b2c2f43044b8cbf777d0c48dbc90340822289778e96780a35818d5c0a6bb1a9082e62feaa
7
- data.tar.gz: d35143c5e4039adf58c5ab0f0b708d5054d821de2ecf29b2a04c5bc7d117d436b9cb490039e804858d9f9a05099dbff191a43c22c54a0de17557a9bc3c8a1d52
6
+ metadata.gz: 9d7b68a7aefc124c785e19ab02fc5a5eb67621eb8bcffc1e203d8929d428768c6cd67fd47ec9a900dbbb1ed0f6772d3036e1951fd5576e0424c024a2baf42727
7
+ data.tar.gz: 9598be78988132dc332b8d38ec83be9da0cfb730fb95e8c8031fd303404784cf4a16d4d8e68260d8f5c8cde82fa383170c7a07b95a54b307bb4e524af59390c2
@@ -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.16.0'
51
+ GEM_VERSION = '1.17.0'
52
52
 
53
53
  end
@@ -984,6 +984,7 @@ module Aws::Macie2
984
984
  # * {Types::DescribeClassificationJobResponse#job_id #job_id} => String
985
985
  # * {Types::DescribeClassificationJobResponse#job_status #job_status} => String
986
986
  # * {Types::DescribeClassificationJobResponse#job_type #job_type} => String
987
+ # * {Types::DescribeClassificationJobResponse#last_run_error_status #last_run_error_status} => Types::LastRunErrorStatus
987
988
  # * {Types::DescribeClassificationJobResponse#last_run_time #last_run_time} => Time
988
989
  # * {Types::DescribeClassificationJobResponse#name #name} => String
989
990
  # * {Types::DescribeClassificationJobResponse#s3_job_definition #s3_job_definition} => Types::S3JobDefinition
@@ -1011,6 +1012,7 @@ module Aws::Macie2
1011
1012
  # resp.job_id #=> String
1012
1013
  # resp.job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE", "USER_PAUSED"
1013
1014
  # resp.job_type #=> String, one of "ONE_TIME", "SCHEDULED"
1015
+ # resp.last_run_error_status.code #=> String, one of "NONE", "ERROR"
1014
1016
  # resp.last_run_time #=> Time
1015
1017
  # resp.name #=> String
1016
1018
  # resp.s3_job_definition.bucket_definitions #=> Array
@@ -1918,6 +1920,7 @@ module Aws::Macie2
1918
1920
  # resp.items[0].job_id #=> String
1919
1921
  # resp.items[0].job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE", "USER_PAUSED"
1920
1922
  # resp.items[0].job_type #=> String, one of "ONE_TIME", "SCHEDULED"
1923
+ # resp.items[0].last_run_error_status.code #=> String, one of "NONE", "ERROR"
1921
1924
  # resp.items[0].name #=> String
1922
1925
  # resp.items[0].user_paused_details.job_expires_at #=> Time
1923
1926
  # resp.items[0].user_paused_details.job_imminent_expiration_health_event_arn #=> String
@@ -2537,7 +2540,7 @@ module Aws::Macie2
2537
2540
  params: params,
2538
2541
  config: config)
2539
2542
  context[:gem_name] = 'aws-sdk-macie2'
2540
- context[:gem_version] = '1.16.0'
2543
+ context[:gem_version] = '1.17.0'
2541
2544
  Seahorse::Client::Request.new(handlers, context)
2542
2545
  end
2543
2546
 
@@ -159,6 +159,8 @@ module Aws::Macie2
159
159
  JobType = Shapes::StringShape.new(name: 'JobType')
160
160
  KeyValuePair = Shapes::StructureShape.new(name: 'KeyValuePair')
161
161
  KeyValuePairList = Shapes::ListShape.new(name: 'KeyValuePairList')
162
+ LastRunErrorStatus = Shapes::StructureShape.new(name: 'LastRunErrorStatus')
163
+ LastRunErrorStatusCode = Shapes::StringShape.new(name: 'LastRunErrorStatusCode')
162
164
  ListClassificationJobsRequest = Shapes::StructureShape.new(name: 'ListClassificationJobsRequest')
163
165
  ListClassificationJobsResponse = Shapes::StructureShape.new(name: 'ListClassificationJobsResponse')
164
166
  ListCustomDataIdentifiersRequest = Shapes::StructureShape.new(name: 'ListCustomDataIdentifiersRequest')
@@ -612,6 +614,7 @@ module Aws::Macie2
612
614
  DescribeClassificationJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, location_name: "jobId"))
613
615
  DescribeClassificationJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "jobStatus"))
614
616
  DescribeClassificationJobResponse.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
617
+ DescribeClassificationJobResponse.add_member(:last_run_error_status, Shapes::ShapeRef.new(shape: LastRunErrorStatus, location_name: "lastRunErrorStatus"))
615
618
  DescribeClassificationJobResponse.add_member(:last_run_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastRunTime"))
616
619
  DescribeClassificationJobResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
617
620
  DescribeClassificationJobResponse.add_member(:s3_job_definition, Shapes::ShapeRef.new(shape: S3JobDefinition, location_name: "s3JobDefinition"))
@@ -888,6 +891,7 @@ module Aws::Macie2
888
891
  JobSummary.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, location_name: "jobId"))
889
892
  JobSummary.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "jobStatus"))
890
893
  JobSummary.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
894
+ JobSummary.add_member(:last_run_error_status, Shapes::ShapeRef.new(shape: LastRunErrorStatus, location_name: "lastRunErrorStatus"))
891
895
  JobSummary.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
892
896
  JobSummary.add_member(:user_paused_details, Shapes::ShapeRef.new(shape: UserPausedDetails, location_name: "userPausedDetails"))
893
897
  JobSummary.struct_class = Types::JobSummary
@@ -898,6 +902,9 @@ module Aws::Macie2
898
902
 
899
903
  KeyValuePairList.member = Shapes::ShapeRef.new(shape: KeyValuePair)
900
904
 
905
+ LastRunErrorStatus.add_member(:code, Shapes::ShapeRef.new(shape: LastRunErrorStatusCode, location_name: "code"))
906
+ LastRunErrorStatus.struct_class = Types::LastRunErrorStatus
907
+
901
908
  ListClassificationJobsRequest.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: ListJobsFilterCriteria, location_name: "filterCriteria"))
902
909
  ListClassificationJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location_name: "maxResults"))
903
910
  ListClassificationJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
@@ -1720,6 +1720,14 @@ module Aws::Macie2
1720
1720
  # The schedule for running a classification job. Valid values are:
1721
1721
  # @return [String]
1722
1722
  #
1723
+ # @!attribute [rw] last_run_error_status
1724
+ # Specifies whether any account- or bucket-level access errors
1725
+ # occurred when a classification job ran. For example, the job is
1726
+ # configured to analyze data for a member account that was suspended,
1727
+ # or the job is configured to analyze an S3 bucket that Amazon Macie
1728
+ # isn't allowed to access.
1729
+ # @return [Types::LastRunErrorStatus]
1730
+ #
1723
1731
  # @!attribute [rw] last_run_time
1724
1732
  # @return [Time]
1725
1733
  #
@@ -1767,6 +1775,7 @@ module Aws::Macie2
1767
1775
  :job_id,
1768
1776
  :job_status,
1769
1777
  :job_type,
1778
+ :last_run_error_status,
1770
1779
  :last_run_time,
1771
1780
  :name,
1772
1781
  :s3_job_definition,
@@ -3198,6 +3207,14 @@ module Aws::Macie2
3198
3207
  # The schedule for running a classification job. Valid values are:
3199
3208
  # @return [String]
3200
3209
  #
3210
+ # @!attribute [rw] last_run_error_status
3211
+ # Specifies whether any account- or bucket-level access errors
3212
+ # occurred when a classification job ran. For example, the job is
3213
+ # configured to analyze data for a member account that was suspended,
3214
+ # or the job is configured to analyze an S3 bucket that Amazon Macie
3215
+ # isn't allowed to access.
3216
+ # @return [Types::LastRunErrorStatus]
3217
+ #
3201
3218
  # @!attribute [rw] name
3202
3219
  # @return [String]
3203
3220
  #
@@ -3216,6 +3233,7 @@ module Aws::Macie2
3216
3233
  :job_id,
3217
3234
  :job_status,
3218
3235
  :job_type,
3236
+ :last_run_error_status,
3219
3237
  :name,
3220
3238
  :user_paused_details)
3221
3239
  SENSITIVE = []
@@ -3241,6 +3259,26 @@ module Aws::Macie2
3241
3259
  include Aws::Structure
3242
3260
  end
3243
3261
 
3262
+ # Specifies whether any account- or bucket-level access errors occurred
3263
+ # when a classification job ran. For example, the job is configured to
3264
+ # analyze data for a member account that was suspended, or the job is
3265
+ # configured to analyze an S3 bucket that Amazon Macie isn't allowed to
3266
+ # access.
3267
+ #
3268
+ # @!attribute [rw] code
3269
+ # Specifies whether any account- or bucket-level access errors
3270
+ # occurred during the run of a one-time classification job or the most
3271
+ # recent run of a recurring classification job. Possible values are:
3272
+ # @return [String]
3273
+ #
3274
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/LastRunErrorStatus AWS API Documentation
3275
+ #
3276
+ class LastRunErrorStatus < Struct.new(
3277
+ :code)
3278
+ SENSITIVE = []
3279
+ include Aws::Structure
3280
+ end
3281
+
3244
3282
  # Specifies criteria for filtering, sorting, and paginating the results
3245
3283
  # of a request for information about classification jobs.
3246
3284
  #
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.16.0
4
+ version: 1.17.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-09 00:00:00.000000000 Z
11
+ date: 2020-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core