lib/aws-sdk-codecommit/errors.rb in aws-sdk-codecommit-1.71.0 vs lib/aws-sdk-codecommit/errors.rb in aws-sdk-codecommit-1.72.0
- old
+ new
@@ -164,10 +164,11 @@
# * {MultipleRepositoriesInPullRequestException}
# * {NameLengthExceededException}
# * {NoChangeException}
# * {NumberOfRuleTemplatesExceededException}
# * {NumberOfRulesExceededException}
+ # * {OperationNotAllowedException}
# * {OverrideAlreadySetException}
# * {OverrideStatusRequiredException}
# * {ParentCommitDoesNotExistException}
# * {ParentCommitIdOutdatedException}
# * {ParentCommitIdRequiredException}
@@ -1605,9 +1606,19 @@
class NumberOfRulesExceededException < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
# @param [Aws::CodeCommit::Types::NumberOfRulesExceededException] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+ end
+
+ class OperationNotAllowedException < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::CodeCommit::Types::OperationNotAllowedException] data
def initialize(context, message, data = Aws::EmptyStructure.new)
super(context, message, data)
end
end