@aws-sdk/client-codecommit

FileContentAndSourceFileSpecifiedException Class

The commit cannot be created because both a source file and file content have been specified for the same file. You cannot provide both. Either specify a source file or provide the file content directly.

Members

Name
Type
Details
$fault Required"client"
$metadata RequiredResponseMetadata
$response RequiredHttpResponse
$retryable RequiredRetryableTrait
(constructor) Requiredconstructor(options: ServiceExceptionOptions)
Constructs a new instance of the ServiceException class
[Symbol.hasInstance] Requiredstatic Symbol.hasInstance: boolean
Custom instanceof check to support the operator for ServiceException base class
isInstance Requiredstatic isInstance(value: unknown): value is ServiceException
Checks if a value is an instance of ServiceException (duck typed)
name Required"FileContentAndSourceFileSpecifiedException"

Full Signature

export declare class FileContentAndSourceFileSpecifiedException extends CodeCommitServiceException