lib/aws-sdk-fsx/errors.rb in aws-sdk-fsx-1.41.0 vs lib/aws-sdk-fsx/errors.rb in aws-sdk-fsx-1.42.0
- old
+ new
@@ -46,16 +46,19 @@
# * {InvalidNetworkSettings}
# * {InvalidPerUnitStorageThroughput}
# * {InvalidRegion}
# * {InvalidSourceKmsKey}
# * {MissingFileSystemConfiguration}
+ # * {MissingVolumeConfiguration}
# * {NotServiceResourceError}
# * {ResourceDoesNotSupportTagging}
# * {ResourceNotFound}
# * {ServiceLimitExceeded}
# * {SourceBackupUnavailable}
+ # * {StorageVirtualMachineNotFound}
# * {UnsupportedOperation}
+ # * {VolumeNotFound}
#
# Additionally, error classes are dynamically generated for service errors based on the error code
# if they are not defined above.
module Errors
@@ -347,10 +350,15 @@
# @return [String]
def invalid_security_group_id
@data[:invalid_security_group_id]
end
+
+ # @return [String]
+ def invalid_route_table_id
+ @data[:invalid_route_table_id]
+ end
end
class InvalidPerUnitStorageThroughput < ServiceError
# @param [Seahorse::Client::RequestContext] context
@@ -409,10 +417,25 @@
def message
@message || @data[:message]
end
end
+ class MissingVolumeConfiguration < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::FSx::Types::MissingVolumeConfiguration] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+ end
+
class NotServiceResourceError < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
# @param [Aws::FSx::Types::NotServiceResourceError] data
@@ -509,14 +532,44 @@
def backup_id
@data[:backup_id]
end
end
+ class StorageVirtualMachineNotFound < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::FSx::Types::StorageVirtualMachineNotFound] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+ end
+
class UnsupportedOperation < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
# @param [Aws::FSx::Types::UnsupportedOperation] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+ end
+
+ class VolumeNotFound < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::FSx::Types::VolumeNotFound] data
def initialize(context, message, data = Aws::EmptyStructure.new)
super(context, message, data)
end
# @return [String]