agent/utils/utils.go
func IsAWSErrorCodeEqual(err error, code string) bool {
	awsErr, ok := err.(awserr.Error)
	return ok && awsErr.Code() == code
}
func IsAWSErrorCodeEqual(err error, code string) bool {
	awsErr, ok := err.(awserr.Error)
	return ok && awsErr.Code() == code
}
func IsAWSErrorCodeEqual ( err error , code string ) bool { awsErr , ok := err . ( awserr . Error ) return ok && awsErr . Code ( ) == code }
// IsAWSErrorCodeEqual returns true if the err implements Error
// interface of awserr and it has the same error code as
// the passed in error code.
IsAWSErrorCodeEqual returns true if the err implements Error interface of awserr and it has the same error code as the passed in error code .