lib/aws-sdk-fsx/errors.rb in aws-sdk-fsx-1.45.0 vs lib/aws-sdk-fsx/errors.rb in aws-sdk-fsx-1.46.0
- old
+ new
@@ -31,17 +31,19 @@
# * {BackupBeingCopied}
# * {BackupInProgress}
# * {BackupNotFound}
# * {BackupRestoring}
# * {BadRequest}
+ # * {DataRepositoryAssociationNotFound}
# * {DataRepositoryTaskEnded}
# * {DataRepositoryTaskExecuting}
# * {DataRepositoryTaskNotFound}
# * {FileSystemNotFound}
# * {IncompatibleParameterError}
# * {IncompatibleRegionForMultiAZ}
# * {InternalServerError}
+ # * {InvalidDataRepositoryType}
# * {InvalidDestinationKmsKey}
# * {InvalidExportPath}
# * {InvalidImportPath}
# * {InvalidNetworkSettings}
# * {InvalidPerUnitStorageThroughput}
@@ -51,10 +53,11 @@
# * {MissingVolumeConfiguration}
# * {NotServiceResourceError}
# * {ResourceDoesNotSupportTagging}
# * {ResourceNotFound}
# * {ServiceLimitExceeded}
+ # * {SnapshotNotFound}
# * {SourceBackupUnavailable}
# * {StorageVirtualMachineNotFound}
# * {UnsupportedOperation}
# * {VolumeNotFound}
#
@@ -172,10 +175,25 @@
def message
@message || @data[:message]
end
end
+ class DataRepositoryAssociationNotFound < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::FSx::Types::DataRepositoryAssociationNotFound] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+ end
+
class DataRepositoryTaskEnded < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
# @param [Aws::FSx::Types::DataRepositoryTaskEnded] data
@@ -282,10 +300,25 @@
def message
@message || @data[:message]
end
end
+ class InvalidDataRepositoryType < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::FSx::Types::InvalidDataRepositoryType] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+ end
+
class InvalidDestinationKmsKey < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
# @param [Aws::FSx::Types::InvalidDestinationKmsKey] data
@@ -504,9 +537,24 @@
end
# @return [String]
def limit
@data[:limit]
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+ end
+
+ class SnapshotNotFound < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::FSx::Types::SnapshotNotFound] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
end
# @return [String]
def message
@message || @data[:message]