aws-sdk-guardduty 1.167.0 → 1.168.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: 9273fe81d5f44d79b8e37c12b5fdb1e993f1d7d9c0540ec0b2a6b97c043b28c9
4
- data.tar.gz: 0ced319effb73a499326d49c3e4c15f0c756b2abcbfcb7748a0ccd9da2d7ea0c
3
+ metadata.gz: 4fc789bd70c1c224f66723b6fb055b16df2b5f89532f0d17df1dbe4f73ac8e1c
4
+ data.tar.gz: 3faeb5b6a9cf58b826e05774797067e7c733b9cf95eca103db839b0a2857846a
5
5
  SHA512:
6
- metadata.gz: ec8d0a708dc3effa62136d6427f8bd9951af1d3059273db41e65a71d4416cbb39112e72fc2acd1fd5c644c9290f9fa2c0f5ad97d8fd5b15cc50bdfae34036b56
7
- data.tar.gz: 3965b330df0c2af43dd3d87b95f39e8618950f13c5227caafcd39750a70e23839f50d6b5b908aecec54b4a52297182f1b149a7ae4bbb888cace7b4b1f504748a
6
+ metadata.gz: 1de4b48b0861710e6f2b969e5395d26133fb4e6c81daf8e8fc9a3c4f298723945710bc2d7be81ca5863b43e860c5be80b2f36bb20df21ab1ea3411e9cf0b8bb2
7
+ data.tar.gz: 9de7481b24bf4c4b219b24e45e652c202c293a36758dc282f21eafca1b31bec6ae1589cf5a289f71a4f6db0833a836b79e7af559c790c684f72cd06dfe687bd7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.168.0 (2026-10-19)
5
+ ------------------
6
+
7
+ * Feature - Adding a new Expected Bucket Owner optional field for GuardDuty publishing destination APIs
8
+
4
9
  1.167.0 (2026-10-14)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.167.0
1
+ 1.168.0
@@ -2593,6 +2593,7 @@ module Aws::GuardDuty
2593
2593
  # destination_properties: { # required
2594
2594
  # destination_arn: "String",
2595
2595
  # kms_key_arn: "String",
2596
+ # expected_bucket_owner: "AccountId",
2596
2597
  # },
2597
2598
  # client_token: "ClientToken",
2598
2599
  # tags: {
@@ -3570,6 +3571,7 @@ module Aws::GuardDuty
3570
3571
  # resp.publishing_failure_start_timestamp #=> Integer
3571
3572
  # resp.destination_properties.destination_arn #=> String
3572
3573
  # resp.destination_properties.kms_key_arn #=> String
3574
+ # resp.destination_properties.expected_bucket_owner #=> String
3573
3575
  # resp.tags #=> Hash
3574
3576
  # resp.tags["TagKey"] #=> String
3575
3577
  #
@@ -9542,6 +9544,7 @@ module Aws::GuardDuty
9542
9544
  # destination_properties: {
9543
9545
  # destination_arn: "String",
9544
9546
  # kms_key_arn: "String",
9547
+ # expected_bucket_owner: "AccountId",
9545
9548
  # },
9546
9549
  # })
9547
9550
  #
@@ -9744,7 +9747,7 @@ module Aws::GuardDuty
9744
9747
  tracer: tracer
9745
9748
  )
9746
9749
  context[:gem_name] = 'aws-sdk-guardduty'
9747
- context[:gem_version] = '1.167.0'
9750
+ context[:gem_version] = '1.168.0'
9748
9751
  Seahorse::Client::Request.new(handlers, context)
9749
9752
  end
9750
9753
 
@@ -1476,6 +1476,7 @@ module Aws::GuardDuty
1476
1476
 
1477
1477
  DestinationProperties.add_member(:destination_arn, Shapes::ShapeRef.new(shape: String, location_name: "destinationArn"))
1478
1478
  DestinationProperties.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyArn"))
1479
+ DestinationProperties.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "expectedBucketOwner"))
1479
1480
  DestinationProperties.struct_class = Types::DestinationProperties
1480
1481
 
1481
1482
  Destinations.member = Shapes::ShapeRef.new(shape: Destination)
@@ -4709,11 +4709,40 @@ module Aws::GuardDuty
4709
4709
  # The ARN of the KMS key to use for encryption.
4710
4710
  # @return [String]
4711
4711
  #
