Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidARN ¶
func IsValidARN(fl validator.FieldLevel) bool
IsValidObjectName verifies an object name in accordance with Amazon's requirements.
See: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
func IsValidBucketName ¶
func IsValidBucketName(fl validator.FieldLevel) bool
IsValidBucketName verifies that a bucket name is in accordance with Amazon's requirements (i.e. DNS naming conventions). It must be 3-63 characters long, and it must be a sequence of one or more labels separated by periods. Each label can contain lowercase ascii letters, decimal digits and hyphens, but must not begin or end with a hyphen. See: http://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html
func IsValidDynamoDBTable ¶
func IsValidDynamoDBTable(fl validator.FieldLevel) bool
func IsValidObjectName ¶
func IsValidObjectName(fl validator.FieldLevel) bool
IsValidObjectName verifies an object name in accordance with Amazon's requirements. It cannot exceed 1024 characters and must be a valid UTF8 string.
See: http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html
Types ¶
This section is empty.