aws-sdk-accessanalyzer 1.19.0 → 1.20.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
2
  SHA256:
3
- metadata.gz: 65e73ab7a1dc9196dbd04862d778b147a7a85a133e5b55e19b239927e8c70317
4
- data.tar.gz: cf441dbf05279c1d793815de79c8dabe2825f5fea3bcda7a6fe3e4ed5ff2ed22
3
+ metadata.gz: 0407ed6fa5762737b915b27fd299ca49813fd28e6213b0f771ce73d557cf800e
4
+ data.tar.gz: ffa3eb2db925dc67215ff8a53aa40f99546e31400591dac07eff88b9887bb38a
5
5
  SHA512:
6
- metadata.gz: 5bf9c8d758ae7fabcdc590f220ebf07b903e13ab5039b3d1c73c6a45e252d7024d157f4d2f9b7905a8fc3a578e5e8ea9e04873349017113f7a47a8806f8d8ab0
7
- data.tar.gz: e9398114a1660d2750d9f1ae41ec96a30bc0ebbe0a14bb69f5700a8577777cbc90ffb49ee0bf4d4f7bf08532e11d1b21f60f6e72d676391d8fc30640bdd8915a
6
+ metadata.gz: 591d89152a7c1d5e720738a76d6bfe12186c4edbba09c8ef690ba18879035edefc7d695b006dd6d455252dc1ac1a9ad19c35405b854111edcee51bc6e2fdc108
7
+ data.tar.gz: d399bcd8faab2e46677ecde2ca6cf7e21d535b859ba0eddb78f0601de6f8e40435a0fbab65a2f928b1fe921418c40774b4fecf89ee9470e663c74e052d0c54dd
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.20.0 (2021-07-28)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.19.0 (2021-04-07)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.19.0
1
+ 1.20.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-accessanalyzer/customizations'
48
48
  # @!group service
49
49
  module Aws::AccessAnalyzer
50
50
 
51
- GEM_VERSION = '1.19.0'
51
+ GEM_VERSION = '1.20.0'
52
52
 
53
53
  end
@@ -1790,7 +1790,7 @@ module Aws::AccessAnalyzer
1790
1790
  params: params,
1791
1791
  config: config)
1792
1792
  context[:gem_name] = 'aws-sdk-accessanalyzer'
1793
- context[:gem_version] = '1.19.0'
1793
+ context[:gem_version] = '1.20.0'
1794
1794
  Seahorse::Client::Request.new(handlers, context)
1795
1795
  end
1796
1796
 
@@ -27,7 +27,7 @@ module Aws::AccessAnalyzer
27
27
  AccessPreviewSummary = Shapes::StructureShape.new(name: 'AccessPreviewSummary')
28
28
  AccessPreviewsList = Shapes::ListShape.new(name: 'AccessPreviewsList')
29
29
  AclCanonicalId = Shapes::StringShape.new(name: 'AclCanonicalId')
30
- AclGrantee = Shapes::StructureShape.new(name: 'AclGrantee')
30
+ AclGrantee = Shapes::UnionShape.new(name: 'AclGrantee')
31
31
  AclPermission = Shapes::StringShape.new(name: 'AclPermission')
32
32
  AclUri = Shapes::StringShape.new(name: 'AclUri')
33
33
  ActionList = Shapes::ListShape.new(name: 'ActionList')
@@ -48,7 +48,7 @@ module Aws::AccessAnalyzer
48
48
  CloudTrailDetails = Shapes::StructureShape.new(name: 'CloudTrailDetails')
49
49
  CloudTrailProperties = Shapes::StructureShape.new(name: 'CloudTrailProperties')
50
50
  ConditionKeyMap = Shapes::MapShape.new(name: 'ConditionKeyMap')
51
- Configuration = Shapes::StructureShape.new(name: 'Configuration')
51
+ Configuration = Shapes::UnionShape.new(name: 'Configuration')
52
52
  ConfigurationsMap = Shapes::MapShape.new(name: 'ConfigurationsMap')
53
53
  ConfigurationsMapKey = Shapes::StringShape.new(name: 'ConfigurationsMapKey')
54
54
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
@@ -137,9 +137,9 @@ module Aws::AccessAnalyzer
137
137
  Location = Shapes::StructureShape.new(name: 'Location')
138
138
  LocationList = Shapes::ListShape.new(name: 'LocationList')
