aws-sdk-observabilityadmin 1.15.0 → 1.17.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.
@@ -30,6 +30,7 @@ module Aws::ObservabilityAdmin
30
30
  # * {AccessDeniedException}
31
31
  # * {ConflictException}
32
32
  # * {InternalServerException}
33
+ # * {InvalidStateException}
33
34
  # * {ResourceNotFoundException}
34
35
  # * {ServiceQuotaExceededException}
35
36
  # * {TooManyRequestsException}
@@ -74,6 +75,16 @@ module Aws::ObservabilityAdmin
74
75
  def message
75
76
  @message || @data[:message]
76
77
  end
78
+
79
+ # @return [String]
80
+ def resource_id
81
+ @data[:resource_id]
82
+ end
83
+
84
+ # @return [String]
85
+ def resource_type
86
+ @data[:resource_type]
87
+ end
77
88
  end
78
89
 
79
90
  class InternalServerException < ServiceError
@@ -94,6 +105,26 @@ module Aws::ObservabilityAdmin
94
105
  def amzn_error_type
95
106
  @data[:amzn_error_type]
96
107
  end
108
+
109
+ # @return [String]
110
+ def retry_after_seconds
111
+ @data[:retry_after_seconds]
112
+ end
113
+ end
114
+
115
+ class InvalidStateException < ServiceError
116
+
117
+ # @param [Seahorse::Client::RequestContext] context
118
+ # @param [String] message
119
+ # @param [Aws::ObservabilityAdmin::Types::InvalidStateException] data
120
+ def initialize(context, message, data = Aws::EmptyStructure.new)
121
+ super(context, message, data)
122
+ end
123
+
124
+ # @return [String]
125
+ def message
126
+ @message || @data[:message]
127
+ end
97
128
  end
98
129
 
99
130
  class ResourceNotFoundException < ServiceError
@@ -109,6 +140,16 @@ module Aws::ObservabilityAdmin
109
140
  def message
110
141
  @message || @data[:message]
111
142
  end
143
+
144
+ # @return [String]
145
+ def resource_id
146
+ @data[:resource_id]
147
+ end
148
+
149
+ # @return [String]
150
+ def resource_type
151
+ @data[:resource_type]
152
+ end
112
153
  end
113
154
 
114
155
  class ServiceQuotaExceededException < ServiceError
@@ -125,6 +166,26 @@ module Aws::ObservabilityAdmin
125
166
  @message || @data[:message]
126
167
  end
127
168
 
169
+ # @return [String]
170
+ def resource_id
171
+ @data[:resource_id]
172
+ end
173
+
174
+ # @return [String]
175
+ def resource_type
176
+ @data[:resource_type]
177
+ end
178
+
179
+ # @return [String]
180
+ def service_code
181
+ @data[:service_code]
182
+ end
183
+
184
+ # @return [String]
185
+ def quota_code
186
+ @data[:quota_code]
187
+ end
188
+
128
189
  # @return [String]
129
190
  def amzn_error_type
130
191
  @data[:amzn_error_type]
@@ -159,6 +220,11 @@ module Aws::ObservabilityAdmin
159
220
  def message
160
221
  @message || @data[:message]
161
222
  end
223
+
224
+ # @return [String]
225
+ def errors
226
+ @data[:errors]
227
+ end
162
228
  end
163
229
 
164
230
  end