Table of Contents

Class AccessDeniedException

Namespace
DynaSharp
Assembly
DynaSharp.dll

The credentials are valid but lack permission for the operation. Not retried: grant the IAM action, such as dynamodb:PutItem on the table.

public sealed class AccessDeniedException : DynamoDbException, ISerializable
Inheritance
AccessDeniedException
Implements
Inherited Members

Remarks

OperationName and TableName say which action on which table the policy must allow. A table of an entity with indexes needs the actions on the index ARNs too. IsTransient is false.

Constructors

AccessDeniedException(string, string?, HttpStatusCode)

Initializes a new instance of the AccessDeniedException class.

public AccessDeniedException(string message, string? requestId = null, HttpStatusCode statusCode = HttpStatusCode.BadRequest)

Parameters

message string

The error message returned by DynamoDB.

requestId string

The AWS request id, if known.

statusCode HttpStatusCode

The HTTP status code of the response.