139
139
  Name = Shapes::StringShape.new(name: 'Name')
140
- NetworkOriginConfiguration = Shapes::StructureShape.new(name: 'NetworkOriginConfiguration')
140
+ NetworkOriginConfiguration = Shapes::UnionShape.new(name: 'NetworkOriginConfiguration')
141
141
  OrderBy = Shapes::StringShape.new(name: 'OrderBy')
142
- PathElement = Shapes::StructureShape.new(name: 'PathElement')
142
+ PathElement = Shapes::UnionShape.new(name: 'PathElement')
143
143
  PathElementList = Shapes::ListShape.new(name: 'PathElementList')
144
144
  PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
145
145
  PolicyGeneration = Shapes::StructureShape.new(name: 'PolicyGeneration')
@@ -252,6 +252,10 @@ module Aws::AccessAnalyzer
252
252
 
253
253
  AclGrantee.add_member(:id, Shapes::ShapeRef.new(shape: AclCanonicalId, location_name: "id"))
254
254
  AclGrantee.add_member(:uri, Shapes::ShapeRef.new(shape: AclUri, location_name: "uri"))
255
+ AclGrantee.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
256
+ AclGrantee.add_member_subclass(:id, Types::AclGrantee::Id)
257
+ AclGrantee.add_member_subclass(:uri, Types::AclGrantee::Uri)
258
+ AclGrantee.add_member_subclass(:unknown, Types::AclGrantee::Unknown)
255
259
  AclGrantee.struct_class = Types::AclGrantee
256
260
 
257
261
  ActionList.member = Shapes::ShapeRef.new(shape: String)
@@ -326,6 +330,13 @@ module Aws::AccessAnalyzer
326
330
  Configuration.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3BucketConfiguration, location_name: "s3Bucket"))
327
331
  Configuration.add_member(:secrets_manager_secret, Shapes::ShapeRef.new(shape: SecretsManagerSecretConfiguration, location_name: "secretsManagerSecret"))
328
332
  Configuration.add_member(:sqs_queue, Shapes::ShapeRef.new(shape: SqsQueueConfiguration, location_name: "sqsQueue"))
333
+ Configuration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
334
+ Configuration.add_member_subclass(:iam_role, Types::Configuration::IamRole)
335
+ Configuration.add_member_subclass(:kms_key, Types::Configuration::KmsKey)
336
+ Configuration.add_member_subclass(:s3_bucket, Types::Configuration::S3Bucket)
337
+ Configuration.add_member_subclass(:secrets_manager_secret, Types::Configuration::SecretsManagerSecret)
338
+ Configuration.add_member_subclass(:sqs_queue, Types::Configuration::SqsQueue)
339
+ Configuration.add_member_subclass(:unknown, Types::Configuration::Unknown)
329
340
  Configuration.struct_class = Types::Configuration
330
341
 
331
342
  ConfigurationsMap.key = Shapes::ShapeRef.new(shape: ConfigurationsMapKey)
@@ -613,12 +624,22 @@ module Aws::AccessAnalyzer
613
624
 
614
625
  NetworkOriginConfiguration.add_member(:internet_configuration, Shapes::ShapeRef.new(shape: InternetConfiguration, location_name: "internetConfiguration"))
615
626
  NetworkOriginConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, location_name: "vpcConfiguration"))
627
+ NetworkOriginConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
628
+ NetworkOriginConfiguration.add_member_subclass(:internet_configuration, Types::NetworkOriginConfiguration::InternetConfiguration)
629
+ NetworkOriginConfiguration.add_member_subclass(:vpc_configuration, Types::NetworkOriginConfiguration::VpcConfiguration)
630
+ NetworkOriginConfiguration.add_member_subclass(:unknown, Types::NetworkOriginConfiguration::Unknown)
616
631
  NetworkOriginConfiguration.struct_class = Types::NetworkOriginConfiguration
617
632
 
618
633
  PathElement.add_member(:index, Shapes::ShapeRef.new(shape: Integer, location_name: "index"))
619
634
  PathElement.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
620
635
  PathElement.add_member(:substring, Shapes::ShapeRef.new(shape: Substring, location_name: "substring"))
621
636
  PathElement.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
