aws-sdk-guardduty 1.69.0 → 1.71.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-guardduty/client.rb +6 -1
- data/lib/aws-sdk-guardduty/client_api.rb +8 -0
- data/lib/aws-sdk-guardduty/errors.rb +21 -0
- data/lib/aws-sdk-guardduty/types.rb +19 -0
- data/lib/aws-sdk-guardduty.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08a6a4aa874a336fdb167cb821e6d6ba63127e0ebad237e8b80498de9b24bad3'
|
4
|
+
data.tar.gz: 50712870e26a797e82303d59f068bfc5eefc895c19f18f4284ccc3dc7e7374db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e4087bbf42171cde6708fe1eaea3054a6d0f4f2f0619bd90d103806f5ce37352f09421f41fa5b388ed92c70772cca8e0f38ad67203254d25e8da808aad98dee
|
7
|
+
data.tar.gz: a0bae5f036a4af858427c6e57279449211027cb53846b7f13f4b5a69f20c3fa8f0283853392a569cd8534af99c997edee95c9145dfd9e6850b9dcee86448df41
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.71.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.70.0 (2023-05-08)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add AccessDeniedException 403 Error message code to support 3 Tagging related APIs
|
13
|
+
|
4
14
|
1.69.0 (2023-04-27)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.71.0
|
@@ -275,6 +275,11 @@ module Aws::GuardDuty
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -4287,7 +4292,7 @@ module Aws::GuardDuty
|
|
4287
4292
|
params: params,
|
4288
4293
|
config: config)
|
4289
4294
|
context[:gem_name] = 'aws-sdk-guardduty'
|
4290
|
-
context[:gem_version] = '1.
|
4295
|
+
context[:gem_version] = '1.71.0'
|
4291
4296
|
Seahorse::Client::Request.new(handlers, context)
|
4292
4297
|
end
|
4293
4298
|
|
@@ -18,6 +18,7 @@ module Aws::GuardDuty
|
|
18
18
|
AcceptInvitationRequest = Shapes::StructureShape.new(name: 'AcceptInvitationRequest')
|
19
19
|
AcceptInvitationResponse = Shapes::StructureShape.new(name: 'AcceptInvitationResponse')
|
20
20
|
AccessControlList = Shapes::StructureShape.new(name: 'AccessControlList')
|
21
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
21
22
|
AccessKeyDetails = Shapes::StructureShape.new(name: 'AccessKeyDetails')
|
22
23
|
AccountDetail = Shapes::StructureShape.new(name: 'AccountDetail')
|
23
24
|
AccountDetails = Shapes::ListShape.new(name: 'AccountDetails')
|
@@ -475,6 +476,10 @@ module Aws::GuardDuty
|
|
475
476
|
AccessControlList.add_member(:allows_public_write_access, Shapes::ShapeRef.new(shape: Boolean, location_name: "allowsPublicWriteAccess"))
|
476
477
|
AccessControlList.struct_class = Types::AccessControlList
|
477
478
|
|
479
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
480
|
+
AccessDeniedException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "__type"))
|
481
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
482
|
+
|
478
483
|
AccessKeyDetails.add_member(:access_key_id, Shapes::ShapeRef.new(shape: String, location_name: "accessKeyId"))
|
479
484
|
AccessKeyDetails.add_member(:principal_id, Shapes::ShapeRef.new(shape: String, location_name: "principalId"))
|
480
485
|
AccessKeyDetails.add_member(:user_name, Shapes::ShapeRef.new(shape: String, location_name: "userName"))
|
@@ -2667,6 +2672,7 @@ module Aws::GuardDuty
|
|
2667
2672
|
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
2668
2673
|
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
2669
2674
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2675
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2670
2676
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2671
2677
|
end)
|
2672
2678
|
|
@@ -2724,6 +2730,7 @@ module Aws::GuardDuty
|
|
2724
2730
|
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
2725
2731
|
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
2726
2732
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2733
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2727
2734
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2728
2735
|
end)
|
2729
2736
|
|
@@ -2744,6 +2751,7 @@ module Aws::GuardDuty
|
|
2744
2751
|
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
2745
2752
|
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
2746
2753
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2754
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2747
2755
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2748
2756
|
end)
|
2749
2757
|
|
@@ -27,6 +27,7 @@ module Aws::GuardDuty
|
|
27
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
|
+
# * {AccessDeniedException}
|
30
31
|
# * {BadRequestException}
|
31
32
|
# * {ConflictException}
|
32
33
|
# * {InternalServerErrorException}
|
@@ -37,6 +38,26 @@ module Aws::GuardDuty
|
|
37
38
|
|
38
39
|
extend Aws::Errors::DynamicErrors
|
39
40
|
|
41
|
+
class AccessDeniedException < ServiceError
|
42
|
+
|
43
|
+
# @param [Seahorse::Client::RequestContext] context
|
44
|
+
# @param [String] message
|
45
|
+
# @param [Aws::GuardDuty::Types::AccessDeniedException] data
|
46
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
47
|
+
super(context, message, data)
|
48
|
+
end
|
49
|
+
|
50
|
+
# @return [String]
|
51
|
+
def message
|
52
|
+
@message || @data[:message]
|
53
|
+
end
|
54
|
+
|
55
|
+
# @return [String]
|
56
|
+
def type
|
57
|
+
@data[:type]
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
40
61
|
class BadRequestException < ServiceError
|
41
62
|
|
42
63
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -88,6 +88,25 @@ module Aws::GuardDuty
|
|
88
88
|
include Aws::Structure
|
89
89
|
end
|
90
90
|
|
91
|
+
# An access denied exception object.
|
92
|
+
#
|
93
|
+
# @!attribute [rw] message
|
94
|
+
# The error message.
|
95
|
+
# @return [String]
|
96
|
+
#
|
97
|
+
# @!attribute [rw] type
|
98
|
+
# The error type.
|
99
|
+
# @return [String]
|
100
|
+
#
|
101
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AccessDeniedException AWS API Documentation
|
102
|
+
#
|
103
|
+
class AccessDeniedException < Struct.new(
|
104
|
+
:message,
|
105
|
+
:type)
|
106
|
+
SENSITIVE = []
|
107
|
+
include Aws::Structure
|
108
|
+
end
|
109
|
+
|
91
110
|
# Contains information about the access keys.
|
92
111
|
#
|
93
112
|
# @!attribute [rw] access_key_id
|
data/lib/aws-sdk-guardduty.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.71.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: 2023-
|
11
|
+
date: 2023-05-31 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.
|
22
|
+
version: 3.174.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.
|
32
|
+
version: 3.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|