aws-sdk-guardduty 1.69.0 → 1.70.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-guardduty/client.rb +1 -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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d63f628bb16094132bb107ff56a3a7a2c24619cb7eea610d61c749d8f7c55e0
|
4
|
+
data.tar.gz: 7ebd1a8c1c6927145b59e7cae0dc5fdd03d2821fdfcc38a08b028dd268a85bd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee8dd41869e3348caa5285dbd1f3b4d8311fc3393f15f9ad245e27393e0c945eeb07635ab95f147d85603094ed021b9d101f5ee10344436970b0a06b5bc8c46a
|
7
|
+
data.tar.gz: 417686ac27ca5af5058afd4388c224bb0b3431119724acaa8275d2665b5abcd94c8c49d1b499a47755e8e5b74d1d12ff119a7cbaac32ecb4e456d31991e93901
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.70.0
|
@@ -4287,7 +4287,7 @@ module Aws::GuardDuty
|
|
4287
4287
|
params: params,
|
4288
4288
|
config: config)
|
4289
4289
|
context[:gem_name] = 'aws-sdk-guardduty'
|
4290
|
-
context[:gem_version] = '1.
|
4290
|
+
context[:gem_version] = '1.70.0'
|
4291
4291
|
Seahorse::Client::Request.new(handlers, context)
|
4292
4292
|
end
|
4293
4293
|
|
@@ -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.70.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-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|