Table of Contents

Class PublicPolicyException

Namespace
Amazon.SecretsManager.Model
Assembly
AWSSDK.SecretsManager.dll

The resource policy did not prevent broad access to the secret.

public class PublicPolicyException : AmazonSecretsManagerException
Inheritance
PublicPolicyException

Constructors

PublicPolicyException(Exception)

Construct instance of PublicPolicyException

public PublicPolicyException(Exception innerException)

Parameters

innerException Exception

PublicPolicyException(string)

Constructs a new PublicPolicyException with the specified error message.

public PublicPolicyException(string message)

Parameters

message string

Describes the error encountered.

PublicPolicyException(string, ErrorType, string, string, HttpStatusCode)

Construct instance of PublicPolicyException

public PublicPolicyException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)

Parameters

message string
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode

PublicPolicyException(string, Exception)

Construct instance of PublicPolicyException

public PublicPolicyException(string message, Exception innerException)

Parameters

message string
innerException Exception

PublicPolicyException(string, Exception, ErrorType, string, string, HttpStatusCode)

Construct instance of PublicPolicyException

public PublicPolicyException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)

Parameters

message string
innerException Exception
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode