aws-sdk-sagemaker 1.414.0 → 1.416.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,6 +28,7 @@ module Aws::SageMaker
28
28
  #
29
29
  # ## Error Classes
30
30
  # * {ConflictException}
31
+ # * {ResourceAlreadyExists}
31
32
  # * {ResourceInUse}
32
33
  # * {ResourceLimitExceeded}
33
34
  # * {ResourceNotFound}
@@ -53,6 +54,21 @@ module Aws::SageMaker
53
54
  end
54
55
  end
55
56
 
57
+ class ResourceAlreadyExists < ServiceError
58
+
59
+ # @param [Seahorse::Client::RequestContext] context
60
+ # @param [String] message
61
+ # @param [Aws::SageMaker::Types::ResourceAlreadyExists] data
62
+ def initialize(context, message, data = Aws::EmptyStructure.new)
63
+ super(context, message, data)
64
+ end
65
+
66
+ # @return [String]
67
+ def message
68
+ @message || @data[:message]
69
+ end
70
+ end
71
+
56
72
  class ResourceInUse < ServiceError
57
73
 
58
74
  # @param [Seahorse::Client::RequestContext] context