aws-sdk-networkmanager 1.15.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,6 +29,7 @@ module Aws::NetworkManager
29
29
  # ## Error Classes
30
30
  # * {AccessDeniedException}
31
31
  # * {ConflictException}
32
+ # * {CoreNetworkPolicyException}
32
33
  # * {InternalServerException}
33
34
  # * {ResourceNotFoundException}
34
35
  # * {ServiceQuotaExceededException}
@@ -81,6 +82,26 @@ module Aws::NetworkManager
81
82
  end
82
83
  end
83
84
 
85
+ class CoreNetworkPolicyException < ServiceError
86
+
87
+ # @param [Seahorse::Client::RequestContext] context
88
+ # @param [String] message
89
+ # @param [Aws::NetworkManager::Types::CoreNetworkPolicyException] data
90
+ def initialize(context, message, data = Aws::EmptyStructure.new)
91
+ super(context, message, data)
92
+ end
93
+
94
+ # @return [String]
95
+ def message
96
+ @message || @data[:message]
97
+ end
98
+
99
+ # @return [String]
100
+ def errors
101
+ @data[:errors]
102
+ end
103
+ end
104
+
84
105
  class InternalServerException < ServiceError
85
106
 
86
107
  # @param [Seahorse::Client::RequestContext] context
@@ -124,6 +145,11 @@ module Aws::NetworkManager
124
145
  def resource_type
125
146
  @data[:resource_type]
126
147
  end
148
+
149
+ # @return [String]
150
+ def context
151
+ @data[:context]
152
+ end
127
153
  end
128
154
 
129
155
  class ServiceQuotaExceededException < ServiceError