aws-sdk-kinesis 1.42.0 → 1.43.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,6 +27,7 @@ module Aws::Kinesis
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {AccessDeniedException}
30
31
  # * {ExpiredIteratorException}
31
32
  # * {ExpiredNextTokenException}
32
33
  # * {InvalidArgumentException}
@@ -40,6 +41,21 @@ module Aws::Kinesis
40
41
 
41
42
  extend Aws::Errors::DynamicErrors
42
43
 
44
+ class AccessDeniedException < ServiceError
45
+
46
+ # @param [Seahorse::Client::RequestContext] context
47
+ # @param [String] message
48
+ # @param [Aws::Kinesis::Types::AccessDeniedException] data
49
+ def initialize(context, message, data = Aws::EmptyStructure.new)
50
+ super(context, message, data)
51
+ end
52
+
53
+ # @return [String]
54
+ def message
55
+ @message || @data[:message]
56
+ end
57
+ end
58
+
43
59
  class ExpiredIteratorException < ServiceError
44
60
 
45
61
  # @param [Seahorse::Client::RequestContext] context