aws-sdk-accessanalyzer 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f80476f46b987f9ebb707d450426aa4743e18738
4
- data.tar.gz: efe238c990e8ee40e1bd0b284071f0f7f0ac7acf
2
+ SHA256:
3
+ metadata.gz: c3473a1b27f43059682dcf204728522da2b9924c6b83391af47fea23147095b5
4
+ data.tar.gz: 26a1200012e532284b0fd2f3d388640526d0779c015b7a857e755acaeaafc81d
5
5
  SHA512:
6
- metadata.gz: ce945dab816ed118702e08ddc828a4c26b70691414742c6688a04e5fdeaa80ce97bb559195789c6700d33ae8eb6b5223519c1d8616c6d1ccf7b2af43966ead43
7
- data.tar.gz: 170d451ba51359e02ba8c94a87239e38bcd221bc3f841ebf9a8c3c04738e055f10b1ecc65c6f332f6514afc86970e4c95296d583a82597ee4d0553db02cc57c4
6
+ metadata.gz: e27affe0cf571380855dd857b16cf78ccc2463b9ba534a6d3035cecf95df8f41ef43554cacebcb605aed8f9b22aef2de2fcfc72e9c127c781fd9e2c982f0de67
7
+ data.tar.gz: 17b9c3b98b64596b32b3025c15c3b066d43379b31362d0d1ea1ef51a1a7f1ed368b7b135b5d9f33a6caad7241664d19bffa24838b22008a45397430227c63a47
@@ -642,6 +642,9 @@ module Aws::AccessAnalyzer
642
642
  # resp.finding.resource #=> String
643
643
  # resp.finding.resource_owner_account #=> String
644
644
  # resp.finding.resource_type #=> String, one of "AWS::IAM::Role", "AWS::KMS::Key", "AWS::Lambda::Function", "AWS::Lambda::LayerVersion", "AWS::S3::Bucket", "AWS::SQS::Queue"
645
+ # resp.finding.sources #=> Array
646
+ # resp.finding.sources[0].detail.access_point_arn #=> String
647
+ # resp.finding.sources[0].type #=> String, one of "BUCKET_ACL", "POLICY", "S3_ACCESS_POINT"
645
648
  # resp.finding.status #=> String, one of "ACTIVE", "ARCHIVED", "RESOLVED"
646
649
  # resp.finding.updated_at #=> Time
647
650
  #
@@ -864,6 +867,9 @@ module Aws::AccessAnalyzer
864
867
  # resp.findings[0].resource #=> String
865
868
  # resp.findings[0].resource_owner_account #=> String
866
869
  # resp.findings[0].resource_type #=> String, one of "AWS::IAM::Role", "AWS::KMS::Key", "AWS::Lambda::Function", "AWS::Lambda::LayerVersion", "AWS::S3::Bucket", "AWS::SQS::Queue"
870
+ # resp.findings[0].sources #=> Array
871
+ # resp.findings[0].sources[0].detail.access_point_arn #=> String
872
+ # resp.findings[0].sources[0].type #=> String, one of "BUCKET_ACL", "POLICY", "S3_ACCESS_POINT"
867
873
  # resp.findings[0].status #=> String, one of "ACTIVE", "ARCHIVED", "RESOLVED"
868
874
  # resp.findings[0].updated_at #=> Time
869
875
  # resp.next_token #=> String
@@ -1089,7 +1095,7 @@ module Aws::AccessAnalyzer
1089
1095
  params: params,
1090
1096
  config: config)
1091
1097
  context[:gem_name] = 'aws-sdk-accessanalyzer'
1092
- context[:gem_version] = '1.4.0'
1098
+ context[:gem_version] = '1.5.0'
1093
1099
  Seahorse::Client::Request.new(handlers, context)
1094
1100
  end
1095
1101
 
@@ -35,6 +35,10 @@ module Aws::AccessAnalyzer
35
35
  Finding = Shapes::StructureShape.new(name: 'Finding')
36
36
  FindingId = Shapes::StringShape.new(name: 'FindingId')
37
37
  FindingIdList = Shapes::ListShape.new(name: 'FindingIdList')
38
+ FindingSource = Shapes::StructureShape.new(name: 'FindingSource')
39
+ FindingSourceDetail = Shapes::StructureShape.new(name: 'FindingSourceDetail')
40
+ FindingSourceList = Shapes::ListShape.new(name: 'FindingSourceList')
41
+ FindingSourceType = Shapes::StringShape.new(name: 'FindingSourceType')
38
42
  FindingStatus = Shapes::StringShape.new(name: 'FindingStatus')
39
43
  FindingStatusUpdate = Shapes::StringShape.new(name: 'FindingStatusUpdate')
40
44
  FindingSummary = Shapes::StructureShape.new(name: 'FindingSummary')
@@ -191,12 +195,22 @@ module Aws::AccessAnalyzer
191
195
  Finding.add_member(:resource, Shapes::ShapeRef.new(shape: String, location_name: "resource"))