637
+ PathElement.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
638
+ PathElement.add_member_subclass(:index, Types::PathElement::Index)
639
+ PathElement.add_member_subclass(:key, Types::PathElement::Key)
640
+ PathElement.add_member_subclass(:substring, Types::PathElement::Substring)
641
+ PathElement.add_member_subclass(:value, Types::PathElement::Value)
642
+ PathElement.add_member_subclass(:unknown, Types::PathElement::Unknown)
622
643
  PathElement.struct_class = Types::PathElement
623
644
 
624
645
  PathElementList.member = Shapes::ShapeRef.new(shape: PathElement)
@@ -258,13 +258,9 @@ module Aws::AccessAnalyzer
258
258
  #
259
259
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAcl.html
260
260
  #
261
- # @note When making an API call, you may pass AclGrantee
262
- # data as a hash:
261
+ # @note AclGrantee is a union - when making an API calls you must set exactly one of the members.
263
262
  #
264
- # {
265
- # id: "AclCanonicalId",
266
- # uri: "AclUri",
267
- # }
263
+ # @note AclGrantee is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AclGrantee corresponding to the set member.
268
264
  #
269
265
  # @!attribute [rw] id
270
266
  # The value specified is the canonical user ID of an AWS account.
@@ -278,9 +274,15 @@ module Aws::AccessAnalyzer
278
274
  #
279
275
  class AclGrantee < Struct.new(
280
276
  :id,
281
- :uri)
277
+ :uri,
278
+ :unknown)
282
279
  SENSITIVE = []
283
280
  include Aws::Structure
281
+ include Aws::Structure::Union
282
+
283
+ class Id < AclGrantee; end
284
+ class Uri < AclGrantee; end
285
+ class Unknown < AclGrantee; end
284
286
  end
285
287
 
286
288
  # Contains details about the analyzed resource.
@@ -617,74 +619,9 @@ module Aws::AccessAnalyzer
617
619
  # the configuration as a type-value pair. You can specify only one type
618
620
  # of access control configuration.
619
621
  #
620
- # @note When making an API call, you may pass Configuration
621
- # data as a hash:
622
+ # @note Configuration is a union - when making an API calls you must set exactly one of the members.
622
623
  #
623
- # {
624
- # iam_role: {
625
- # trust_policy: "IamTrustPolicy",
626
- # },
627
- # kms_key: {
628
- # grants: [
629
- # {
630
- # constraints: {
631
- # encryption_context_equals: {
632
- # "KmsConstraintsKey" => "KmsConstraintsValue",
633
- # },
634
- # encryption_context_subset: {
635
- # "KmsConstraintsKey" => "KmsConstraintsValue",
636
- # },
637
- # },
638
- # grantee_principal: "GranteePrincipal", # required
639
- # issuing_account: "IssuingAccount", # required
640
- # operations: ["CreateGrant"], # required, accepts CreateGrant, Decrypt, DescribeKey, Encrypt, GenerateDataKey, GenerateDataKeyPair, GenerateDataKeyPairWithoutPlaintext, GenerateDataKeyWithoutPlaintext, GetPublicKey, ReEncryptFrom, ReEncryptTo, RetireGrant, Sign, Verify
641
- # retiring_principal: "RetiringPrincipal",
642
- # },
643
- # ],
644
- # key_policies: {
645
- # "PolicyName" => "KmsKeyPolicy",
646
- # },
647
- # },
648
- # s3_bucket: {
649
- # access_points: {
650
- # "AccessPointArn" => {
651
- # access_point_policy: "AccessPointPolicy",
652
- # network_origin: {
653
- # internet_configuration: {
654
- # },
655
- # vpc_configuration: {
656
- # vpc_id: "VpcId", # required
657
- # },
658
- # },
659
- # public_access_block: {
660
- # ignore_public_acls: false, # required
661
- # restrict_public_buckets: false, # required
662
- # },
663
- # },
664
- # },
665
- # bucket_acl_grants: [
666
- # {
667
- # grantee: { # required
668
- # id: "AclCanonicalId",
669
- # uri: "AclUri",
670
- # },
671
- # permission: "READ", # required, accepts READ, WRITE, READ_ACP, WRITE_ACP, FULL_CONTROL
672
- # },
673
- # ],
674
- # bucket_policy: "S3BucketPolicy",
675
- # bucket_public_access_block: {
676
- # ignore_public_acls: false, # required
677
- # restrict_public_buckets: false, # required
678
- # },
679
- # },
680
- # secrets_manager_secret: {
681
- # kms_key_id: "SecretsManagerSecretKmsId",
682
- # secret_policy: "SecretsManagerSecretPolicy",
683
- # },
684
- # sqs_queue: {
685
- # queue_policy: "SqsQueuePolicy",
686
- # },
687
- # }
624
+ # @note Configuration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Configuration corresponding to the set member.
688
625
  #