4712
+ # @!attribute [rw] expected_bucket_owner
4713
+ # The 12-digit Amazon Web Services account ID of the account that owns
4714
+ # the Amazon S3 bucket specified in the `DestinationArn` parameter.
4715
+ #
4716
+ # When you provide this value, GuardDuty verifies that the specified
4717
+ # account owns the bucket before it exports findings. If the account
4718
+ # ID doesn't match the actual owner of the bucket, GuardDuty doesn't
4719
+ # export findings to that bucket. This helps prevent GuardDuty from
4720
+ # exporting your findings to a bucket that a different Amazon Web
4721
+ # Services account owns (for example, if the original bucket was
4722
+ # deleted and its name was later claimed by another account). If you
4723
+ # don't specify this value, GuardDuty doesn't perform this
4724
+ # verification. GuardDuty strongly recommends that you provide the
4725
+ # expected bucket owner when possible.
4726
+ #
4727
+ # When you update a publishing destination, omitting this field leaves
4728
+ # the currently stored value unchanged. This field appears in the
4729
+ # response only if it was provided when the publishing destination was
4730
+ # created or updated.
4731
+ #
4732
+ # For more information, see [Verifying the Amazon S3 bucket owner][1]
4733
+ # in the *Amazon GuardDuty User Guide*.
4734
+ #
4735
+ #
4736
+ #
4737
+ # [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_exportfindings.html#guardduty-exportfindings-expected-bucket-owner
4738
+ # @return [String]
4739
+ #
4712
4740
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DestinationProperties AWS API Documentation
4713
4741
  #
4714
4742
  class DestinationProperties < Struct.new(
4715
4743
  :destination_arn,
4716
- :kms_key_arn)
4744
+ :kms_key_arn,
4745
+ :expected_bucket_owner)
4717
4746
  SENSITIVE = []
4718
4747
  include Aws::Structure
4719
4748
  end
@@ -54,7 +54,7 @@ module Aws::GuardDuty
54
54
  autoload :EndpointProvider, 'aws-sdk-guardduty/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-guardduty/endpoints'
56
56
 
57
- GEM_VERSION = '1.167.0'
57
+ GEM_VERSION = '1.168.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -249,7 +249,8 @@ module Aws
249
249
  destination_type: ("S3"),
250
250
  destination_properties: {
251
251
  destination_arn: ::String?,
252
- kms_key_arn: ::String?
252
+ kms_key_arn: ::String?,
253
+ expected_bucket_owner: ::String?
253
254
  },
254
255
  ?client_token: ::String,
255
256
  ?tags: Hash[::String, ::String]
@@ -1468,7 +1469,8 @@ module Aws
1468
1469
  destination_id: ::String,
1469
1470
  ?destination_properties: {
1470
1471
  destination_arn: ::String?,
1471
- kms_key_arn: ::String?
1472
+ kms_key_arn: ::String?,
1473
+ expected_bucket_owner: ::String?
1472
1474
  }
1473
1475
  ) -> _UpdatePublishingDestinationResponseSuccess
1474
1476
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePublishingDestinationResponseSuccess
data/sig/errors.rbs CHANGED
@@ -11,23 +11,23 @@ module Aws
11
11
  class ServiceError < ::Aws::Errors::ServiceError
12
12
  end
13
13
 
14
- class AccessDeniedException < ::Aws::Errors::ServiceError
14
+ class AccessDeniedException < ServiceError
15
15
  def message: () -> ::String
16
16
  def type: () -> ::String
17
17
  end
18
- class BadRequestException < ::Aws::Errors::ServiceError
18
+ class BadRequestException < ServiceError
19
19
  def message: () -> ::String
20
20
  def type: () -> ::String
21
21
  end
22
- class ConflictException < ::Aws::Errors::ServiceError
22
+ class ConflictException < ServiceError
23
23
  def message: () -> ::String
24
24
  def type: () -> ::String
25
25
  end
26
- class InternalServerErrorException < ::Aws::Errors::ServiceError
26
+ class InternalServerErrorException < ServiceError
27
27
  def message: () -> ::String
28
28
  def type: () -> ::String
29
29
  end
30
- class ResourceNotFoundException < ::Aws::Errors::ServiceError
30
+ class ResourceNotFoundException < ServiceError
31
31
  def message: () -> ::String
32
32
  def type: () -> ::String
33
33
  end
data/sig/types.rbs CHANGED
@@ -867,6 +867,7 @@ module Aws::GuardDuty
867
867
  class DestinationProperties
868
868
  attr_accessor destination_arn: ::String
869
869
  attr_accessor kms_key_arn: ::String
870
+ attr_accessor expected_bucket_owner: ::String
870
871
  SENSITIVE: []
871
872
  end
872
873
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-guardduty
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.167.0
4
+ version: 1.168.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.256.0
21
+ version: 3.258.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.256.0
31
+ version: 3.258.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement