aws-sdk-networkmanager 1.18.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