689
626
  # @!attribute [rw] iam_role
690
627
  # The access control configuration is for an IAM role.
@@ -713,9 +650,18 @@ module Aws::AccessAnalyzer
713
650
  :kms_key,
714
651
  :s3_bucket,
715
652
  :secrets_manager_secret,
716
- :sqs_queue)
653
+ :sqs_queue,
654
+ :unknown)
717
655
  SENSITIVE = []
718
656
  include Aws::Structure
657
+ include Aws::Structure::Union
658
+
659
+ class IamRole < Configuration; end
660
+ class KmsKey < Configuration; end
661
+ class S3Bucket < Configuration; end
662
+ class SecretsManagerSecret < Configuration; end
663
+ class SqsQueue < Configuration; end
664
+ class Unknown < Configuration; end
719
665
  end
720
666
 
721
667
  # A conflict exception error.
@@ -2491,16 +2437,9 @@ module Aws::AccessAnalyzer
2491
2437
  #
2492
2438
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/creating-access-points.html
2493
2439
  #
2494
- # @note When making an API call, you may pass NetworkOriginConfiguration
2495
- # data as a hash:
2440
+ # @note NetworkOriginConfiguration is a union - when making an API calls you must set exactly one of the members.
2496
2441
  #
2497
- # {
2498
- # internet_configuration: {
2499
- # },
2500
- # vpc_configuration: {
2501
- # vpc_id: "VpcId", # required
2502
- # },
2503
- # }
2442
+ # @note NetworkOriginConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of NetworkOriginConfiguration corresponding to the set member.
2504
2443
  #
2505
2444
  # @!attribute [rw] internet_configuration
2506
2445
  # The configuration for the Amazon S3 access point with an `Internet`
@@ -2521,14 +2460,22 @@ module Aws::AccessAnalyzer
2521
2460
  #
2522
2461
  class NetworkOriginConfiguration < Struct.new(
2523
2462
  :internet_configuration,
2524
- :vpc_configuration)
2463
+ :vpc_configuration,
2464
+ :unknown)
2525
2465
  SENSITIVE = []
2526
2466
  include Aws::Structure
2467
+ include Aws::Structure::Union
2468
+
2469
+ class InternetConfiguration < NetworkOriginConfiguration; end
2470
+ class VpcConfiguration < NetworkOriginConfiguration; end
2471
+ class Unknown < NetworkOriginConfiguration; end
2527
2472
  end
2528
2473
 
2529
2474
  # A single element in a path through the JSON representation of a
2530
2475
  # policy.
2531
2476
  #
2477
+ # @note PathElement is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of PathElement corresponding to the set member.
2478
+ #
2532
2479
  # @!attribute [rw] index
2533
2480
  # Refers to an index in a JSON array.
2534
2481
  # @return [Integer]
@@ -2551,9 +2498,17 @@ module Aws::AccessAnalyzer
2551
2498
  :index,
2552
2499
  :key,
2553
2500
  :substring,
2554
- :value)
2501
+ :value,
2502
+ :unknown)
2555
2503
  SENSITIVE = []
2556
2504
  include Aws::Structure
2505
+ include Aws::Structure::Union
2506
+
2507
+ class Index < PathElement; end
2508
+ class Key < PathElement; end
2509
+ class Substring < PathElement; end
2510
+ class Value < PathElement; end
2511
+ class Unknown < PathElement; end
2557
2512
  end
2558
2513
 
2559
2514
  # Contains details about the policy generation status and properties.
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.19.0
4
+ version: 1.20.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: 2021-04-07 00:00:00.000000000 Z
11
+ date: 2021-07-28 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.112.0
22
+ version: 3.118.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.112.0
32
+ version: 3.118.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  requirements: []
86
- rubyforge_project:
87
- rubygems_version: 2.7.6.2
86
+ rubygems_version: 3.1.6
88
87
  signing_key:
89
88
  specification_version: 4
90
89
  summary: AWS SDK for Ruby - Access Analyzer