192
196
  Finding.add_member(:resource_owner_account, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceOwnerAccount"))
193
197
  Finding.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
198
+ Finding.add_member(:sources, Shapes::ShapeRef.new(shape: FindingSourceList, location_name: "sources"))
194
199
  Finding.add_member(:status, Shapes::ShapeRef.new(shape: FindingStatus, required: true, location_name: "status"))
195
200
  Finding.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updatedAt"))
196
201
  Finding.struct_class = Types::Finding
197
202
 
198
203
  FindingIdList.member = Shapes::ShapeRef.new(shape: FindingId)
199
204
 
205
+ FindingSource.add_member(:detail, Shapes::ShapeRef.new(shape: FindingSourceDetail, location_name: "detail"))
206
+ FindingSource.add_member(:type, Shapes::ShapeRef.new(shape: FindingSourceType, required: true, location_name: "type"))
207
+ FindingSource.struct_class = Types::FindingSource
208
+
209
+ FindingSourceDetail.add_member(:access_point_arn, Shapes::ShapeRef.new(shape: String, location_name: "accessPointArn"))
210
+ FindingSourceDetail.struct_class = Types::FindingSourceDetail
211
+
212
+ FindingSourceList.member = Shapes::ShapeRef.new(shape: FindingSource)
213
+
200
214
  FindingSummary.add_member(:action, Shapes::ShapeRef.new(shape: ActionList, location_name: "action"))
201
215
  FindingSummary.add_member(:analyzed_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "analyzedAt"))
202
216
  FindingSummary.add_member(:condition, Shapes::ShapeRef.new(shape: ConditionKeyMap, required: true, location_name: "condition"))
@@ -208,6 +222,7 @@ module Aws::AccessAnalyzer
208
222
  FindingSummary.add_member(:resource, Shapes::ShapeRef.new(shape: String, location_name: "resource"))
209
223
  FindingSummary.add_member(:resource_owner_account, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceOwnerAccount"))
210
224
  FindingSummary.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
225
+ FindingSummary.add_member(:sources, Shapes::ShapeRef.new(shape: FindingSourceList, location_name: "sources"))
211
226
  FindingSummary.add_member(:status, Shapes::ShapeRef.new(shape: FindingStatus, required: true, location_name: "status"))
212
227
  FindingSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updatedAt"))
213
228
  FindingSummary.struct_class = Types::FindingSummary
@@ -57,7 +57,8 @@ module Aws::AccessAnalyzer
57
57
  # @return [String]
58
58
  #
59
59
  # @!attribute [rw] shared_via
60
- # Indicates how the access that generated the finding is granted.
60
+ # Indicates how the access that generated the finding is granted. This
61
+ # is populated for Amazon S3 bucket findings.
61
62
  # @return [Array<String>]
62
63
  #
63
64
  # @!attribute [rw] status
@@ -506,6 +507,12 @@ module Aws::AccessAnalyzer
506
507
  # The type of the resource reported in the finding.
507
508
  # @return [String]
508
509
  #
510
+ # @!attribute [rw] sources
511
+ # The sources of the finding. This indicates how the access that
512
+ # generated the finding is granted. It is populated for Amazon S3
513
+ # bucket findings.
514
+ # @return [Array<Types::FindingSource>]
515
+ #
509
516
  # @!attribute [rw] status
510
517
  # The current status of the finding.
511
518
  # @return [String]
@@ -528,11 +535,47 @@ module Aws::AccessAnalyzer
528
535
  :resource,
529
536
  :resource_owner_account,
530
537
  :resource_type,
538
+ :sources,
531
539
  :status,
532
540
  :updated_at)
533
541
  include Aws::Structure
534
542
  end
535
543
 
544
+ # The source of the finding. This indicates how the access that
545
+ # generated the finding is granted. It is populated for Amazon S3 bucket
546
+ # findings.
547
+ #
548
+ # @!attribute [rw] detail
549
+ # Includes details about how the access that generated the finding is
550
+ # granted. This is populated for Amazon S3 bucket findings.
551
+ # @return [Types::FindingSourceDetail]
552
+ #
553
+ # @!attribute [rw] type
554
+ # Indicates the type of access that generated the finding.
555
+ # @return [String]
556
+ #
557
+ # @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/FindingSource AWS API Documentation
558
+ #
559
+ class FindingSource < Struct.new(
560
+ :detail,
561
+ :type)
562
+ include Aws::Structure
563
+ end
564
+
565
+ # Includes details about how the access that generated the finding is
566
+ # granted. This is populated for Amazon S3 bucket findings.
567
+ #
568
+ # @!attribute [rw] access_point_arn
569
+ # The ARN of the access point that generated the finding.
570
+ # @return [String]
571
+ #
572
+ # @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/FindingSourceDetail AWS API Documentation
573
+ #
574
+ class FindingSourceDetail < Struct.new(
575
+ :access_point_arn)
576
+ include Aws::Structure
577
+ end
578
+
536
579
  # Contains information about a finding.
537
580
  #
538
581
  # @!attribute [rw] action
@@ -584,6 +627,12 @@ module Aws::AccessAnalyzer
584
627
  # The type of the resource that the external principal has access to.
585
628
  # @return [String]
586
629
  #
630
+ # @!attribute [rw] sources
631
+ # The sources of the finding. This indicates how the access that
632
+ # generated the finding is granted. It is populated for Amazon S3
633
+ # bucket findings.
634
+ # @return [Array<Types::FindingSource>]
635
+ #
587
636
  # @!attribute [rw] status
588
637
  # The status of the finding.
589
638
  # @return [String]
@@ -606,6 +655,7 @@ module Aws::AccessAnalyzer
606
655
  :resource,
607
656
  :resource_owner_account,
608
657
  :resource_type,
658
+ :sources,
609
659
  :status,
610
660
  :updated_at)
611
661
  include Aws::Structure
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-accessanalyzer/customizations'
45
45
  # @service
46
46
  module Aws::AccessAnalyzer
47
47
 
48
- GEM_VERSION = '1.4.0'
48
+ GEM_VERSION = '1.5.0'
49
49
 
50
50
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-accessanalyzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.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-03-30 00:00:00.000000000 Z
11
+ date: 2020-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -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.5.2.3
84
+ rubygems_version: 2.7.6.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: AWS SDK for Ruby - Access Analyzer