Class DuplicateItemException
- Namespace
- Amazon.DynamoDBv2.Model
- Assembly
- AWSSDK.DynamoDBv2.dll
There was an attempt to insert an item with the same primary key as an item that already exists in the DynamoDB table.
public class DuplicateItemException : AmazonDynamoDBException
- Inheritance
-
DuplicateItemException
Constructors
DuplicateItemException(Exception)
Construct instance of DuplicateItemException
public DuplicateItemException(Exception innerException)
Parameters
innerException
Exception
DuplicateItemException(string)
Constructs a new DuplicateItemException with the specified error message.
public DuplicateItemException(string message)
Parameters
message
stringDescribes the error encountered.
DuplicateItemException(string, ErrorType, string, string, HttpStatusCode)
Construct instance of DuplicateItemException
public DuplicateItemException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
Parameters
message
stringerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
HttpStatusCode
DuplicateItemException(string, Exception)
Construct instance of DuplicateItemException
public DuplicateItemException(string message, Exception innerException)
Parameters
DuplicateItemException(string, Exception, ErrorType, string, string, HttpStatusCode)
Construct instance of DuplicateItemException
public DuplicateItemException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
Parameters
message
stringinnerException
ExceptionerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
HttpStatusCode