aws-sdk-guardduty 1.119.0 → 1.121.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/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-guardduty/client.rb +43 -9
- data/lib/aws-sdk-guardduty/client_api.rb +10 -0
- data/lib/aws-sdk-guardduty/types.rb +45 -6
- data/lib/aws-sdk-guardduty.rb +1 -1
- data/sig/client.rbs +11 -4
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +6 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0be3afe495f98e47b77995c397714d81130aba89276d009a01994c21b40d9c3
|
4
|
+
data.tar.gz: a6f39907c90ca28e69357e2a3d8bced32938bfecd34e2061058fd12cf9bf5fac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 339516cc3606a3e193df44434de3656775ed9a66ee309861987c68cfddfeef5b09e4fd1fa0c9c4ab6d6e6932c2cd75f7316a4a4c5632d710598b70b246f9aac0
|
7
|
+
data.tar.gz: 57f30ecc97e0b4fcd6484e137713399fc89b6d4a15f5857a9fbc675796b881003847a3dc1a81e5b4923d87805ec3f32733de04292d5a3f43276db6cc79c19e02
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.121.0 (2025-07-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.120.0 (2025-07-16)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add expectedBucketOwner parameter to ThreatIntel and IPSet APIs.
|
13
|
+
|
4
14
|
1.119.0 (2025-06-27)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.121.0
|
@@ -95,7 +95,7 @@ module Aws::GuardDuty
|
|
95
95
|
# class name or an instance of a plugin class.
|
96
96
|
#
|
97
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
98
|
-
# Your AWS credentials. This can be an instance of any one of the
|
98
|
+
# Your AWS credentials used for authentication. This can be an instance of any one of the
|
99
99
|
# following classes:
|
100
100
|
#
|
101
101
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
@@ -128,18 +128,23 @@ module Aws::GuardDuty
|
|
128
128
|
# locations will be searched for credentials:
|
129
129
|
#
|
130
130
|
# * `Aws.config[:credentials]`
|
131
|
+
#
|
131
132
|
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
132
133
|
# `:account_id` options.
|
133
|
-
#
|
134
|
-
#
|
134
|
+
#
|
135
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
136
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
137
|
+
#
|
135
138
|
# * `~/.aws/credentials`
|
139
|
+
#
|
136
140
|
# * `~/.aws/config`
|
141
|
+
#
|
137
142
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
143
|
# are very aggressive. Construct and pass an instance of
|
139
144
|
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
145
|
# enable retries and extended timeouts. Instance profile credential
|
141
|
-
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
|
-
# to true
|
146
|
+
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
147
|
+
# to `true`.
|
143
148
|
#
|
144
149
|
# @option options [required, String] :region
|
145
150
|
# The AWS region to connect to. The configured `:region` is
|
@@ -167,6 +172,11 @@ module Aws::GuardDuty
|
|
167
172
|
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
168
173
|
# not retry instead of sleeping.
|
169
174
|
#
|
175
|
+
# @option options [Array<String>] :auth_scheme_preference
|
176
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
177
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
178
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
179
|
+
#
|
170
180
|
# @option options [Boolean] :client_side_monitoring (false)
|
171
181
|
# When `true`, client-side metrics will be collected for all API requests from
|
172
182
|
# this client.
|
@@ -253,8 +263,8 @@ module Aws::GuardDuty
|
|
253
263
|
# 4 times. Used in `standard` and `adaptive` retry modes.
|
254
264
|
#
|
255
265
|
# @option options [String] :profile ("default")
|
256
|
-
# Used when loading credentials from the shared credentials file
|
257
|
-
#
|
266
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
267
|
+
# When not specified, 'default' is used.
|
258
268
|
#
|
259
269
|
# @option options [String] :request_checksum_calculation ("when_supported")
|
260
270
|
# Determines when a checksum will be calculated for request payloads. Values are:
|
@@ -367,7 +377,7 @@ module Aws::GuardDuty
|
|
367
377
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
368
378
|
#
|
369
379
|
# @option options [Aws::TokenProvider] :token_provider
|
370
|
-
#
|
380
|
+
# Your Bearer token used for authentication. This can be an instance of any one of the
|
371
381
|
# following classes:
|
372
382
|
#
|
373
383
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
@@ -1060,6 +1070,10 @@ module Aws::GuardDuty
|
|
1060
1070
|
# @option params [Hash<String,String>] :tags
|
1061
1071
|
# The tags to be added to a new IP set resource.
|
1062
1072
|
#
|
1073
|
+
# @option params [String] :expected_bucket_owner
|
1074
|
+
# The Amazon Web Services account ID that owns the Amazon S3 bucket
|
1075
|
+
# specified in the **location** parameter.
|
1076
|
+
#
|
1063
1077
|
# @return [Types::CreateIPSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1064
1078
|
#
|
1065
1079
|
# * {Types::CreateIPSetResponse#ip_set_id #ip_set_id} => String
|
@@ -1076,6 +1090,7 @@ module Aws::GuardDuty
|
|
1076
1090
|
# tags: {
|
1077
1091
|
# "TagKey" => "TagValue",
|
1078
1092
|
# },
|
1093
|
+
# expected_bucket_owner: "AccountId",
|
1079
1094
|
# })
|
1080
1095
|
#
|
1081
1096
|
# @example Response structure
|
@@ -1377,6 +1392,10 @@ module Aws::GuardDuty
|
|
1377
1392
|
# @option params [Hash<String,String>] :tags
|
1378
1393
|
# The tags to be added to a new threat list resource.
|
1379
1394
|
#
|
1395
|
+
# @option params [String] :expected_bucket_owner
|
1396
|
+
# The Amazon Web Services account ID that owns the Amazon S3 bucket
|
1397
|
+
# specified in the **location** parameter.
|
1398
|
+
#
|
1380
1399
|
# @return [Types::CreateThreatIntelSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1381
1400
|
#
|
1382
1401
|
# * {Types::CreateThreatIntelSetResponse#threat_intel_set_id #threat_intel_set_id} => String
|
@@ -1393,6 +1412,7 @@ module Aws::GuardDuty
|
|
1393
1412
|
# tags: {
|
1394
1413
|
# "TagKey" => "TagValue",
|
1395
1414
|
# },
|
1415
|
+
# expected_bucket_owner: "AccountId",
|
1396
1416
|
# })
|
1397
1417
|
#
|
1398
1418
|
# @example Response structure
|
@@ -3197,6 +3217,7 @@ module Aws::GuardDuty
|
|
3197
3217
|
# * {Types::GetIPSetResponse#location #location} => String
|
3198
3218
|
# * {Types::GetIPSetResponse#status #status} => String
|
3199
3219
|
# * {Types::GetIPSetResponse#tags #tags} => Hash<String,String>
|
3220
|
+
# * {Types::GetIPSetResponse#expected_bucket_owner #expected_bucket_owner} => String
|
3200
3221
|
#
|
3201
3222
|
# @example Request syntax with placeholder values
|
3202
3223
|
#
|
@@ -3213,6 +3234,7 @@ module Aws::GuardDuty
|
|
3213
3234
|
# resp.status #=> String, one of "INACTIVE", "ACTIVATING", "ACTIVE", "DEACTIVATING", "ERROR", "DELETE_PENDING", "DELETED"
|
3214
3235
|
# resp.tags #=> Hash
|
3215
3236
|
# resp.tags["TagKey"] #=> String
|
3237
|
+
# resp.expected_bucket_owner #=> String
|
3216
3238
|
#
|
3217
3239
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSet AWS API Documentation
|
3218
3240
|
#
|
@@ -3620,6 +3642,7 @@ module Aws::GuardDuty
|
|
3620
3642
|
# * {Types::GetThreatIntelSetResponse#location #location} => String
|
3621
3643
|
# * {Types::GetThreatIntelSetResponse#status #status} => String
|
3622
3644
|
# * {Types::GetThreatIntelSetResponse#tags #tags} => Hash<String,String>
|
3645
|
+
# * {Types::GetThreatIntelSetResponse#expected_bucket_owner #expected_bucket_owner} => String
|
3623
3646
|
#
|
3624
3647
|
# @example Request syntax with placeholder values
|
3625
3648
|
#
|
@@ -3636,6 +3659,7 @@ module Aws::GuardDuty
|
|
3636
3659
|
# resp.status #=> String, one of "INACTIVE", "ACTIVATING", "ACTIVE", "DEACTIVATING", "ERROR", "DELETE_PENDING", "DELETED"
|
3637
3660
|
# resp.tags #=> Hash
|
3638
3661
|
# resp.tags["TagKey"] #=> String
|
3662
|
+
# resp.expected_bucket_owner #=> String
|
3639
3663
|
#
|
3640
3664
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSet AWS API Documentation
|
3641
3665
|
#
|
@@ -5119,6 +5143,10 @@ module Aws::GuardDuty
|
|
5119
5143
|
# The updated Boolean value that specifies whether the IPSet is active
|
5120
5144
|
# or not.
|
5121
5145
|
#
|
5146
|
+
# @option params [String] :expected_bucket_owner
|
5147
|
+
# The Amazon Web Services account ID that owns the Amazon S3 bucket
|
5148
|
+
# specified in the **location** parameter.
|
5149
|
+
#
|
5122
5150
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
5123
5151
|
#
|
5124
5152
|
# @example Request syntax with placeholder values
|
@@ -5129,6 +5157,7 @@ module Aws::GuardDuty
|
|
5129
5157
|
# name: "Name",
|
5130
5158
|
# location: "Location",
|
5131
5159
|
# activate: false,
|
5160
|
+
# expected_bucket_owner: "AccountId",
|
5132
5161
|
# })
|
5133
5162
|
#
|
5134
5163
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSet AWS API Documentation
|
@@ -5542,6 +5571,10 @@ module Aws::GuardDuty
|
|
5542
5571
|
# The updated Boolean value that specifies whether the ThreateIntelSet
|
5543
5572
|
# is active or not.
|
5544
5573
|
#
|
5574
|
+
# @option params [String] :expected_bucket_owner
|
5575
|
+
# The Amazon Web Services account ID that owns the Amazon S3 bucket
|
5576
|
+
# specified in the **location** parameter.
|
5577
|
+
#
|
5545
5578
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
5546
5579
|
#
|
5547
5580
|
# @example Request syntax with placeholder values
|
@@ -5552,6 +5585,7 @@ module Aws::GuardDuty
|
|
5552
5585
|
# name: "Name",
|
5553
5586
|
# location: "Location",
|
5554
5587
|
# activate: false,
|
5588
|
+
# expected_bucket_owner: "AccountId",
|
5555
5589
|
# })
|
5556
5590
|
#
|
5557
5591
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSet AWS API Documentation
|
@@ -5581,7 +5615,7 @@ module Aws::GuardDuty
|
|
5581
5615
|
tracer: tracer
|
5582
5616
|
)
|
5583
5617
|
context[:gem_name] = 'aws-sdk-guardduty'
|
5584
|
-
context[:gem_version] = '1.
|
5618
|
+
context[:gem_version] = '1.121.0'
|
5585
5619
|
Seahorse::Client::Request.new(handlers, context)
|
5586
5620
|
end
|
5587
5621
|
|
@@ -921,6 +921,7 @@ module Aws::GuardDuty
|
|
921
921
|
CreateIPSetRequest.add_member(:activate, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "activate"))
|
922
922
|
CreateIPSetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
923
923
|
CreateIPSetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
924
|
+
CreateIPSetRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "expectedBucketOwner"))
|
924
925
|
CreateIPSetRequest.struct_class = Types::CreateIPSetRequest
|
925
926
|
|
926
927
|
CreateIPSetResponse.add_member(:ip_set_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ipSetId"))
|
@@ -972,6 +973,7 @@ module Aws::GuardDuty
|
|
972
973
|
CreateThreatIntelSetRequest.add_member(:activate, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "activate"))
|
973
974
|
CreateThreatIntelSetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
974
975
|
CreateThreatIntelSetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
976
|
+
CreateThreatIntelSetRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "expectedBucketOwner"))
|
975
977
|
CreateThreatIntelSetRequest.struct_class = Types::CreateThreatIntelSetRequest
|
976
978
|
|
977
979
|
CreateThreatIntelSetResponse.add_member(:threat_intel_set_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "threatIntelSetId"))
|
@@ -1420,6 +1422,7 @@ module Aws::GuardDuty
|
|
1420
1422
|
GetIPSetResponse.add_member(:location, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "location"))
|
1421
1423
|
GetIPSetResponse.add_member(:status, Shapes::ShapeRef.new(shape: IpSetStatus, required: true, location_name: "status"))
|
1422
1424
|
GetIPSetResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
1425
|
+
GetIPSetResponse.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "expectedBucketOwner"))
|
1423
1426
|
GetIPSetResponse.struct_class = Types::GetIPSetResponse
|
1424
1427
|
|
1425
1428
|
GetInvitationsCountRequest.struct_class = Types::GetInvitationsCountRequest
|
@@ -1489,6 +1492,7 @@ module Aws::GuardDuty
|
|
1489
1492
|
GetThreatIntelSetResponse.add_member(:location, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "location"))
|
1490
1493
|
GetThreatIntelSetResponse.add_member(:status, Shapes::ShapeRef.new(shape: ThreatIntelSetStatus, required: true, location_name: "status"))
|
1491
1494
|
GetThreatIntelSetResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
1495
|
+
GetThreatIntelSetResponse.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "expectedBucketOwner"))
|
1492
1496
|
GetThreatIntelSetResponse.struct_class = Types::GetThreatIntelSetResponse
|
1493
1497
|
|
1494
1498
|
GetUsageStatisticsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
|
@@ -2560,6 +2564,7 @@ module Aws::GuardDuty
|
|
2560
2564
|
UpdateIPSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
2561
2565
|
UpdateIPSetRequest.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "location"))
|
2562
2566
|
UpdateIPSetRequest.add_member(:activate, Shapes::ShapeRef.new(shape: Boolean, location_name: "activate"))
|
2567
|
+
UpdateIPSetRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "expectedBucketOwner"))
|
2563
2568
|
UpdateIPSetRequest.struct_class = Types::UpdateIPSetRequest
|
2564
2569
|
|
2565
2570
|
UpdateIPSetResponse.struct_class = Types::UpdateIPSetResponse
|
@@ -2613,6 +2618,7 @@ module Aws::GuardDuty
|
|
2613
2618
|
UpdateThreatIntelSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
2614
2619
|
UpdateThreatIntelSetRequest.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "location"))
|
2615
2620
|
UpdateThreatIntelSetRequest.add_member(:activate, Shapes::ShapeRef.new(shape: Boolean, location_name: "activate"))
|
2621
|
+
UpdateThreatIntelSetRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "expectedBucketOwner"))
|
2616
2622
|
UpdateThreatIntelSetRequest.struct_class = Types::UpdateThreatIntelSetRequest
|
2617
2623
|
|
2618
2624
|
UpdateThreatIntelSetResponse.struct_class = Types::UpdateThreatIntelSetResponse
|
@@ -2783,6 +2789,7 @@ module Aws::GuardDuty
|
|
2783
2789
|
o.output = Shapes::ShapeRef.new(shape: CreateIPSetResponse)
|
2784
2790
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2785
2791
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2792
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2786
2793
|
end)
|
2787
2794
|
|
2788
2795
|
api.add_operation(:create_malware_protection_plan, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2835,6 +2842,7 @@ module Aws::GuardDuty
|
|
2835
2842
|
o.output = Shapes::ShapeRef.new(shape: CreateThreatIntelSetResponse)
|
2836
2843
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2837
2844
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2845
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2838
2846
|
end)
|
2839
2847
|
|
2840
2848
|
api.add_operation(:decline_invitations, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3494,6 +3502,7 @@ module Aws::GuardDuty
|
|
3494
3502
|
o.output = Shapes::ShapeRef.new(shape: UpdateIPSetResponse)
|
3495
3503
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3496
3504
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
3505
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3497
3506
|
end)
|
3498
3507
|
|
3499
3508
|
api.add_operation(:update_malware_protection_plan, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3556,6 +3565,7 @@ module Aws::GuardDuty
|
|
3556
3565
|
o.output = Shapes::ShapeRef.new(shape: UpdateThreatIntelSetResponse)
|
3557
3566
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3558
3567
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
3568
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3559
3569
|
end)
|
3560
3570
|
end
|
3561
3571
|
|
@@ -1726,6 +1726,11 @@ module Aws::GuardDuty
|
|
1726
1726
|
# The tags to be added to a new IP set resource.
|
1727
1727
|
# @return [Hash<String,String>]
|
1728
1728
|
#
|
1729
|
+
# @!attribute [rw] expected_bucket_owner
|
1730
|
+
# The Amazon Web Services account ID that owns the Amazon S3 bucket
|
1731
|
+
# specified in the **location** parameter.
|
1732
|
+
# @return [String]
|
1733
|
+
#
|
1729
1734
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSetRequest AWS API Documentation
|
1730
1735
|
#
|
1731
1736
|
class CreateIPSetRequest < Struct.new(
|
@@ -1735,7 +1740,8 @@ module Aws::GuardDuty
|
|
1735
1740
|
:location,
|
1736
1741
|
:activate,
|
1737
1742
|
:client_token,
|
1738
|
-
:tags
|
1743
|
+
:tags,
|
1744
|
+
:expected_bucket_owner)
|
1739
1745
|
SENSITIVE = []
|
1740
1746
|
include Aws::Structure
|
1741
1747
|
end
|
@@ -2002,6 +2008,11 @@ module Aws::GuardDuty
|
|
2002
2008
|
# The tags to be added to a new threat list resource.
|
2003
2009
|
# @return [Hash<String,String>]
|
2004
2010
|
#
|
2011
|
+
# @!attribute [rw] expected_bucket_owner
|
2012
|
+
# The Amazon Web Services account ID that owns the Amazon S3 bucket
|
2013
|
+
# specified in the **location** parameter.
|
2014
|
+
# @return [String]
|
2015
|
+
#
|
2005
2016
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatIntelSetRequest AWS API Documentation
|
2006
2017
|
#
|
2007
2018
|
class CreateThreatIntelSetRequest < Struct.new(
|
@@ -2011,7 +2022,8 @@ module Aws::GuardDuty
|
|
2011
2022
|
:location,
|
2012
2023
|
:activate,
|
2013
2024
|
:client_token,
|
2014
|
-
:tags
|
2025
|
+
:tags,
|
2026
|
+
:expected_bucket_owner)
|
2015
2027
|
SENSITIVE = []
|
2016
2028
|
include Aws::Structure
|
2017
2029
|
end
|
@@ -4148,6 +4160,12 @@ module Aws::GuardDuty
|
|
4148
4160
|
# The tags of the IPSet resource.
|
4149
4161
|
# @return [Hash<String,String>]
|
4150
4162
|
#
|
4163
|
+
# @!attribute [rw] expected_bucket_owner
|
4164
|
+
# The Amazon Web Services account ID that owns the Amazon S3 bucket
|
4165
|
+
# specified in the **location** parameter. This field appears in the
|
4166
|
+
# response only if it was provided during IPSet creation or update.
|
4167
|
+
# @return [String]
|
4168
|
+
#
|
4151
4169
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSetResponse AWS API Documentation
|
4152
4170
|
#
|
4153
4171
|
class GetIPSetResponse < Struct.new(
|
@@ -4155,7 +4173,8 @@ module Aws::GuardDuty
|
|
4155
4173
|
:format,
|
4156
4174
|
:location,
|
4157
4175
|
:status,
|
4158
|
-
:tags
|
4176
|
+
:tags,
|
4177
|
+
:expected_bucket_owner)
|
4159
4178
|
SENSITIVE = []
|
4160
4179
|
include Aws::Structure
|
4161
4180
|
end
|
@@ -4501,6 +4520,13 @@ module Aws::GuardDuty
|
|
4501
4520
|
# The tags of the threat list resource.
|
4502
4521
|
# @return [Hash<String,String>]
|
4503
4522
|
#
|
4523
|
+
# @!attribute [rw] expected_bucket_owner
|
4524
|
+
# The Amazon Web Services account ID that owns the Amazon S3 bucket
|
4525
|
+
# specified in the **location** parameter. This field appears in the
|
4526
|
+
# response only if it was provided during ThreatIntelSet creation or
|
4527
|
+
# update.
|
4528
|
+
# @return [String]
|
4529
|
+
#
|
4504
4530
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSetResponse AWS API Documentation
|
4505
4531
|
#
|
4506
4532
|
class GetThreatIntelSetResponse < Struct.new(
|
@@ -4508,7 +4534,8 @@ module Aws::GuardDuty
|
|
4508
4534
|
:format,
|
4509
4535
|
:location,
|
4510
4536
|
:status,
|
4511
|
-
:tags
|
4537
|
+
:tags,
|
4538
|
+
:expected_bucket_owner)
|
4512
4539
|
SENSITIVE = []
|
4513
4540
|
include Aws::Structure
|
4514
4541
|
end
|
@@ -9717,6 +9744,11 @@ module Aws::GuardDuty
|
|
9717
9744
|
# or not.
|
9718
9745
|
# @return [Boolean]
|
9719
9746
|
#
|
9747
|
+
# @!attribute [rw] expected_bucket_owner
|
9748
|
+
# The Amazon Web Services account ID that owns the Amazon S3 bucket
|
9749
|
+
# specified in the **location** parameter.
|
9750
|
+
# @return [String]
|
9751
|
+
#
|
9720
9752
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSetRequest AWS API Documentation
|
9721
9753
|
#
|
9722
9754
|
class UpdateIPSetRequest < Struct.new(
|
@@ -9724,7 +9756,8 @@ module Aws::GuardDuty
|
|
9724
9756
|
:ip_set_id,
|
9725
9757
|
:name,
|
9726
9758
|
:location,
|
9727
|
-
:activate
|
9759
|
+
:activate,
|
9760
|
+
:expected_bucket_owner)
|
9728
9761
|
SENSITIVE = []
|
9729
9762
|
include Aws::Structure
|
9730
9763
|
end
|
@@ -10023,6 +10056,11 @@ module Aws::GuardDuty
|
|
10023
10056
|
# is active or not.
|
10024
10057
|
# @return [Boolean]
|
10025
10058
|
#
|
10059
|
+
# @!attribute [rw] expected_bucket_owner
|
10060
|
+
# The Amazon Web Services account ID that owns the Amazon S3 bucket
|
10061
|
+
# specified in the **location** parameter.
|
10062
|
+
# @return [String]
|
10063
|
+
#
|
10026
10064
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSetRequest AWS API Documentation
|
10027
10065
|
#
|
10028
10066
|
class UpdateThreatIntelSetRequest < Struct.new(
|
@@ -10030,7 +10068,8 @@ module Aws::GuardDuty
|
|
10030
10068
|
:threat_intel_set_id,
|
10031
10069
|
:name,
|
10032
10070
|
:location,
|
10033
|
-
:activate
|
10071
|
+
:activate,
|
10072
|
+
:expected_bucket_owner)
|
10034
10073
|
SENSITIVE = []
|
10035
10074
|
include Aws::Structure
|
10036
10075
|
end
|
data/lib/aws-sdk-guardduty.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
@@ -194,7 +195,8 @@ module Aws
|
|
194
195
|
location: ::String,
|
195
196
|
activate: bool,
|
196
197
|
?client_token: ::String,
|
197
|
-
?tags: Hash[::String, ::String]
|
198
|
+
?tags: Hash[::String, ::String],
|
199
|
+
?expected_bucket_owner: ::String
|
198
200
|
) -> _CreateIPSetResponseSuccess
|
199
201
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateIPSetResponseSuccess
|
200
202
|
|
@@ -275,7 +277,8 @@ module Aws
|
|
275
277
|
location: ::String,
|
276
278
|
activate: bool,
|
277
279
|
?client_token: ::String,
|
278
|
-
?tags: Hash[::String, ::String]
|
280
|
+
?tags: Hash[::String, ::String],
|
281
|
+
?expected_bucket_owner: ::String
|
279
282
|
) -> _CreateThreatIntelSetResponseSuccess
|
280
283
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateThreatIntelSetResponseSuccess
|
281
284
|
|
@@ -591,6 +594,7 @@ module Aws
|
|
591
594
|
def location: () -> ::String
|
592
595
|
def status: () -> ("INACTIVE" | "ACTIVATING" | "ACTIVE" | "DEACTIVATING" | "ERROR" | "DELETE_PENDING" | "DELETED")
|
593
596
|
def tags: () -> ::Hash[::String, ::String]
|
597
|
+
def expected_bucket_owner: () -> ::String
|
594
598
|
end
|
595
599
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#get_ip_set-instance_method
|
596
600
|
def get_ip_set: (
|
@@ -697,6 +701,7 @@ module Aws
|
|
697
701
|
def location: () -> ::String
|
698
702
|
def status: () -> ("INACTIVE" | "ACTIVATING" | "ACTIVE" | "DEACTIVATING" | "ERROR" | "DELETE_PENDING" | "DELETED")
|
699
703
|
def tags: () -> ::Hash[::String, ::String]
|
704
|
+
def expected_bucket_owner: () -> ::String
|
700
705
|
end
|
701
706
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#get_threat_intel_set-instance_method
|
702
707
|
def get_threat_intel_set: (
|
@@ -1074,7 +1079,8 @@ module Aws
|
|
1074
1079
|
ip_set_id: ::String,
|
1075
1080
|
?name: ::String,
|
1076
1081
|
?location: ::String,
|
1077
|
-
?activate: bool
|
1082
|
+
?activate: bool,
|
1083
|
+
?expected_bucket_owner: ::String
|
1078
1084
|
) -> _UpdateIPSetResponseSuccess
|
1079
1085
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIPSetResponseSuccess
|
1080
1086
|
|
@@ -1224,7 +1230,8 @@ module Aws
|
|
1224
1230
|
threat_intel_set_id: ::String,
|
1225
1231
|
?name: ::String,
|
1226
1232
|
?location: ::String,
|
1227
|
-
?activate: bool
|
1233
|
+
?activate: bool,
|
1234
|
+
?expected_bucket_owner: ::String
|
1228
1235
|
) -> _UpdateThreatIntelSetResponseSuccess
|
1229
1236
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateThreatIntelSetResponseSuccess
|
1230
1237
|
end
|
data/sig/resource.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
data/sig/types.rbs
CHANGED
@@ -388,6 +388,7 @@ module Aws::GuardDuty
|
|
388
388
|
attr_accessor activate: bool
|
389
389
|
attr_accessor client_token: ::String
|
390
390
|
attr_accessor tags: ::Hash[::String, ::String]
|
391
|
+
attr_accessor expected_bucket_owner: ::String
|
391
392
|
SENSITIVE: []
|
392
393
|
end
|
393
394
|
|
@@ -462,6 +463,7 @@ module Aws::GuardDuty
|
|
462
463
|
attr_accessor activate: bool
|
463
464
|
attr_accessor client_token: ::String
|
464
465
|
attr_accessor tags: ::Hash[::String, ::String]
|
466
|
+
attr_accessor expected_bucket_owner: ::String
|
465
467
|
SENSITIVE: []
|
466
468
|
end
|
467
469
|
|
@@ -1026,6 +1028,7 @@ module Aws::GuardDuty
|
|
1026
1028
|
attr_accessor location: ::String
|
1027
1029
|
attr_accessor status: ("INACTIVE" | "ACTIVATING" | "ACTIVE" | "DEACTIVATING" | "ERROR" | "DELETE_PENDING" | "DELETED")
|
1028
1030
|
attr_accessor tags: ::Hash[::String, ::String]
|
1031
|
+
attr_accessor expected_bucket_owner: ::String
|
1029
1032
|
SENSITIVE: []
|
1030
1033
|
end
|
1031
1034
|
|
@@ -1128,6 +1131,7 @@ module Aws::GuardDuty
|
|
1128
1131
|
attr_accessor location: ::String
|
1129
1132
|
attr_accessor status: ("INACTIVE" | "ACTIVATING" | "ACTIVE" | "DEACTIVATING" | "ERROR" | "DELETE_PENDING" | "DELETED")
|
1130
1133
|
attr_accessor tags: ::Hash[::String, ::String]
|
1134
|
+
attr_accessor expected_bucket_owner: ::String
|
1131
1135
|
SENSITIVE: []
|
1132
1136
|
end
|
1133
1137
|
|
@@ -2420,6 +2424,7 @@ module Aws::GuardDuty
|
|
2420
2424
|
attr_accessor name: ::String
|
2421
2425
|
attr_accessor location: ::String
|
2422
2426
|
attr_accessor activate: bool
|
2427
|
+
attr_accessor expected_bucket_owner: ::String
|
2423
2428
|
SENSITIVE: []
|
2424
2429
|
end
|
2425
2430
|
|
@@ -2495,6 +2500,7 @@ module Aws::GuardDuty
|
|
2495
2500
|
attr_accessor name: ::String
|
2496
2501
|
attr_accessor location: ::String
|
2497
2502
|
attr_accessor activate: bool
|
2503
|
+
attr_accessor expected_bucket_owner: ::String
|
2498
2504
|
SENSITIVE: []
|
2499
2505
|
end
|
2500
2506
|
|
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.
|
4
|
+
version: 1.121.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.
|
21
|
+
version: 3.227.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.
|
31
|
+
version: 3.227.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|