Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONNoDuplicateKeys ¶
JSONNoDuplicateKeys verifies the provided JSON object contains no duplicated keys
The function expects a single JSON object, and will error prior to checking for duplicate keys should an invalid input be provided.
func SupportedRegion ¶
SupportedRegion checks if the given region is a valid AWS region.
Types ¶
type DuplicateKeyError ¶
type DuplicateKeyError struct {
// contains filtered or unexported fields
}
DuplicateKeyError is returned when duplicate key names are detected inside a JSON object
func (*DuplicateKeyError) Error ¶
func (e *DuplicateKeyError) Error() string
type InvalidRegionError ¶
type InvalidRegionError struct {
// contains filtered or unexported fields
}
func (*InvalidRegionError) Error ¶
func (e *InvalidRegionError) Error() string
Click to show internal directories.
Click to hide internal directories.