Documentation
¶
Index ¶
Constants ¶
View Source
const ( AccessDeniedCode = "AccessDenied" AccessDeniedExceptionCode = "AccessDeniedException" )
Variables ¶
This section is empty.
Functions ¶
func IsAccessDenied ¶
IsAccessDenied returns true if the error is an AWS error (even if it's wrapped) and is known to mean "access denied" (as opposed to a more serious or unexpected error)
func IsInstanceTerminated ¶
func IsNotFound ¶
IsNotFound returns true if the err is an AWS error (even if it's wrapped) and is a known to mean "not found" (as opposed to a more serious or unexpected error)
func IsRecentlyDeleted ¶
IsRecentlyDeleted returns true if the error is an AWS error (even if it's wrapped) and is known to mean "recently deleted"
func IsUnfulfillableCapacity ¶
func IsUnfulfillableCapacity(err *ec2.CreateFleetError) bool
IsUnfulfillableCapacity returns true if the Fleet err means capacity is temporarily unavailable for launching. This could be due to account limits, insufficient ec2 capacity, etc.
Types ¶
type InstanceTerminatedError ¶
type InstanceTerminatedError struct {
Err error
}
func (InstanceTerminatedError) Error ¶
func (e InstanceTerminatedError) Error() string
Click to show internal directories.
Click to hide internal directories.