lib/aws-sdk-fsx/errors.rb in aws-sdk-fsx-1.59.0 vs lib/aws-sdk-fsx/errors.rb in aws-sdk-fsx-1.60.0
- old
+ new
@@ -35,10 +35,11 @@
# * {BadRequest}
# * {DataRepositoryAssociationNotFound}
# * {DataRepositoryTaskEnded}
# * {DataRepositoryTaskExecuting}
# * {DataRepositoryTaskNotFound}
+ # * {FileCacheNotFound}
# * {FileSystemNotFound}
# * {IncompatibleParameterError}
# * {IncompatibleRegionForMultiAZ}
# * {InternalServerError}
# * {InvalidDataRepositoryType}
@@ -47,10 +48,11 @@
# * {InvalidImportPath}
# * {InvalidNetworkSettings}
# * {InvalidPerUnitStorageThroughput}
# * {InvalidRegion}
# * {InvalidSourceKmsKey}
+ # * {MissingFileCacheConfiguration}
# * {MissingFileSystemConfiguration}
# * {MissingVolumeConfiguration}
# * {NotServiceResourceError}
# * {ResourceDoesNotSupportTagging}
# * {ResourceNotFound}
@@ -235,10 +237,25 @@
def message
@message || @data[:message]
end
end
+ class FileCacheNotFound < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::FSx::Types::FileCacheNotFound] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+ end
+
class FileSystemNotFound < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
# @param [Aws::FSx::Types::FileSystemNotFound] data
@@ -425,9 +442,24 @@
class InvalidSourceKmsKey < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
# @param [Aws::FSx::Types::InvalidSourceKmsKey] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+ end
+
+ class MissingFileCacheConfiguration < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::FSx::Types::MissingFileCacheConfiguration] data
def initialize(context, message, data = Aws::EmptyStructure.new)
super(context, message, data)
end
# @return [String]