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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4cb3b0b40af8d3c0281d0ef709d2de4b79fdcbc40222392b77de735d0dc9be7
4
- data.tar.gz: e150d644e72afeb5ddd569885094c01faf5013a9ada8c829709be759c87b6dd7
3
+ metadata.gz: 7d63f628bb16094132bb107ff56a3a7a2c24619cb7eea610d61c749d8f7c55e0
4
+ data.tar.gz: 7ebd1a8c1c6927145b59e7cae0dc5fdd03d2821fdfcc38a08b028dd268a85bd0
5
5
  SHA512:
6
- metadata.gz: 01eaaeb32c936ecc847ce87d4e601d4f54b173d077c1599c5a658038f9e9e55a4583c09a622022569c897fd80c51544e14c0026816ff558119069b0c8be16d07
7
- data.tar.gz: '018ee2c776fe65ed41a3eecf6e5e485e7709eb6d49e363883dc918d2bb48a8f24b56ebde0dbc91989812576507a08d21aef7c412a2ff7a800455668cc2741799'
6
+ metadata.gz: ee8dd41869e3348caa5285dbd1f3b4d8311fc3393f15f9ad245e27393e0c945eeb07635ab95f147d85603094ed021b9d101f5ee10344436970b0a06b5bc8c46a
7
+ data.tar.gz: 417686ac27ca5af5058afd4388c224bb0b3431119724acaa8275d2665b5abcd94c8c49d1b499a47755e8e5b74d1d12ff119a7cbaac32ecb4e456d31991e93901
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.70.0 (2023-05-08)
5
+ ------------------
6
+
7
+ * Feature - Add AccessDeniedException 403 Error message code to support 3 Tagging related APIs
8
+
4
9
  1.69.0 (2023-04-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.69.0
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.69.0'
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-guardduty/customizations'
52
52
  # @!group service
53
53
  module Aws::GuardDuty
54
54
 
55
- GEM_VERSION = '1.69.0'
55
+ GEM_VERSION = '1.70.0'
56
56
 
57
57
  end
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.69.0
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-04-27 00:00:00.000000000 Z
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